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

<<41424344454647484950>>

  /packages/apps/Gallery2/jni/filters/
redEyeMath.c 112 unsigned char *mask1 = (unsigned char *) malloc(recW * recH);
113 unsigned char *mask2 = (unsigned char *)malloc(recW*recH);
  /system/core/adb/
file_sync_client.c 335 file_buffer = (char *)malloc(size);
580 copyinfo *ci = malloc(sizeof(copyinfo) + ssize + dsize);
684 char *tmp = malloc(tmplen);
691 char *tmp = malloc(tmplen);
783 char *tmp = malloc(strlen(name) + strlen(rpath) + 2);
883 char *tmp = malloc(tmplen);
890 char *tmp = malloc(tmplen);
977 char *tmp = malloc(tmplen);
  /system/core/fastboot/
usb_windows.c 93 usb_handle* ret = (usb_handle*)malloc(sizeof(usb_handle));
127 ret->interface_name = (char*)malloc(name_len);
  /system/core/libcorkscrew/
symbol_table.c 98 table = malloc(sizeof(symbol_table_t));
151 table->symbols = malloc(table->num_symbols * sizeof(symbol_t));
  /system/core/libnl_2/genl/
genl.c 147 recvbuf = (char *) malloc(RECV_BUF_SIZE);
257 malloc(sizeof(struct genl_family));
  /system/core/libnl_2/
netlink.c 68 *buf = (unsigned char *) malloc(RECV_BUF_SIZE);
131 msg = (struct nl_msg *) malloc(sizeof(struct nl_msg));
  /system/extras/tests/sdcard/
stopwatch.cpp 30 #include <malloc.h>
64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement));
  /system/media/audio_utils/
tinysndfile.c 97 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE));
155 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE));
  /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);
  /device/lge/mako/camera/
QualcommCamera.cpp 180 q_cam_memory_t *qmem = (q_cam_memory_t *)malloc(sizeof(q_cam_memory_t));
216 q_cam_memory_t *qmem = (q_cam_memory_t *)malloc(sizeof(q_cam_memory_t));
250 q_cam_memory_t *qmem = (q_cam_memory_t *)malloc(sizeof(q_cam_memory_t));
343 (camera_device *)malloc(sizeof (struct camera_device));
346 (camera_hardware_t *) malloc(sizeof (camera_hardware_t));
  /external/chromium/third_party/libevent/test/
regress.gen.c 48 if ((tmp = malloc(sizeof(struct msg))) == NULL) {
49 event_warn("%s: malloc", __func__);
432 if ((tmp = malloc(sizeof(struct kill))) == NULL) {
433 event_warn("%s: malloc", __func__);
658 if ((tmp = malloc(sizeof(struct run))) == NULL) {
659 event_warn("%s: malloc", __func__);
697 msg->some_bytes_data = malloc(len);
807 if ((tmp->some_bytes_data = malloc(tmp->some_bytes_length)) == NULL)
  /external/elfutils/src/
ldscript.c 347 /* The parser invokes alloca or malloc; define the necessary symbols. */
358 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
390 && ! ((defined YYMALLOC || defined malloc) \
398 # define YYMALLOC malloc
399 # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
401 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
    [all...]
  /external/icu4c/test/cintltst/
bocu1tst.c 887 roundtripRef = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar));
888 roundtripICU = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar));
889 bocu1Ref = malloc(DEFAULT_BUFFER_SIZE);
890 bocu1ICU = malloc(DEFAULT_BUFFER_SIZE);
992 text = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar));
  /external/jhead/
jpgfile.c 174 Data = (uchar *)malloc(itemlen);
208 Data = (uchar *)malloc(size);
368 Data = (uchar *)malloc(itemlen);
403 Data = (uchar *)malloc(size);
1033 Sections = (Section_t *)malloc(sizeof(Section_t)*5);
main.c 223 exifElementTable = malloc(sizeof(ExifElement_t) * attrCnt);
280 exifElementTable[i].Value = malloc(valueLen + 1);
315 thumbnailData = (uchar*)malloc(ImageInfo.ThumbnailSize);
316 // if the malloc fails, we just won't copy the thumbnail
552 char* buf = malloc(bufLen);
702 char* finalResult = malloc(finalBufLen);
  /external/libpcap/
pcap.c 234 *dlt_buffer = (int*)malloc(sizeof(**dlt_buffer));
237 "malloc: %s", pcap_strerror(errno));
246 "malloc: %s", pcap_strerror(errno));
760 p = malloc(sizeof(*p));
858 malloc(full_pcap_version_string_len);
875 full_pcap_version_string = malloc(full_pcap_version_string_len);
904 malloc(full_pcap_version_string_len);
  /external/libusb/libusb/
