Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 9 of 9) sorted by relevance

/bionic/tests/
Dbuffer_tests.cpp355 uint8_t* memory; in RunSingleBufferOverreadTest() local
356 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, in RunSingleBufferOverreadTest()
358 memset(memory, 0x23, 2*pagesize); in RunSingleBufferOverreadTest()
361 ASSERT_TRUE(mprotect(&memory[pagesize], pagesize, PROT_NONE) == 0); in RunSingleBufferOverreadTest()
364 uint8_t* buf = &memory[pagesize-i]; in RunSingleBufferOverreadTest()
368 ASSERT_TRUE(mprotect(&memory[pagesize], pagesize, PROT_READ | PROT_WRITE) == 0); in RunSingleBufferOverreadTest()
369 free(memory); in RunSingleBufferOverreadTest()
376 uint8_t* memory; in RunSrcDstBufferOverreadTest() local
377 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, in RunSrcDstBufferOverreadTest()
379 memset(memory, 0x23, 2*pagesize); in RunSrcDstBufferOverreadTest()
[all …]
/bionic/libc/malloc_debug/
DFreeTrackData.cpp70 const uint8_t* memory = reinterpret_cast<const uint8_t*>(pointer); in VerifyAndFree() local
76 if (memcmp(memory, cmp_mem_.data(), bytes_to_cmp) != 0) { in VerifyAndFree()
81 memory = &memory[bytes_to_cmp]; in VerifyAndFree()
DREADME_marshmallow_and_earlier.md4 Malloc debug is a method of debugging native memory problems. It can help
5 detect memory corruption, memory leaks, and use after free issues.
87 When a pointer is freed, do not free the memory right away, but add it to
DREADME.md4 Malloc debug is a method of debugging native memory problems. It can help
5 detect memory corruption, memory leaks, and use after free issues.
45 to find memory corruption occuring to a region before the original allocation.
71 to find memory corruption occuring to a region after the original allocation.
153 When a pointer is freed, do not free the memory right away, but add it to
366 a pointer that is either not allocated memory, or that the memory of
DREADME_api.md18 the point of the function call. This does not include the memory allocated
/bionic/libc/kernel/uapi/video/
Dsisfb.h67 __u32 memory; member
/bionic/
Dandroid-changes-for-ndk-developers.md218 libTextRel.so: (memory/data?) [0x15E0E2] in (optimized out: previous simd_broken_op1) [0x15E0E0]
219 libTextRel.so: (memory/data?) [0x15E3B2] in (optimized out: previous simd_broken_op2) [0x15E3B0]
243 wastefully increase the number of dirty pages in memory. The dynamic
333 memory. For security, data shouldn't be executable and code shouldn't be
DREADME.md36 into memory and resolving references to symbols (so that when your code tries to
/bionic/libc/kernel/uapi/linux/
Dvideodev2.h447 __u32 memory; member
470 __u32 memory; member
1245 __u32 memory; member