Lines Matching refs:retCode
89 int retCode{ in check_CFI_establish() local
92 if (retCode == CFI_SUCCESS) { in check_CFI_establish()
149 MATCH(true, retCode != CFI_SUCCESS); in check_CFI_establish()
151 MATCH(retCode, expectedRetCode); in check_CFI_establish()
221 int retCode{ in ByteSize() local
223 return retCode == CFI_SUCCESS ? dv->elem_len : 0; in ByteSize()
300 int retCode{CFI_allocate(dv, lower_bounds, upper_bounds, elem_len)}; in check_CFI_allocate() local
302 if (retCode == CFI_SUCCESS) { in check_CFI_allocate()
355 if (numErr == 0 && retCode != CFI_SUCCESS) { in check_CFI_allocate()
356 MATCH(true, retCode == CFI_ERROR_MEM_ALLOCATION); in check_CFI_allocate()
358 MATCH(true, retCode != CFI_SUCCESS); in check_CFI_allocate()
360 MATCH(expectedRetCode, retCode); in check_CFI_allocate()
363 if (retCode == CFI_SUCCESS) { in check_CFI_allocate()
428 int retCode{CFI_establish(source, &array, CFI_attribute_other, in run_CFI_section_tests() local
430 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_section_tests()
439 retCode = CFI_establish(result, nullptr, CFI_attribute_other, in run_CFI_section_tests()
441 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_section_tests()
448 retCode = CFI_section( in run_CFI_section_tests()
450 MATCH(true, retCode == CFI_SUCCESS); in run_CFI_section_tests()
479 retCode = CFI_section( in run_CFI_section_tests()
481 MATCH(true, retCode == CFI_SUCCESS); in run_CFI_section_tests()
531 int retCode{CFI_establish(result, nullptr, CFI_attribute_other, CFI_type_int, in run_CFI_select_part_tests() local
533 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_select_part_tests()
534 retCode = CFI_establish(source, &universe, CFI_attribute_other, in run_CFI_select_part_tests()
536 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_select_part_tests()
544 retCode = CFI_select_part(result, source, displacement, elem_len); in run_CFI_select_part_tests()
545 MATCH(CFI_SUCCESS, retCode); in run_CFI_select_part_tests()
566 retCode = CFI_establish( in run_CFI_select_part_tests()
568 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_select_part_tests()
576 retCode = CFI_select_part(result, source, displacement, elem_len); in run_CFI_select_part_tests()
577 MATCH(CFI_SUCCESS, retCode); in run_CFI_select_part_tests()
616 int retCode{CFI_establish( in run_CFI_setpointer_tests() local
618 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_setpointer_tests()
619 retCode = CFI_establish(source, dummyBaseAddress, CFI_attribute_other, type, in run_CFI_setpointer_tests()
621 testPreConditions &= (retCode == CFI_SUCCESS); in run_CFI_setpointer_tests()
627 retCode = CFI_setpointer(result, source, lower_bounds); in run_CFI_setpointer_tests()
628 MATCH(CFI_SUCCESS, retCode); in run_CFI_setpointer_tests()