Searched refs:malloc (Results 1 - 25 of 97) sorted by relevance

1234

/bind-9.11.3/lib/lwres/
H A Dcontext_p.h21 #define CTXMALLOC(len) ctx->malloc(ctx->arg, (len))
47 lwres_malloc_t malloc; member in struct:lwres_context
H A Dgetipnode.c549 buf = malloc(bufsiz);
710 buf = malloc(bufsiz);
879 he = malloc(sizeof(*he));
883 he->h_addr_list = malloc(sizeof(char *) * (addresses));
895 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
918 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
938 he->h_aliases = malloc(sizeof(char *) * (names));
951 *npp = malloc(len);
962 he->h_name = malloc(strlen((he1 != NULL) ?
1005 he = malloc(sizeo
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dsetenv.c112 buffer = (char *) malloc(strlen(name) + strlen(value) + 2);
121 mye = (myenv_t *) malloc(sizeof(myenv_t));
H A Dtestsuite.c97 ctx = (idn_testsuite_t) malloc(sizeof(struct idn_testsuite));
112 ctx->testcases = (idn_testcase_t) malloc(sizeof(struct idn_testcase)
151 dup_title = (char *)malloc(strlen(title) + 1);
367 msg = (char *)malloc(strlen(expected) * 4 + strlen(gotten) * 4 + 32);
466 msg = (char *)malloc(idn_ucs4_strlen(expected) * 8 +
491 hex_string = (char *)malloc((strlen(string)) * 4 + 1);
519 hex_string = (char *)malloc((idn_ucs4_strlen(string)) * 8 + 1);
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Ddynstr.c52 newdata = (char *)malloc(newsize);
122 ad->m_data = (char *)malloc(sizeof(char));
150 ad->m_data = (char *)malloc(ad->m_datasize);
202 ad->m_data = (char *)malloc(memlen + 1);
230 ad->m_data = (char *)malloc(ad->m_datasize);
263 dest->m_data = (char *)malloc(src->m_datasize);
H A Dlist.c72 le = (struct list_entry *)malloc(sizeof(*le));
325 array = malloc(sizeof(char *) * (atf_list_size(l) + 1));
H A Dmap.c52 me = (struct map_entry *)malloc(sizeof(*me));
314 array = malloc(sizeof(char *) * (atf_map_size(l) * 2 + 1));
/bind-9.11.3/lib/isc/win32/
H A Dntgroups.c101 GroupList[*totalGroups] = (char *) malloc(retlen +1);
154 GroupList[*totalGroups] = (char *) malloc(retlen +1);
/bind-9.11.3/lib/isc/nls/
H A Dmsgcat.c32 * We use malloc() and free() instead of isc_mem_get() and isc_mem_put()
58 msgcat = malloc(sizeof(*msgcat));
/bind-9.11.3/lib/isccc/
H A Dsexpr.c45 sexpr = malloc(sizeof(*sexpr));
64 sexpr = malloc(sizeof(*sexpr));
82 sexpr = malloc(sizeof(*sexpr));
88 * We add an extra byte when we malloc so we can NUL terminate
94 sexpr->value.as_region.rstart = malloc(region_size + 1);
H A Dsymtab.c74 symtab = malloc(sizeof(*symtab));
77 symtab->table = malloc(size * sizeof(eltlist_t));
229 elt = malloc(sizeof(*elt));
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Daliaslist.c96 if ((*listp = malloc(size)) == NULL) {
195 WARNING(("additem_to_top: malloc failed\n"));
223 WARNING(("additem_to_bottom: malloc failed\n"));
313 if ((*itemp = malloc(size)) == NULL)
316 if (((*itemp)->pattern = malloc(strlen(pattern) + 1)) == NULL) {
322 if (((*itemp)->encoding = malloc(strlen(encoding) + 1)) == NULL) {
H A Dchecker.c193 ctx = (idn_checker_t) malloc(sizeof(struct idn_checker));
199 ctx->schemes = (check_scheme_t *) malloc(sizeof(check_scheme_t)
281 buffer = (char *) malloc(scheme_prefixlen + 1);
419 scheme = (check_scheme_t *) malloc(sizeof(check_scheme_t));
425 scheme->prefix = (char *) malloc(strlen(prefix) + 1);
H A Dmapper.c162 ctx = (idn_mapper_t) malloc(sizeof(struct idn_mapper));
168 ctx->schemes = (map_scheme_t *) malloc(sizeof(map_scheme_t)
252 buffer = (char *) malloc(scheme_prefixlen + 1);
450 scheme = (map_scheme_t *) malloc(sizeof(map_scheme_t));
456 scheme->prefix = (char *) malloc(strlen(prefix) + 1);
H A Ddelimitermap.c85 ctx = (idn_delimitermap_t) malloc(sizeof(struct idn_delimitermap));
87 WARNING(("idn_mapper_create: malloc failed\n"));
92 ctx->delimiters = (unsigned long *) malloc(sizeof(unsigned long)
H A Dstrhash.c100 if ((hash = malloc(sizeof(struct idn__strhash))) == NULL) {
101 WARNING(("idn__strhash_create: malloc failed (hash)\n"));
108 WARNING(("idn__strhash_create: malloc failed (bins)\n"));
234 if ((entry = malloc(sizeof(strhash_entry_t) + len)) == NULL) {
252 new_bins = malloc(sizeof(strhash_entry_t *) * new_size);
H A Dnormalizer.c143 if ((ctx = malloc(sizeof(struct idn_normalizer))) == NULL) {
356 scheme = malloc(sizeof(*scheme) + strlen(scheme_name) + 1);
381 new_schemes = malloc(sizeof(normalize_scheme_t) * new_size);
/bind-9.11.3/unit/atf-src/atf-c/
H A Derror.c75 err->m_data = malloc(datalen);
99 err = malloc(sizeof(*err));
H A Dtp.c82 tp->pimpl = malloc(sizeof(struct atf_tp_impl));
149 array = malloc(sizeof(atf_tc_t *) *
/bind-9.11.3/bin/tools/
H A Dgenrandom.c117 name = (char *) malloc(len);
119 perror("malloc");
/bind-9.11.3/bin/named/
H A Dfuzz.c85 buf = malloc(65536);
196 buf = malloc(65536);
197 rbuf = malloc(65536);
353 buf = malloc(65539);
/bind-9.11.3/lib/isc/tests/
H A Dmem_test.c27 return (malloc(size));
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dresolver.c184 olp = malloc(sizeof(obj_lock_t));
385 s = malloc(strlen(name) + 1);
397 * All the data are dynamically allocated using malloc().
400 * If malloc() fails, NULL will be returned and '*errp' is set to
428 if ((newhp = malloc(alloc_size)) == NULL) {
503 newaip = malloc(sizeof(struct addrinfo) + aip->ai_addrlen);
637 data = malloc(buflen);
695 data = malloc(buflen);
751 data = malloc(buflen);
803 data = malloc(bufle
[all...]
/bind-9.11.3/lib/dns/
H A Dspnego.c413 buf = malloc(buf_size);
455 *outbuf = malloc(buf_len);
476 resp.negState = malloc(sizeof(*resp.negState));
507 resp.negState = malloc(sizeof(*resp.negState));
514 resp.supportedMech = malloc(sizeof(*resp.supportedMech));
530 resp.responseToken = malloc(sizeof(*resp.responseToken));
853 data->data = malloc(len);
876 data->components = malloc(len * sizeof(*data->components));
1419 output_token->value = malloc(outer_len);
1545 token_init.mechToken = malloc(sizeo
[all...]
H A Dspnego_asn1.c43 (B) = malloc((BL)); \
512 (data)->reqFlags = malloc(sizeof(*(data)->reqFlags));
542 (data)->mechToken = malloc(sizeof(*(data)->mechToken));
572 (data)->mechListMIC = malloc(sizeof(*(data)->mechListMIC));
709 (data)->negState = malloc(sizeof(*(data)->negState));
739 (data)->supportedMech = malloc(sizeof(*(data)->supportedMech));
769 (data)->responseToken = malloc(sizeof(*(data)->responseToken));
799 (data)->mechListMIC = malloc(sizeof(*(data)->mechListMIC));

Completed in 431 milliseconds

1234