Searched refs:alloc_size (Results 1 – 7 of 7) sorted by relevance
/system/extras/tests/pagingtest/ |
D | mmap_test.c | 10 int mmap_test(int test_runs, unsigned long long alloc_size) { in mmap_test() argument 24 buf = mmap(NULL, alloc_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mmap_test() 34 munmap(buf, alloc_size); in mmap_test() 46 munmap(buf, alloc_size); // unreached? in mmap_test()
|
D | pagingtest.c | 141 unsigned long long alloc_size = 0ULL; in main() local 154 alloc_size = strtoull(argv[2], NULL, 10); in main() 156 if (!alloc_size) { in main() 157 alloc_size = ALLOC_SIZE; in main() 166 rc = mmap_test(test_runs, alloc_size); in main()
|
D | pagingtest.h | 16 int mmap_test(int test_runs, unsigned long long alloc_size);
|
/system/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 184 size_t alloc_size = __gwp_asan_get_allocation_size(responsible_allocation_); in DumpCause() local 193 } else if (crash_address_ - alloc_address < alloc_size) { in DumpCause() 203 diff -= alloc_size; in DumpCause() 214 error_string_, diff, byte_suffix, location_str, alloc_size, alloc_address); in DumpCause()
|
/system/extras/simpleperf/ |
D | utils.cpp | 61 size_t alloc_size = std::max(size, unit_size_); in AllocateString() local 62 char* p = new char[alloc_size]; in AllocateString() 65 end_ = p + alloc_size; in AllocateString()
|
D | RecordReadThread.cpp | 594 size_t alloc_size = auxtrace.size() + auxtrace.data->aux_size; in ReadAuxDataFromKernelBuffer() local 595 if (record_buffer_.GetFreeSize() < alloc_size + record_buffer_critical_level_) { in ReadAuxDataFromKernelBuffer() 598 char* p = record_buffer_.AllocWriteSpace(alloc_size); in ReadAuxDataFromKernelBuffer()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 435 size_t alloc_size; member 466 volatile char* p = reinterpret_cast<volatile char*>(malloc(params.alloc_size)); in TEST_P()
|