Searched refs:malloc (Results 226 - 250 of 2264) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/libGeoIP/
H A DGeoIPCity.c68 record = malloc(sizeof(GeoIPRecord));
75 begin_record_buf = record_buf = malloc(sizeof(char) * FULL_RECORD_LENGTH);
99 record->region = malloc(str_length + 1);
113 record->city = malloc(str_length + 1);
124 record->postal_code = malloc(str_length + 1);
H A DGeoIPUpdate.c131 f_str = malloc(4096);
135 f_str = malloc(4096);
157 f_str = malloc(4096);
161 f_str = malloc(4096);
261 GeoIPProxyCreds = malloc(sizeof(char) * (strlen(ProxyAuthorization) + strlen(encoded_proxy_creds) + 1));
351 request_uri = malloc(sizeof(char) * (strlen(license_key) + strlen(GeoIPHTTPRequest)
360 buf = malloc(sizeof(char) * block_size + 1);
412 file_path_gz = malloc(sizeof(char) * (strlen(GeoIPDBFileName[GEOIP_COUNTRY_EDITION]) + 4));
443 file_path_test = malloc(sizeof(char) * (strlen(GeoIPDBFileName[GEOIP_COUNTRY_EDITION]) + 6));
599 request_uri = malloc(sizeo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/
H A Dansi2knr.c272 malloc and free should be declared in stdlib.h,
276 # include <malloc.h>
279 extern char *malloc();
282 extern char *malloc();
370 buf = malloc(bufsize);
547 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
H A Djmemname.c20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
21 extern void * malloc JPP((size_t size));
139 * routines malloc() and free().
145 return (void *) malloc(sizeofobject);
165 return (void FAR *) malloc(sizeofobject);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/png/
H A Dansi2knr.c274 malloc and free should be declared in stdlib.h,
278 # include <malloc.h>
281 extern char *malloc();
284 extern char *malloc();
372 buf = malloc(bufsize);
549 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/intl/
H A Dbindtextdom.c157 result = (char *) malloc (len);
195 result = (char *) malloc (len);
228 (struct binding *) malloc (offsetof (struct binding, domainname) + len);
255 result = (char *) malloc (len);
286 result = (char *) malloc (len);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/iio/Documentation/
H A Diio_utils.h63 filename = malloc(strlen(iio_dir)
92 char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
139 char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
196 char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
218 char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/
H A Dbindtextdom.c136 result = (char *) malloc (len);
174 result = (char *) malloc (len);
206 (struct binding *) malloc (offsetof (struct binding, domainname) + len);
233 result = (char *) malloc (len);
262 result = (char *) malloc (len);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/modules/
H A Dppp_mod.h25 #include <sys/malloc.h>
27 /* caution: this mirrors macros in sys/malloc.h, and uses interfaces
36 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_WAITOK)
37 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_NOWAIT)
39 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_WAITOK)
40 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_NOWAIT)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/solaris/
H A Dppp_mod.h25 #include <sys/malloc.h>
27 /* caution: this mirrors macros in sys/malloc.h, and uses interfaces
36 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_WAITOK)
37 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_NOWAIT)
39 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_WAITOK)
40 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_NOWAIT)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/modules/
H A Dppp_mod.h25 #include <sys/malloc.h>
27 /* caution: this mirrors macros in sys/malloc.h, and uses interfaces
36 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_WAITOK)
37 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_NOWAIT)
39 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_WAITOK)
40 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_NOWAIT)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/solaris/
H A Dppp_mod.h25 #include <sys/malloc.h>
27 /* caution: this mirrors macros in sys/malloc.h, and uses interfaces
36 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_WAITOK)
37 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETP(n), M_DEVBUF, M_NOWAIT)
39 #define ALLOC_SLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_WAITOK)
40 #define ALLOC_NOSLEEP(n) (void *)malloc((u_long)(n), BUCKETINDEX(n), M_DEVBUF, M_NOWAIT)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Drepdir.c55 #ifdef malloc
56 #undef malloc macro
77 d = malloc(sizeof(*d));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/tdb/common/
H A Dtdbback.c44 #ifdef malloc
45 #undef malloc macro
66 ret = (char *)malloc(len);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libid3tag-0.15.0b/
H A Dutf16.c79 ucs4 = malloc((id3_utf16_length(utf16) + 1) * sizeof(*ucs4));
254 utf16 = malloc((length / 2 + 1) * sizeof(*utf16));
279 ucs4 = malloc((id3_utf16_length(utf16) + 1) * sizeof(*ucs4));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/packages/libid3tag-0.15.0b/
H A Dutf16.c79 ucs4 = malloc((id3_utf16_length(utf16) + 1) * sizeof(*ucs4));
254 utf16 = malloc((length / 2 + 1) * sizeof(*utf16));
279 ucs4 = malloc((id3_utf16_length(utf16) + 1) * sizeof(*ucs4));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/mtools-4.0.10/
H A Dmisc.c130 p = malloc(size);
177 #undef malloc
193 ptr = (int *)malloc(size+sizeof(int));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/tiff/
H A Dtif_msdos.c118 extern char* malloc();
121 #include <malloc.h>
127 return (malloc((size_t) s));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/
H A Dhash.c56 hash_tbl = malloc(sizeof(struct hash_table));
61 hash_tbl->hash_list = malloc(sizeof(struct hashlist_element *)*hash_size);
77 element = (struct hashlist_element *)malloc(sizeof(struct hashlist_element));
79 dprintf(LOG_ERR, "Could not malloc hashlist_element");
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/utils/cas/
H A Dfunctions.c166 ret = malloc((home_len + strlen(file) + 2) * sizeof(char));
190 if ((path = malloc(strlen(cmdline_path) + strlen(file) + 2)) == NULL) {
274 dest = (char*)malloc(totLen + 1 + repLen - srchLen);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/examples_c/getting_started/
H A Dgettingstarted_common.c67 /* Point to the memory malloc'd by db_create() */
189 my_stock->inventory_db_name = malloc(size);
195 my_stock->vendor_db_name = malloc(size);
201 my_stock->itemname_db_name = malloc(size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/tests/
H A Dutils.c114 lum_tab = malloc(w * h);
115 cb_tab = malloc(w * h / 4);
116 cr_tab = malloc(w * h / 4);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/jpeg-7/
H A Djmemname.c20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
21 extern void * malloc JPP((size_t size));
139 * routines malloc() and free().
145 return (void *) malloc(sizeofobject);
165 return (void FAR *) malloc(sizeofobject);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/
H A Denvargs.c72 bufptr = malloc(1 + strlen(envptr));
95 argv = (char **)malloc((argc + *Pargc + 1) * sizeof(char *));
303 newargv = (char **) malloc(sizeof(char **) * (newargc+1));
305 return; /* malloc failed */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/unilbrk/
H A Dulc-width-linebreaks.c57 size_t *offsets = (size_t *) malloc (n * sizeof (size_t));
69 (char *) (m > 0 ? malloc (m + (o != NULL ? m : 0)) : NULL);
201 char *breaks = malloc (length);

Completed in 382 milliseconds

1234567891011>>