Home
last modified time | relevance | path

Searched refs:xalloc (Results 1 – 25 of 28) sorted by relevance

12

/src/usr.bin/m4/
H A Dlook.c86 return xalloc(s, "element alloc"); in element_alloc()
163 n->d = xalloc(sizeof(struct macro_definition), NULL); in macro_define()
176 d = xalloc(sizeof(struct macro_definition), NULL); in macro_pushdef()
234 name2 = xalloc(strlen(name)+3+1, NULL); in setup_builtin()
242 n->d = xalloc(sizeof(struct macro_definition), NULL); in setup_builtin()
H A Dmisc.c165 strspace = xalloc(strsize+1, NULL); in initspaces()
168 buf = xalloc(bufsize, NULL); in initspaces()
296 xalloc(size_t n, const char *fmt, ...) in xalloc() function
H A Dextern.h107 extern void *xalloc(size_t, const char *, ...) __printf0like(2, 3);
H A Dmain.c200 sstack = xalloc(STACKMAX, NULL); in main()
H A Dgnum4.c255 errbuf = xalloc(errlen, in exit_regerror()
H A Deval.c433 temp = xalloc(strlen(argv[2])+1, NULL); in expand_builtin()
/src/contrib/sendmail/rmail/
H A Drmail.c72 static char *xalloc __P((int));
74 #define newstr(s) strcpy(xalloc(strlen(s) + 1), s)
77 xalloc(sz) in xalloc() function
275 args = (char **)xalloc(sizeof(*args) * (10 + argc));
/src/contrib/sendmail/contrib/
H A Drmail.oldsys.patch28 + #define strdup(s) strcpy(xalloc(strlen(s) + 1), s)
31 + xalloc(sz)
/src/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c246 xalloc(size_t size) in xalloc() function
262 return (strcpy(xalloc(strlen(s) + 1), s)); in savestr()
306 ip = xalloc(sizeof(*ip)); in input_new()
340 fn = xalloc(strlen(path) + strlen(fname) + 2); in tryopen()
729 t = xalloc(sizeof(*t)); in make_type()
770 e = xalloc(sizeof(*e)); in parse_type()
816 node = xalloc(sizeof(struct node)); in parse()
1089 ptr = xalloc(sizeof(*ptr)); in gen_header()
/src/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpimport.c111 xalloc(size_t size) in xalloc() function
127 return (strcpy(xalloc(strlen(s) + 1), s)); in savestr()
159 ip = xalloc(sizeof(*ip)); in input_new()
193 fn = xalloc(strlen(path) + strlen(fname) + 2); in tryopen()
/src/contrib/dialog/
H A Dtextbox.c111 xalloc(size_t size) in xalloc() function
133 buftab = xalloc(size_read + 1); in read_high()
166 obj->buf = xalloc((size_t) obj->buffer_len + 1); in read_high()
174 obj->buf = xalloc(size_read + 1); in read_high()
246 buftab = xalloc((size_t) val + 1); in tabize()
/src/contrib/sendmail/src/
H A Dmain.c697 tz = xalloc(tzlen);
1070 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1078 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1086 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1100 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
2772 p_flags = (BITMAP256 *) xalloc(sizeof(*p_flags));
3574 *argv = xalloc(sizeof(__DEFPATH) + 2);
H A Dmilter.c478 buf = (char *) xalloc(expl);
1242 m = (struct milter *) xalloc(sizeof(*m));
1940 buf = (char *) xalloc(s);
2745 buf = (char *) xalloc(len_t);
3999 buf = (char *) xalloc(s);
4184 buf = (char *) xalloc(s);
4265 buf = (char *) xalloc(s);
H A Dmap.c1276 map_p = (struct dns_map *) xalloc(sizeof(*map_p));
1629 new = xalloc(sz);
2993 cdbmp = (struct cdb_make *) xalloc(sizeof(*cdbmp));
3019 cdbp = (struct cdb *) xalloc(sizeof(*cdbp));
4590 lmap_alloc = lmap = (SM_LDAP_STRUCT *) xalloc(sizeof(*lmap));
5379 LDAPDefaults = (SM_LDAP_STRUCT *) xalloc(sizeof(*LDAPDefaults));
5474 pmap = (PH_MAP_STRUCT *) xalloc(sizeof(*pmap));
6167 np = xalloc(nl + 2);
7523 # define xnalloc(s) memset(xalloc(s), '\0', s);
7693 int *fields = (int *) xalloc(sizeof(int) * (MAX_MATCH + 1));
[all …]
H A Dsrvrsmtp.c1790 in = xalloc(strlen(inp) + 1);
1794 out = xalloc(strlen(inp));
1930 out2 = xalloc(len);
2186 in = xalloc(1);
2194 in = xalloc(strlen(q) + 1);
2258 out2 = xalloc(len);
5150 auth_param = xalloc(len);
H A Dusersmtp.c698 mci->mci_sasl_string = xalloc(len + 1);
702 mci->mci_sasl_string = xalloc(len + 1);
731 mci->mci_sasl_string = xalloc(len + 1);
735 mci->mci_sasl_string = xalloc(len + 1);
H A Dqueue.c3176 w = (WORK *) xalloc(sizeof(*w));
3244 WorkList = (WORK *) xalloc((sizeof(*WorkList)) *
3551 rev = xalloc(len + 1);
6365 qg->qg_qpaths = (QPATHS *)xalloc((sizeof(*qg->qg_qpaths)) *
6425 qg->qg_qpaths = (QPATHS *) xalloc(sizeof(*qg->qg_qpaths));
7563 qg = (QUEUEGRP *) xalloc(sizeof(*qg));
7904 WorkGrp[0].wg_qgs = (QUEUEGRP **) xalloc(sizeof(QUEUEGRP *)); in makeworkgroups()
H A Dcollect.c678 buf = xalloc(buflen);
H A Dsendmail.h3047 # define xalloc(size) xalloc_tagged(size, __FILE__, __LINE__) macro
3050 extern char *xalloc __P((int));
H A Dconf.c2534 environ = (char **) xalloc(sizeof(char *) * (i + 1));
4900 buf = lifc.lifc_buf = xalloc(lifc.lifc_len); in load_if_names()
5111 ifc.ifc_buf = xalloc(ifc.ifc_len); in load_if_names()
H A Dsavemail.c1707 bp = xalloc(l);
H A Drecipient.c657 buf = xalloc(buflen);
H A Dutil.c476 xalloc(sz)
/src/contrib/llvm-project/libcxx/src/
H A Dios.cpp134 int ios_base::xalloc() { return __xindex_++; } in xalloc() function in ios_base
/src/contrib/llvm-project/libcxx/include/
H A Dios89 static int xalloc();
320 static int xalloc();

12