Searched refs:tnalloc (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/external/gpl2/rcs/dist/src/ |
H A D | rcsclean.c | 295 size_t *offset = tnalloc(size_t, entries_max); 296 char *a = tnalloc(char, chars_max), **p; 330 *aargv = p = tnalloc(char*, entries+1);
|
H A D | rcsdiff.c | 200 diffv = tnalloc(char const*, 1 + argc + !!OPEN_O_BINARY + 2*DIFF_L + 2); 285 diffvstr = a = tnalloc(char, c + 1);
|
H A D | rcsbase.h | 709 #define talloc(T) tnalloc(T,1) 713 # define tnalloc(T,n) (lintalloc = testalloc(sizeof(T)*(n)), (T*)0) macro 718 # define tnalloc(T,n) ((T*) testalloc(sizeof(T)*(n))) macro
|
H A D | rcsutil.c | 321 return strcpy(tnalloc(char, strlen(s)+1), s); 1265 *newargv = pp = tnalloc(char*, n);
|
H A D | co.c | 675 ? tnalloc(char const *, joinlength = 16)
|
H A D | rcsfnms.c | 434 b->string = tnalloc(char, b->size);
|
H A D | rcslex.c | 1025 f->base = tnalloc(unsigned char, s);
|
H A D | rcsedit.c | 367 tnalloc(Iptr_type, linelim = gapsize = 1024)
|