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 buffer", handler_res, test_id); in main()
130 handler_res = test_handler_called(1, "strncpy_s: dest is NULL", test_id); in main()
131 TEST_RES(res != 0, "NULL Destination Pointer", handler_res, test_id); in main()
133 handler_res = test_handler_called(1, "strncpy_s: source is NULL", test_id); in main()
134 TEST_RES(res != 0, "NULL Source Pointer", handler_res, test_id); in main()
139 handler_res = test_handler_called(0, "", test_id); in main()
140 TEST_RES(res == 0, "Copy of empty string", handler_res, test_id); in main()
142 handler_res, test_id); in main()
147 handler_res = test_handler_called(0, "", test_id); in main()
148 TEST_RES(res == 0, "Copy with zero Characters", handler_res, test_id); in main()
150 handler_res, test_id); in main()