| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_panel_orientation_quirks.c | 152 .matches = { 158 .matches = { 164 .matches = { 170 .matches = { 176 .matches = { 182 .matches = { 188 .matches = { 194 .matches = { 200 .matches = { 206 .matches = { [all …]
|
| /openbsd/src/gnu/lib/libreadline/ |
| D | complete.c | 781 char **matches, *temp; local 788 matches = (*rl_attempted_completion_function) (text, start, end); 790 if (matches || rl_attempted_completion_over) 793 return (matches); 810 matches = rl_completion_matches (text, our_func); 812 return matches; 818 remove_duplicate_matches (matches) in remove_duplicate_matches() argument 819 char **matches; in remove_duplicate_matches() 827 for (i = 0; matches[i]; i++) 833 qsort (matches+1, i-1, sizeof (char *), (QSFUNC *)_rl_qsort_string_compare); [all …]
|
| /openbsd/src/lib/libedit/ |
| D | filecomplete.c | 265 size_t matches; in completion_matches() local 267 matches = 0; in completion_matches() 269 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) { in completion_matches() 271 if (matches + 3 >= match_list_len) { in completion_matches() 273 while (matches + 3 >= match_list_len) in completion_matches() 284 match_list[++matches] = retstr; in completion_matches() 294 for (; which <= matches; which++) { in completion_matches() 311 match_list[matches + 1] = NULL; in completion_matches() 337 fn_display_match_list (EditLine *el, char **matches, size_t num, size_t width) in fn_display_match_list() argument 343 matches++; in fn_display_match_list() [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-cov/ |
| D | CoverageFilters.cpp | 20 bool NameCoverageFilter::matches( in matches() function in NameCoverageFilter 27 bool NameRegexCoverageFilter::matches( in matches() function in NameRegexCoverageFilter 37 bool NameAllowlistCoverageFilter::matches( in matches() function in NameAllowlistCoverageFilter 43 bool RegionCoverageFilter::matches( in matches() function in RegionCoverageFilter 50 bool LineCoverageFilter::matches( in matches() function in LineCoverageFilter 61 bool CoverageFilters::matches(const coverage::CoverageMapping &CM, in matches() function in CoverageFilters 64 if (Filter->matches(CM, Function)) in matches() 78 bool CoverageFiltersMatchAll::matches( in matches() function in CoverageFiltersMatchAll 82 if (!Filter->matches(CM, Function)) in matches()
|
| D | CoverageFilters.h | 34 virtual bool matches(const coverage::CoverageMapping &CM, in matches() function 52 bool matches(const coverage::CoverageMapping &CM, 63 bool matches(const coverage::CoverageMapping &CM, 78 bool matches(const coverage::CoverageMapping &CM, 115 bool matches(const coverage::CoverageMapping &CM, 127 bool matches(const coverage::CoverageMapping &CM, 144 bool matches(const coverage::CoverageMapping &CM, 155 bool matches(const coverage::CoverageMapping &CM,
|
| /openbsd/src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| D | ASTMatchers.h | 732 InnerMatcher.matches(*Initializer, Finder, Builder)); in AST_MATCHER_P() 755 InnerMatcher.matches(*Decl, Finder, Builder)); in AST_MATCHER_P() 894 return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder); in AST_MATCHER_P() 924 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P() 945 return InnerMatcher.matches(*Node.IgnoreParenCasts(), Finder, Builder); in AST_MATCHER_P() 971 return InnerMatcher.matches(*Node.IgnoreParenImpCasts(), Finder, Builder); in AST_MATCHER_P() 987 return InnerMatcher.matches(Node.IgnoreParens(), Finder, Builder); 1004 return InnerMatcher.matches(*E, Finder, Builder); 1077 return InnerMatcher.matches(List[N], Finder, Builder); in AST_POLYMORPHIC_MATCHER_P2() 1112 return InnerMatcher.matches(Node.getAsType(), Finder, Builder); in AST_MATCHER_P() [all …]
|
| D | ASTMatchersMacros.h | 100 bool matches(const Type &Node, \ 110 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 140 bool matches(const Type &Node, \ 156 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \ 189 bool matches(const Type &Node, \ 208 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \ 236 bool matches(const NodeType &Node, \ 249 bool internal::matcher_##DefineMatcher##Matcher<NodeType>::matches( \ 278 bool matches(const NodeType &Node, \ 300 matcher_##DefineMatcher##OverloadId##Matcher<NodeType, ParamT>::matches( \ [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/re/ |
| D | keep_tabs.t | 12 like("a", qr/[a b]/xx, '"a" matches qr/[a b]/xx'); 13 like("b", qr/[a b]/xx, '"b" matches qr/[a b]/xx'); 14 like("\t", qr/[a\ b]/xx, '"\t" matches qr/[a\ b]/xx'); 15 like("a", qr/[a\ b]/xx, '"a" matches qr/[a\ b]/xx'); 16 like("b", qr/[a\ b]/xx, '"b" matches qr/[a\ b]/xx'); 20 like("a", qr/(?xx:[a b])/, '"a" matches qr/(?xx:[a b])/'); 21 like("b", qr/(?xx:[a b])/, '"b" matches qr/(?xx:[a b])/'); 22 like("\t", qr/(?xx:[a\ b])/, '"\t" matches qr/(?xx:[a\ b])/'); 23 like("a", qr/(?xx:[a\ b])/, '"a" matches qr/(?xx:[a\ b])/'); 24 like("b", qr/(?xx:[a\ b])/, '"b" matches qr/(?xx:[a\ b])/');
|
| /openbsd/src/gnu/usr.bin/perl/pod/ |
| D | perlrequick.pod | 19 characters. A regex consisting of a word matches any string that 22 "Hello World" =~ /World/; # matches 28 our case, C<World> matches the second word in C<"Hello World">, so the 33 print "It matches\n" if "Hello World" =~ /World/; 42 print "It matches\n" if "Hello World" =~ /$greeting/; 47 print "It matches\n" if /World/; 52 "Hello World" =~ m!World!; # matches, delimited by '!' 53 "Hello World" =~ m{World}; # matches, note the matching '{}' 54 "/usr/bin/perl" =~ m"/perl"; # matches after '/usr/bin', 61 "Hello World" =~ /o W/; # matches, ' ' is an ordinary char [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | interps.c | 422 char **matches; in interpreter_completer() local 429 matches = (char **) xmalloc (alloced * sizeof (char *)); in interpreter_completer() 437 matches[num_matches] = in interpreter_completer() 440 strcpy (matches[num_matches], interp->name); in interpreter_completer() 444 strcpy (matches[num_matches], interp->name + (word - text)); in interpreter_completer() 449 strncpy (matches[num_matches], word, text - word); in interpreter_completer() 450 matches[num_matches][text - word] = '\0'; in interpreter_completer() 451 strcat (matches[num_matches], interp->name); in interpreter_completer() 459 xfree (matches); in interpreter_completer() 460 matches = NULL; in interpreter_completer() [all …]
|
| /openbsd/src/gnu/llvm/lldb/source/Commands/ |
| D | CommandObjectHelp.cpp | 101 StringList matches; in DoExecute() local 103 cmd_obj = m_interpreter.GetCommandObject(command_name, &matches); in DoExecute() 106 StringList matches; in DoExecute() local 114 matches.Clear(); in DoExecute() 124 sub_cmd_obj->GetSubcommandObject(sub_command.c_str(), &matches); in DoExecute() 125 if (found_cmd == nullptr || matches.GetSize() > 1) { in DoExecute() 136 if (matches.GetSize() >= 2) { in DoExecute() 139 size_t num_matches = matches.GetSize(); in DoExecute() 141 s.Printf("\n\t%s", matches.GetStringAtIndex(match_idx)); in DoExecute() 174 } else if (matches.GetSize() > 0) { in DoExecute() [all …]
|
| D | CommandObjectMultiword.cpp | 43 StringList *matches) { in GetSubcommandSP() argument 49 if (matches) in GetSubcommandSP() 50 matches->AppendString(sub_cmd); in GetSubcommandSP() 57 if (matches == nullptr) in GetSubcommandSP() 58 matches = &local_matches; in GetSubcommandSP() 60 AddNamesMatchingPartialString(m_subcommand_dict, sub_cmd, *matches); in GetSubcommandSP() 66 sub_cmd = matches->GetStringAtIndex(0); in GetSubcommandSP() 77 StringList *matches) { in GetSubcommandObject() argument 78 return GetSubcommandSP(sub_cmd, matches).get(); in GetSubcommandObject() 183 StringList matches; in Execute() local [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/autodie/t/ |
| D | mkdir.t | 49 ok($@->matches("mkdir"), "... it's also a mkdir object"); 50 ok($@->matches(":filesys"), "... and a filesys object"); 60 ok($@->matches("mkdir"), "... it's also a mkdir object"); 61 ok($@->matches(":filesys"), "... and a filesys object"); 81 ok($@->matches("rmdir"), "... it's also a rmdir object"); 82 ok($@->matches(":filesys"), "... and a filesys object");
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_lvds.c | 530 .matches = { 538 .matches = { 546 .matches = { 554 .matches = { 562 .matches = { 570 .matches = { 578 .matches = { 586 .matches = { 594 .matches = { 602 .matches = { [all …]
|
| /openbsd/src/regress/lib/libcrypto/ige/ |
| D | igetest.c | 189 unsigned matches; in main() local 278 matches=0; in main() 281 ++matches; in main() 283 if(matches > sizeof checktext/2+sizeof checktext/100) in main() 289 if(matches < sizeof checktext/2) in main() 308 matches=0; in main() 311 ++matches; in main() 313 if(matches > sizeof checktext/100) in main() 332 matches=0; in main() 335 ++matches; in main() [all …]
|
| /openbsd/src/gnu/llvm/lldb/examples/python/ |
| D | bsd.py | 138 matches = [] 141 matches.append(obj) 142 return matches 238 matches = archive.find(object_name) 239 if matches: 240 for object in matches: 254 matches = archive.find(object_name) 255 if matches: 256 for object in matches: 346 matches = archive.find(options.object_name, options.mtime) [all …]
|
| /openbsd/src/usr.bin/what/ |
| D | what.c | 45 static int matches; variable 63 matches = sflag = 0; in main() 85 exit(matches ? 0 : 1); in main() 90 exit(matches ? 0 : 1); in main() 111 matches++; in search() 129 matches++; in search()
|
| /openbsd/src/gnu/llvm/clang/lib/Driver/ToolChains/Arch/ |
| D | Sparc.cpp | 88 if (A->getOption().matches(options::OPT_msoft_float) || in getSparcFloatABI() 89 A->getOption().matches(options::OPT_mno_fpu)) in getSparcFloatABI() 91 else if (A->getOption().matches(options::OPT_mhard_float) || in getSparcFloatABI() 92 A->getOption().matches(options::OPT_mfpu)) in getSparcFloatABI() 150 if (A->getOption().matches(options::OPT_mfsmuld)) in getSparcTargetFeatures() 157 if (A->getOption().matches(options::OPT_mpopc)) in getSparcTargetFeatures() 164 if (A->getOption().matches(options::OPT_mvis)) in getSparcTargetFeatures() 171 if (A->getOption().matches(options::OPT_mvis2)) in getSparcTargetFeatures() 178 if (A->getOption().matches(options::OPT_mvis3)) in getSparcTargetFeatures() 186 if (A->getOption().matches(options::OPT_mhard_quad_float)) in getSparcTargetFeatures()
|
| D | Mips.cpp | 158 if (A->getOption().matches(options::OPT_msoft_float)) in getMipsFloatABI() 160 else if (A->getOption().matches(options::OPT_mhard_float)) in getMipsFloatABI() 238 (O.matches(options::OPT_fno_PIC) || O.matches(options::OPT_fno_pic) || in getMIPSTargetFeatures() 239 O.matches(options::OPT_fno_PIE) || O.matches(options::OPT_fno_pie)); in getMIPSTargetFeatures() 241 (O.matches(options::OPT_fPIC) || O.matches(options::OPT_fpic) || in getMIPSTargetFeatures() 242 O.matches(options::OPT_fPIE) || O.matches(options::OPT_fpie)); in getMIPSTargetFeatures() 250 !ABICallsArg || ABICallsArg->getOption().matches(options::OPT_mabicalls); in getMIPSTargetFeatures() 268 if (A->getOption().matches(options::OPT_mno_long_calls)) in getMIPSTargetFeatures() 277 if (A->getOption().matches(options::OPT_mxgot)) in getMIPSTargetFeatures() 352 if (A->getOption().matches(options::OPT_mfp32)) in getMIPSTargetFeatures() [all …]
|
| D | LoongArch.cpp | 32 if (A->getOption().matches(options::OPT_mdouble_float)) in getLoongArchABI() 34 if (A->getOption().matches(options::OPT_msingle_float)) in getLoongArchABI() 36 if (A->getOption().matches(options::OPT_msoft_float)) in getLoongArchABI() 90 if (A->getOption().matches(options::OPT_mdouble_float)) { in getLoongArchTargetFeatures() 93 } else if (A->getOption().matches(options::OPT_msingle_float)) { in getLoongArchTargetFeatures()
|
| /openbsd/src/usr.bin/mg/ |
| D | cscope.c | 49 TAILQ_HEAD(matches, csmatch) matches; 236 curmatch = TAILQ_FIRST(&r->matches); in csnextmatch() 246 curmatch = TAILQ_FIRST(&currecord->matches); in csnextmatch() 266 m = TAILQ_PREV(curmatch, matches, entry); in csprevmatch() 276 curmatch = TAILQ_LAST(&currecord->matches, in csprevmatch() 277 matches); in csprevmatch() 302 curmatch = TAILQ_FIRST(&currecord->matches); in csnextfile() 324 curmatch = TAILQ_FIRST(&currecord->matches); in csprevfile() 463 TAILQ_INIT(&r->matches); in addentry() 467 TAILQ_INSERT_TAIL(&r->matches, m, entry); in addentry() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ |
| D | doop.c | 41 Size_t matches = 0; in S_do_trans_simple() local 57 matches++; in S_do_trans_simple() 85 matches++; in S_do_trans_simple() 107 __FILE__, __LINE__, matches)); in S_do_trans_simple() 109 return matches; in S_do_trans_simple() 131 Size_t matches = 0; in S_do_trans_count() local 143 matches++; in S_do_trans_count() 153 matches++; in S_do_trans_count() 155 matches++; in S_do_trans_count() 161 __FILE__, __LINE__, matches)); in S_do_trans_count() [all …]
|
| /openbsd/src/gnu/llvm/lldb/bindings/interface/ |
| D | SBValueList.i | 155 matches = [] 159 matches.append(value) 160 return matches 165 matches = [] 170 matches.append(value) 171 return matches
|
| D | SBModule.i | 421 matches = [] 426 matches.append(symbol) 427 return matches 429 matches = [] 437 matches.append(symbol) 444 matches.append(symbol) 445 return matches 487 matches = [] 494 matches.append(section) 495 return matches [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/cli/ |
| D | cli-decode.c | 1487 int matches; in complete_on_cmdlist() local 1492 matches = 0; in complete_on_cmdlist() 1500 if (matches == sizeof_matchlist) in complete_on_cmdlist() 1508 matchlist[matches] = (char *) in complete_on_cmdlist() 1511 strcpy (matchlist[matches], ptr->name); in complete_on_cmdlist() 1515 strcpy (matchlist[matches], ptr->name + (word - text)); in complete_on_cmdlist() 1520 strncpy (matchlist[matches], word, text - word); in complete_on_cmdlist() 1521 matchlist[matches][text - word] = '\0'; in complete_on_cmdlist() 1522 strcat (matchlist[matches], ptr->name); in complete_on_cmdlist() 1524 ++matches; in complete_on_cmdlist() [all …]
|