Searched defs:newof (Results 1 - 6 of 6) sorted by relevance
/ast/src/cmd/mailx/ |
H A D | local.h | 149 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
|
/ast/src/lib/libast/astsa/ |
H A D | ast.h | 91 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
|
/ast/src/lib/libast/include/ |
H A D | ast.h | 204 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
|
/ast/src/lib/libast/port/ |
H A D | lcgen.c | 130 #define newof(p,t,n,x) ((t*)malloc(sizeof(t)*(n)+(x))) macro 421 if (!(cp = newof(0, Charset_t, 1, s - b + 1))) 437 if (!(tp = newof(0, Territory_t, 1, s - b + 1))) 459 if (!(ll = newof(0, Language_list_t, 1, 0))) 491 if (!(lp = newof(0, Language_t, 1, s - b + 1))) 527 if (!(ap = newof(0, Attribute_t, 1, 0))) 534 if (!(al = newof(0, Attribute_list_t, 1, 0))) 560 if (!(mp = newof(0, Map_t, 1, s - b + 1)))
|
/ast/src/lib/libpp/ |
H A D | pplib.h | 383 #undef newof macro 384 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro 556 pp.in->next = newof(0, struct ppinstk, 1, 0); \ 637 error_info.file = cur->buffer = newof(0, char, n, 0); \ 744 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro 858 #undef newof macro 859 #define newof(p,t,n,x) vmnewof(Vmregion,p,t,n,x) macro
|
/ast/src/cmd/INIT/ |
H A D | mamake.c | 96 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro 385 else if (!(buf = newof(0, Buf_t, 1, 0)) || !(buf->buf = newof(0, char, CHUNK, 0))) 417 if (!(buf->buf = newof(buf->buf, char, m, 0))) 452 if (!(t = newof(0, char, n, 1))) 467 if (!(dict = newof(0, Dict_t, 1, 0))) 541 if (!(root = newof(0, Dict_item_t, 1, strlen(name)))) 608 if (!(r = newof(0, Rule_t, 1, 0))) 627 if (!(x = newof(0, List_t, 1, 0))) 711 if (!(vp = newof( [all...] |
Completed in 45 milliseconds