| /external/webkit/Source/JavaScriptCore/wtf/ |
| Assertions.cpp | 111 char* buffer = (char*)malloc(length + 1); 139 char* buffer = (char*)malloc(size); 147 wchar_t* wideBuffer = (wchar_t*)malloc(size * sizeof(wchar_t));
|
| /external/webkit/Tools/android/flex-2.5.4a/MISC/ |
| alloca.c | 72 malloc. The Emacs executable needs alloca to call xmalloc, because 73 ordinary malloc isn't protected from input signals. On the other 74 hand, the utilities in lib-src need alloca to call malloc; some of 79 Callers below should use malloc. */ 82 #define malloc xmalloc macro 84 extern pointer malloc (); 135 It is very important that sizeof(header) agree with malloc 201 register pointer new = malloc (sizeof (header) + size);
|
| /external/webrtc/src/modules/audio_processing/utility/ |
| delay_estimator_wrapper.c | 183 self = malloc(sizeof(DelayEstimator)); 201 self->mean_far_spectrum = malloc(spectrum_size * sizeof(SpectrumType)); 207 self->mean_near_spectrum = malloc(spectrum_size * sizeof(SpectrumType));
|
| /external/zlib/src/contrib/testzlib/ |
| testzlib.c | 132 ptr=malloc((*plFileSize)+1);
186 CprPtr=(unsigned char*)malloc(lBufferSizeCpr + BlockSizeCompress);
227 UncprPtr=(unsigned char*)malloc(lBufferSizeUncpr + BlockSizeUncompress);
|
| /frameworks/av/media/libmedia/ |
| ICrypto.cpp | 192 opaqueData = malloc(opaqueSize); 238 void *srcData = malloc(totalSize); 254 dstPtr = malloc(totalSize);
|
| /frameworks/av/services/audioflinger/ |
| test-resample.cpp | 174 input_vaddr = malloc(input_size); 210 void* output_vaddr = malloc(output_size); 247 int16_t* convert = (int16_t*) malloc(out_frames * channels * sizeof(int16_t));
|
| /frameworks/native/opengl/libagl/ |
| TextureObjectManager.cpp | 83 mMipmaps = (GGLSurface*)malloc(numLods * sizeof(GGLSurface)); 171 surface.data = (GGLubyte*)malloc(size); 204 mipmap.data = (GGLubyte*)malloc(size);
|
| /frameworks/native/opengl/libs/GLES_trace/src/ |
| gltrace_context.cpp | 166 fbcontents = malloc(minSize); 167 fbcompressed = malloc(minSize); 258 mBuf = malloc(size);
|
| /hardware/ti/wlan/lib/ |
| shlist.c | 98 item = (SHLIST *)malloc( sizeof(SHLIST) ); 116 item = (SHLIST *)malloc( sizeof(SHLIST) ); 138 item = (SHLIST *)malloc( sizeof(SHLIST) );
|
| /ndk/sources/host-tools/make-3.81/ |
| alloca.c | 81 malloc. The Emacs executable needs alloca to call xmalloc, because 82 ordinary malloc isn't protected from input signals. On the other 83 hand, the utilities in lib-src need alloca to call malloc; some of 88 Callers below should use malloc. */ 91 #define malloc xmalloc macro 93 extern pointer malloc (); 144 It is very important that sizeof(header) agree with malloc 217 register pointer new = malloc (sizeof (header) + size);
|
| /packages/apps/Gallery2/jni/filters/ |
| wbalance.c | 23 int *histR = (int *) malloc(256*sizeof(int)); 24 int *histG = (int *) malloc(256*sizeof(int)); 25 int *histB = (int *) malloc(256*sizeof(int));
|
| /system/extras/libpagemap/ |
| pm_process.c | 108 range = malloc(numpages * sizeof(uint64_t)); 144 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); 267 map->name = malloc(strlen(name) + 1);
|
| /external/libpcap/ |
| inet.c | 98 if ((newsa = malloc(sa_length)) == NULL) 187 en_name = malloc(en_name_len + 1); 190 "malloc: %s", pcap_strerror(errno)); 214 curdev = malloc(sizeof(pcap_if_t)); 217 "malloc: %s", pcap_strerror(errno)); 228 "malloc: %s", pcap_strerror(errno)); 239 "malloc: %s", pcap_strerror(errno)); 390 curaddr = malloc(sizeof(pcap_addr_t)); 393 "malloc: %s", pcap_strerror(errno)); 402 "malloc: %s", pcap_strerror(errno)) [all...] |
| /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/qemu/distrib/sdl-1.2.15/include/ |
| SDL_stdinc.h | 47 # include <malloc.h> 162 #define SDL_malloc malloc 191 # include <malloc.h> 194 # include <malloc.h> 196 # include <malloc.h>
|
| /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); 180 struct FwdLockFile_DeriveKeys_Data *pData = malloc(kSize); 267 pSession->pContentType = malloc(pSession->contentTypeLength + 1); 273 pSession->pEncryptedSessionKey = malloc(pSession->encryptedSessionKeyLength); 378 } *pData = malloc(sizeof *pData);
|
| /hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/ |
| iio_utils.h | 323 *ci_array = malloc(sizeof(**ci_array) * (*counter)); 439 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); 486 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); 545 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); 567 char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
|
| /packages/experimental/procstatlog/ |
| procstatlog.c | 70 // Set data->name and data->value to malloc'd strings with the 91 data->value = malloc(len + 1); 144 data->name = malloc(filename_len + 1 + (name_end - line) + 1); 194 data->name = malloc(12 + device_len + 1 + (name_end - line) + 1); 216 // Return a malloc'd array of "struct data" read from all over /proc. 285 struct data *stats = malloc((stats_count + 1) * sizeof(struct data)); 385 struct data *old_stats = malloc(sizeof(struct data));
|
| /prebuilts/tools/darwin-x86/sdl/include/SDL/ |
| SDL_stdinc.h | 47 # include <malloc.h> 162 #define SDL_malloc malloc 191 # include <malloc.h> 194 # include <malloc.h> 196 # include <malloc.h>
|
| /prebuilts/tools/linux-x86/sdl/include/SDL/ |
| SDL_stdinc.h | 47 # include <malloc.h> 162 #define SDL_malloc malloc 191 # include <malloc.h> 194 # include <malloc.h> 196 # include <malloc.h>
|
| /prebuilts/tools/windows/sdl/include/SDL/ |
| SDL_stdinc.h | 47 # include <malloc.h> 162 #define SDL_malloc malloc 191 # include <malloc.h> 194 # include <malloc.h> 196 # include <malloc.h>
|
| /external/checkpolicy/ |
| policy_define.c | 112 newid = (char *)malloc(strlen(id) + 1); 159 datum = (class_datum_t *) malloc(sizeof(class_datum_t)); 295 newc = (ocontext_t *) malloc(sizeof(ocontext_t)); 473 comdatum = (common_datum_t *) malloc(sizeof(common_datum_t)); 497 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); 604 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); 689 level = (mls_level_t *) malloc(sizeof(mls_level_t)); 698 datum = (level_datum_t *) malloc(sizeof(level_datum_t)); 735 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); 868 datum = (cat_datum_t *) malloc(sizeof(cat_datum_t)) [all...] |
| /bootable/recovery/updater/ |
| install.c | 284 char** paths = malloc(argc * sizeof(char*)); 419 Value* v = malloc(sizeof(Value)); 434 v->data = malloc(v->size); 649 buffer = malloc(st.st_size+1); 782 char* buffer = malloc(BUFSIZ); 890 char** patch_sha_str = malloc(patchcount * sizeof(char*)); 949 char* buffer = malloc(size+1); 987 char** args2 = malloc(sizeof(char*) * (argc+1)); 1026 char* buffer = malloc(SHA_DIGEST_SIZE*2 + 1); 1068 uint8_t* arg_digest = malloc(SHA_DIGEST_SIZE) [all...] |
| /external/libsepol/src/ |
| module.c | 96 *field = malloc(len); 350 /* Get the section offsets from a package file, offsets will be malloc'd to 361 buf = malloc(sizeof(uint32_t)*3); 388 off = (size_t *) malloc((nsec + 1) * sizeof(size_t)); 395 buf = malloc(sizeof(uint32_t) * nsec); 490 (char *)malloc(mod->file_contexts_len); 516 mod->seusers = (char *)malloc(mod->seusers_len); 539 mod->user_extra = (char *)malloc(mod->user_extra_len); 565 (char *)malloc(mod->netfilter_contexts_len); 726 id = malloc(len + 1) [all...] |