Lines Matching refs:CHECK
42 #define CHECK(expr) check (#expr, (expr)) macro
49 CHECK (result != NULL); in check_rewrite()
63 CHECK (__nss_valid_field (NULL)); in do_test()
64 CHECK (__nss_valid_field ("")); in do_test()
65 CHECK (__nss_valid_field ("+")); in do_test()
66 CHECK (__nss_valid_field ("-")); in do_test()
67 CHECK (__nss_valid_field (" ")); in do_test()
68 CHECK (__nss_valid_field ("abcdef")); in do_test()
69 CHECK (__nss_valid_field ("abc def")); in do_test()
70 CHECK (__nss_valid_field ("abc\tdef")); in do_test()
71 CHECK (!__nss_valid_field ("abcdef:")); in do_test()
72 CHECK (!__nss_valid_field ("abcde:f")); in do_test()
73 CHECK (!__nss_valid_field (":abcdef")); in do_test()
74 CHECK (!__nss_valid_field ("abcdef\n")); in do_test()
75 CHECK (!__nss_valid_field ("\nabcdef")); in do_test()
76 CHECK (!__nss_valid_field (":")); in do_test()
77 CHECK (!__nss_valid_field ("\n")); in do_test()
79 CHECK (__nss_valid_list_field (NULL)); in do_test()
80 CHECK (__nss_valid_list_field ((char *[]) {(char *) "good", NULL})); in do_test()
81 CHECK (!__nss_valid_list_field ((char *[]) {(char *) "g,ood", NULL})); in do_test()
82 CHECK (!__nss_valid_list_field ((char *[]) {(char *) "g\nood", NULL})); in do_test()
83 CHECK (!__nss_valid_list_field ((char *[]) {(char *) "g:ood", NULL})); in do_test()