Home
last modified time | relevance | path

Searched refs:g_allocation_count (Results 1 – 7 of 7) sorted by relevance

/src/contrib/expat/tests/
H A Dalloc_tests.c70 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in alloc_setup()
90 g_allocation_count = i; in START_TEST()
139 g_allocation_count = i; in START_TEST()
167 g_allocation_count = i; in START_TEST()
193 g_allocation_count = i; in START_TEST()
234 g_allocation_count = i; in START_TEST()
258 g_allocation_count = i; in START_TEST()
284 g_allocation_count = i; in START_TEST()
332 g_allocation_count = (int)i; in START_TEST()
383 g_allocation_count = -1; in START_TEST()
[all …]
H A Dnsalloc_tests.c63 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in nsalloc_setup()
86 g_allocation_count = (int)i; in START_TEST()
123 g_allocation_count = 0; in START_TEST()
130 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in START_TEST()
236 g_allocation_count = i; in START_TEST()
296 g_allocation_count = i; in START_TEST()
339 g_allocation_count = i; in START_TEST()
422 g_allocation_count = i; in START_TEST()
484 g_allocation_count = i; in START_TEST()
791 g_allocation_count = i; in START_TEST()
[all …]
H A Dcommon.c283 int g_allocation_count = ALLOC_ALWAYS_SUCCEED; variable
289 if (g_allocation_count == 0) in duff_allocator()
291 if (g_allocation_count != ALLOC_ALWAYS_SUCCEED) in duff_allocator()
292 g_allocation_count--; in duff_allocator()
H A Dcommon.h142 extern int g_allocation_count;
H A Dhandlers.c1279 g_allocation_count = (int)i; in external_entity_duff_loader()
1292 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_duff_loader()
1317 g_allocation_count = 10000; in external_entity_dbl_handler()
1324 *pcallno = 10000 - g_allocation_count; in external_entity_dbl_handler()
1330 g_allocation_count = callno + i; in external_entity_dbl_handler()
1345 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_dbl_handler()
1486 g_allocation_count = 3; in external_entity_parser_create_alloc_fail_handler()
1495 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_parser_create_alloc_fail_handler()
H A Dmisc_tests.c73 g_allocation_count = (int)i; in START_TEST()
93 g_allocation_count = (int)i; in START_TEST()
/src/contrib/expat/fuzz/
H A Dxml_lpm_fuzzer.cpp78 static int g_allocation_count = 0; variable
83 g_allocation_count += 1; in MallocHook()
85 if (index == g_allocation_count) { in MallocHook()
94 g_allocation_count += 1; in ReallocHook()
96 if (index == g_allocation_count) { in ReallocHook()
421 g_allocation_count = 0; in DEFINE_TEXT_PROTO_FUZZER()