/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
D | bug-regex8.c | 38 int match[4]; in main() local 49 match[0] = re_match_2(®ex,"xyz",3,NULL,0,0,NULL,2); in main() 61 match[1] = re_search_2(®ex,"xyz",3,NULL,0,0,2,NULL,2); in main() 74 match[2] = re_match_2(®ex,"xy ",4,NULL,0,0,NULL,3); in main() 75 match[3] = re_match_2(®ex,"xy z",4,NULL,0,0,NULL,3); in main() 78 if (match[0] != -1 || match[1] != -1 || match[2] != -1 || match[3] != 3) in main() 81 match[0], match[1], match[2], match[3]); in main()
|
D | PCRE.tests | 65 No match 69 No match 143 No match 145 No match 147 No match 149 No match 151 No match 153 No match 155 No match 165 No match [all …]
|
D | bug-regex7.c | 39 int match, n; in main() local 53 match = re_search (®ex, "baobab", 6, 0, 6, ®s); in main() 55 if (match != 1) in main() 57 printf ("re_search returned %d, expected 1\n", match); in main() 78 match = re_match (®ex, "apl", 3, 0, ®s); in main() 80 if (match != 1) in main() 82 printf ("re_match returned %d, expected 1\n", match); in main()
|
D | runptests.c | 62 regmatch_t match[20]; in main() local 92 err = regexec (&re, tests[cnt].str, 20, match, 0); in main() 106 if (match[0].rm_so == 0 && tests[cnt].start == 0 in main() 107 && match[0].rm_eo == 0 && tests[cnt].end == 0) in main() 109 else if (match[0].rm_so + 1 == tests[cnt].start in main() 110 && match[0].rm_eo == tests[cnt].end) in main() 115 match[0].rm_so, match[0].rm_eo); in main()
|
D | bug-regex10.c | 36 int match; in main() local 49 match = re_match (®ex, "foacabdxy", 9, 2, ®s); in main() 50 if (match != 5) in main() 52 printf ("re_match returned %d, expected 5\n", match); in main()
|
D | tst-regex2.c | 144 int match; in main() local 147 match = re_search (&rpbuf, string, len, 0, len, in main() 149 if (match < 0) in main() 155 if (match + 11 > len in main() 156 || string + match >= strchr (string, 'R') in main() 157 || strncmp (string + match, in main() 174 if (regs.start[0] != match || regs.end[0] != match + 11) in main() 191 if (regs.start[l] != match + j in main()
|
D | tst-rxspencer.c | 169 const char *match, const char *fail) in check_match() argument 171 if (match[0] == '-' && match[1] == '\0') in check_match() 185 if (match[0] == '@') in check_match() 193 if (strncmp (string + rm[idx].rm_so, match + 1, strlen (match + 1) in check_match() 194 ? strlen (match + 1) : 1)) in check_match() 196 printf ("%s rm[%d] not matching %s\n", fail, idx, match); in check_match() 202 if (rm[idx].rm_eo - rm[idx].rm_so != strlen (match) in check_match() 203 || strncmp (string + rm[idx].rm_so, match, in check_match() 206 printf ("%s rm[%d] not matching %s\n", fail, idx, match); in check_match()
|
D | uniq.inp | 415 -1 => failed to match 417 /* "Once" brackets are like assertion brackets except that after a match, 420 /* Advance to a possible match for an initial string after study */ 464 /* Flag bits for the match() function */ 504 /* Negative assertion: all branches must fail to match */ 512 /* Or to just after \n for a multiline match if possible */ 522 /* Set up the first character to match, if available. The first_char value is 529 /* The condition is an assertion. Call match() to evaluate it - setting 538 /* When a match occurs, substrings will be set for all internal extractions; 591 If the bracket fails to match, we need to restore this value and also the [all …]
|
D | uniq.good | 45 -1 => failed to match 47 /* "Once" brackets are like assertion brackets except that after a match, 49 /* Advance to a possible match for an initial string after study */ 77 /* Flag bits for the match() function */ 116 /* Negative assertion: all branches must fail to match */ 123 /* Or to just after \n for a multiline match if possible */ 133 /* Set up the first character to match, if available. The first_char value is 139 /* The condition is an assertion. Call match() to evaluate it - setting 147 /* When a match occurs, substrings will be set for all internal extractions; 187 If the bracket fails to match, we need to restore this value and also the [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_xml_output_unittest.py | 176 match = re.match(r'(\d+)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)', date_time_str) 178 re.match, 181 year=int(match.group(1)), month=int(match.group(2)), 182 day=int(match.group(3)), hour=int(match.group(4)), 183 minute=int(match.group(5)), second=int(match.group(6)))
|
D | gtest_filter_unittest.py | 193 match = TEST_CASE_REGEX.match(line) 194 if match is not None: 195 test_case = match.group(1) 197 match = TEST_REGEX.match(line) 198 if match is not None: 199 test = match.group(1)
|
D | gtest_list_tests_unittest.py | 162 expected_output_re.match(output), 169 not EXPECTED_OUTPUT_NO_FILTER_RE.match(output),
|
/ndk/sources/host-tools/ndk-stack/ |
D | ndk-stack-parser.c | 104 static int MatchRegex(const char* line, const regex_t* regex, regmatch_t* match); 181 regmatch_t match; in ParseLine() local 214 if (MatchRegex(line, &parser->re_pid_header, &match)) { in ParseLine() 215 fprintf(parser->out_handle, "%s\n", line + match.rm_so); in ParseLine() 223 if (MatchRegex(line, &parser->re_sig_header, &match)) { in ParseLine() 224 fprintf(parser->out_handle, "%s\n", line + match.rm_so); in ParseLine() 231 if (!MatchRegex(line, &parser->re_frame_header, &match)) in ParseLine() 246 return ParseFrame(parser, line + match.rm_so); in ParseLine() 254 MatchRegex(const char* line, const regex_t* regex, regmatch_t* match) in MatchRegex() argument 256 int err = regexec(regex, line, 1, match, 0x00400/*REG_TRACE*/); in MatchRegex()
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
D | cppunit_mini.h | 99 bool match = (strncmp(in_desiredTest, in_className, strlen(in_className)) == 0) && in shouldRunThis() local 102 return invert ? (match ? !match : !explicit_test) in shouldRunThis() 103 : match; in shouldRunThis() 105 bool match = (strcmp(in_desiredTest, in_className) == 0); in shouldRunThis() local 106 do_progress = match; in shouldRunThis() 107 return !explicit_test && (match == !invert); in shouldRunThis()
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
D | cppunit_mini.h | 99 bool match = (strncmp(in_desiredTest, in_className, strlen(in_className)) == 0) && in shouldRunThis() local 102 return invert ? (match ? !match : !explicit_test) in shouldRunThis() 103 : match; in shouldRunThis() 105 bool match = (strcmp(in_desiredTest, in_className) == 0); in shouldRunThis() local 106 do_progress = match; in shouldRunThis() 107 return !explicit_test && (match == !invert); in shouldRunThis()
|
/ndk/build/awk/ |
D | extract-platform.awk | 33 if (match($0,android_regex)) { 36 else if (match($0,vendor_regex)) {
|
D | gen-windows-host-path.awk | 73 if (!match(host[nn],"^[A-Za-z]:$")) { 83 if (match(cygwin[nn],"/"lo"$")) { 92 if (match(cygwin[nn],"/"up"$")) {
|
D | extract-package-name.awk | 120 if (!match( $0, "^" sec_begin )) return 0; 121 while (!match($0, sec_end "$")) {
|
D | extract-minsdkversion.awk | 116 if (!match( $0, "^" sec_begin )) return 0; 117 while (!match($0, sec_end "$")) {
|
D | extract-debuggable.awk | 119 if (!match( $0, "^" sec_begin )) return 0; 120 while (!match($0, sec_end "$")) {
|
D | xml.awk | 104 if (!match( $0, "^" sec_begin )) return 0; 105 while (!match($0, sec_end "$")) {
|
D | extract-launchable.awk | 178 if (!match( $0, "^" sec_begin )) return 0; 179 while (!match($0, sec_end "$")) {
|
D | check-awk.awk | 26 if (! match(s1,"world")) {
|
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/ |
D | substitution | 20 # Patsubst without '%'--shouldn't match because the whole word has to match
|
/ndk/sources/host-tools/ndk-stack/regex/ |
D | engine.c | 54 #define match smat macro 66 #define match lmat macro 71 struct match { struct 88 static char *dissect(struct match *, char *, char *, sopno, sopno); argument 89 static char *backref(struct match *, char *, char *, sopno, sopno, sopno, int); 90 static char *fast(struct match *, char *, char *, sopno, sopno); 91 static char *slow(struct match *, char *, char *, sopno, sopno); 104 static void print(struct match *, char *, states, int, FILE *); 107 static void at(struct match *, char *, char *, char *, sopno, sopno); 133 struct match mv; in matcher() [all …]
|