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
113 handler_res = test_handler_called(0, "", test_id); in main()
114 TEST_RES(length == 13, "Normal length", handler_res, test_id); in main()
119 handler_res = test_handler_called(0, "", test_id); in main()
120 TEST_RES(length == 13, "Length with exact buffer size", handler_res, in main()
126 handler_res = test_handler_called(0, "", test_id); in main()
127 TEST_RES(length == 5, "Length with insufficient buffer", handler_res, in main()
133 handler_res = test_handler_called(0, "", test_id); in main()
134 TEST_RES(length == 0, "Length of empty string", handler_res, test_id); in main()
139 handler_res = test_handler_called(0, "", test_id); in main()
140 TEST_RES(length == 0, "Length with Null string", handler_res, test_id); in main()
145 handler_res = test_handler_called(0, "", test_id); in main()
146 TEST_RES(length == 0, "Length with zero buffer size", handler_res, test_id); in main()