Lines Matching refs:handler_res
55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument
56 if ((!(cond)) || (handler_res == 1)) { \
106 int handler_res = 0; in main() local
114 handler_res = test_handler_called(0, "", test_id); in main()
115 TEST_RES(res == 0, "Normal move", handler_res, test_id); in main()
117 handler_res, test_id); in main()
122 handler_res = test_handler_called( in main()
124 TEST_RES(res != 0, "Move with insufficient destination size", handler_res, in main()
130 handler_res = test_handler_called(1, "memmove_s: dest is NULL", test_id); in main()
131 TEST_RES(res != 0, "Move with Null destination", handler_res, test_id); in main()
136 handler_res = test_handler_called(1, "memmove_s: source is NULL", test_id); in main()
137 TEST_RES(res != 0, "Move with Null source", handler_res, test_id); in main()
143 handler_res = test_handler_called(0, "", test_id); in main()
144 TEST_RES(res == 0, "Move with zero length", handler_res, test_id); in main()
145 TEST_RES(buf[0] == '\0', "Move with zero length Contents", handler_res, in main()