Searched refs:TEST_MATCH (Results 1 – 2 of 2) sorted by relevance
/external/bluetooth/glib/tests/ |
D | patterntest.c | 199 #define TEST_MATCH(pattern, string, match) { \ macro 253 TEST_MATCH("*x", "x", TRUE); in main() 254 TEST_MATCH("*x", "xx", TRUE); in main() 255 TEST_MATCH("*x", "yyyx", TRUE); in main() 256 TEST_MATCH("*x", "yyxy", FALSE); in main() 257 TEST_MATCH("?x", "x", FALSE); in main() 258 TEST_MATCH("?x", "xx", TRUE); in main() 259 TEST_MATCH("?x", "yyyx", FALSE); in main() 260 TEST_MATCH("?x", "yyxy", FALSE); in main() 261 TEST_MATCH("*?x", "xx", TRUE); in main() [all …]
|
D | regex-test.c | 254 #define TEST_MATCH(pattern, compile_opts, match_opts, string, \ macro 1697 TEST_MATCH("a", 0, 0, "a", -1, 0, 0, TRUE); in main() 1698 TEST_MATCH("a", 0, 0, "A", -1, 0, 0, FALSE); in main() 1699 TEST_MATCH("a", G_REGEX_CASELESS, 0, "A", -1, 0, 0, TRUE); in main() 1700 TEST_MATCH("a", 0, 0, "ab", -1, 1, 0, FALSE); in main() 1701 TEST_MATCH("a", 0, 0, "ba", 1, 0, 0, FALSE); in main() 1702 TEST_MATCH("a", 0, 0, "bab", -1, 0, 0, TRUE); in main() 1703 TEST_MATCH("a", 0, 0, "b", -1, 0, 0, FALSE); in main() 1704 TEST_MATCH("a", 0, G_REGEX_ANCHORED, "a", -1, 0, 0, TRUE); in main() 1705 TEST_MATCH("a", 0, G_REGEX_ANCHORED, "ab", -1, 1, 0, FALSE); in main() [all …]
|