/external/valgrind/memcheck/tests/ |
err_disable_arange1.c | 13 volatile int* volatile mem local 15 free((void*)mem); 19 mem[123] = 0; 23 VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE(mem, 1000 * sizeof(int)); 27 mem[456] = 0; 31 VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE(&mem[789], 1); 35 mem[789] = 0;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/rx/ |
rx-asm-good.s | 8 .GLB mem 9 mem: label
|
/external/compiler-rt/test/tsan/ |
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);
|
ignore_lib_lib.h | 7 void *volatile mem; variable 11 while ((p = __atomic_load_n(&mem, __ATOMIC_ACQUIRE)) == 0) 21 __atomic_store_n(&mem, malloc(len), __ATOMIC_RELEASE); 23 free(mem);
|
free_race.c | 7 int *mem; variable 12 free(mem); 21 mem[0] = 42; 28 mem = (int*)malloc(100);
|
/external/v8/test/mjsunit/wasm/ |
calls.js | 42 var mem = module.memory; variable 43 assertFalse(mem === undefined); 44 assertFalse(mem === null); 45 assertFalse(mem === 0); 46 assertEquals("object", typeof mem); 47 assertTrue(mem instanceof ArrayBuffer); 50 assertEquals(mem, module.memory); 93 var mem = module.memory; variable 94 assertFalse(mem === undefined); 95 assertFalse(mem === null) [all...] |
instantiate-module-basic.js | 43 var mem = module.memory; variable 44 assertFalse(mem === undefined); 45 assertFalse(mem === null); 46 assertFalse(mem === 0); 47 assertEquals("object", typeof mem); 48 assertTrue(mem instanceof ArrayBuffer); 51 assertEquals(mem, module.memory);
|
/external/valgrind/none/tests/mips32/ |
unaligned_load_store.c | 2 unsigned int mem[] = { variable 12 printf("mem[%d]: 0x%x\n", i, mem[i]); 32 : "r" (mem) 37 mem[0] = 0xaabbccdd; 38 mem[1] = 0x11223344; 39 mem[2] = 0x01823194; 40 mem[3] = 0x01823a08; 41 mem[4] = 0x00000000; 42 mem[5] = 0x77ff528c [all...] |
/external/valgrind/none/tests/mips64/ |
unaligned_load_store.c | 2 unsigned int mem[] = { variable 12 printf("mem[%d]: 0x%x\n", i, mem[i]); 32 : "r" (mem) 37 mem[0] = 0xaabbccdd; 38 mem[1] = 0x11223344; 39 mem[2] = 0x01823194; 40 mem[3] = 0x01823a08; 41 mem[4] = 0x00000000; 42 mem[5] = 0x77ff528c [all...] |
/art/runtime/lambda/ |
leaking_allocator.cc | 27 void* mem = Runtime::Current()->GetLinearAlloc()->Alloc(self, byte_size); local 28 DCHECK_ALIGNED_PARAM(reinterpret_cast<uintptr_t>(mem), align_size); 29 return mem;
|
/external/elfutils/libelf/ |
elf_readall.c | 85 char *mem = NULL; local 110 mem = (char *) malloc (elf->maximum_size); 111 if (mem != NULL) 114 if (unlikely ((size_t) pread_retry (elf->fildes, mem, 122 free (mem); 127 elf->map_address = mem;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/ |
b2CircleContact.cpp | 31 void* mem = allocator->Allocate(sizeof(b2CircleContact)); local 32 return new (mem) b2CircleContact(fixtureA, fixtureB);
|
b2EdgeAndCircleContact.cpp | 28 void* mem = allocator->Allocate(sizeof(b2EdgeAndCircleContact)); local 29 return new (mem) b2EdgeAndCircleContact(fixtureA, fixtureB);
|
b2EdgeAndPolygonContact.cpp | 28 void* mem = allocator->Allocate(sizeof(b2EdgeAndPolygonContact)); local 29 return new (mem) b2EdgeAndPolygonContact(fixtureA, fixtureB);
|
b2PolygonAndCircleContact.cpp | 28 void* mem = allocator->Allocate(sizeof(b2PolygonAndCircleContact)); local 29 return new (mem) b2PolygonAndCircleContact(fixtureA, fixtureB);
|
b2PolygonContact.cpp | 31 void* mem = allocator->Allocate(sizeof(b2PolygonContact)); local 32 return new (mem) b2PolygonContact(fixtureA, fixtureB);
|
b2ChainAndCircleContact.cpp | 30 void* mem = allocator->Allocate(sizeof(b2ChainAndCircleContact)); local 31 return new (mem) b2ChainAndCircleContact(fixtureA, indexA, fixtureB, indexB);
|
b2ChainAndPolygonContact.cpp | 30 void* mem = allocator->Allocate(sizeof(b2ChainAndPolygonContact)); local 31 return new (mem) b2ChainAndPolygonContact(fixtureA, indexA, fixtureB, indexB);
|
/external/compiler-rt/test/asan/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/compiler-rt/test/asan/TestCases/ |
debug_stacks.cc | 12 char *mem; variable 14 mem = (char *)malloc(10); 18 free(mem); 31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); 44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); 56 mem[0] = 'A'; // BOOM
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
b2Joint.cpp | 45 void* mem = allocator->Allocate(sizeof(b2DistanceJoint)); local 46 joint = new (mem) b2DistanceJoint(static_cast<const b2DistanceJointDef*>(def));
52 void* mem = allocator->Allocate(sizeof(b2MouseJoint)); local 53 joint = new (mem) b2MouseJoint(static_cast<const b2MouseJointDef*>(def));
59 void* mem = allocator->Allocate(sizeof(b2PrismaticJoint)); local 60 joint = new (mem) b2PrismaticJoint(static_cast<const b2PrismaticJointDef*>(def));
66 void* mem = allocator->Allocate(sizeof(b2RevoluteJoint)); local 67 joint = new (mem) b2RevoluteJoint(static_cast<const b2RevoluteJointDef*>(def));
73 void* mem = allocator->Allocate(sizeof(b2PulleyJoint)); local 74 joint = new (mem) b2PulleyJoint(static_cast<const b2PulleyJointDef*>(def)); 80 void* mem = allocator->Allocate(sizeof(b2GearJoint)); local 87 void* mem = allocator->Allocate(sizeof(b2WheelJoint)); local 94 void* mem = allocator->Allocate(sizeof(b2WeldJoint)); local 101 void* mem = allocator->Allocate(sizeof(b2FrictionJoint)); local 108 void* mem = allocator->Allocate(sizeof(b2RopeJoint)); local 115 void* mem = allocator->Allocate(sizeof(b2MotorJoint)); local [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btEmptyCollisionAlgorithm.h | 47 void* mem = ci.m_dispatcher1->allocateCollisionAlgorithm(sizeof(btEmptyAlgorithm)); local 48 return new(mem) btEmptyAlgorithm(ci);
|
/external/valgrind/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");
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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);
|
/cts/tests/tests/security/jni/ |
android_security_cts_MMapExecutableTest.cpp | 59 void * mem = local 62 if (mem == MAP_FAILED) { 67 if (munmap(mem, stat_buf.st_size - kOffset) == -1) {
|