HomeSort by relevance Sort by last modified time
    Searched full:malloc (Results 1151 - 1175 of 4430) sorted by null

<<41424344454647484950>>

  /system/core/libcorkscrew/
symbol_table.c 90 table = malloc(sizeof(symbol_table_t));
143 table->symbols = malloc(table->num_symbols * sizeof(symbol_t));
  /system/core/libcutils/
selector.c 90 LOG_ALWAYS_FATAL("malloc() error.");
103 LOG_ALWAYS_FATAL("malloc() error.");
  /system/core/libnl_2/genl/
genl.c 144 recvbuf = (char *) malloc(RECV_BUF_SIZE);
255 malloc(sizeof(struct genl_family));
  /external/checkpolicy/
module_compiler.c 214 if ((role = (role_datum_t *) malloc(sizeof(*role))) == NULL) {
249 (role_datum_t *) malloc(sizeof(*dest_role))) ==
326 typdatum = (type_datum_t *) malloc(sizeof(type_datum_t));
418 if ((user = (user_datum_t *) malloc(sizeof(*user))) == NULL) {
454 (user_datum_t *) malloc(sizeof(*dest_user))) ==
527 dest_typdatum = (type_datum_t *) malloc(sizeof(type_datum_t));
576 dest_roledatum = (role_datum_t *)malloc(sizeof(role_datum_t));
833 if ((perm = malloc(sizeof(*perm))) == NULL) {
878 if ((role = malloc(sizeof(*role))) == NULL) {
947 if ((type = malloc(sizeof(*type))) == NULL)
    [all...]
  /external/srec/shared/src/
SessionTypeImpl.c 349 clone = MALLOC(sizeof(int), MTAG);
367 clone = MALLOC(sizeof(asr_uint16_t), MTAG);
385 clone = MALLOC(sizeof(size_t), MTAG);
403 clone = MALLOC(sizeof(float), MTAG);
421 clone = MALLOC(sizeof(ESR_BOOL), MTAG);
439 clone = MALLOC(sizeof(LCHAR) * (LSTRLEN(value) + 1), MTAG);
610 value = MALLOC(sizeof(LCHAR) * (strlen(*argv) + 1), MTAG);
643 value = MALLOC(sizeof(LCHAR) + 1, MTAG);
649 key = MALLOC(sizeof(LCHAR) * (LSTRLEN("cmdline.") + LSTRLEN(*argv) + 1), MTAG);
702 newValue = MALLOC(sizeof(long), MTAG)
    [all...]
  /bootable/recovery/mtdutils/
mtdutils.c 81 MtdPartition *partitions = malloc(nump * sizeof(*partitions));
259 MtdReadContext *ctx = (MtdReadContext*) malloc(sizeof(MtdReadContext));
262 ctx->buffer = malloc(partition->erase_size);
371 MtdWriteContext *ctx = (MtdWriteContext*) malloc(sizeof(MtdWriteContext));
378 ctx->buffer = malloc(partition->erase_size);
  /dalvik/vm/native/
dalvik_system_DexFile.cpp 43 u1* pDexMemory; // malloc()ed memory, if any
212 pDexOrJar = (DexOrJar*) malloc(sizeof(DexOrJar));
219 pDexOrJar = (DexOrJar*) malloc(sizeof(DexOrJar));
264 pBytes = (u1*) malloc(length);
281 pDexOrJar = (DexOrJar*) malloc(sizeof(DexOrJar));
  /external/astl/include/
vector 234 // The implementation uses malloc instead of new because Posix states that:
239 // So as long as we malloc() more than 4 bytes, the returned block
262 mBegin = static_cast<pointer>(malloc(num * sizeof(value_type)));
305 malloc(new_size * sizeof(value_type)));
454 mBegin = static_cast<pointer>(malloc(num * sizeof(value_type)));
  /external/bison/tests/
cxx-type.at 205 yylval = new_term (strcpy ((char *) malloc (i), buffer));
236 Node *node = (Node *) malloc (sizeof (Node));
255 Node *node = (Node *) malloc (sizeof (Node));
291 buffer = (char *) malloc (1);
299 buffer = (char *) malloc (strlen (node->nterm.form) + strlen (child0)
  /external/bluetooth/bluez/compat/
sdp.c 98 str = malloc(size);
102 desc = malloc((req->rd_size * 2) + 1);
135 desc = malloc(4096);
167 req->rd_data = malloc(req->rd_size);
285 req->rd_data = malloc(pdlist->unitSize);
  /external/bluetooth/glib/docs/reference/glib/tmpl/
memory.sgml 21 It's important to match g_malloc() with g_free(), plain malloc() with free(),
233 return like e.g. with malloc(). Instead, most systems probably handle it the same
290 @malloc: function to use for allocating memory.
302 provide malloc(), realloc(), and free() functions; GLib can provide default
303 implementations of the others. The malloc() and realloc() implementations
  /external/compiler-rt/lib/asan/
asan_malloc_mac.cc 12 // Mac-specific malloc interception.
19 #include <malloc/malloc.h>
66 // Fast path: check whether this pointer belongs to the original malloc zone.
334 asan_zone.malloc = &mz_malloc;
  /external/dbus/
HACKING 256 Many of the D-Bus tests will run over and over, once for each malloc
257 involved in the test. Each run will fail a different malloc, plus some
258 number of mallocs following that malloc (because a fair number of bugs
260 that itself involves malloc). This env variable sets the number of
262 Here's why you care: If set to 0, then the malloc checking is skipped,
  /external/e2fsprogs/e2fsck/
util.c 32 #include <malloc.h>
71 ret = malloc(size);
89 ret = malloc(len+1);
578 buf = malloc(fs->blocksize * STRIDE_LENGTH);
580 com_err("malloc", ENOMEM,
  /external/jpeg/
wrjpgcom.c 17 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc() */
18 extern void * malloc ();
61 /* Reduce this value if your malloc() can't allocate blocks up to 64K.
453 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
541 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
  /external/libpcap/
pcap-snoop.c 210 p = (pcap_t *)malloc(sizeof(*p));
212 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
279 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);
367 p->buffer = (u_char *)malloc(p->bufsize);
369 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
  /external/ppp/pppd/plugins/radius/
avpair.c 121 if ((vp = (VALUE_PAIR *) malloc (sizeof (VALUE_PAIR)))
208 (VALUE_PAIR *) malloc (sizeof (VALUE_PAIR))) ==
308 pair = (VALUE_PAIR *) malloc(sizeof(VALUE_PAIR));
372 vp = malloc(sizeof(VALUE_PAIR));
581 (VALUE_PAIR *) malloc (sizeof (VALUE_PAIR)))
  /external/ppp/pppd/plugins/
winbind.c 206 * Encode a base64 string into a malloc()ed string caller to free.
217 char *result = malloc(output_len); /* get us plenty of space */
358 challenge_hex = malloc(challenge_length*2+1);
368 lm_hex_hash = malloc(lm_response_length*2+1);
378 nt_hex_hash = malloc(nt_response_length*2+1);
  /external/qemu/distrib/jpeg-6b/
wrjpgcom.c 17 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc() */
18 extern void * malloc ();
61 /* Reduce this value if your malloc() can't allocate blocks up to 64K.
453 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
541 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
  /external/valgrind/main/coregrind/
m_options.c 119 // expanding %p and %q entries. Returns a new, malloc'd string.
157 out = VG_(malloc)( "options.efn.1", len );
241 VG_(malloc)( "options.efn.3",
301 /* copy the candidate string into a temporary malloc'd block
326 /* copy the candidate string into a temporary malloc'd block
  /external/valgrind/main/massif/docs/
ms-manual.xml 78 5 malloc(4000);
83 10 malloc(2000);
93 20 a[i] = malloc(1000);
406 99.21% (9,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
411 indicates all heap allocation functions such as <function>malloc</function>
414 bytes) go through them. But how were <function>malloc</function> and new
418 <function>malloc</function>.</para>
431 99.48% (20,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
463 calls <function>malloc</function>, and function <function>B</function> calls
506 99.76% (10,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/
npruntime.cpp 172 PrivateIdentifier* identifier = static_cast<PrivateIdentifier*>(malloc(sizeof(PrivateIdentifier) + nameLen + 1));
203 id = reinterpret_cast<PrivateIdentifier*>(malloc(sizeof(PrivateIdentifier)));
217 PrivateIdentifier* identifier = reinterpret_cast<PrivateIdentifier*>(malloc(sizeof(PrivateIdentifier)));
272 npObject = reinterpret_cast<NPObject*>(malloc(sizeof(NPObject)));
340 variant->value.stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * value->UTF8Length));
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c 99 sessionPtrs[candidateSessionId] = malloc(sizeof **sessionPtrs);
177 } *pData = malloc(sizeof *pData);
264 pSession->pContentType = malloc(pSession->contentTypeLength + 1);
270 pSession->pEncryptedSessionKey = malloc(pSession->encryptedSessionKeyLength);
389 } *pData = malloc(sizeof *pData);
  /frameworks/compile/libbcc/lib/ExecutionEngine/
MCCacheReader.cpp 126 mpHeader = (MCO_Header *)malloc(sizeof(MCO_Header));
219 TYPE *NAME##_raw = (TYPE *)malloc(mpHeader->NAME##_size); \
342 malloc(sizeof(size_t) +
366 malloc(sizeof(size_t) +
390 malloc(sizeof(size_t) +
  /external/bluetooth/bluez/src/
sdpd-request.c 83 sdp_cstate_list_t *cstate = malloc(sizeof(sdp_cstate_list_t));
84 uint8_t *data = malloc(buf->data_size);
179 aid = malloc(sizeof(struct attrid));
184 pElem = malloc(sizeof(uint16_t));
202 aid = malloc(sizeof(struct attrid));
207 pElem = malloc(sizeof(uint32_t));
217 pElem = malloc(sizeof(uuid_t));
296 *cstate = malloc(sizeof(sdp_cont_state_t));
850 tmpbuf.data = malloc(USHRT_MAX);
963 uint8_t *buf = malloc(USHRT_MAX)
    [all...]

Completed in 1169 milliseconds

<<41424344454647484950>>