Home
last modified time | relevance | path

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

/freebsd/contrib/expat/tests/
H A Dalloc_tests.c71 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in alloc_setup()
91 g_allocation_count = i; in START_TEST()
140 g_allocation_count = i; in START_TEST()
168 g_allocation_count = i; in START_TEST()
194 g_allocation_count = i; in START_TEST()
235 g_allocation_count = i; in START_TEST()
259 g_allocation_count = i; in START_TEST()
285 g_allocation_count = i; in START_TEST()
333 g_allocation_count = (int)i; in START_TEST()
384 g_allocation_count = -1; in START_TEST()
[all …]
H A Dnsalloc_tests.c64 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in nsalloc_setup()
87 g_allocation_count = (int)i; in START_TEST()
124 g_allocation_count = 0; in START_TEST()
131 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in START_TEST()
237 g_allocation_count = i; in START_TEST()
297 g_allocation_count = i; in START_TEST()
340 g_allocation_count = i; in START_TEST()
423 g_allocation_count = i; in START_TEST()
485 g_allocation_count = i; in START_TEST()
792 g_allocation_count = i; in START_TEST()
[all …]
H A Dcommon.c284 int g_allocation_count = ALLOC_ALWAYS_SUCCEED; variable
290 if (g_allocation_count == 0) in duff_allocator()
292 if (g_allocation_count != ALLOC_ALWAYS_SUCCEED) in duff_allocator()
293 g_allocation_count--; in duff_allocator()
H A Dcommon.h142 extern int g_allocation_count;
H A Dhandlers.c1294 g_allocation_count = (int)i; in external_entity_duff_loader()
1307 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_duff_loader()
1332 g_allocation_count = 10000; in external_entity_dbl_handler()
1339 *pcallno = 10000 - g_allocation_count; in external_entity_dbl_handler()
1345 g_allocation_count = callno + i; in external_entity_dbl_handler()
1360 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_dbl_handler()
1501 g_allocation_count = 3; in external_entity_parser_create_alloc_fail_handler()
1510 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_parser_create_alloc_fail_handler()
H A Dmisc_tests.c75 g_allocation_count = (int)i; in START_TEST()
95 g_allocation_count = (int)i; in START_TEST()
/freebsd/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()