Home
last modified time | relevance | path

Searched refs:allocated_bytes (Results 1 – 24 of 24) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_memory_buffer_alloc.function48 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/
Dtype-stats.h30 entry.allocated_bytes += bytes; in AddAllocated()
54 size_t allocated_bytes = 0; member
62 entry.allocated_bytes += other_entry.allocated_bytes; in Add()
Dtype-stats.cc65 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/
Dtrace-file-reader.mjs13 /\{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/
Djmem-heap.c634 (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()
Djmem.h158 size_t allocated_bytes; /**< currently allocated bytes */ member
/third_party/node/deps/v8/src/heap/
Dpaged-spaces.cc262 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()
Dread-only-spaces.cc165 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()
Dbasic-memory-chunk.h263 size_t allocated_bytes() const { return allocated_bytes_; } in allocated_bytes() function
323 DCHECK_GE(allocated_bytes(), bytes); in DecreaseAllocatedBytes()
Dheap-layout-tracer.cc47 << "allocated_bytes:" << chunk->allocated_bytes() << "," in PrintBasicMemoryChunk()
Dspaces.h294 DCHECK_GE(area_size(), wasted_memory() + allocated_bytes()); in AvailableInFreeListFromAllocatedBytes()
295 return area_size() - wasted_memory() - allocated_bytes(); in AvailableInFreeListFromAllocatedBytes()
Dsweeper.cc326 DCHECK_EQ(live_bytes, page->allocated_bytes()); in ClearMarkBitsAndHandleLivenessStatistics()
Dmark-compact.cc537 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/
Dheap-statistics.h40 size_t allocated_bytes; member
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c1438 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()
Ddebugger.h368 uint8_t allocated_bytes[sizeof (uint32_t)]; /**< allocated bytes */ member
/third_party/jerryscript/jerry-core/jrt/
Djrt-fatals.c49 … ("\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/
Dheap-statistics-collector.cc87 object_statistics[type_index].allocated_bytes += object_size; in RecordObjectType()
/third_party/node/deps/v8/src/heap/cppgc-js/
Dcpp-heap.cc811 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/
Djerryscript-core.h210 size_t allocated_bytes; /**< currently allocated bytes */ member
/third_party/python/Objects/
Dobmalloc.c2924 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/
Drepeated_field.h1889 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/
Djerry.c392 .allocated_bytes = jmem_heap_stats.allocated_bytes, in jerry_get_memory_stats()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md423 size_t allocated_bytes; /**< currently allocated bytes */