/external/blktrace/ |
H A D | blkrawverify.c | 131 bit = malloc(sizeof(struct blk_io_trace)); \ 148 struct blk_io_trace *bit = malloc(sizeof(struct blk_io_trace)); 198 pdu_buf = malloc(bit->pdu_len); 282 char *ofname = malloc(1024); 283 char *fname = malloc(1024);
|
/external/chromium_org/base/process/ |
H A D | memory_unittest.cc | 23 #include <malloc/malloc.h> 28 #include <malloc.h> 109 // The following code tests the system implementation of malloc() thus no need 113 // The Mavericks malloc library changed in a way which breaks the tricks used 130 buf = malloc(std::numeric_limits<size_t>::max() - (2 * PAGE_SIZE) - 1); 144 // On 64 bit Macs, the malloc system automatically abort()s on heap corruption 148 // AddressSanitizer replaces malloc() and prints a different error message on 151 "was not malloc\\(\\)-ed"); 229 value_ = malloc(test_size [all...] |
H A D | memory_linux.cc | 25 return malloc(size); 70 // For security reasons, we want malloc failures to be fatal. Too much code 71 // doesn't check for a NULL return value from malloc and unconditionally uses 76 // Thus, we define all the standard malloc functions here and mark them as 77 // visibility 'default'. This means that they replace the malloc functions for 85 // redefine malloc and let AddressSanitizer do it instead. 118 DIE_ON_OOM_1(malloc) 160 // malloc and friends and make them die on out of memory. 204 *result = malloc(size);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | nfsprep.c | 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); 107 b3 = (char*) malloc(b3Len); 237 p = (char*) malloc(pLen); 250 s = (char*) malloc(pLen);
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
H A D | test_fft32.c | 79 test_signal = (struct ComplexFloat*) malloc(sizeof(*test_signal) * size); 80 true_fft = (struct ComplexFloat*) malloc(sizeof(*true_fft) * size); 133 fft_fwd_spec = (OMXFFTSpec_C_SC32*) malloc(fft_spec_buffer_size); 142 y_true = (OMX_SC32*) malloc(sizeof(*y_true) * fft_size); 203 fft_inv_spec = (OMXFFTSpec_C_SC32*)malloc(fft_spec_buffer_size);
|
H A D | test_float_rfft.c | 105 test_signal = (struct ComplexFloat*) malloc(sizeof(*test_signal) * size); 106 true_fft = (struct ComplexFloat*) malloc(sizeof(*true_fft) * size); 150 fft_fwd_spec = (OMXFFTSpec_R_F32*) malloc(fft_spec_buffer_size); 161 y_true = (OMX_FC32*) malloc(sizeof(*y_true) * (fft_size / 2 + 1)); 227 fft_inv_spec = (OMXFFTSpec_R_F32*)malloc(fft_spec_buffer_size);
|
H A D | test_rfft16_s32.c | 73 test_signal = (struct ComplexFloat*) malloc(sizeof(*test_signal) * size); 74 true_fft = (struct ComplexFloat*) malloc(sizeof(*true_fft) * size); 117 fft_fwd_spec = (OMXFFTSpec_R_S16S32*) malloc(fft_spec_buffer_size); 126 y_true = (OMX_SC32*) malloc(sizeof(*y_true) * (fft_size / 2 + 1)); 186 fft_inv_spec = (OMXFFTSpec_R_S16S32*)malloc(fft_spec_buffer_size);
|
H A D | test_rfft32.c | 77 test_signal = (struct ComplexFloat*) malloc(sizeof(*test_signal) * size); 78 true_fft = (struct ComplexFloat*) malloc(sizeof(*true_fft) * size); 121 pFwdSpec = (OMXFFTSpec_R_S32*) malloc(fft_spec_buffer_size); 130 y_true = (OMX_SC32*) malloc(sizeof(*y_true) * (fft_size / 2 + 1)); 191 pInvSpec = (OMXFFTSpec_R_S32*)malloc(fft_spec_buffer_size);
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_userspace.c | 135 addr = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in)); 136 ifa = (struct ifaddrs *)malloc(sizeof(struct ifaddrs)); 169 addr6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6)); 170 ifa = (struct ifaddrs *)malloc(sizeof(struct ifaddrs)); 202 addresses = malloc(size);
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_mem_test.cc | 19 T *array = Ident((T*)malloc(size)); 118 assert(0 && "Did not find two adjacent malloc-ed pointers"); 126 T *src = Ident((T*)malloc(size)); 127 T *dest = Ident((T*)malloc(size)); 169 T *big_src = Ident((T*)malloc(size * 2)); 170 T *big_dest = Ident((T*)malloc(size * 2));
|
/external/e2fsprogs/intl/ |
H A D | bindtextdom.c | 155 result = (char *) malloc (len); 193 result = (char *) malloc (len); 225 (struct binding *) malloc (offsetof (struct binding, domainname) + len); 252 result = (char *) malloc (len); 283 result = (char *) malloc (len);
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | nfsprep.c | 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); 107 b3 = (char*) malloc(b3Len); 237 p = (char*) malloc(pLen); 250 s = (char*) malloc(pLen);
|
/external/jpeg/ |
H A D | ansi2knr.c | 272 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);
|
/external/qemu/distrib/jpeg-6b/ |
H A D | ansi2knr.c | 272 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);
|
/external/tremolo/Tremolo/ |
H A D | misc.c | 76 pointers=(void **)malloc(sizeof(void **)*palloced); 77 insertlist=(long *)malloc(sizeof(long *)*palloced); 103 files=malloc(filecount*sizeof(*files)); 104 file_bytes=malloc(filecount*sizeof(*file_bytes)); 216 ptr=malloc(bytes);
|
/external/svox/pico/tts/ |
H A D | com_svox_picottsengine.cpp | 255 char* fileName = (char*)malloc(PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE); 337 picoProp_currLang = (char *) malloc( 10 ); 338 picoTaFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE ); 339 picoSgFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE ); 340 picoUtppFileName = (pico_Char *) malloc( PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE ); 341 picoTaResourceName = (pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE ); 342 picoSgResourceName = (pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE ); 343 picoUtppResourceName =(pico_Char *) malloc( PICO_MAX_RESOURCE_NAME_SIZE ); 360 char* tmpFileName = (char*)malloc(PICO_MAX_DATAPATH_NAME_SIZE + PICO_MAX_FILE_NAME_SIZE); 552 data = (char *) malloc( textle [all...] |
/external/checkpolicy/ |
H A D | queue.c | 17 q = (queue_t) malloc(sizeof(struct queue_info)); 33 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node)); 57 newnode = (queue_node_ptr_t) malloc(sizeof(struct queue_node));
|
/external/chromium_org/third_party/icu/source/extra/uconv/ |
H A D | uwmsg.c | 202 gInfoMessages = (UChar **)malloc((U_ERROR_WARNING_LIMIT-U_ERROR_WARNING_START)*sizeof(UChar*)); 206 gErrMessages = (UChar **)malloc(U_ERROR_LIMIT*sizeof(UChar*)); 254 msg = (UChar*)malloc((strlen(textMsg)+1)*sizeof(msg[0]));
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_rebase.c | 62 TYPE *tmp_indices = malloc(count * sizeof(TYPE)); \ 149 tmp_prims = (struct _mesa_prim *)malloc(sizeof(*prim) * nr_prims); 198 tmp_prims = (struct _mesa_prim *)malloc(sizeof(*prim) * nr_prims);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | libc_override_osx.h | 33 // Used to override malloc routines on OS X systems. We use the 34 // malloc-zone functionality built into OS X to register our malloc 37 // 1) We used to use the normal 'override weak libc malloc/etc' 46 // { (void *)tc_malloc, (void *)malloc }, 52 // 3) Registering a new malloc zone avoids all these issues: 53 // http://www.opensource.apple.com/source/Libc/Libc-583/include/malloc/malloc.h 54 // http://www.opensource.apple.com/source/Libc/Libc-583/gen/malloc.c 55 // If we make tcmalloc the default malloc zon [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | libc_override_osx.h | 33 // Used to override malloc routines on OS X systems. We use the 34 // malloc-zone functionality built into OS X to register our malloc 37 // 1) We used to use the normal 'override weak libc malloc/etc' 46 // { (void *)tc_malloc, (void *)malloc }, 52 // 3) Registering a new malloc zone avoids all these issues: 53 // http://www.opensource.apple.com/source/Libc/Libc-583/include/malloc/malloc.h 54 // http://www.opensource.apple.com/source/Libc/Libc-583/gen/malloc.c 55 // If we make tcmalloc the default malloc zon [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
H A D | user_malloc.h | 58 * flags to malloc. 69 * Two malloc type structures are present: malloc_type, which is used by a 71 * malloc-owned statistics and other ABI-sensitive fields, such as the set of 72 * malloc statistics indexed by the compile-time MAXCPU constant. 105 * now malloc-managed in malloc-owned memory rather than in caller memory, so 136 * Statistics structure headers for user space. The kern.malloc sysctl 138 * malloc type headers and statistics structures (quantity maxcpus). For 157 removed because it causes conflicts with malloc definition in 158 /usr/include/malloc [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/ |
H A D | RTPjitter.cc | 111 time_vec = (arr_time *) malloc(sizeof(arr_time) 132 rtp_vec = (unsigned char *) malloc(sizeof(unsigned char)*filelen(in_file)); 172 packet_ptr = (unsigned char **) malloc(Npack*sizeof(unsigned char*));
|
/external/clang/test/Analysis/ |
H A D | unix-fns.c | 16 void *malloc(size_t); 80 // PR 2899 - warn of zero-sized allocations to malloc(). 82 char* foo = malloc(0); // expected-warning{{Call to 'malloc' has an allocation size of 0 bytes}} 88 char* foo = malloc(size); // no-warning 709 // CHECK-NEXT: <string>Call to 'malloc' has an allocation size of 0 bytes</string> 711 // CHECK-NEXT: <string>Call to 'malloc' has an allocation size of 0 bytes</string> 714 // CHECK-NEXT: <key>description</key><string>Call to 'malloc' has an allocation size of 0 bytes</string>
|
/external/compiler-rt/test/msan/Linux/ |
H A D | xattr.cc | 61 *buf = (char *)malloc(buf_size); 85 buf = (char *)malloc(buf_size); 111 char **attrs = (char **)malloc(argv_size);
|