Home
last modified time | relevance | path

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

/hostap-latest/src/utils/
Dos_unix.c548 int testing_test_fail(const char *tag, bool is_alloc) in testing_test_fail() argument
559 is_alloc = !!is_alloc; in testing_test_fail()
561 for (idx = 0; idx < ARRAY_SIZE(wpa_trace_test_fail[is_alloc]); idx++) { in testing_test_fail()
562 if (wpa_trace_test_fail[is_alloc][idx].fail_after != 0) in testing_test_fail()
565 if (idx >= ARRAY_SIZE(wpa_trace_test_fail[is_alloc])) in testing_test_fail()
571 if (is_alloc) { in testing_test_fail()
590 pos = wpa_trace_test_fail[is_alloc][idx].pattern; in testing_test_fail()
641 wpa_trace_test_fail[is_alloc][idx].fail_after--; in testing_test_fail()
642 if (wpa_trace_test_fail[is_alloc][idx].fail_after == 0) { in testing_test_fail()
644 wpa_trace_test_fail[is_alloc][idx].pattern); in testing_test_fail()
[all …]
Dos.h764 int testing_test_fail(const char *tag, bool is_alloc);
765 int testing_set_fail_pattern(bool is_alloc, char *patterns);
766 int testing_get_fail_pattern(bool is_alloc, char *buf, size_t buflen);
770 static inline int testing_set_fail_pattern(bool is_alloc, char *patterns) in testing_set_fail_pattern() argument
775 static inline int testing_get_fail_pattern(bool is_alloc, char *buf, in testing_get_fail_pattern() argument