core.c 449 malloc(sizeof(*ret) + (sizeof(void *) * DISCOVERED_DEVICES_SIZE_STEP));
503 struct libusb_device *dev = malloc(sizeof(*dev) + priv_size);
613 ret = malloc(sizeof(void *) * (len + 1));
866 _handle = malloc(sizeof(*_handle) + priv_size);
    [all...]
  /external/libxml2/
threads.c 96 * TODO: this module still uses malloc/free and not xmlMalloc/xmlFree
192 if ((tok = malloc(sizeof(xmlMutex))) == NULL)
301 if ((tok = malloc(sizeof(xmlRMutex))) == NULL)
449 cs = malloc(sizeof(CRITICAL_SECTION));
584 gs = malloc(sizeof(xmlGlobalState));
702 malloc(sizeof(xmlGlobalStateCleanupHelperParams));
  /external/srec/audio/AudioIn/UNIX/src/
audioin.c 408 CodecBuffer = (audioinSample *)malloc ( gCodecFragmentSizeInFrames * sizeof ( audioinSample ) );
412 PLogError ( "Audio In Error malloc\n" );
415 pwhdr = malloc ( sizeof ( AUDIOIN_WAVEHDR ) );
419 PLogError ( "Audio In Error malloc\n" );
612 CodecBuffer = (audioinSample *)malloc ( gCodecFragmentSizeInFrames * sizeof ( audioinSample ) );
718 pwhdr = malloc ( sizeof ( AUDIOIN_WAVEHDR ) );
725 pwhdr->pData = malloc ( pwhdr->nBufferLength );
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/
glslang_tab.cpp 456 /* The parser invokes alloca or malloc; define the necessary symbols. */
467 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
499 && ! ((defined YYMALLOC || defined malloc) \
507 # define YYMALLOC malloc
508 # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
510 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
    [all...]
  /external/zlib/src/examples/
gzlog.c 228 #include <stdlib.h> /* malloc, free */
583 dest = malloc(strlen(log->path) + 1);
    [all...]
  /dalvik/vm/compiler/codegen/x86/
LowerJump.cpp 110 item = (LabelMap*)malloc(sizeof(LabelMap));
126 item = (LabelMap*)malloc(sizeof(LabelMap));
198 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap));
215 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap));
258 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap));
279 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap));
298 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap));
319 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap));
657 NCGWorklist* item = (NCGWorklist*)malloc(sizeof(NCGWorklist));
683 DataWorklist* item = (DataWorklist*)malloc(sizeof(DataWorklist))
    [all...]
  /external/e2fsprogs/e2fsck/
profile.c 264 fn = malloc(strlen(dirname) + strlen(de->d_name) + 2);
307 profile = malloc(sizeof(struct _profile_t));
464 prf = malloc(sizeof(struct _prf_file_t));
495 expanded_filename = malloc(len);
1069 char *p = malloc(sz);
1084 new = malloc(sizeof(struct profile_node));
1294 if ((iter = malloc(sizeof(struct profile_iterator))) == NULL)
    [all...]
  /external/valgrind/main/cachegrind/
cg_merge.c 244 FileFn* ffn = malloc(sizeof(FileFn));
274 Counts* cts = malloc(sizeof(Counts));
279 cts->counts = malloc(n_counts * sizeof(ULong));
293 Counts* cts = malloc(sizeof(Counts));
298 cts->counts = malloc(n_counts * sizeof(ULong));
337 CacheProfFile* cpf = malloc(sizeof(CacheProfFile));
555 topKey = malloc(sizeof(FileFn));
570 countsMap = newFM( malloc, free, cmp_unboxed_UWord );
631 cpf->desc_lines = malloc( (1+n_tmp_desclines) * sizeof(char*) );
673 cpf->outerMap = newFM ( malloc, free, cmp_FileFn )
    [all...]
  /bootable/recovery/applypatch/
applypatch.c 70 file->data = malloc(file->size);
170 int* index = malloc(pairs * sizeof(int));
171 size_t* size = malloc(pairs * sizeof(size_t));
172 char** sha1sum = malloc(pairs * sizeof(char*));
229 file->data = malloc(size[index[pairs-1]]);
937 msi.buffer = malloc(target_size);
949 outname = (char*)malloc(strlen(target_filename) + 10);
    [all...]

Completed in 1433 milliseconds

<<41424344454647484950>>