Searched refs:alloc_size (Results 1 – 5 of 5) 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 25 buf = mmap(NULL, alloc_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mmap_test() 35 munmap(buf, alloc_size); in mmap_test() 47 munmap(buf, alloc_size); 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/extras/simpleperf/ |
D | utils.cpp | 51 size_t alloc_size = std::max(size, unit_size_); in AllocateString() local 52 char* p = new char[alloc_size]; in AllocateString() 55 end_ = p + alloc_size; in AllocateString()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 433 size_t alloc_size = size * 2 + 3 * cmd_data.dst_align; in benchmarkMemmoveBackwards() local
|