HomeSort by relevance Sort by last modified time
    Searched refs:malloc (Results 1251 - 1275 of 2813) sorted by null

<<51525354555657585960>>

  /external/e2fsprogs/misc/
fsck.c 55 #include <malloc.h>
133 ret = malloc(strlen(s)+1);
249 if (!(fs = malloc(sizeof(struct fs_info))))
442 inst = malloc(sizeof(struct fsck_instance));
757 cmp->list = malloc(num * sizeof(char *));
758 cmp->type = malloc(num * sizeof(int));
1282 fsck_path = malloc (strlen (fsck_prefix_path) + 1 +
  /external/libppp/src/
route.c 242 if ((buf = malloc(needed)) == NULL)
265 newifs = (char **)malloc(sizeof(char *) * have);
280 ifs[ifm->ifm_index-1] = (char *)malloc(dl->sdl_nlen+1);
351 sp = malloc(needed);
409 sp = malloc(needed);
500 sp = malloc(needed);
621 r = (struct sticky_route *)malloc(sizeof(struct sticky_route));
  /hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
G722EncTest.c 336 streaminfo = malloc(sizeof(TI_OMX_STREAM_INFO));
337 pAppPrivate = malloc(sizeof(TI_OMX_DSP_DEFINITION));
446 /*pHandle = malloc(sizeof(OMX_HANDLETYPE));*/
495 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE));
547 pG722Param = malloc (sizeof (OMX_AUDIO_PARAM_ADPCMTYPE));
592 pCompPrivateStructGain = malloc (sizeof(OMX_AUDIO_CONFIG_VOLUMETYPE));
595 APP_DPRINT("%d :: App: Malloc Failed\n",__LINE__);
630 pInputBuffer = (OMX_U8*)malloc(inBufSize+G722ENC_CACHE_ALIGN_MALLOC);
639 pOutputBuffer= (OMX_U8*)malloc (outBufSize+G722ENC_CACHE_ALIGN_MALLOC);
    [all...]
  /external/valgrind/main/VEX/unused/
linker.c 11 #include <malloc.h>
84 /* ptr to malloc'd lump of memory holding the obj file */
170 = malloc(sizeof(ProddableBlock));
221 StringMap* sm = malloc(sizeof(StringMap));
224 sm->maplets = malloc(10 * sizeof(Maplet));
244 mp2 = malloc(sm->sm_size * sizeof(Maplet));
1045 oc->symbols = malloc(oc->n_symbols * sizeof(char*));
    [all...]
  /frameworks/base/tools/aapt/
Images.cpp 111 outImageInfo->rows = (png_bytepp)malloc(
121 malloc(png_get_rowbytes(read_ptr, read_info));
453 int32_t* xDivs = (int32_t*) malloc(maxSizeXDivs);
454 int32_t* yDivs = (int32_t*) malloc(maxSizeYDivs);
576 image->rows = (png_bytepp)malloc((H-2) * png_sizeof(png_bytep));
611 image->info9Patch.colors = (uint32_t*)malloc(numColors * sizeof(uint32_t));
700 void * newData = malloc(patchSize);
987 png_bytepp outRows = (png_bytepp) malloc((int) imageInfo.height * png_sizeof(png_bytep));
993 outRows[i] = (png_bytep) malloc(2 * (int) imageInfo.width);
    [all...]
  /bootable/recovery/minui/
graphics.c 172 ms->data = malloc(fi.line_length * vi.yres);
340 gr_font->texture = malloc(sizeof(*gr_font->texture));
345 unsigned char* bits = malloc(font.width * font.height);
  /dalvik/libdex/
ZipArchive.cpp 256 u1* scanBuf = (u1*) malloc(readAmount);
591 unsigned char* readBuf = (unsigned char*) malloc(kBufSize);
592 unsigned char* writeBuf = (unsigned char*) malloc(kBufSize);
  /external/e2fsprogs/debugfs/
htree.c 167 cbuf = malloc(fs->blocksize);
251 buf = malloc(2*current_fs->blocksize);
372 pb.buf = malloc(current_fs->blocksize);
  /external/e2fsprogs/intl/
vasnprintf.c 41 #include <stdlib.h> /* abort(), malloc(), realloc(), free() */
161 buf = (CHAR_T *) malloc (buf_memsize);
179 result is either == resultbuf or == NULL or malloc-allocated.
197 memory = (CHAR_T *) malloc (memory_size); \
494 tmp = (CHAR_T *) malloc (tmp_memsize);
  /external/elfutils/libelf/
elf_getdata.c 146 scn->data_base = (char *) malloc (size);
161 scn->data_base = (char *) malloc (size);
283 = (char *) malloc (size);
  /external/icu4c/test/cintltst/
cintltst.c 452 retStr = (char *)malloc(strlen(dataDir)+1);
480 /* Do NOT use malloc() - we are supposed to be acting like user code! */
481 UChar *buf = (UChar*) malloc(sizeof(UChar) * (len + 1));
492 /*newString = (char*)malloc ( sizeof( char ) * 4 * ( length + 1 ) );*/ /* this leaks for now */
637 return ctst_allocated_stuff[ctst_allocated++] = malloc(size);
uenumtst.c 70 cont->currUChar = (UChar *)malloc(1024*sizeof(UChar));
199 UEnumeration *en = (UEnumeration *)malloc(sizeof(UEnumeration));
270 UEnumeration *en = (UEnumeration *)malloc(sizeof(UEnumeration));
  /external/libpcap/
pcap-pf.c 305 p = (pcap_t *)malloc(sizeof(*p));
385 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);
486 p->buffer = (u_char*)malloc(p->bufsize + p->offset);
pcap-win32.c 402 p = (pcap_t *)malloc(sizeof(*p));
405 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
447 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);
545 p->buffer = (u_char *)malloc(PcapBufSize);
548 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
  /external/valgrind/main/auxprogs/
