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

1234

/bind-9.6-ESV-R11/lib/lwres/
H A Dcontext_p.h30 #define CTXMALLOC(len) ctx->malloc(ctx->arg, (len))
56 lwres_malloc_t malloc; member in struct:lwres_context
H A Dgetipnode.c558 buf = malloc(bufsiz);
719 buf = malloc(bufsiz);
888 he = malloc(sizeof(*he));
892 he->h_addr_list = malloc(sizeof(char *) * (addresses));
904 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
927 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
947 he->h_aliases = malloc(sizeof(char *) * (names));
960 *npp = malloc(len);
971 he->h_name = malloc(strlen((he1 != NULL) ?
1014 he = malloc(sizeo
[all...]
/bind-9.6-ESV-R11/contrib/nslint-2.1a3/
H A Dsavestr.c30 #include <malloc.h>
42 /* A replacement for strdup() that cuts down on malloc() overhead */
56 strptr = (char *)malloc(strsize);
58 fprintf(stderr, "savestr: malloc\n");
/bind-9.6-ESV-R11/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.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Ddynstr.c56 newdata = (char *)malloc(newsize);
126 ad->m_data = (char *)malloc(sizeof(char));
154 ad->m_data = (char *)malloc(ad->m_datasize);
206 ad->m_data = (char *)malloc(memlen + 1);
234 ad->m_data = (char *)malloc(ad->m_datasize);
267 dest->m_data = (char *)malloc(src->m_datasize);
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dntgroups.c110 GroupList[*totalGroups] = (char *) malloc(retlen +1);
163 GroupList[*totalGroups] = (char *) malloc(retlen +1);
/bind-9.6-ESV-R11/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);
H A Dfilemapper.c104 if ((ctx = malloc(sizeof(struct idn__filemapper))) == NULL)
205 b->ucs = malloc(sizeof(unsigned long) * b->size);
/bind-9.6-ESV-R11/lib/isc/nls/
H A Dmsgcat.c41 * We use malloc() and free() instead of isc_mem_get() and isc_mem_put()
67 msgcat = malloc(sizeof(*msgcat));
/bind-9.6-ESV-R11/lib/isccc/
H A Dsexpr.c56 sexpr = malloc(sizeof(*sexpr));
77 sexpr = malloc(sizeof(*sexpr));
96 sexpr = malloc(sizeof(*sexpr));
102 * We add an extra byte when we malloc so we can NUL terminate
108 sexpr->value.as_region.rstart = malloc(region_size + 1);
H A Dsymtab.c83 symtab = malloc(sizeof(*symtab));
86 symtab->table = malloc(size * sizeof(eltlist_t));
238 elt = malloc(sizeof(*elt));
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc.c368 result = (char *) malloc (256);
369 message = (char *) malloc (256);
432 ptrList[ptrNum] = (char *) malloc (MAXDNAME);
571 result = (void *) malloc (sizeof (struct list_in_addr));
578 end->next = (void *) malloc (sizeof (struct list_in_addr));
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Derror.c79 err->m_data = malloc(datalen);
103 err = malloc(sizeof(*err));
H A Dtp.c86 tp->pimpl = malloc(sizeof(struct atf_tp_impl));
153 array = malloc(sizeof(atf_tc_t *) *
H A Dconfig.c79 uc = (char *)malloc(strlen(str) + 1);
/bind-9.6-ESV-R11/contrib/zkt/
H A Dstrlist.c69 if ( (new = malloc (len + 2)) == NULL )
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/isc/
H A Dresult.c126 * We use malloc() here because we we want to be able to use
129 table = malloc(sizeof(*table));
/bind-9.6-ESV-R11/lib/dns/
H A Dspnego.c418 buf = malloc(buf_size);
460 *outbuf = malloc(buf_len);
481 resp.negState = malloc(sizeof(*resp.negState));
512 resp.negState = malloc(sizeof(*resp.negState));
519 resp.supportedMech = malloc(sizeof(*resp.supportedMech));
535 resp.responseToken = malloc(sizeof(*resp.responseToken));
856 data->data = malloc(len);
879 data->components = malloc(len * sizeof(*data->components));
1422 output_token->value = malloc(outer_len);
1548 token_init.mechToken = malloc(sizeo
[all...]

Completed in 517 milliseconds

1234