Home
last modified time | relevance | path

Searched refs:malloc_count (Results 1 – 8 of 8) sorted by relevance

/third_party/unity/extras/memory/src/
Dunity_memory.c12 static int malloc_count; variable
17 malloc_count = 0; in UnityMalloc_StartTest()
24 if (malloc_count != 0) in UnityMalloc_EndTest()
98 malloc_count++; in unity_malloc()
121 malloc_count--; in release_memory()
/third_party/cJSON/tests/unity/extras/fixture/src/
Dunity_fixture.c135 static int malloc_count; variable
140 malloc_count = 0; in UnityMalloc_StartTest()
147 if (malloc_count != 0) in UnityMalloc_EndTest()
209 malloc_count++; in unity_malloc()
232 malloc_count--; in release_memory()
/third_party/openssl/crypto/
Dmem.c36 static TSAN_QUALIFIER int malloc_count; variable
101 *mcount = tsan_load(&malloc_count); in CRYPTO_get_alloc_counts()
196 INCREMENT(malloc_count); in CRYPTO_malloc()
/third_party/quickjs/
Dqjs.c211 s->malloc_count++; in js_trace_malloc()
223 s->malloc_count--; in js_trace_free()
240 s->malloc_count--; in js_trace_realloc()
Dquickjs.h316 size_t malloc_count; member
397 int64_t malloc_count; member
Drun-test262.c1474 update(malloc_count); in update_stats()
Dquickjs.c1716 s->malloc_count++; in js_def_malloc()
1726 s->malloc_count--; in js_def_free()
1742 s->malloc_count--; in js_def_realloc()
2122 if (s->malloc_count > 1) { in JS_FreeRuntime()
2127 (uint64_t)(s->malloc_count - 1), &"s"[s->malloc_count == 2]); in JS_FreeRuntime()
5925 s->malloc_count = rt->malloc_state.malloc_count; in JS_ComputeMemoryUsage()
6275 if (s->malloc_count) { in JS_DumpMemoryUsage()
6277 "memory allocated", s->malloc_count, s->malloc_size, in JS_DumpMemoryUsage()
6278 (double)s->malloc_size / s->malloc_count); in JS_DumpMemoryUsage()
/third_party/gettext/gettext-runtime/intl/
Ddcigettext.c1332 int malloc_count; in __libc_lock_define_initialized() local
1346 malloc_count = 0; in __libc_lock_define_initialized()
1404 if (malloc_count > 0) in __libc_lock_define_initialized()
1406 ++malloc_count; in __libc_lock_define_initialized()
1407 freemem_size = malloc_count * INITIAL_BLOCK_SIZE; in __libc_lock_define_initialized()
1424 malloc_count = 1; in __libc_lock_define_initialized()