Home
last modified time | relevance | path

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

/third_party/unity/extras/memory/src/
Dunity_memory.c11 #define MALLOC_DONT_FAIL -1 macro
13 static int malloc_fail_countdown = MALLOC_DONT_FAIL;
18 malloc_fail_countdown = MALLOC_DONT_FAIL; in UnityMalloc_StartTest()
23 malloc_fail_countdown = MALLOC_DONT_FAIL; in UnityMalloc_EndTest()
75 if (malloc_fail_countdown != MALLOC_DONT_FAIL) in unity_malloc()
/third_party/cJSON/tests/unity/extras/fixture/src/
Dunity_fixture.c134 #define MALLOC_DONT_FAIL -1 macro
136 static int malloc_fail_countdown = MALLOC_DONT_FAIL;
141 malloc_fail_countdown = MALLOC_DONT_FAIL; in UnityMalloc_StartTest()
146 malloc_fail_countdown = MALLOC_DONT_FAIL; in UnityMalloc_EndTest()
187 if (malloc_fail_countdown != MALLOC_DONT_FAIL) in unity_malloc()