/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
soft_rss_limit_mb_test.cc | 24 static char *allocs[kMaxNumAllocs]; variable 36 allocs[j] = (char*)malloc(kAllocSize); 37 if (allocs[j]) 38 memset(allocs[j], -1, kAllocSize); 49 free(allocs[j]);
|
/external/tensorflow/tensorflow/lite/ |
simple_memory_arena_test.cc | 27 ArenaAlloc allocs[6]; local 29 arena.Allocate(&context, 32, 2047, &allocs[0]); 30 arena.Allocate(&context, 32, 2047, &allocs[1]); 31 arena.Allocate(&context, 32, 2047, &allocs[2]); 32 arena.Deallocate(&context, allocs[0]); 33 arena.Allocate(&context, 32, 1023, &allocs[3]); 34 arena.Allocate(&context, 32, 2047, &allocs[4]); 35 arena.Deallocate(&context, allocs[1]); 36 arena.Allocate(&context, 32, 1023, &allocs[5]); 38 EXPECT_EQ(allocs[0].offset, 0) 70 ArenaAlloc allocs[4]; local 90 ArenaAlloc allocs[9]; local [all...] |
/external/jemalloc_new/src/ |
android_je_mallinfo.c | 28 size_t allocs = (size_t)(nmalloc - ndalloc); local 29 total_bytes += sz_index2size(NBINS + j) * allocs;
|
/external/libcxxabi/test/ |
test_fallback_malloc.pass.cpp | 134 const size_t allocs [] = { 124, 60, 252, 60, 4 }; local 141 ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] )); 151 ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] )); 159 ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] )) [all...] |
/bionic/tests/ |
malloc_iterate_test.cpp | 45 std::vector<AllocDataType> allocs; member in struct:TestDataType 49 test_data->allocs.resize(test_data->allocs.size() + 1); 50 AllocDataType* alloc = &test_data->allocs.back(); 60 for (size_t i = 0; i < test_data->allocs.size(); i++) { 61 free(test_data->allocs[i].ptr); 76 for (size_t i = 0; i < test_data->allocs.size(); i++) { 77 uintptr_t ptr = reinterpret_cast<uintptr_t>(test_data->allocs[i].ptr); 79 test_data->allocs[i].count++; 82 if (max_size > test_data->allocs[i].size) [all...] |
/external/tensorflow/tensorflow/core/profiler/internal/ |
tfprof_timeline.cc | 154 std::map<int64, int64> allocs; local 156 allocs[alloc.alloc_micros()] += alloc.alloc_bytes(); 160 allocs[0] += node->node->accelerator_persistent_bytes(); 164 for (auto it = allocs.begin(); it != allocs.end(); ++it) {
|
/external/perfetto/src/profiling/memory/ |
bookkeeping.h | 291 uint64_t allocs = 0; member in struct:perfetto::profiling::HeapTracker::CallstackAllocations 310 callstack_allocations->allocs++; 334 callstack_allocations->allocs--;
|
/external/libxml2/ |
xmlreader.c | 126 int allocs; /* what structure were deallocated */ member in struct:_xmlTextReader [all...] |