Lines Matching refs:handler_res
55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument
56 if ((!(cond)) || (handler_res == 1)) { \
107 int handler_res = 0; in main() local
115 handler_res = test_handler_called(0, "", test_id); in main()
116 TEST_RES(res == 0, "Normal Copy", handler_res, test_id); in main()
118 handler_res, test_id); in main()
123 handler_res = test_handler_called( in main()
125 TEST_RES(res != 0, "Copy with insufficient destination size", handler_res, in main()
131 handler_res = test_handler_called(1, "memcpy_s: dest is NULL", test_id); in main()
132 TEST_RES(res != 0, "Copy with Null destination", handler_res, test_id); in main()
137 handler_res = test_handler_called(1, "memcpy_s: source is NULL", test_id); in main()
138 TEST_RES(res != 0, "Copy with Null source", handler_res, test_id); in main()
144 handler_res = test_handler_called(0, "", test_id); in main()
145 TEST_RES(res == 0, "Copy with zero length", handler_res, test_id); in main()
146 TEST_RES(dest[0] == '\0', "Copy with zero length Contents", handler_res, in main()