Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 117) sorted by relevance

12345

/toolchain/binutils/binutils-2.25/bfd/
Dmep-relocs.pl59 ($pattern, $sign, $attrs) = $rest =~ m@(.*) ([US]) (.*)\*/@;
60 $pattern =~ s/ //g;
61 push(@pattern, $pattern);
65 printf "%4d $rel p=`$pattern' s=`$sign' a=`$attrs'\n", $#pattern;
128 $mask = $pattern[$i];
151 if (length($pattern[$i]) == 8) {
153 } elsif ($pattern[$i] =~ /-/ || length($pattern[$i]) == 16) {
158 print NEW " case R_MEP_$relocs[$i]: /* $pattern[$i] */\n";
175 for ($b=0; $b<length($pattern[$i]); $b += 8) {
176 $mask = substr($pattern[$i], $b, 8);
[all …]
/toolchain/binutils/binutils-2.25/libiberty/
Dmkstemps.c78 mkstemps (char *pattern, int suffix_len) in mkstemps() argument
90 len = strlen (pattern); in mkstemps()
93 || strncmp (&pattern[len - 6 - suffix_len], "XXXXXX", 6)) in mkstemps()
98 XXXXXX = &pattern[len - 6 - suffix_len]; in mkstemps()
126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600); in mkstemps()
145 pattern[0] = '\0'; in mkstemps()
Dfnmatch.txh1 @deftypefn Replacement int fnmatch (const char *@var{pattern}, @
4 Matches @var{string} against @var{pattern}, returning zero if it
5 matches, @code{FNM_NOMATCH} if not. @var{pattern} may contain the
39 Means that @var{string} also matches @var{pattern} if some initial part
Dregex.c70 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) argument
81 # define re_compile_pattern(pattern, length, bufp) \ argument
82 __re_compile_pattern (pattern, length, bufp)
410 static reg_errcode_t byte_regex_compile (const char *pattern, size_t size,
428 static reg_errcode_t wcs_regex_compile (const char *pattern, size_t size,
1852 static boolean PREFIX(at_begline_loc_p) (const CHAR_T *pattern,
2277 return (free(pattern), free(mbs_offset), free(is_binary), free (compile_stack.stack), value)
2284 PREFIX(regex_compile) (const char *ARG_PREFIX(pattern), in PREFIX()
2295 CHAR_T *pattern, *COMPILED_BUFFER_VAR; in PREFIX() local
2319 const CHAR_T *p = pattern; in PREFIX()
[all …]
Dfnmatch.c68 fnmatch (const char *pattern, const char *string, int flags) in fnmatch() argument
70 register const char *p = pattern, *n = string; in fnmatch()
/toolchain/binutils/binutils-2.25/gold/testsuite/
Dstrong_ref_weak_def.sh31 pattern=$2
32 found=`grep "$pattern" $file`
34 echo "pattern \"$pattern\" not found in file $file."
Ddyn_weak_ref.sh31 pattern=$2
32 found=`grep "$pattern" $file`
34 echo "pattern \"$pattern\" not found in file $file."
Darm_attr_merge.sh30 pattern=$2
31 found=`grep "$pattern" $file`
33 echo "pattern \"$pattern\" not found in file $file."
Dmemory_test.sh37 pattern=$2
38 found=`grep "$pattern" $file`
40 echo "pattern \"$pattern\" not found in file $file."
Darm_branch_in_range.sh33 pattern=$2
35 found=`grep "$pattern" $file`
37 echo "pattern \"$pattern\" not found in file $file."
Darm_branch_out_of_range.sh34 pattern=$2
36 found=`grep "$pattern" $file`
38 echo "pattern \"$pattern\" not found in file $file."
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/iq2000/
Dyield.exp28 proc iq2000_error_test { file testname {pattern ""} } { argument
34 if {$pattern == ""} {
39 if {[regexp "Error: $pattern" $comp_output]} {
/toolchain/binutils/binutils-2.25/gprof/
Dsym_ids.c222 match (Sym *pattern, Sym *sym) in match() argument
224 if (pattern->file && pattern->file != sym->file) in match()
226 if (pattern->line_num && pattern->line_num != sym->line_num) in match()
228 if (pattern->name) in match()
233 if (strcmp (pattern->name, sym_name) != 0) in match()
/toolchain/binutils/binutils-2.25/gold/
Dscript.cc1899 : pattern(a_pattern), language(a_language), exact_match(a_exact_match), in Version_expression()
1903 std::string pattern; member
2158 Version_script_info::unquote(std::string* pattern) const in unquote()
2161 size_t len = pattern->length(); in unquote()
2169 switch ((*pattern)[i]) in unquote()
2182 (*pattern)[j] = (*pattern)[i]; in unquote()
2242 if (exp.pattern.length() == 1 && exp.pattern[0] == '*') in build_expression_list_lookup()
2259 std::string pattern = exp.pattern; in build_expression_list_lookup() local
2262 if (this->unquote(&pattern)) in build_expression_list_lookup()
2271 this->add_exact_match(pattern, v, is_global, &exp, in build_expression_list_lookup()
[all …]
Dscript-sections.cc1261 std::string pattern; member
1267 : pattern(patterna, patternlena), in Input_section_pattern()
1268 pattern_is_wildcard(is_wildcard_string(this->pattern.c_str())), in Input_section_pattern()
1282 match(const char* string, const char* pattern, bool is_wildcard_pattern) in match() argument
1285 ? fnmatch(pattern, string, 0) == 0 in match()
1286 : strcmp(string, pattern) == 0); in match()
1419 if (match(section_name, p->pattern.c_str(), p->pattern_is_wildcard)) in match_name()
1614 if (match(isi.section_name().c_str(), isp.pattern.c_str(), in set_section_addresses()
1786 fprintf(f, "%s", p->pattern.c_str()); in print()
/toolchain/binutils/binutils-2.25/ld/
Dldlang.c121 #define wildcardp(pattern) (strpbrk ((pattern), "?*[") != NULL) argument
141 name_match (const char *pattern, const char *name) in name_match() argument
143 if (wildcardp (pattern)) in name_match()
144 return fnmatch (pattern, name, 0); in name_match()
145 return strcmp (pattern, name); in name_match()
152 archive_path (const char *pattern) in archive_path() argument
159 p = strchr (pattern, link_info.path_separator); in archive_path()
166 if (p == pattern + 1 && ISALPHA (*pattern)) in archive_path()
354 match_simple_wild (const char *pattern, const char *name) in match_simple_wild() argument
358 if (pattern[0] != name[0] || pattern[1] != name[1] in match_simple_wild()
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Dns32k-dis.c100 char *pattern; /* The option itself. */ member
228 for (; (options != 0) && optionP->pattern; optionP++) in optlist()
233 strcat (result, optionP->pattern); in optlist()
249 for (; optionP->pattern; optionP++) in list_search()
253 sprintf (result, "%s", optionP->pattern); in list_search()
Daarch64-gen.c398 static char pattern[33] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; in print_decision_tree_1() local
407 indented_print (indent, " %s\n", pattern); in print_decision_tree_1()
418 pattern[bittree->bitno] = '0'; in print_decision_tree_1()
423 pattern[bittree->bitno] = '1'; in print_decision_tree_1()
426 pattern[bittree->bitno] = 'x'; in print_decision_tree_1()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/
Dtemplate35 # to see. Since each pattern explicitly will not span line breaks, there's
36 # also a pattern for lines that don't match anything else. (Is it safe to
39 # pattern is even needed.
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-nds32.c3671 struct nds32_relocs_pattern *pattern; member
3720 new->pattern = relocs; in nds32_relax_hint()
4336 group->pattern, fragP); in nds32_elf_build_relax_relation()
4392 nds32_elf_sethi_range (struct nds32_relocs_pattern *pattern) in nds32_elf_sethi_range() argument
4395 while (pattern) in nds32_elf_sethi_range()
4397 switch (pattern->opcode->value) in nds32_elf_sethi_range()
4438 pattern = pattern->next; in nds32_elf_sethi_range()
4676 struct nds32_relocs_pattern *pattern, *hi_pattern = NULL; in nds32_find_reloc_table() local
4691 pattern = relocs_pattern; in nds32_find_reloc_table()
4692 while (pattern) in nds32_find_reloc_table()
[all …]
Dtc-ns32k.c105 char *pattern; member
813 for (i = 0; optionP[i].pattern != 0; i++) in optlist()
815 strlen2 = strlen (optionP[i].pattern); in optlist()
819 patternP = optionP[i].pattern; in optlist()
849 for (i = 0; optionP[i].pattern != 0; i++) in list_search()
851 if (!strncmp (optionP[i].pattern, str, 20)) in list_search()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/
Dbundle-lock.s4 # We use these macros to test each pattern at every offset from
Dbundle.s4 # We use these macros to test each pattern at every offset from
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dppc64elf.em562 /* Add a pattern matching ".foo" for every "foo" in a version script.
588 || entry->pattern[0] == '.'
589 || (!entry->literal && entry->pattern[0] == '*'))
595 len = strlen (entry->pattern) + 2;
598 memcpy (dot_pat + 1, entry->pattern, len - 1);
599 dot_entry->pattern = dot_pat;
730 --dotsyms For every version pattern \"foo\" in a version\n\
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/
Dbundle-lock.s3 # We use these macros to test each pattern at every offset from

12345