Lines Matching full:expectations
12 call_expectation *expectations;
19 expectations = calloc(calls, sizeof(expectations));
22 expectations[i] = va_arg(args, call_expectation);
29 free(expectations);
50 if (expectations[alloc_calls] == MALLOC) {
53 } else if (expectations[alloc_calls] == MALLOC_FAIL) {
62 alloc_calls < alloc_calls_expected ? expectations[alloc_calls] : -1);
73 if (expectations[alloc_calls] == REALLOC) {
76 } else if (expectations[alloc_calls] == REALLOC_FAIL) {
85 alloc_calls < alloc_calls_expected ? expectations[alloc_calls] : -1);