Home
last modified time | relevance | path

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

12

/freebsd-12.1/usr.bin/m4/
H A Dlook.c88 return xalloc(s, "element alloc"); in element_alloc()
165 n->d = xalloc(sizeof(struct macro_definition), NULL); in macro_define()
178 d = xalloc(sizeof(struct macro_definition), NULL); in macro_pushdef()
236 name2 = xalloc(strlen(name)+3+1, NULL); in setup_builtin()
244 n->d = xalloc(sizeof(struct macro_definition), NULL); in setup_builtin()
H A Dmisc.c169 strspace = xalloc(strsize+1, NULL); in initspaces()
172 buf = xalloc(bufsize, NULL); in initspaces()
300 xalloc(size_t n, const char *fmt, ...) in xalloc() function
H A Dextern.h110 extern void *xalloc(size_t, const char *, ...) __printf0like(2, 3);
H A Dmain.c185 sstack = xalloc(STACKMAX, NULL); in main()
H A Dgnum4.c257 errbuf = xalloc(errlen, in exit_regerror()
H A Deval.c436 temp = xalloc(strlen(argv[2])+1, NULL); in expand_builtin()
/freebsd-12.1/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));
/freebsd-12.1/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()
/freebsd-12.1/contrib/sendmail/contrib/
H A Drmail.oldsys.patch28 + #define strdup(s) strcpy(xalloc(strlen(s) + 1), s)
31 + xalloc(sz)
/freebsd-12.1/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpimport.c112 xalloc(size_t size) in xalloc() function
128 return (strcpy(xalloc(strlen(s) + 1), s)); in savestr()
160 ip = xalloc(sizeof(*ip)); in input_new()
194 fn = xalloc(strlen(path) + strlen(fname) + 2); in tryopen()
/freebsd-12.1/contrib/dialog/
H A Dtextbox.c111 xalloc(size_t size) in xalloc() function
135 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()
235 buftab = xalloc((size_t) val + 1); in tabize()
/freebsd-12.1/contrib/diff/lib/
H A Dgnulib.mk85 lib_SOURCES += xalloc.h xmalloc.c xstrdup.c
/freebsd-12.1/contrib/sendmail/src/
H A Dmain.c475 sysloglabel = xalloc(j);
587 SaveArgv = (char **) xalloc(sizeof(char *) * (argc + 1));
588 CommandLineArgs = xalloc(j);
674 tz = xalloc(tzlen);
1037 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1045 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1053 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1067 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
2701 p_flags = (BITMAP256 *) xalloc(sizeof(*p_flags));
3474 *argv = xalloc(sizeof(__DEFPATH) + 2);
[all …]
H A Dmilter.c480 buf = (char *) xalloc(expl);
1243 m = (struct milter *) xalloc(sizeof(*m));
1916 buf = (char *) xalloc(s);
2723 buf = (char *) xalloc(len_t);
3950 buf = (char *) xalloc(s);
4135 buf = (char *) xalloc(s);
4216 buf = (char *) xalloc(s);
H A Dsrvrsmtp.c1559 in = xalloc(strlen(inp) + 1);
1563 out = xalloc(strlen(inp));
1695 out2 = xalloc(len);
1938 in = xalloc(1);
1946 in = xalloc(strlen(q) + 1);
2020 out2 = xalloc(len);
4693 auth_param = xalloc(len);
H A Dmap.c1036 map_p = (struct dns_map *) xalloc(sizeof(*map_p));
1364 new = xalloc(sz);
3923 lmap = (SM_LDAP_STRUCT *) xalloc(sizeof(*lmap));
4697 LDAPDefaults = (SM_LDAP_STRUCT *) xalloc(sizeof(*LDAPDefaults));
4792 pmap = (PH_MAP_STRUCT *) xalloc(sizeof(*pmap));
5479 np = xalloc(strlen(name) + 2);
6797 # define xnalloc(s) memset(xalloc(s), '\0', s);
6964 int *fields = (int *) xalloc(sizeof(int) * (MAX_MATCH + 1));
7201 ns_map = (ns_map_list_t *) xalloc(sizeof(*ns_map));
7203 ns_map->map = (ns_map_t *) xalloc(sizeof(*ns_map->map));
H A Dusersmtp.c651 mci->mci_sasl_string = xalloc(len + 1);
655 mci->mci_sasl_string = xalloc(len + 1);
684 mci->mci_sasl_string = xalloc(len + 1);
688 mci->mci_sasl_string = xalloc(len + 1);
H A Dreadcf.c260 (struct rewrite *) xalloc(sizeof(*rwp));
264 rwp->r_next = (struct rewrite *) xalloc(sizeof(*rwp));
1328 m = (struct mailer *) xalloc(sizeof(*m));
1394 m = (struct mailer *) xalloc(sizeof(*m));
2000 avp = (char **) xalloc(sizeof(*avp) * i);
H A Dqueue.c3104 w = (WORK *) xalloc(sizeof(*w));
3172 WorkList = (WORK *) xalloc((sizeof(*WorkList)) *
3468 rev = xalloc(len + 1);
6242 qg->qg_qpaths = (QPATHS *)xalloc((sizeof(*qg->qg_qpaths)) *
6303 qg->qg_qpaths = (QPATHS *) xalloc(sizeof(*qg->qg_qpaths));
7323 qg = (QUEUEGRP *) xalloc(sizeof(*qg));
7665 WorkGrp[0].wg_qgs = (QUEUEGRP **) xalloc(sizeof(QUEUEGRP *)); in makeworkgroups()
H A Dcollect.c560 buf = xalloc(buflen);
H A Dutil.c41 n = xalloc(l + 1);
455 xalloc(sz)
/freebsd-12.1/contrib/libstdc++/src/
H A Dios.cc104 ios_base::xalloc() throw() in xalloc() function in ios_base
/freebsd-12.1/contrib/libstdc++/include/bits/
H A Dios_base.h718 xalloc() throw();
/freebsd-12.1/contrib/libc++/src/
H A Dios.cpp173 ios_base::xalloc() in xalloc() function in ios_base
/freebsd-12.1/contrib/libc++/include/
H A Dios89 static int xalloc();
300 static int xalloc();

12