ppcfround.c 4 #include <malloc.h>
377 double* args = malloc(nargs * sizeof(double));
378 double* macArgs = malloc(nMacArgs * sizeof(double));
  /external/valgrind/main/coregrind/m_ume/
elf.c 43 #include "pub_core_mallocfree.h" // VG_(malloc), VG_(free)
95 struct elfinfo *e = VG_(malloc)("ume.re.1", sizeof(*e));
138 e->p = VG_(malloc)("ume.re.2", phsz);
365 HChar *buf = VG_(malloc)("ume.LE.1", ph->p_filesz+1);
  /external/valgrind/main/exp-sgcheck/
h_main.c 96 ExeContext* ec; /* where malloc'd or freed */
163 SegGroup* g = VG_(malloc)("pc.h_main.nTG.1", sizeof(SegGroup));
244 addr_to_seg_map = VG_(newFM)( VG_(malloc), "pc.h_main.attmEI.1",
339 /* freeing a block that wasn't malloc'd. Ignore. */
347 /*--- malloc() et al replacements ---*/
645 pce.qmpMap = VG_(newXA)( VG_(malloc), "pc.h_instrument.1", VG_(free),
  /external/valgrind/main/massif/
ms_main.c 88 // than a certain size! Because: "linux's malloc allows to set a
116 n1: 5 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
158 100.00% (5B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
185 #include "valgrind.h" // For {MALLOC,FREE}LIKE_BLOCK
194 // call tree beneath all the allocation functions like malloc().
312 alloc_fns = VG_(newXA)(VG_(malloc), "ms.main.iaf.1",
327 // alloc function: realloc (which uses malloc); valloc,
331 DO("malloc" );
359 ignore_fns = VG_(newXA)(VG_(malloc), "ms.main.iif.1",
505 // - malloc/calloc/realloc/memalign/new/new[]
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DecTestBench.c 187 byteStrmStart = (u8 *)malloc(sizeof(u8)*strmLen);
256 tmpImage = malloc(picSize);
700 library function malloc for allocation of memory.
714 return malloc(size);
  /frameworks/compile/slang/
slang_rs_metadata_spec_encoder.cpp 377 ::malloc((mStrings.size() + 1) * sizeof(unsigned)));
395 char *StrTab = reinterpret_cast<char*>(::malloc(StrTabSize));
452 reinterpret_cast<unsigned*>(::malloc(TypeInfoCount * sizeof(unsigned)));
  /frameworks/native/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp 87 char* buf = (char*) malloc(infoLen);
126 char* buf = (char*) malloc(bufLength);
343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig);
  /frameworks/native/opengl/tests/gl2_yuvtex/
gl2_yuvtex.cpp 94 char* buf = (char*) malloc(infoLen);
103 char* buf = (char*) malloc(0x1000);
142 char* buf = (char*) malloc(bufLength);
  /frameworks/wilhelm/src/
ThreadPool.c 128 tp->mClosureArray = (Closure **) malloc((maxClosures + 1) * sizeof(Closure *));
141 tp->mThreadArray = (pthread_t *) malloc(maxThreads * sizeof(pthread_t));
255 Closure *closure = (Closure *) malloc(sizeof(Closure));
  /frameworks/wilhelm/tests/examples/
slesTestDecodeToBuffQueue.cpp 265 char* outputPath = (char*) malloc(len + 4 + 1); // save room to concatenate ".raw"
313 pcmMetaData = (SLMetadataInfo*) malloc(PCM_METADATA_VALUE_SIZE);
474 keyInfo = (SLMetadataInfo*) malloc(keySize);
  /hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
perf_print.c 87 me->info = (char *) malloc(3+9+1+8+2+6+4+2+7+12+8+16+2 + 100);
207 perf->cip.pDebug = malloc(sizeof(PERF_PRINT_Private));
229 fOutFile = (char *) malloc (strlen(config->log_file) + 32);

Completed in 1959 milliseconds

<<51525354555657585960>>