Searched refs:matches (Results 51 - 75 of 382) sorted by relevance

1234567891011>>

/macosx-10.10.1/libarchive-30/libarchive/tar/
H A Dsubst.c189 regmatch_t matches[10]; local
206 if (regexec(&rule->re, name, 10, matches, 0))
211 realloc_strncat(result, name, matches[0].rm_so);
216 realloc_strncat(result, name, matches[0].rm_eo);
246 realloc_strncat(result, name + matches[c - '0'].rm_so, matches[c - '0'].rm_eo - matches[c - '0'].rm_so);
258 name += matches[0].rm_eo;
/macosx-10.10.1/tcl-105/tcl_ext/tclxml/tcldom/library/
H A Dxmlswitch.tcl332 # Check all templates for one which matches
340 # If a template matches, its script is evaluated
348 set matches {}
367 lappend matches [list $path $script]
379 lappend matches [list $path $script]
409 # TODO: If there are multiple matches then we must pick the
412 if {[llength $matches] > 1} {
414 set matches [list [lindex $matches 0]]
417 if {[llength $matches]} {
[all...]
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dregex.c57 regmatch_t *m, *matches = NULL; local
91 matches = zalloc(matchessz);
92 r = regexec(&re, lhstr, re.re_nsub+1, matches, reflags);
108 for (m = matches + start, n = start; n <= (int)re.re_nsub; ++n, ++m, ++x) {
119 m = matches;
146 for (m = matches + start, n = 0;
186 if (matches)
187 zfree(matches, matchessz);
/macosx-10.10.1/rsync-45/rsync/
H A Dwildtest.c54 run_test(int line, bool matches, bool same_as_fnmatch, argument
90 if (matched != matches) {
92 line, text, pattern, matches? "a" : "NO");
96 if (fn_matched != (matches ^ !same_as_fnmatch)) {
98 line, text, pattern, matches ^ !same_as_fnmatch? "a" : "NO");
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Ddictionarydata.h61 * Wrapper class around generic dictionaries, implementing matches().
70 // this should emulate CompactTrieDictionary::matches()
71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
H A Dunifilt.cpp36 * Default implementation of UnicodeMatcher::matches() for Unicode
40 UMatchDegree UnicodeFilter::matches(const Replaceable& text, function in class:UnicodeFilter
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Models/
H A DTextRange.js112 var matches = text.match(/\n/g);
113 return matches ? matches.length : 0;
/macosx-10.10.1/ruby-106/ruby/lib/rexml/
H A Dentity.rb68 def Entity::matches? string
138 matches = @value.scan(PEREFERENCE_RE)
141 matches.each do |entity_reference|
/macosx-10.10.1/apr-32/apr-util/apr-util/dbd/
H A Dapr_dbd_freetds.c399 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...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dquant.h70 virtual UMatchDegree matches(const Replaceable& text,
87 * @return true if this rule matches the given index value.
/macosx-10.10.1/Security-57031.1.35/securityd/src/
H A Dacls.cpp173 unsigned matches = 0; local
178 matches++;
182 matches, sizeof(prototypicalDotMacPath) / sizeof(char *) - 1, threshold);
183 return matches >= threshold;
/macosx-10.10.1/WebKit-7600.1.25/win/
H A DWebUserContentURLPattern.h53 virtual HRESULT STDMETHODCALLTYPE matchesSubdomains(BOOL* matches);
/macosx-10.10.1/WebKit2-7600.1.25/Shared/
H A DWebUserContentURLPattern.h47 bool matchesURL(const String& url) const { return m_pattern.matches(WebCore::URL(WebCore::ParsedURLString, url)); }
/macosx-10.10.1/ruby-106/ruby/lib/rubygems/
H A Dspec_fetcher.rb164 matches = names.map { |n|
176 matches = matches.uniq.sort_by { |name, dist| dist }
178 matches.first(5).map { |name, dist| name }
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A DtclRegexp.c253 } else if (regexpPtr->matches[index].rm_so < 0) {
261 *startPtr = Tcl_UtfAtIndex(string, regexpPtr->matches[index].rm_so);
262 *endPtr = Tcl_UtfAtIndex(string, regexpPtr->matches[index].rm_eo);
295 int nmatches, /* How many subexpression matches (counting
310 &regexpPtr->details, nm, regexpPtr->matches, flags);
372 *startPtr = regexpPtr->matches[index].rm_so;
373 *endPtr = regexpPtr->matches[index].rm_eo;
383 * See if a string matches a regular expression.
388 * return value is 1 if "text" matches "pattern" and 0 otherwise.
399 const char *text, /* Text to search for pattern matches
[all...]
/macosx-10.10.1/WebKit-7600.1.25/mac/Misc/
H A DWebUserContentURLPattern.mm86 return _private->pattern.matches(url);
/macosx-10.10.1/apache-793/httpd/server/
H A Drequest.c643 /* If we have a file already matches the path of r->filename,
730 int matches = cache->walked->nelts; local
731 int cached_matches = matches;
902 /* No more possible matches for this many segments?
931 if (matches) {
935 --matches;
940 * so truncate the remaining matches and reset remaining.
942 cache->walked->nelts -= matches;
943 matches = 0;
999 if (matches) {
1406 int matches = cache->walked->nelts; local
1617 int matches = cache->walked->nelts; local
1751 int matches; local
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/readline/
H A Dreadline.c754 * The index in +Readline.line_buffer+ which matches the start of
776 long i, matches; local
793 matches = RARRAY_LEN(ary);
794 if (matches == 0) return NULL;
795 result = (char**)malloc((matches + 2)*sizeof(char*));
799 for (i = 0; i < matches; i++) {
807 result[matches + 1] = NULL;
809 if (matches == 1) {
816 for (i = 1; i < matches; ++i) {
1659 char **matches; local
1684 char **matches; local
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/eshell/
H A Dem-glob.el62 ;; The glob above matches all of the files beneath '/tmp' that are
191 ? . matches any single character
192 * .* matches any group of characters (or none)
193 # * matches zero or more occurrences of preceding
194 ## + matches one or more occurrences of preceding
197 [a-b] [a-b] matches a character or range
252 matches message-shown ange-cache)
261 (or (and matches (nreverse matches))
263 (error "No matches foun
[all...]
/macosx-10.10.1/CPANInternal-159.1/DateTime-Format-Builder-0.81/lib/DateTime/Format/Builder/Parser/
H A DRegex.pm47 my @matches = $date =~ $self->{regex};
48 return @matches ? \@matches : undef;
53 my ( $date, $matches, $p ) = @_;
56 @{$p}{ @{ $self->{params} } } = @$matches;
/macosx-10.10.1/IOKitUser-1050.1.21/
H A DIOCFPlugIn.c95 boolean_t matches; local
193 kr = IOServiceMatchPropertyTable( service, matching, &matches );
195 matches = FALSE;
197 matches = TRUE;
200 if ( matches ) {
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/acl/
H A Dgssacl.c41 AclRegexMatches *matches /* offsets in buffer for $N expansion variables */
144 regmatch_t *matches,
191 AC_MEMCPY( amatches.dn_data, matches, sizeof( amatches.dn_data ) );
279 AclRegexMatches *matches /* offsets in buffer for $N expansion variables */
294 acl_string_expand( &bv, pat, dn_matches, val_matches, matches );
313 rc, !rc ? "matches" : "no matches", 0 );
137 gssattr_dynacl_mask( void *priv, Operation *op, Entry *target, AttributeDescription *desc, struct berval *val, int nmatch, regmatch_t *matches, slap_access_t *grant, slap_access_t *deny ) argument
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Dacl.c55 AclRegexMatches *matches,
66 AclRegexMatches *matches,
74 AclRegexMatches *matches);
155 AclRegexMatches matches; local
240 MATCHES_MEMSET( &matches );
244 &matches, &mask, state ) ) != NULL )
247 int dnmaxcount = MATCHES_DNMAXCOUNT( &matches );
248 int valmaxcount = MATCHES_VALMAXCOUNT( &matches );
249 regmatch_t *dn_data = matches.dn_data;
250 regmatch_t *val_data = matches
499 slap_acl_get( AccessControl *a, int *count, Operation *op, Entry *e, AttributeDescription *desc, struct berval *val, AclRegexMatches *matches, slap_mask_t *mask, AccessControlState *state ) argument
731 acl_mask_dn( Operation *op, Entry *e, struct berval *val, AccessControl *a, AclRegexMatches *matches, slap_dn_access *bdn, struct berval *opndn ) argument
1111 slap_acl_mask( AccessControl *a, AccessControl *prev, slap_mask_t *mask, Operation *op, Entry *e, AttributeDescription *desc, struct berval *val, AclRegexMatches *matches, int count, AccessControlState *state, slap_access_t access ) argument
2524 acl_string_expand( struct berval *bv, struct berval *pat, struct berval *dn_matches, struct berval *val_matches, AclRegexMatches *matches) argument
[all...]
/macosx-10.10.1/vim-55/runtime/autoload/
H A Dccomplete.vim57 " Return list of matches.
175 " Remove static matches in other files.
217 " If the last item(s) are [...] they need to be added to the matches.
387 " Return the list of matches.
435 " Skip matches local to another file.
476 " Return a list with resulting matches.
517 " Put matching members in matches[].
518 let matches = []
522 " Skip matches local to another file.
535 call add(matches, ite
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_codesigning/
H A Dopaquewhitelist.cpp116 match = true; // actual opaque cdhash matches expected
206 SQLite::Statement matches(*this,
214 matches.bind(":source") = team;
215 matches.bind(":identifier") = cfString(cfId);
217 matches.bind(":version") = cfString(cfVersion);
218 if (matches.nextRow()) {
219 CFTemp<CFDictionaryRef> conditions((const char*)matches[0]);
222 // no matches

Completed in 192 milliseconds

1234567891011>>