Searched refs:trailer (Results 1 – 2 of 2) sorted by relevance
/system/chre/platform/shared/include/chre/platform/shared/ |
D | memory_debug.h | 81 uint8_t *trailer = static_cast<uint8_t *>(mem) + size; in debugAlloc() local 82 memcpy(trailer, &kMagicAllocated, sizeof(kMagicAllocated)); in debugAlloc() 105 uint8_t *trailer = static_cast<uint8_t *>(pointer) + preamble->allocSize; in debugFree() local 106 if (memcmp(trailer, &kMagicFreed, sizeof(kMagicFreed)) == 0) { in debugFree() 108 } else if (memcmp(trailer, &kMagicAllocated, sizeof(kMagicAllocated)) in debugFree() 113 memcpy(trailer, &kMagicFreed, sizeof(kMagicFreed)); in debugFree()
|
/system/libziparchive/ |
D | zip_archive_test.cc | 570 static const uint8_t trailer[] = {'A', 'n', 'd', 'r', 'o', 'i', 'd', 'z'}; in TEST() local 572 ASSERT_TRUE(android::base::WriteFully(tmp_file.fd, trailer, sizeof(trailer))); in TEST()
|