/third_party/mbedtls/tests/suites/ |
D | test_suite_memory_buffer_alloc.function | 48 size_t allocated_bytes = 0; 58 allocated_bytes += a_bytes * sizeof(char); 65 allocated_bytes += b_bytes * sizeof(char); 72 allocated_bytes += c_bytes * sizeof(char); 79 allocated_bytes += d_bytes * sizeof(char); 84 TEST_ASSERT(reported_bytes == allocated_bytes); 92 allocated_bytes -= a_bytes * sizeof(char); 100 allocated_bytes -= b_bytes * sizeof(char); 108 allocated_bytes -= c_bytes * sizeof(char); 116 allocated_bytes -= d_bytes * sizeof(char); [all …]
|
/third_party/node/deps/v8/src/zone/ |
D | type-stats.h | 30 entry.allocated_bytes += bytes; in AddAllocated() 54 size_t allocated_bytes = 0; member 62 entry.allocated_bytes += other_entry.allocated_bytes; in Add()
|
D | type-stats.cc | 65 total_allocated_bytes += entry.allocated_bytes; in Dump() 67 PrintF("%12zu | %12zu | %10zu | %6zu | %s\n", entry.allocated_bytes, in Dump()
|
/third_party/node/deps/v8/tools/heap-layout/ |
D | trace-file-reader.mjs | 13 /\{owner:.+,address:.+,size:.+,allocated_bytes:.+,wasted_memory:.+\}/; 17 static re_allocated_bytes = /(?<=allocated_bytes:)\d+(?=,)/; 33 const allocated_bytes = parseInt(this.re_allocated_bytes.exec(content)[0]); 39 allocated_bytes,
|
/third_party/jerryscript/jerry-core/jmem/ |
D | jmem-heap.c | 634 (MSG_SIZE_TYPE)(heap_stats->allocated_bytes), in jmem_heap_stats_print() 670 heap_stats->allocated_bytes += aligned_size; in jmem_heap_stat_alloc() 673 if (heap_stats->allocated_bytes > heap_stats->peak_allocated_bytes) in jmem_heap_stat_alloc() 675 heap_stats->peak_allocated_bytes = heap_stats->allocated_bytes; in jmem_heap_stat_alloc() 695 heap_stats->allocated_bytes -= aligned_size; in jmem_heap_stat_free()
|
D | jmem.h | 158 size_t allocated_bytes; /**< currently allocated bytes */ member
|
/third_party/node/deps/v8/src/heap/ |
D | paged-spaces.cc | 262 size_t new_counter = page->allocated_bytes(); in RefineAllocatedBytesAfterSweeping() 284 IncreaseAllocatedBytes(page->allocated_bytes(), page); in AddPage() 297 DecreaseAllocatedBytes(page->allocated_bytes(), page); in RemovePage() 853 total_allocated += page->allocated_bytes(); in VerifyCountersAfterSweeping() 857 DCHECK_EQ(page->allocated_bytes(), accounting_stats_.AllocatedOnPage(page)); in VerifyCountersAfterSweeping() 876 ? page->allocated_bytes() in VerifyCountersBeforeConcurrentSweeping() 1075 pages.push_back(std::make_pair(p->allocated_bytes(), p)); in SortFreeList()
|
D | read-only-spaces.cc | 165 new_stats.IncreaseAllocatedBytes(page->allocated_bytes(), new_page); in CreateReadOnlySpace() 246 stats_.IncreaseAllocatedBytes(page->allocated_bytes(), new_page); in Initialize() 573 total_allocated += page->allocated_bytes(); in VerifyCounters() 577 DCHECK_EQ(page->allocated_bytes(), accounting_stats_.AllocatedOnPage(page)); in VerifyCounters() 784 accounting_stats_.IncreaseAllocatedBytes(page->allocated_bytes(), page); in SharedReadOnlySpace()
|
D | basic-memory-chunk.h | 263 size_t allocated_bytes() const { return allocated_bytes_; } in allocated_bytes() function 323 DCHECK_GE(allocated_bytes(), bytes); in DecreaseAllocatedBytes()
|
D | heap-layout-tracer.cc | 47 << "allocated_bytes:" << chunk->allocated_bytes() << "," in PrintBasicMemoryChunk()
|
D | spaces.h | 294 DCHECK_GE(area_size(), wasted_memory() + allocated_bytes()); in AvailableInFreeListFromAllocatedBytes() 295 return area_size() - wasted_memory() - allocated_bytes(); in AvailableInFreeListFromAllocatedBytes()
|
D | sweeper.cc | 326 DCHECK_EQ(live_bytes, page->allocated_bytes()); in ClearMarkBitsAndHandleLivenessStatistics()
|
D | mark-compact.cc | 537 p->area_size() - p->allocated_bytes(), p->FreeListsLength()); in AddEvacuationCandidate() 855 if (area_size - p->allocated_bytes() >= free_bytes_threshold) { in CollectEvacuationCandidates() 856 pages.push_back(std::make_pair(p->allocated_bytes(), p)); in CollectEvacuationCandidates() 859 pages.push_back(std::make_pair(p->allocated_bytes(), p)); in CollectEvacuationCandidates() 3933 heap()->old_space()->DecreaseAllocatedBytes(page->allocated_bytes(), in EvacuatePagesInParallel()
|
/third_party/node/deps/v8/include/cppgc/ |
D | heap-statistics.h | 40 size_t allocated_bytes; member
|
/third_party/jerryscript/jerry-core/debugger/ |
D | debugger.c | 1438 uint32_t allocated_bytes = (uint32_t) heap_stats->allocated_bytes; in jerry_debugger_send_memstats() local 1439 memcpy (memstats_p->allocated_bytes, &allocated_bytes, sizeof (uint32_t)); in jerry_debugger_send_memstats() 1449 memset (memstats_p->allocated_bytes, 0, sizeof (uint32_t)); in jerry_debugger_send_memstats()
|
D | debugger.h | 368 uint8_t allocated_bytes[sizeof (uint32_t)]; /**< allocated bytes */ member
|
/third_party/jerryscript/jerry-core/jrt/ |
D | jrt-fatals.c | 49 … ("\tcurrently allocated bytes: %"PRI_SIZET"\n", (MSG_SIZE_TYPE)(jmem_heap_stats.allocated_bytes)); in jerry_dump_memstats_on_error()
|
/third_party/node/deps/v8/src/heap/cppgc/ |
D | heap-statistics-collector.cc | 87 object_statistics[type_index].allocated_bytes += object_size; in RecordObjectType()
|
/third_party/node/deps/v8/src/heap/cppgc-js/ |
D | cpp-heap.cc | 811 size_t allocated_bytes = std::accumulate( in ReportCustomSpaceStatistics() local 815 receiver->AllocatedBytes(custom_space_index, allocated_bytes); in ReportCustomSpaceStatistics()
|
/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-core.h | 210 size_t allocated_bytes; /**< currently allocated bytes */ member
|
/third_party/python/Objects/ |
D | obmalloc.c | 2924 size_t allocated_bytes = 0; in _PyObject_DebugMallocStats() local 3015 allocated_bytes += b * size; in _PyObject_DebugMallocStats() 3039 total = printone(out, "# bytes in allocated blocks", allocated_bytes); in _PyObject_DebugMallocStats()
|
/third_party/protobuf/src/google/protobuf/ |
D | repeated_field.h | 1889 size_t allocated_bytes = static_cast<size_t>(total_size_) * sizeof(void*); 1892 allocated_bytes += 1895 allocated_bytes += kRepHeaderSize; 1897 return allocated_bytes;
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 392 .allocated_bytes = jmem_heap_stats.allocated_bytes, in jerry_get_memory_stats()
|
/third_party/jerryscript/docs/ |
D | 02.API-REFERENCE.md | 423 size_t allocated_bytes; /**< currently allocated bytes */
|