Home
last modified time | relevance | path

Searched refs:str_alloc (Results 1 – 5 of 5) sorted by relevance

/dflybsd-src/contrib/gmp/mpq/
H A Dget_str.c28 size_t str_alloc, len; in mpq_get_str() local
33 str_alloc = 0; in mpq_get_str()
39 str_alloc = ((size_t) ((ABS (q->_mp_num._mp_size) + q->_mp_den._mp_size) in mpq_get_str()
43 str = (char *) (*__gmp_allocate_func) (str_alloc); in mpq_get_str()
56 ASSERT (str_alloc == 0 || len+1 <= str_alloc); in mpq_get_str()
61 if (str_alloc != 0) in mpq_get_str()
62 __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, str_alloc, len+1, char); in mpq_get_str()
/dflybsd-src/usr.bin/window/
H A Dstring.c49 str = p = str_alloc(strlen(s) + 1); in str_cpy()
66 str = p = str_alloc(n + 1); in str_ncpy()
91 str = p = str_alloc(strlen(s1) + strlen(s2) + 1); in str_cat()
115 str_alloc(size_t l) in str_alloc() function
H A Dwindow_string.h65 char *str_alloc(size_t);
69 #define str_alloc(s) malloc(s) macro
H A Dcmd7.c259 if ((yp->line = str_alloc(yp->length + 1)) == NULL) { in yank_line()
H A Dlcmd2.c318 if ((str = str_alloc(n)) == NULL) { in l_alias()