/external/dropbear/libtomcrypt/src/misc/ |
zeromem.c | 25 unsigned char *mem = out; local 28 *mem++ = 0;
|
/external/compiler-rt/lib/tsan/lit_tests/ |
free_race2.c | 4 void __attribute__((noinline)) foo(int *mem) { 5 free(mem); 8 void __attribute__((noinline)) bar(int *mem) { 9 mem[0] = 42; 13 int *mem = (int*)malloc(100); local 14 foo(mem); 15 bar(mem);
|
free_race.c | 11 int *mem; variable 16 free(mem); 24 mem[0] = 42; 30 mem = (int*)malloc(100);
|
/external/elfutils/libelf/ |
elf_readall.c | 105 char *mem; local 112 mem = (char *) malloc (elf->maximum_size); 113 if (mem != NULL) 116 if (unlikely ((size_t) pread_retry (elf->fildes, mem, 123 free (mem); 128 elf->map_address = mem;
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Darwin/ |
malloc_set_zone_name-mprotect.cc | 17 char *mem[kNumIter * 2]; local 21 mem[i] = (char*)malloc(8 * i); 43 mem[i + kNumIter] = (char*)malloc(8 * i); 47 memset(mem[i], 'a', 8 * (i % kNumIter)); 48 free(mem[i]);
|
/external/libvpx/libvpx/vpx_mem/memory_manager/ |
hmm_resize.c | 18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) { variable 21 head_record *head_ptr = PTR_REC_TO_HEAD(mem);
|
/external/valgrind/main/gdbserver_tests/ |
clean_after_fork.c | 8 int mem = 0, pid; local 11 mem = 1; 19 if (mem == 0) 32 mem = status; 34 if (mem == 0) 35 printf("mem is zero\n");
|
/external/chromium_org/base/memory/ |
ref_counted_memory_unittest.cc | 12 scoped_refptr<RefCountedMemory> mem = new RefCountedStaticMemory( local 15 EXPECT_EQ(10U, mem->size()); 16 EXPECT_EQ("static mem", 17 std::string(reinterpret_cast<const char*>(mem->front()), 18 mem->size())); 25 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data); local 29 EXPECT_EQ(2U, mem->size()); 30 EXPECT_EQ(45U, mem->front()[0]); 31 EXPECT_EQ(99U, mem->front()[1]); 36 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s) local 67 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_mac.cc | 47 void *mem = &modules[n_modules]; local 48 cur_module = new(mem) LoadedModule(cur_name, cur_beg);
|
/external/valgrind/main/none/tests/mips32/ |
LoadStore.c | 3 unsigned int mem[] = { variable 45 : "r" (mem), "r" (RTval) \ 72 void ppMem(unsigned int* mem, int len) 78 printf("0x%x, 0x%x, 0x%x, 0x%x\n", mem[i], mem[i+1], mem[i+2], mem[i+3]); 79 mem[i] = 0; 80 mem[i+1] = 0; 81 mem[i+2] = 0 [all...] |
LoadStore1.c | 3 unsigned int mem[] = { variable 45 : "r" (mem), "r" (RTval) \ 72 void ppMem(unsigned int* mem, int len) 78 printf("0x%x, 0x%x, 0x%x, 0x%x\n", mem[i], mem[i+1], mem[i+2], mem[i+3]); 79 mem[i] = 0; 80 mem[i+1] = 0; 81 mem[i+2] = 0 [all...] |
MIPS32int.c | 87 const unsigned int mem[] = { variable 104 : "r" (mem), "r" (RTval) \ [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerStreamListener.cpp | 41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); local 42 CHECK(mem != NULL); 44 mBuffers.push(mem);
|
/external/chromium_org/gpu/command_buffer/client/ |
mapped_memory.cc | 44 void* mem = chunk->Alloc(size); local 45 GPU_DCHECK(mem); 47 *shm_offset = chunk->GetOffset(mem); 48 return mem; 63 void* mem = mc->Alloc(size); local 64 GPU_DCHECK(mem); 66 *shm_offset = mc->GetOffset(mem); 67 return mem;
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
write_batch_test.cc | 17 MemTable* mem = new MemTable(cmp); local 18 mem->Ref(); 20 Status s = WriteBatchInternal::InsertInto(b, mem); 22 Iterator* iter = mem->NewIterator(); 51 mem->Unref();
|
/external/clang/test/Analysis/ |
region-store.c | 33 int mem; member in struct:X 39 return l.mem; // no-warning
|
/external/clang/test/CodeGenCXX/ |
constructors.cpp | 18 Member mem; member in struct:A 21 A::A(struct Undeclared &ref) : mem(0) {} 30 A::A(ValueClass v) : mem(v.y - v.x) {} 42 Member mem; member in struct:B 45 B::B(struct Undeclared &ref) : A(ref), mem(1) {} 63 Member mem; member in struct:C 65 C::C(int x) : A(ValueClass(x, x+1)), mem(x * x) {} 81 Member mem; member in struct:D 84 D::D(int x, ...) : A(ValueClass(x, x+1)), mem(x*x) {}
|
/external/compiler-rt/lib/asan/ |
asan_fake_stack.cc | 21 uptr mem = allocated_size_classes_[size_class]; local 23 bool res = mem && addr >= mem && addr < mem + size; 85 uptr mem = allocated_size_classes_[i]; 86 if (mem) { 87 PoisonShadow(mem, ClassMmapSize(i), 0); 89 UnmapOrDie((void*)mem, ClassMmapSize(i));
|
asan_malloc_linux.cc | 34 void (*free)(void* mem); 85 void *mem = (void*)&calloc_memory_for_dlsym[allocated]; local 88 return mem;
|
/external/elfutils/libdw/ |
dwarf_getpubnames.c | 72 struct pubnames_s *mem = NULL; local 85 = (struct pubnames_s *) realloc (mem, allocated * entsize); 90 free (mem); 94 mem = newmem; 114 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; 115 mem[cnt].address_len = len_bytes; 116 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size) 131 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2); 133 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2); 138 || (mem[cnt].cu_offset + [all...] |
/external/elfutils/tests/ |
showptable.c | 96 GElf_Phdr mem; local 97 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &mem);
|
/external/libvpx/libvpx/vpx_mem/memory_manager/include/ |
heapmm.h | 123 HMM_UNIQUE(descriptor) *desc, void *mem, variable 128 HMM_UNIQUE(descriptor) *desc, void *mem, variable 132 void HMM_UNIQUE(free)(HMM_UNIQUE(descriptor) *desc, void *mem); variable 134 HMM_UNIQUE(size_aau) HMM_UNIQUE(true_size)(void *mem);
|
/external/oprofile/module/ |
op_util.c | 59 void * mem; local 62 mem = VMALLOC_32(size); 63 if (!mem) 66 memset(mem, 0, size); 68 adr=(unsigned long) mem; 75 return mem; 78 void rvfree(void * mem, signed long size) 82 if (!mem) 85 adr=(unsigned long) mem; 93 vfree(mem); [all...] |
/external/valgrind/main/none/tests/amd64/ |
bug127521-64.c | 16 UInt mem[2]; local 18 mem[0] = (UInt)memLoIn; 19 mem[1] = (UInt)memHiIn; 24 block[4] = (ULong)&mem[0]; 45 *memLoOut = (ULong)mem[0]; 46 *memHiOut = (ULong)mem[1]; 55 printf(" Q d:a=%llx:%llx mem=%llx:%llx c:b=%llx:%llx " 56 "-> z=%lld d:a=%llx:%llx mem=%llx:%llx\n", 69 ULong mem[2] __attribute__((aligned(16))); local 71 mem[0] = memLoIn [all...] |
/external/valgrind/main/none/tests/arm/ |
neon128.c | 44 const unsigned int mem[] = { variable 76 : "r" (out), "r" (addr), "r" (mem) \ 110 : "r" (out), "r" (QMval), "r" (addr), "r" (mem) \ 156 : "r" (out), "r" (QMval), "r" (addr), "r" (mem) \ 194 : "r" (out), "r" (QMval), "r" (QNval), "r" (mem) \ 232 : "r" (out), "r" (QMval), "r" (QNval), "r"(0x3f800000), "r" (addr), "r" (mem) \ 280 : "r" (out), "r" (QMval), "r" (QNval), "r" (addr), "r" (mem) \ 324 : "r" (out1), "r" (out2), "r" (QMval), "r" (QNval), "r" (addr), "r" (mem) \ [all...] |