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.c73 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in alloc_setup()
93 g_allocation_count = i; in START_TEST()
142 g_allocation_count = i; in START_TEST()
170 g_allocation_count = i; in START_TEST()
196 g_allocation_count = i; in START_TEST()
237 g_allocation_count = i; in START_TEST()
261 g_allocation_count = i; in START_TEST()
287 g_allocation_count = i; in START_TEST()
335 g_allocation_count = (int)i; in START_TEST()
386 g_allocation_count = -1; in START_TEST()
[all …]
H A Dnsalloc_tests.c68 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in nsalloc_setup()
91 g_allocation_count = (int)i; in START_TEST()
128 g_allocation_count = 0; in START_TEST()
135 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in START_TEST()
241 g_allocation_count = i; in START_TEST()
301 g_allocation_count = i; in START_TEST()
344 g_allocation_count = i; in START_TEST()
427 g_allocation_count = i; in START_TEST()
489 g_allocation_count = i; in START_TEST()
796 g_allocation_count in START_TEST()
[all...]
H A Dcommon.c287 int g_allocation_count = ALLOC_ALWAYS_SUCCEED; variable
293 if (g_allocation_count == 0) in duff_allocator()
295 if (g_allocation_count != ALLOC_ALWAYS_SUCCEED) in duff_allocator()
296 g_allocation_count--; in duff_allocator()
H A Dcommon.h140 extern int g_allocation_count;
H A Dhandlers.c1297 g_allocation_count = (int)i; in external_entity_duff_loader()
1310 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_duff_loader()
1335 g_allocation_count = 10000; in external_entity_dbl_handler()
1342 *pcallno = 10000 - g_allocation_count; in external_entity_dbl_handler()
1348 g_allocation_count = callno + i; in external_entity_dbl_handler()
1363 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_dbl_handler()
1504 g_allocation_count = 3; in external_entity_parser_create_alloc_fail_handler()
1513 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in external_entity_parser_create_alloc_fail_handler()
H A Dmisc_tests.c80 g_allocation_count = (int)i; in START_TEST()
100 g_allocation_count = (int)i; in START_TEST()
/freebsd/contrib/expat/fuzz/
H A Dxml_lpm_fuzzer.cpp79 static int g_allocation_count = 0;
84 g_allocation_count += 1; in MallocHook()
86 if (index == g_allocation_count) { in MallocHook()
95 g_allocation_count += 1; in ReallocHook()
97 if (index == g_allocation_count) { in ReallocHook()
424 g_allocation_count = 0; in DEFINE_TEXT_PROTO_FUZZER()
78 static int g_allocation_count = 0; global() variable