Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/unity/
H A Dunity_fixture.c131 static int malloc_fail_countdown = MALLOC_DONT_FAIL; variable
136 malloc_fail_countdown = MALLOC_DONT_FAIL; in UnityMalloc_StartTest()
141 malloc_fail_countdown = MALLOC_DONT_FAIL; in UnityMalloc_EndTest()
150 malloc_fail_countdown = countdown; in UnityMalloc_MakeMallocFailAfterCount()
186 if (malloc_fail_countdown != MALLOC_DONT_FAIL) in unity_malloc()
188 if (malloc_fail_countdown == 0) in unity_malloc()
190 malloc_fail_countdown--; in unity_malloc()