/external/openssh/openbsd-compat/regress/ |
snprintftest.c | 57 if ((src = malloc(BUFSZ)) == NULL) { 58 fail("malloc failed");
|
/external/openssl/crypto/pkcs7/ |
example.c | 97 data=malloc(total); 114 /* For this case, I will malloc the return strings */ 148 *str1=malloc(os1->length+1); 149 *str2=malloc(os2->length+1); 261 data=malloc(total); 278 /* For this case, I will malloc the return strings */ 315 *str1=malloc(os1->length+1); 316 *str2=malloc(os2->length+1);
|
/external/pixman/demos/ |
srgb-test.c | 53 uint32_t *dest = malloc (WIDTH * HEIGHT * 4); 54 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4);
|
/external/qemu/android/protocol/ |
core-commands-qemu.c | 71 *netspeed = (NetworkSpeed*)malloc(sizeof(NetworkSpeed)); 83 *netdelay = (NetworkLatency*)malloc(sizeof(NetworkLatency));
|
/external/qemu/ |
softmmu-semi.h | 42 p = malloc(len); 54 s = p = malloc(1024);
|
/external/skia/src/utils/ |
SkBitSet.cpp | 17 fBitData.set(malloc(fDwordCount * sizeof(uint32_t))); 33 fBitData.set(malloc(fDwordCount * sizeof(uint32_t)));
|
/external/valgrind/main/gdbserver_tests/ |
mcleak.stdinB.gdb | 27 # b21 = malloc (21); 35 # b32_33[i] = malloc (32+i);
|
/external/valgrind/main/memcheck/tests/ |
wrap5.c | 7 function (malloc) to check that that doesn't screw anything up. 25 p = malloc(sizeof(Lard));
|
/frameworks/rs/tests/cppstrided/ |
compute.cpp | 40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t)); 42 printf("malloc failed\n");
|
/packages/apps/Gallery2/jni/filters/ |
shadows.c | 36 double *poly = (double *) malloc(5*sizeof(double)); 41 unsigned short * hsv = (unsigned short *)malloc(3*sizeof(short));
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/lib/ |
libthread_db.so | |
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/lib/ |
libthread_db.so | |
/system/core/libcorkscrew/ |
test.cpp | 8 backtrace_frame_t* frames = (backtrace_frame_t*) malloc(sizeof(backtrace_frame_t) * MAX_DEPTH); 15 backtrace_symbol_t* backtrace_symbols = (backtrace_symbol_t*) malloc(sizeof(backtrace_symbol_t) * frame_count);
|
/system/core/libnl_2/ |
handlers.c | 19 #include <malloc.h> 28 cb = (struct nl_cb *) malloc(sizeof(struct nl_cb));
|
/system/core/libzipfile/ |
test_zipfile.c | 44 buf = malloc(size);
77 scratch = malloc(size);
|
/system/core/toolbox/ |
insmod.c | 5 #include <malloc.h> 31 buffer = malloc(size);
|
/bionic/libc/bionic/ |
malloc_debug_common.h | 30 * Contains declarations of types and constants used by malloc leak 73 /* Entry in malloc dispatch table. */ 81 MallocDebugMalloc malloc; member in struct:MallocDebug 89 /* Malloc debugging initialization and finalization routines. 91 * These routines must be implemented in .so modules that implement malloc 95 * They are implemented in bionic/libc/bionic/malloc_debug_common.c when malloc
|
/bionic/libc/upstream-dlmalloc/ |
malloc.h | 2 Default header file for malloc-2.8.x, written by Doug Lea 9 * If USE_DL_PREFIX is defined, it is assumed that malloc.c 14 file will be #included AFTER <malloc.h>. This is needed only if 17 INSTEAD of your system system <malloc.h>. At least on ANSI, all 54 #define dlmalloc malloc 101 malloc(size_t n) 106 If n is zero, malloc returns a minimum-sized chunk. (The minimum 119 allocated using malloc or a related routine such as realloc. 140 employs the equivalent of a malloc-copy-free sequence. 142 If p is null, realloc is equivalent to malloc [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
genmodule.c | 68 str = malloc(MAXLINE); 75 inc = malloc(sizeof(include)); 76 inc->filename = malloc(len+1); 124 inc = malloc(sizeof(include)); 125 inc->filename = malloc(strlen(strp)+1); 157 modules[num_modules] = malloc(MAXNAME);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 9 // Malloc replacement library based on CombinedAllocator. 73 void *malloc(size_t size) { function 155 void *operator new(size_t size) ALIAS("malloc"); 156 void *operator new[](size_t size) ALIAS("malloc"); 157 void *operator new(size_t size, std::nothrow_t const&) ALIAS("malloc"); 158 void *operator new[](size_t size, std::nothrow_t const&) ALIAS("malloc");
|
/external/e2fsprogs/e2fsck/ |
mtrace.h | 1 /* Declarations for `malloc' and friends. 61 extern __ptr_t malloc __P ((size_t __size)); 67 /* Free a block allocated by `malloc', `realloc' or `calloc'. */ 178 __ptr_t exact; /* The address that malloc returned. */ 188 /* Internal version of `free' used in `morecore' (malloc.c). */ 200 /* Nonzero if `malloc' has been called and done its initialization. */
|
/external/chromium_org/third_party/sqlite/src/test/ |
malloc3.test | 12 # This file contains tests to ensure that the library handles malloc() failures 31 # NOTES ON RECOVERING FROM A MALLOC FAILURE 34 # paragraphs. These tests test the behaviour of the system when malloc() fails 36 # handling of malloc() failures within ancillary procedures is tested 42 # malloc() failure may occur within any stage. If a memory allocation fails 62 # If a malloc() fails while executing an sqlite3_reset() call, this is handled 71 # The effect of a malloc failure on concurrently executing SQL statements, 73 # the malloc() failure mandates statement rollback only. Currently, if 92 # transient malloc() calls in btree.c, which can occur during the tree-balance 94 # after the malloc() fails. To avoid the corrupt tree being read by [all...] |
/external/llvm/lib/Analysis/ |
MemoryBuiltins.cpp | 53 {LibFunc::malloc, MallocLike, 1, 0, -1}, 147 /// allocates or reallocates memory (either malloc, calloc, realloc, or strdup 155 /// NoAlias pointer (including malloc/calloc/realloc/strdup-like functions). 165 /// allocates uninitialized memory (such as malloc). 179 /// allocates memory (either malloc, calloc, or strdup like). 193 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we 206 // The size of the malloc's result type must be known to determine array size. 215 // If malloc call's arg can be determined to be a multiple of ElementSize, 227 /// is a call to malloc whose array size can be determined and the array size 239 // CI is a non-array malloc or we can't figure out that it is an array malloc [all...] |
/external/srec/portable/include/ |
pmemory.h | 64 #define MALLOC(n, tag) malloc(n) 69 #define NEW(type, tag) ((type*)MALLOC(sizeof(type), tag)) 85 #define malloc #error macro 99 * Portable malloc() 101 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes, tag, L(__FILE__), __LINE__)) 104 * Portable malloc() 106 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes)) 138 #define NEW(type, tag) ((type*) MALLOC(sizeof(type), tag)) 162 * Allocates specified number of bytes, similar to malloc but initializes th [all...] |
/external/valgrind/main/drd/ |
drd_malloc_wrappers.c | 63 /* Record malloc'd blocks. */ 87 * malloc() or a malloc() replacement in the hash map. 102 mc = VG_(malloc)("drd.malloc_wrappers.cDC.1", sizeof(DRD_Chunk)); 145 /** Wrapper for malloc(). */ 173 * - realloc(NULL, size) has the same effect as malloc(size). 278 * a pointer to a block allocated by `malloc' and returns the amount of space 280 * requested from `malloc', due to alignment or minimum size constraints. 365 "malloc/free: in use at exit: %lu bytes in %lu blocks.\n", 368 "malloc/free: %lu allocs, %lu frees, %lu bytes allocated.\n" [all...] |