Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_memory_buffer_alloc.function46 size_t allocated_bytes = 0;
57 allocated_bytes += a_bytes * sizeof(char);
65 allocated_bytes += b_bytes * sizeof(char);
73 allocated_bytes += c_bytes * sizeof(char);
81 allocated_bytes += d_bytes * sizeof(char);
86 TEST_ASSERT( reported_bytes == allocated_bytes );
95 allocated_bytes -= a_bytes * sizeof(char);
104 allocated_bytes -= b_bytes * sizeof(char);
113 allocated_bytes -= c_bytes * sizeof(char);
122 allocated_bytes -= d_bytes * sizeof(char);
[all …]
/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c763 (MSG_SIZE_TYPE)(heap_stats->allocated_bytes), in jmem_heap_stats_print()
799 heap_stats->allocated_bytes += aligned_size; in jmem_heap_stat_alloc()
802 if (heap_stats->allocated_bytes > heap_stats->peak_allocated_bytes) in jmem_heap_stat_alloc()
804 heap_stats->peak_allocated_bytes = heap_stats->allocated_bytes; in jmem_heap_stat_alloc()
824 heap_stats->allocated_bytes -= aligned_size; in jmem_heap_stat_free()
Djmem.h158 size_t allocated_bytes; /**< currently 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/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/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/flatbuffers/include/flatbuffers/
Dflatbuffers.h959 uint8_t *release_raw(size_t &allocated_bytes, size_t &offset) {
961 allocated_bytes = reserved_;
/third_party/jerryscript/docs/
D02.API-REFERENCE.md423 size_t allocated_bytes; /**< currently allocated bytes */