/glibc-2.36/posix/ |
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-regex4.c | 29 int match[3]; in main() local 45 match[0] = re_search_2 (®ex, "xyabez", 6, "", 0, 1, 5, NULL, 6); in main() 46 match[1] = re_search_2 (®ex, NULL, 0, "abc", 3, 0, 3, NULL, 3); in main() 47 match[2] = re_search_2 (®ex, "xya", 3, "bd", 2, 2, 3, NULL, 5); in main() 48 if (match[0] != 2 || match[1] != 0 || match[2] != 2) in main() 51 match[0], match[1], match[2]); in main() 69 match[0] = re_search_2 (®ex, "xyabez", 6, "", 0, 1, 5, NULL, 6); in main() 70 match[1] = re_search_2 (®ex, NULL, 0, "abc", 3, 0, 3, NULL, 3); in main() 71 match[2] = re_search_2 (®ex, "xya", 3, "bd", 2, 2, 3, NULL, 5); in main() 72 if (match[0] != 2 || match[1] != 0 || match[2] != 2) in main() [all …]
|
D | bug-regex8.c | 32 int match[4]; in main() local 43 match[0] = re_match_2(®ex,"xyz",3,NULL,0,0,NULL,2); in main() 55 match[1] = re_search_2(®ex,"xyz",3,NULL,0,0,2,NULL,2); in main() 68 match[2] = re_match_2(®ex,"xy ",4,NULL,0,0,NULL,3); in main() 69 match[3] = re_match_2(®ex,"xy z",4,NULL,0,0,NULL,3); in main() 72 if (match[0] != -1 || match[1] != -1 || match[2] != -1 || match[3] != 3) in main() 75 match[0], match[1], match[2], match[3]); in main()
|
D | bug-regex1.c | 13 int match; in main() local 33 match = re_match (®ex, "an", 2, 0, ®s); in main() 34 if (match != 2) in main() 36 printf ("re_match returned %d, expected 2\n", match); in main() 53 match = re_match (®ex, "an", 2, 0, ®s); in main() 54 if (match != 2) in main() 56 printf ("re_match returned %d, expected 2\n", match); in main() 73 match = re_match (®ex, "an", 2, 0, ®s); in main() 74 if (match != 2) in main() 76 printf ("re_match returned %d, expected 2\n", match); in main()
|
D | runptests.c | 56 regmatch_t match[20]; in main() local 86 err = regexec (&re, tests[cnt].str, 20, match, 0); in main() 100 if (match[0].rm_so == 0 && tests[cnt].start == 0 in main() 101 && match[0].rm_eo == 0 && tests[cnt].end == 0) in main() 103 else if (match[0].rm_so + 1 == tests[cnt].start in main() 104 && match[0].rm_eo == tests[cnt].end) in main() 109 match[0].rm_so, match[0].rm_eo); in main()
|
D | bug-regex7.c | 33 int match, n; in main() local 47 match = re_search (®ex, "baobab", 6, 0, 6, ®s); in main() 49 if (match != 1) in main() 51 printf ("re_search returned %d, expected 1\n", match); in main() 72 match = re_match (®ex, "apl", 3, 0, ®s); in main() 74 if (match != 1) in main() 76 printf ("re_match returned %d, expected 1\n", match); in main()
|
D | tst-regex2.c | 166 int match = re_search (&rpbuf, string, len, 0, len, in do_test() local 168 if (match < 0) in do_test() 174 if (match + 13 > len in do_test() 175 || match < len - 100 in do_test() 176 || strncmp (string + match, in do_test() 193 if (regs.start[0] != match || regs.end[0] != match + 13) in do_test() 210 if (regs.start[l] != match + j in do_test()
|
D | testfnm.c | 70 int match; in main() local 72 match = fnmatch (tests[i].pattern, tests[i].name, tests[i].flags); in main() 75 match == 0 ? "matches" : "does not match", in main() 77 match != tests[i].expected ? "FAIL" : "OK"); in main() 79 if (match != tests[i].expected) in main()
|
D | bug-regex10.c | 30 int match; in main() local 43 match = re_match (®ex, "foacabdxy", 9, 2, ®s); in main() 44 if (match != 5) in main() 46 printf ("re_match returned %d, expected 5\n", match); in main()
|
D | tst-rxspencer.c | 173 const char *match, const char *fail) in check_match() argument 175 if (match[0] == '-' && match[1] == '\0') in check_match() 189 if (match[0] == '@') in check_match() 197 if (strncmp (string + rm[idx].rm_so, match + 1, strlen (match + 1) ?: 1)) in check_match() 199 printf ("%s rm[%d] not matching %s\n", fail, idx, match); in check_match() 205 if (rm[idx].rm_eo - rm[idx].rm_so != strlen (match) in check_match() 206 || strncmp (string + rm[idx].rm_so, match, in check_match() 209 printf ("%s rm[%d] not matching %s\n", fail, idx, match); in check_match()
|
/glibc-2.36/elf/ |
D | dl-addr.c | 26 determine_info (const ElfW(Addr) addr, struct link_map *match, Dl_info *info, in determine_info() argument 30 info->dli_fname = match->l_name; in determine_info() 31 info->dli_fbase = (void *) match->l_map_start; in determine_info() 34 if (__builtin_expect (match->l_name[0], 'a') == '\0' in determine_info() 35 && match->l_type == lt_executable) in determine_info() 39 = (const ElfW(Sym) *) D_PTR (match, l_info[DT_SYMTAB]); in determine_info() 40 const char *strtab = (const char *) D_PTR (match, l_info[DT_STRTAB]); in determine_info() 42 ElfW(Word) strtabsize = match->l_info[DT_STRSZ]->d_un.d_val; in determine_info() 45 if (match->l_info[ELF_MACHINE_GNU_HASH_ADDRIDX] != NULL) in determine_info() 49 for (Elf_Symndx bucket = 0; bucket < match->l_nbuckets; ++bucket) in determine_info() [all …]
|
D | dl-sym.c | 93 struct link_map *match = NULL; in do_sym() local 97 match = _dl_sym_find_caller_link_map (caller); in do_sym() 105 result = GLRO(dl_lookup_symbol_x) (name, match, &ref, in do_sym() 106 match->l_scope, vers, 0, in do_sym() 113 args.map = match; in do_sym() 131 match = _dl_sym_find_caller_link_map (caller); in do_sym() 133 if (__glibc_unlikely (match == GL(dl_ns)[LM_ID_BASE]._ns_loaded)) in do_sym() 135 if (match == NULL in do_sym() 136 || caller < match->l_map_start in do_sym() 137 || caller >= match->l_map_end) in do_sym() [all …]
|
D | dl-sym-post.h | 38 ElfW(Addr) caller, struct link_map *match) in _dl_sym_post() argument 55 if (match == NULL) in _dl_sym_post() 56 match = _dl_sym_find_caller_link_map (caller); in _dl_sym_post() 57 _dl_audit_symbind_alt (match, ref, &value, result); in _dl_sym_post()
|
/glibc-2.36/sysdeps/ia64/fpu/ |
D | import_file.awk | 3 while (!match($0, "^/[/*] static char cvs_id")) { 8 while (!match($0, "^// WARRANTY DISCLAIMER")) { 47 while (!match($0, "^[ \t]*data")) { 51 while (match($0, "(//|^[ \t]*data)")) { 70 if (match(name, "^"FUNC"$")) { 77 if (match(name, "^"FUNC"$")) { 105 if (match(name, ieee754_funcs)) { 107 } else if (match (name, local_funcs)) { 114 while (!match($0, "^"name"#?:")) { 118 while (!match($0, "^.endp")) { [all …]
|
/glibc-2.36/scripts/ |
D | glibcextract.py | 66 match = re.search('@@@name@@@([^@]*)' 69 if match: 70 if (match.group(1) in consts 71 and match.group(2) != consts[match.group(1)]): 73 % match.group(1)) 74 consts[match.group(1)] = match.group(2) 97 match = re.fullmatch('#define ([0-9A-Za-z_]+)(.*)\n', line) 98 if not match: 100 name = match.group(1) 101 value = match.group(2) [all …]
|
D | check-obsolete-constructs.py | 148 mo = HEADER_NAME_RE.match(file_contents, pos) 153 mo = PP_TOKEN_RE.match(file_contents, pos) 158 mo = PP_TOKEN_RE.match(file_contents, pos) 264 if OBSOLETE_TYPE_RE_.match(tok.text): 285 m = OBSOLETE_TYPE_RE_.match(self.prev_token.text) 300 and OBSOLETE_TYPE_RE_.match(self.prev_token.text)): 341 if tok.kind == "IDENT" and OBSOLETE_TYPE_RE_.match(tok.text): 347 m = OBSOLETE_TYPE_RE_.match(self.typedef_tokens[-1].text) 360 n = OBSOLETE_TYPE_RE_.match(defn)
|
/glibc-2.36/sysdeps/generic/ |
D | utmp-equal.h | 26 __utmp_equal (const struct utmp *entry, const struct utmp *match) in __utmp_equal() argument 32 && (match->ut_type == INIT_PROCESS in __utmp_equal() 33 || match->ut_type == LOGIN_PROCESS in __utmp_equal() 34 || match->ut_type == USER_PROCESS in __utmp_equal() 35 || match->ut_type == DEAD_PROCESS) in __utmp_equal() 36 && (entry->ut_id[0] && match->ut_id[0] in __utmp_equal() 37 ? strncmp (entry->ut_id, match->ut_id, sizeof match->ut_id) == 0 in __utmp_equal() 38 : (strncmp (entry->ut_line, match->ut_line, sizeof match->ut_line) in __utmp_equal()
|
/glibc-2.36/localedata/unicode-gen/ |
D | ctype_compatibility.py | 91 match = re.match(r'^(' 98 if match: 103 line[match.end():]) 113 match = re.match(r'^<U(?P<codepoint>[0-9A-F]{4,8})>$', code_points) 114 if match: # <Uxxxx> 116 int(match.group('codepoint'), 16)) 118 match = re.match( 123 if match: # <Uxxxx>..<Uxxxx> 125 int(match.group('codepoint1'), 16), 126 int(match.group('codepoint2'), 16) + 1): [all …]
|
D | utf8_compatibility.py | 49 match = re.match( 54 if not match: 56 codepoint1 = match.group('codepoint1') 57 codepoint2 = match.group('codepoint2') 62 charmap_dictionary[i] = match.group('hexutf8') 123 match = re.match( 128 if not match: 130 codepoint1 = match.group('codepoint1') 131 codepoint2 = match.group('codepoint2') 136 width_dictionary[i] = int(match.group('width'))
|
D | unicode_utils.py | 169 match = re.match( 174 if not match: 176 start = match.group('codepoint1') 177 end = match.group('codepoint2') 181 prop = match.group('property') 202 match = re.match( 207 if not match: 209 start = match.group('codepoint1') 210 end = match.group('codepoint2') 214 EAST_ASIAN_WIDTHS[code_point] = match.group('property')
|
/glibc-2.36/misc/ |
D | regexp.c | 50 regmatch_t match; /* We only need info about the full match. */ in step() local 55 if (__regexec ((const regex_t *) expbuf, string, 1, &match, REG_NOTEOL) in step() 59 loc1 = (char *) string + match.rm_so; in step() 60 loc2 = (char *) string + match.rm_eo; in step() 73 regmatch_t match; /* We only need info about the full match. */ in advance() local 78 if (__regexec ((const regex_t *) expbuf, string, 1, &match, REG_NOTEOL) in advance() 82 || match.rm_so != 0) in advance() 85 loc2 = (char *) string + match.rm_eo; in advance()
|
/glibc-2.36/string/ |
D | argz-replace.c | 66 char *match = strstr (arg, str); in __argz_replace() local 67 if (match) in __argz_replace() 69 char *from = match + str_len; in __argz_replace() 70 size_t to_len = match - arg; in __argz_replace() 78 match = strstr (from, str); in __argz_replace() 79 if (match) in __argz_replace() 81 str_append (&to, &to_len, from, match - from); in __argz_replace() 82 from = match + str_len; in __argz_replace()
|
/glibc-2.36/conform/ |
D | conformtest.py | 456 match = re.match(r'xfail\[(.*?)\]-(.*)', line) 457 if match: 458 xfail_cond = match.group(1) 459 line = match.group(2) 475 match = re.match(r'\{(.*?)\}(.*)', line) 476 if match: 477 tokens.append(match.group(1)) 478 line = match.group(2) 480 match = re.match(r'([^ ]*)(.*)', line) 481 tokens.append(match.group(1)) [all …]
|
/glibc-2.36/sysdeps/arm/armv6/ |
D | strchr.S | 26 @ r1 = character to match 27 @ returns NULL for no match, or a pointer to the match 100 @ Adjust r0 to point to the word containing the match. 101 @ Adjust r2 to the contents of the word containing the match. 102 @ Adjust r4 to the found bits for the word containing the match. 110 @ Find the bit-offset of the match within the word.
|
/glibc-2.36/sysdeps/arm/ |
D | find_exidx.c | 38 int match; in find_exidx_callback() local 45 match = 0; in find_exidx_callback() 52 match = 1; in find_exidx_callback() 61 return match; in find_exidx_callback()
|