/freebsd-10-stable/contrib/libarchive/tar/ |
H A D | subst.c | 214 regmatch_t matches[10]; local 241 if (regexec(&rule->re, name, 10, matches, 0)) 246 realloc_strncat(result, name, matches[0].rm_so); 252 name + matches[0].rm_so, 253 matches[0].rm_eo - matches[0].rm_so); 283 realloc_strncat(result, name + matches[c - '0'].rm_so, matches[c - '0'].rm_eo - matches[c - '0'].rm_so); 295 name += matches[ [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersMacros.h | 30 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); 50 /// The code should return true if 'Node' matches. 56 virtual bool matches(const Type &Node, ASTMatchFinder *Finder, \ 64 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 80 /// The code should return true if 'Node' matches. 93 virtual bool matches(const Type &Node, ASTMatchFinder *Finder, \ 106 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \ 123 /// The code should return true if 'Node' matches. 138 virtual bool matches(const Type &Node, ASTMatchFinder *Finder, \ 154 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \ [all...] |
H A D | ASTMatchersInternal.h | 145 /// \brief Visits all matches that this BoundNodesTree represents. 184 virtual bool matches(const T &Node, 194 /// \brief Returns true if the matcher matches the provided node. 201 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::SingleNodeMatcherInterface 244 bool matches(const T &Node, function in class:clang::ast_matchers::internal::Matcher 247 if (Implementation->matches(Node, Finder, Builder)) 267 /// does only matches in the absence of qualifiers, or not, i.e. simply 275 virtual bool matches(const QualType &Node, function in class:clang::ast_matchers::internal::Matcher::TypeToQualType 280 return InnerMatcher.matches(*Node, Finder, Builder); 295 virtual bool matches(cons function in class:clang::ast_matchers::internal::Matcher::ImplicitCastMatcher 335 bool matches(const ast_type_traits::DynTypedNode DynNode, function in class:clang::ast_matchers::internal::DynTypedMatcher 461 bool matches(const T &Node, ASTMatchFinder *Finder, function in class:clang::ast_matchers::internal::DynTypedMatcher::WrappedMatcher 594 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasDeclarationMatcher 1036 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::IdMatcher 1083 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasMatcher 1109 virtual bool matches(const T& Node, function in class:clang::ast_matchers::internal::ForEachMatcher 1133 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::NotMatcher 1175 virtual bool matches(const T &Node, ASTMatchFinder *Finder, function in class:clang::ast_matchers::internal::VariadicOperatorMatcherInterface 1329 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasDescendantMatcher 1352 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasParentMatcher 1375 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::HasAncestorMatcher 1401 virtual bool matches(const T& Node, function in class:clang::ast_matchers::internal::ForEachDescendantMatcher 1481 virtual bool matches(const TLoc &Node, function in class:clang::ast_matchers::internal::LocMatcher 1506 virtual bool matches(const TypeLoc &Node, function in class:clang::ast_matchers::internal::TypeLocTypeMatcher 1528 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::TypeTraverseMatcher 1552 virtual bool matches(const T &Node, function in class:clang::ast_matchers::internal::TypeLocTraverseMatcher [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 45 if (!InnerMatchers[i].matches(DynNode, Finder, Builder)) 59 if (InnerMatchers[i].matches(DynNode, Finder, &BuilderInner)) { 74 if (InnerMatchers[i].matches(DynNode, Finder, &Result)) {
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Utility/ |
H A D | SharingPtr.cpp | 97 uint32_t matches = 0; local 103 ++matches; 108 if (matches == 0)
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Interpreter/ |
H A D | CommandObjectRegexCommand.cpp | 129 StringList &matches) 141 matches); 142 return matches.GetSize(); 146 matches.Clear(); 123 HandleCompletion(Args &input, int &cursor_index, int &cursor_char_position, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
|
H A D | OptionValueFileSpec.cpp | 133 StringList &matches) 136 matches.Clear(); 144 matches); 145 return matches.GetSize(); 128 AutoComplete(CommandInterpreter &interpreter, const char *s, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument
|
/freebsd-10-stable/contrib/gcc/ |
H A D | genopinit.c | 235 /* See if NAME matches one of the patterns we have for the optabs we know 242 int matches = 1; local 247 for (pp += 2, np = name; matches && ! (pp[0] == '$' && pp[1] == ')'); 289 matches = 0; 321 matches = 0; 335 if (matches && pp[0] == '$' && pp[1] == ')'
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/regex/ |
H A D | t_regex_att.c | 357 checkmatches(const char *matches, size_t nm, const regmatch_t *pm, argument 364 size_t len = strlen(matches) + 1, off = 0; 366 ATF_REQUIRE((res = strdup(matches)) != NULL); 378 ATF_CHECK_STREQ_MSG(res, matches, " at line %zu", lineno); 400 char *name, *pattern, *input, *matches, *comment; local 452 ATF_REQUIRE_MSG((matches = strtok(NULL, sep)) != NULL, 453 "Missing matches at line %zu", lineno); 485 if (*matches != '(') { 486 geterror(matches, &comp, &exec); 491 nm = getmatches(matches); [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Commands/ |
H A D | CommandObjectSettings.cpp | 160 StringList &matches) 183 matches); 208 matches); 213 return matches.GetSize(); 335 StringList &matches) 346 matches); 347 return matches.GetSize(); 427 StringList &matches) 438 matches); 439 return matches 153 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 328 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 420 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 527 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 662 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 783 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 907 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 1021 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument 1123 HandleArgumentCompletion(Args &input, int &cursor_index, int &cursor_char_position, OptionElementVector &opt_element_vector, int match_start_point, int max_return_elements, bool &word_complete, StringList &matches) argument [all...] |
H A D | CommandObjectHelp.h | 42 StringList &matches);
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/ |
H A D | FileSpecList.cpp | 103 // Find the index of the file in the file spec list that matches 106 // Returns the valid index of the file that matches "file_spec" if 188 FileSpecList::GetFilesMatchingPartialPath (const char *path, bool dir_okay, FileSpecList &matches) argument 191 matches.Clear(); 204 matches.Append (path_spec);
|
H A D | StringList.cpp | 309 StringList::AutoComplete (const char *s, StringList &matches, size_t &exact_idx) const argument 311 matches.Clear(); 323 exact_idx = matches.GetSize(); 324 matches.AppendString (m_strings[i]); 330 // No string, so it matches everything 331 matches = *this; 333 return matches.GetSize();
|
/freebsd-10-stable/tools/tools/vt/keymaps/ |
H A D | convert-keymap.pl | 98 $line =~ s/'''/'_squote_'/g; # remove quoted single quotes from matches below 100 my $matches; 102 $matches = ($line =~ s/^([^']*)'([^']+)'/$1_squoteL_$2_squoteR_/g); 103 } while $matches;
|
/freebsd-10-stable/contrib/apr-util/dbd/ |
H A D | apr_dbd_freetds.c | 399 regmatch_t matches[3]; local 400 if (regexec(&dbd_freetds_find_arg, query, 3, matches, 0) != 0) { 410 int len = matches[1].rm_eo - matches[1].rm_so - 2; 415 ret = recurse_args(pool, n+1, query+matches[0].rm_eo, 416 stmt, offs+matches[0].rm_eo); 418 memmove(stmt->fmt + offs + matches[1].rm_so, 419 stmt->fmt + offs + matches[0].rm_eo-1, 420 strlen(stmt->fmt+offs+matches[0].rm_eo)+2); 423 if (matches[ [all...] |
/freebsd-10-stable/contrib/gdb/gdb/cli/ |
H A D | cli-decode.c | 893 list element which the text matches. It will return NULL if no match at 895 matches are possible; in this case *RESULT_LIST will be set to point to 908 "info" matches without ambiguity, but "a" could be "args" or "address", so 989 /* If nothing matches, we have a simple failure. */ 1405 int matches; 1410 matches = 0; 1418 if (matches == sizeof_matchlist) 1426 matchlist[matches] = (char *) 1429 strcpy (matchlist[matches], ptr->name); 1433 strcpy (matchlist[matches], pt 1401 int matches; local 1473 int matches; local [all...] |
/freebsd-10-stable/contrib/libreadline/examples/ |
H A D | rl-fgets.c | 282 /* generate a list of partial name matches for readline() */ 315 char ** matches ; 316 matches = NULL ; 318 matches = rl_completion_matches ( text, my_fgets_generator ) ; 320 return ( matches ) ; 306 char ** matches ; local
|
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Interpreter/ |
H A D | CommandObjectRegexCommand.h | 58 StringList &matches);
|
H A D | OptionValueUUID.h | 98 StringList &matches);
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Breakpoint/ |
H A D | BreakpointResolver.cpp | 83 bool matches; local 89 matches = true; 93 matches = (sc.line_entry.file == match_file_spec); 95 if (matches)
|
/freebsd-10-stable/crypto/heimdal/kcm/ |
H A D | client.c | 164 int matches = sscanf(name,"%ld:",&uid); local 165 if (matches == 0) 166 matches = sscanf(name,"%ld",&uid); 167 if (matches == 1) {
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Driver/ |
H A D | SanitizerArgs.cpp | 142 if (BLArg->getOption().matches(options::OPT_fsanitize_blacklist)) { 300 if (A->getOption().matches(options::OPT_faddress_sanitizer)) { 303 } else if (A->getOption().matches(options::OPT_fno_address_sanitizer)) { 306 } else if (A->getOption().matches(options::OPT_fthread_sanitizer)) { 309 } else if (A->getOption().matches(options::OPT_fno_thread_sanitizer)) { 312 } else if (A->getOption().matches(options::OPT_fcatch_undefined_behavior)) { 316 } else if (A->getOption().matches(options::OPT_fbounds_checking) || 317 A->getOption().matches(options::OPT_fbounds_checking_EQ)) { 320 } else if (A->getOption().matches(options::OPT_fsanitize_EQ)) { 322 } else if (A->getOption().matches(option [all...] |
/freebsd-10-stable/lib/libdevstat/ |
H A D | devstat.c | 503 * - compiled version of the command line device type arguments (matches) 548 int numdevs, struct devstat_match *matches, int num_matches, 727 if ((matches[i].match_fields == DEVSTAT_MATCH_NONE) 728 || (matches[i].num_match_categories <= 0)) 734 num_match_categories = matches[i].num_match_categories; 738 * matches the given matching expression. This if 749 if ((((matches[i].match_fields & DEVSTAT_MATCH_TYPE)!=0) 751 (matches[i].device_type & DEVSTAT_TYPE_MASK)) 752 &&(((matches[i].match_fields & DEVSTAT_MATCH_PASS)!=0) 753 || (((matches[ 545 devstat_selectdevs(struct device_selection **dev_select, int *num_selected, int *num_selections, long *select_generation, long current_generation, struct devstat *devices, int numdevs, struct devstat_match *matches, int num_matches, char **dev_selections, int num_dev_selections, devstat_select_mode select_mode, int maxshowdevs, int perf_select) argument 1023 devstat_buildmatch(char *match_str, struct devstat_match **matches, int *num_matches) argument [all...] |
/freebsd-10-stable/usr.bin/systat/ |
H A D | devs.c | 91 struct devstat_match *matches = NULL; variable in typeref:struct:devstat_match 107 * Make sure that the userland devstat version matches the kernel 159 (last_type ==DS_MATCHTYPE_PATTERN) ? matches : NULL, 217 free(matches); 218 matches = NULL; 223 if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { 234 s1->dinfo->devices, num_devices, matches, num_matches,
|
/freebsd-10-stable/usr.bin/grep/ |
H A D | util.c | 267 * matches. The matching lines are passed to printline() to display the 273 regmatch_t matches[MAX_LINE_MATCHES]; local 325 matches[m++] = pmatch; 326 /* matches - skip further patterns */ 338 /* One pass if we are not recording matches */ 343 break; /* No matches */ 347 /* Count the matches if we have a match limit */ 366 printline(l, ':', matches, m); 368 printline(l, '-', matches, m); 437 printline(struct str *line, int sep, regmatch_t *matches, in argument [all...] |