Searched defs:newof (Results 1 - 7 of 7) sorted by path

/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast.h201 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast.h192 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
/illumos-gate/usr/src/lib/libast/common/port/
H A Dlcgen.c130 #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)))
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast.h201 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast.h201 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast.h201 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
/illumos-gate/usr/src/lib/libpp/common/
H A Dpplib.h381 #undef newof macro
382 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
554 pp.in->next = newof(0, struct ppinstk, 1, 0); \
635 error_info.file = cur->buffer = newof(0, char, n, 0); \
742 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) macro
854 #undef newof macro
855 #define newof(p,t,n,x) vmnewof(Vmregion,p,t,n,x) macro

Completed in 111 milliseconds