/ndk/build/awk/ |
check-awk.awk | 17 # implements the match() and substr() functions appropriately. 26 if (! match(s1,"world")) { 27 print "Fail match"
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_edit.cc | 103 // Weird edge case to match other browsers: if the edit is empty, revert to 131 AutocompleteMatch match; local 132 GetInfoForCurrentText(&match, NULL); 133 return match; 248 AutocompleteMatch match; local 249 GetInfoForCurrentText(&match, NULL); 250 *url = match.destination_url; 288 // match. This would make the autocompleted text disappear, leaving our user 309 AutocompleteMatch match; 310 GetInfoForCurrentText(&match, NULL) 315 AutocompleteMatch match; local 434 AutocompleteMatch match; local 513 const AutocompleteMatch& match = local 605 AutocompleteMatch match; local [all...] |
history_contents_provider.cc | 91 // None of our results are applicable for best match. 212 AutocompleteMatch match(this, score, true, MatchInTitle(result) ? 214 match.contents = StringForURLDisplay(result.url(), true, trim_http_); 215 match.fill_into_edit = 217 match.contents); 218 match.destination_url = result.url(); 219 match.contents_class.push_back( 221 match.description = result.title(); 222 match.starred = 226 ClassifyDescription(result, &match); [all...] |
/external/regex-re2/re2/ |
bitstate.cc | 53 bool longest_; // whether search wants leftmost-longest match 54 bool endmatch_; // whether match must end at text.end() 201 // One opcode is byte range; the other leads to match. 203 // out1 is the match 209 // out is the match - non-greedy 259 // VLOG(0) << "Found match."; 260 // We found a match. If the caller doesn't care 261 // where the match is, no point going further. 265 // Record best match so far. 276 // If going for first match, we're done [all...] |
mimics_pcre.cc | 5 // Determine whether this library should match PCRE exactly 16 // * Perl and PCRE allow $ in one-line mode to match either the very 18 // This library requires it to match only the end of the text. 20 // match the end of the text if the last character is a \n. 31 // Returns whether re might match an empty string. 107 // Walker class to compute whether a Regexp can match an empty string. 108 // It is okay to overestimate. For example, \b\B cannot match an empty 132 // can match an empty string). Returns whether this clause can match an 146 case kRegexpBeginLine: // always empty, when they match [all...] |
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
decoder.py | 46 def JSONConstant(match, context, c=_CONSTANTS): 47 return c[match.group(0)], None 50 def JSONNumber(match, context): 51 match = JSONNumber.regex.match(match.string, *match.span()) 52 integer, frac, exp = match.groups() 68 def scanstring(s, end, encoding=None, _b=BACKSLASH, _m=STRINGCHUNK.match): 111 def JSONString(match, context) [all...] |
/external/icu4c/i18n/ |
unesctrn.cpp | 179 // match one of the specs. Exit the outer loop if a 180 // partial match is detected and isIncremental is true. 193 UBool match = TRUE; local 199 // a partial match, so we return if in 205 match = FALSE; 211 match = FALSE; 216 if (match) { 221 // Check for partial match in incremental mode. 239 match = (digitCount >= minDigits); 241 if (match) { [all...] |
quant.h | 58 * than offset for a forward direction match, less than offset for 59 * a backward direction match. The last character to be 66 * @return a match degree value indicating a full match, a partial 67 * match, or a mismatch. If incremental is FALSE then
|
/external/oprofile/libregex/ |
op_regex.cpp | 4 * libc regex, providing regular expression match and replace facility. 46 bool op_regexec(regex_t const & regex, string const & str, regmatch_t * match, 49 return regexec(®ex, str.c_str(), nmatch, match, 0) != REG_NOMATCH; 192 regmatch_t match[max_match]; local 194 op_regexec(regexp.regexp, str, match, max_match) && iter < limit; 197 do_replace(str, regexp.replace, match); 205 regular_expression_replace::get_match(regmatch_t const * match, char idx) const 212 return match[sub_expr]; 216 (string & str, string const & replace, regmatch_t const * match) const 229 regmatch_t const & matched = get_match(match, [all...] |
/external/iptables/extensions/ |
libxt_physdev.man | 14 interface which begins with this name will match. If the packet didn't arrive 15 through a bridge device, this packet won't match this option, unless '!' is used. 25 interface which begins with this name will match. Note that in the 28 chains one cannot match on the bridge output port, however one can in the 31 the output device will be, then the packet won't match this option,
|
libip6t_mh.c | 66 "mh match options:\n" 67 "[!] --mh-type type[:type] match mh type\n"); 82 unsigned int match = limit; local 88 if (match == limit || len == namelen) 89 match = i; 93 if (match != limit) { 94 return mh_names[match].type; 175 static void mh_print(const void *ip, const struct xt_entry_match *match, 178 const struct ip6t_mh *mhinfo = (struct ip6t_mh *)match->data; 189 static void mh_save(const void *ip, const struct xt_entry_match *match) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
DateParser.java | 62 lexer.match(','); 63 lexer.match(' '); 65 lexer.match(' '); 67 lexer.match(' '); 71 this.lexer.match('\n');
|
/external/openfst/src/include/fst/ |
arcfilter.h | 69 // True if specified labels match (don't match) when keep_match is 83 bool match = labels_.Find(label) != labels_.End(); local 84 return keep_match_ ? match : !match;
|
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
deps.py | 48 match = pattern.match(line) 49 if match: 50 return int(match.group("value")) 57 if pattern.match(line):
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_expectations_unittest.py | 229 def match(test, result, pixel_tests_enabled): function in function:.test_pixel_tests_flag 234 self.assertTrue(match('failures/expected/text.html', TEXT, True)) 235 self.assertTrue(match('failures/expected/text.html', TEXT, False)) 236 self.assertFalse(match('failures/expected/text.html', CRASH, True)) 237 self.assertFalse(match('failures/expected/text.html', CRASH, False)) 238 self.assertTrue(match('failures/expected/image_checksum.html', IMAGE, 240 self.assertTrue(match('failures/expected/image_checksum.html', PASS, 242 self.assertTrue(match('failures/expected/crash.html', SKIP, False)) 243 self.assertTrue(match('passes/text.html', PASS, False)) 404 def match(self, modifiers, expected_num_matches=-1, values=None, num_errors=0) member in class:ModifierTests [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_AbstractTest.java | 73 assertEquals("Name of charset must match!", charsetName, charset.name()); 130 // assertTrue("Decoded charactes must match!", 132 assertEqualChars("Decoded charactes must match!", 135 // assertEqualChars2("Decoded charactes must match!", 139 // assertTrue("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 142 // assertEqualChars("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 146 // assertEquals("Decoded charactes must match!", 161 // assertTrue("Encoded bytes must match!", 163 assertEqualBytes("Encoded bytes must match!", testBytes, outputBB); 216 boolean match = true [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
EmailHtmlUtil.java | 36 Matcher match = pattern.matcher(text); local 38 if (match.find()) { 42 int start = match.start(); 44 end = match.end(); 61 } while (match.find());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationMatcher.java | 112 * Checks whether the current edited file is the best match for a given config. 118 * @return true if the current edited file is the best match in the project for the 124 ResourceFile match = resources.getMatchingFile(editedFile.getName(), local 127 if (match != null) { 128 return match.getFile().equals(editedFile); 130 // if we stop here that means the current file is not even a match! 131 AdtPlugin.log(IStatus.ERROR, "Current file is not a match for the given config."); 168 // if the current state/locale isn't a correct match, then 206 // no match in current device with any state/locale 221 * @param favorCurrentConfig if true, and no best match is found, don' 328 ConfigMatch match = selectConfigMatch(anyMatches); local 359 ConfigMatch match = selectConfigMatch(bestMatches); local 641 ResourceFile match = resources.getMatchingFile(name, ResourceFolderType.LAYOUT, config); local [all...] |
/tools/motodev/src/features/preflighting.ui/ |
feature.xml | 22 <import feature="com.motorolamobility.preflighting.feature" version="1.0.0" match="greaterOrEqual"/>
23 <import feature="com.motorolamobility.preflighting.sdk.feature" version="1.0.0" match="greaterOrEqual"/>
24 <import feature="com.android.ide.eclipse.adt" version="15.0.0" match="greaterOrEqual"/>
25 <import plugin="com.motorola.studio.android.common" version="4.0.0" match="greaterOrEqual"/>
26 <import plugin="com.motorolamobility.studio.android.logger" version="4.1.0" match="greaterOrEqual"/>
|
/external/icu4c/i18n/unicode/ |
uregex.h | 37 * of a match operation. 44 * Constants for Regular Expression Match Modes. 80 * otherwise, match only at start and end of input string. 113 * string form into an internal representation using the specified match mode flags. 142 * string form into an internal representation using the specified match mode flags. 147 * UText struct itself remains with the caller. This is to match the behavior of 238 * match mode flags are copied. 241 * multiple match operations in parallel. Each concurrent RE 291 * Get the match mode flags that were specified when compiling this regular expression. 294 * @return The match mode flag [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
TemplateSubPatternAssociation.java | 33 * A class to contain a match pattern and it's corresponding template. 34 * This class also defines a node in a match pattern linked list. 55 /** Target string for this match pattern */ 59 * Construct a match pattern from a pattern and template. 115 * Tell if two modes match according to the rules of XSLT. 117 * @param m1 mode to match 127 * Tell if two modes match according to the rules of XSLT. 129 * @param m1 First mode to match 130 * @param m2 Second mode to match 132 * @return True if the two given modes match [all...] |
/external/chromium/net/proxy/ |
proxy_bypass_rules.h | 17 // settings, as a list of rules. A URL is said to match the bypass rules 70 // match "*google.com"). This is only currently used for the linux no_proxy 72 // format you can't match an individual host. 99 // Match all hostnames that match the pattern HOSTNAME_PATTERN. 107 // Match a particular domain suffix. 114 // Match URLs which are IP address literals. 126 // Match any URL that is to an IP literal that falls between the 134 // Match local addresses. The meaning of "<local>" is whether the 147 // match "*google.com"). This is used for KDE which interprets every rule a [all...] |
/external/v8/test/mjsunit/ |
string-match.js | 29 * @fileoverview Test String.prototype.match 34 var matchResult = input.match(regexp); 35 assertEquals(result, matchResult, name + "-match"); 37 var match = input.substring(from, to); 45 assertEquals(match, lastMatch, name + "-match-string_g"); 47 // Returns array of match and captures. 48 assertEquals(match, matchResult[0], name + "-match-string"); 55 assertEquals(match, RegExp["$&"], name + "-$&") [all...] |
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
UiSelector.java | 95 * Set the search criteria to match the visible text displayed 98 * The text for the widget must match exactly 102 * @param text Value to match 110 * Set the search criteria to match the visible text displayed 113 * The text for the widget must match exactly 127 * should match a widget with text value starting with the text parameter. 139 * Set the search criteria to match the visible text displayed 145 * @param text Value to match 153 * Set the search criteria to match the class property 156 * @param className Value to match [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-regex2.c | 126 puts ("\nregexec without REG_NOSUB did not find the correct match"); 144 int match; local 147 match = re_search (&rpbuf, string, len, 0, len, 149 if (match < 0) 155 if (match + 11 > len 156 || string + match >= strchr (string, 'R') 157 || strncmp (string + match, 162 puts ("\nre_search did not find the correct match"); 174 if (regs.start[0] != match || regs.end[0] != match + 11 [all...] |