Home
last modified time | relevance | path

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

/openbsd/src/lib/libexpat/tests/
Dalloc_tests.c63 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in alloc_setup()
83 g_allocation_count = i; in START_TEST()
132 g_allocation_count = i; in START_TEST()
160 g_allocation_count = i; in START_TEST()
186 g_allocation_count = i; in START_TEST()
227 g_allocation_count = i; in START_TEST()
251 g_allocation_count = i; in START_TEST()
277 g_allocation_count = i; in START_TEST()
325 g_allocation_count = i; in START_TEST()
376 g_allocation_count = -1; in START_TEST()
[all …]
Dnsalloc_tests.c63 g_allocation_count = ALLOC_ALWAYS_SUCCEED; in nsalloc_setup()
86 g_allocation_count = 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()
479 g_allocation_count = i; in START_TEST()
786 g_allocation_count = i; in START_TEST()
[all …]
Dcommon.c275 int g_allocation_count = ALLOC_ALWAYS_SUCCEED; variable
281 if (g_allocation_count == 0) in duff_allocator()
283 if (g_allocation_count != ALLOC_ALWAYS_SUCCEED) in duff_allocator()
284 g_allocation_count--; in duff_allocator()
Dcommon.h142 extern int g_allocation_count;
Dhandlers.c1279 g_allocation_count = 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()
Dmisc_tests.c70 g_allocation_count = i; in START_TEST()
90 g_allocation_count = i; in START_TEST()