Lines Matching defs:function

140                                  /* setup function. */
331 const ListNode *check_point; /* Check point of the test if there's a setup function. */
386 /* Create function results and expected parameter lists. */
489 * Frees memory kept by a linked list The cleanup_value function is called for
565 * specified function name.
613 * The value is returned as an output parameter with the function returning the
746 /* Get the next return value for the specified mock function. */
747 LargestIntegralType _mock(const char * const function, const char* const file,
751 &function, 1, &result);
762 "to mock function %s\n", file, line, function);
778 /* Add a return value for the specified mock function name. */
793 * Add a custom parameter checking function. If the event parameter is NULL
794 * the event structure is allocated internally by this function. If event
799 const char* const function, const char* const parameter,
806 const char* symbols[] = {function, parameter};
1016 const char* const function, const char* const parameter,
1032 function, parameter, file, line, check_function,
1039 const char* const function, const char* const parameter,
1043 expect_set(function, parameter, file, line, values, number_of_values,
1050 const char* const function, const char* const parameter,
1054 expect_set(function, parameter, file, line, values, number_of_values,
1086 const char* const function, const char* const parameter,
1095 _expect_check(function, parameter, file, line, check_function,
1102 const char* const function, const char* const parameter,
1106 expect_range(function, parameter, file, line, minimum, maximum,
1113 const char* const function, const char* const parameter,
1117 expect_range(function, parameter, file, line, minimum, maximum,
1132 const char* const function, const char* const parameter,
1135 _expect_check(function, parameter, file, line, check_value, value, NULL,
1150 const char* const function, const char* const parameter,
1153 _expect_check(function, parameter, file, line, check_not_value, value,
1169 const char* const function, const char* const parameter,
1174 _expect_check(function, parameter, file, line, check_string,
1191 const char* const function, const char* const parameter,
1196 _expect_check(function, parameter, file, line, check_not_string,
1216 const char* const function, const char* const parameter,
1229 _expect_check(function, parameter, file, line, check_function,
1236 const char* const function, const char* const parameter,
1239 expect_memory_setup(function, parameter, file, line, memory, size,
1260 const char* const function, const char* const parameter,
1263 expect_memory_setup(function, parameter, file, line, memory, size,
1279 const char* const function, const char* const parameter,
1281 _expect_check(function, parameter, file, line, check_any, 0, NULL,
1303 ": error: Check of parameter %s, function %s failed\n"
1314 "to check parameter %s of function %s\n", file, line,
1576 /* Use the real malloc in this function. */
1619 /* Use the real free in this function. */
1711 * function returns the number of blocks displayed. */
2638 /* If this is a setup function then ignore any allocated blocks
2730 if (!test->function) {
2758 print_error("Invalid unit test function type %d\n",
2765 int failed = _run_test(test->name, test->function, current_state,
2782 /* Skip forward until the next test or setup function. */
2851 /* Find setup and teardown function */
2857 setup = test->function;
2861 print_error("[ ERROR ] More than one group setup function detected\n");
2868 teardown = test->function;
2872 print_error("[ ERROR ] More than one group teardown function detected\n");
2903 if (test->function == NULL) {
2917 print_error("Invalid unit test function type %d\n",
2926 test->function,