Searched refs:intermediate_values (Results 1 – 2 of 2) sorted by relevance
/external/cmockery/cmockery_0_1_2/src/example/ |
D | calculator_test.c | 54 int ** const intermediate_values, int * const error_occurred); 178 int *intermediate_values; in test_perform_operation_null_args() local 182 &number_of_intermediate_values, &intermediate_values, in test_perform_operation_null_args() 193 int *intermediate_values; in test_perform_operation_null_operator_functions() local 197 &intermediate_values, &error_occurred)); in test_perform_operation_null_operator_functions() 209 int *intermediate_values; in test_perform_operation_null_number_of_intermediate_values() local 213 &intermediate_values, &error_occurred)); in test_perform_operation_null_number_of_intermediate_values() 236 int *intermediate_values; in test_perform_operation_no_arguments() local 239 0, NULL, 0, NULL, &number_of_intermediate_values, &intermediate_values, in test_perform_operation_no_arguments() 254 int *intermediate_values; in test_perform_operation_first_arg_not_integer() local [all …]
|
D | calculator.c | 160 int ** const intermediate_values, int * const error_occurred) { in perform_operation() argument 168 assert(intermediate_values); in perform_operation() 172 *intermediate_values = NULL; in perform_operation() 187 *intermediate_values = calloc(((number_of_arguments - 1) / 2), in perform_operation() 188 sizeof(**intermediate_values)); in perform_operation() 197 &((*intermediate_values)[*number_of_intermediate_values]); in perform_operation() 230 free(*intermediate_values); in perform_operation() 231 *intermediate_values = NULL; in perform_operation() 241 int *intermediate_values; in main() local 247 &intermediate_values, &return_value); in main() [all …]
|