/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
Romkan.java | 183 String match = Romkan.romkanTable.get(key.toString().toLowerCase()); local 184 if (match != null) { 186 match = match.toUpperCase(); 189 if (match.length() == 1) { 191 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to); 195 out[0] = new StrSegment(match.substring(0, match.length() - 1), 197 out[1] = new StrSegment(match.substring(match.length() - 1) [all...] |
RomkanFullKatakana.java | 187 String match = table.get(key.toString().toLowerCase()); local 188 if (match != null) { 190 match = match.toUpperCase(); 193 if (match.length() == 1) { 195 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to); 199 out[0] = new StrSegment(match.substring(0, match.length() - 1), 201 out[1] = new StrSegment(match.substring(match.length() - 1) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
re.py | 26 regular expressions; they simply match themselves. You can 35 Greedy means that it will match as many repetitions as possible. 44 "|" A|B, creates an RE that will match either A or B. 53 (?!...) Matches if ... doesn't match next. 61 resulting RE will match the second character. 72 With LOCALE, it will match the set [0-9_] plus characters defined 78 match Match a regular expression pattern to the beginning of a string. 84 finditer Return an iterator yielding a match object for each match 134 def match(pattern, string, flags=0): function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
re.py | 26 regular expressions; they simply match themselves. You can 35 Greedy means that it will match as many repetitions as possible. 44 "|" A|B, creates an RE that will match either A or B. 53 (?!...) Matches if ... doesn't match next. 61 resulting RE will match the second character. 72 With LOCALE, it will match the set [0-9_] plus characters defined 78 match Match a regular expression pattern to the beginning of a string. 84 finditer Return an iterator yielding a match object for each match 134 def match(pattern, string, flags=0): function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
conv.py | 71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line) 132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$", 139 mo = re.match(r"\s+{(\d+), (\d+)},$", line) 147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line) 154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line) 168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line) 173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$', 184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line) 201 mo = re.match(r"static label labels\[(\d+)\] = {$", line) 206 mo = re.match(r'\s+{(\d+), (0|"\w+")},$', line [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
conv.py | 71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line) 132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$", 139 mo = re.match(r"\s+{(\d+), (\d+)},$", line) 147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line) 154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line) 168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line) 173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$', 184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line) 201 mo = re.match(r"static label labels\[(\d+)\] = {$", line) 206 mo = re.match(r'\s+{(\d+), (0|"\w+")},$', line [all...] |
/external/chromium/chrome/browser/autocomplete/ |
keyword_provider.cc | 209 // Any exact match is going to be the highest quality match, and thus at the 235 // ensure it is less than the main match's relevance. 316 AutocompleteMatch* match) { 329 match->contents.assign( 333 match->contents_class.push_back( 337 match->destination_url = GURL(element->url()->url()); 338 match->contents.assign(element->short_name()); 339 AutocompleteMatch::ClassifyLocationInString(0, match->contents.length(), 340 match->contents.length(), ACMatchClassification::NONE 506 AutocompleteMatch* match = &extension_suggest_matches_.back(); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
git.py | 106 # Could run git clean here too, but that wouldn't match subversion 108 # Aborting rebase even though this does not match subversion 189 match = re.search("^\s*git-svn-id:.*@(?P<svn_revision>\d+)\ ", git_log, re.MULTILINE) 190 if not match: 192 return str(match.group('svn_revision')) 196 match = re.search("^Date:\s*(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2}) ([+-])(\d{2})(\d{2})$", git_log, re.MULTILINE) 197 if not match: 202 time_with_timezone = datetime.datetime(int(match.group(1)), int(match.group(2)), int(match.group(3)) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 202 int match = sURIMatcher.match(uri); local 203 switch (match) { 235 if (sURIMatcher.match(uri) != SHARES) { 309 int match = sURIMatcher.match(uri); local 310 switch (match) { 396 int match = sURIMatcher.match(uri); local 397 switch (match) { 437 int match = sURIMatcher.match(uri); local [all...] |
/external/chromium/chrome/browser/ui/views/autocomplete/ |
touch_autocomplete_popup_contents_view.cc | 33 const AutocompleteMatch& match, 35 DrawString(canvas, match.contents, match.contents_class, false, x, 38 if (!match.description.empty()) { 39 DrawString(canvas, match.description, match.description_class, true, x,
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_result_unittest.cc | 34 AutocompleteMatch match; local 35 match.destination_url = GURL(destination_url); 36 match.relevance = last_match ? last_match->relevance - 100 : 1300; 37 match.allowed_to_be_default_match = true; 38 match.type = type; 39 matches->push_back(match); 80 // Configures |match| from |data|. 82 AutocompleteMatch* match); 112 AutocompleteMatch* match) { 113 match->provider = reinterpret_cast<AutocompleteProvider*>(data.provider_id) 127 AutocompleteMatch match; local 141 const AutocompleteMatch& match = *(result.begin() + i); local 186 AutocompleteMatch match; local [all...] |
autocomplete_result.h | 22 // what the default match should be if the user doesn't manually select another 23 // match. 29 // The "Selection" struct is the information we need to select the same match 49 // The desired provider. If we can't find a match with the specified 50 // |destination_url|, we'll use the best match from this provider. 53 // True when this is the HistoryURLProvider's "what you typed" match. This 63 // The lowest score a match can have and still potentially become the default 64 // match for the result set. 80 // the best kMaxMatches matches. Sets the default match to the best match [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
InspectorFrontendHostStub.js | 74 var match = navigator.userAgent.match(/Windows NT/); 75 if (match) 77 match = navigator.userAgent.match(/Mac OS X/); 78 if (match)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
diff_parser.py | 43 def match(pattern, string): function 47 return _regexp_compile_cache[pattern].match(string) 66 matched = match(pattern, line) 90 if match(r"^diff --git \w/", line): 158 file_declaration = match(r"^Index: (?P<FilePath>.+)", line) 166 lines_changed = match(r"^@@ -(?P<OldStartLine>\d+)(,\d+)? \+(?P<NewStartLine>\d+)(,\d+)? @@", line)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/ |
metered_stream_unittest.py | 133 # We don't bother to match the hours and minutes of the timestamp since 135 self.assertTrue(re.match('\d\d:\d\d:00.000 8675 foo\n', buflist[0])) 136 self.assertTrue(re.match('\d\d:\d\d:01.000 8675 bar\n', buflist[1])) 137 self.assertTrue(re.match('\d\d:\d\d:13.000 8675 baz 2\n', buflist[2])) 138 self.assertTrue(re.match('\d\d:\d\d:14.123 8675 done\n', buflist[3])) 143 self.assertTrue(re.match('\d\d:\d\d:00.000 8675 foo\n', buflist[0])) 146 self.assertTrue(re.match('\d\d:\d\d:\d\d.\d\d\d \d+ bar\n', buflist[1]))
|
/external/chromium_org/third_party/libxslt/libxslt/ |
keys.c | 91 if (keyd->match != NULL) 92 xmlFree(keyd->match); 265 * @match: the match value 275 const xmlChar *nameURI, const xmlChar *match, 281 if ((style == NULL) || (name == NULL) || (match == NULL) || (use == NULL)) 286 "Add key %s, match %s, use %s\n", name, match, use); 290 key->match = xmlStrdup(match); [all...] |
/external/chromium_org/tools/perf/measurements/ |
endure.py | 120 match = re.match('([0-9]+)([sS]?)$', interval) 121 assert match, ('Invalid value for --perf-stats-interval: %s' % interval) 122 if match.group(2): 123 self._interval_seconds = int(match.group(1)) 125 self._interval_iterations = int(match.group(1))
|
/external/chromium_org/v8/tools/ |
jsmin.py | 68 m: The match object returned by re.search. 97 m: The match object returned by re.search. 100 The string that should replace the match in the rewritten program. 109 if re.match("[\"'/]", matched_text): 111 m = re.match(r"var ", matched_text) 116 m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text) 176 m: The match object returned by re.search. 183 if re.match(r"'.*'$", entire_match): 185 if re.match(r'".*"$', entire_match): 187 if re.match(r"/.+/$", entire_match) [all...] |
/external/libxslt/libxslt/ |
keys.c | 91 if (keyd->match != NULL) 92 xmlFree(keyd->match); 265 * @match: the match value 275 const xmlChar *nameURI, const xmlChar *match, 281 if ((style == NULL) || (name == NULL) || (match == NULL) || (use == NULL)) 286 "Add key %s, match %s, use %s\n", name, match, use); 290 key->match = xmlStrdup(match); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 89 lexer.match(' '); 116 lexer.match(' '); 136 lexer.match(':'); 140 lexer.match(':'); 185 this.lexer.match(tok); 187 this.lexer.match(':');
|
/external/v8/tools/ |
jsmin.py | 68 m: The match object returned by re.search. 97 m: The match object returned by re.search. 100 The string that should replace the match in the rewritten program. 109 if re.match("[\"'/]", matched_text): 111 m = re.match(r"var ", matched_text) 116 m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text) 176 m: The match object returned by re.search. 183 if re.match(r"'.*'$", entire_match): 185 if re.match(r'".*"$', entire_match): 187 if re.match(r"/.+/$", entire_match) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 120 int match = sURLMatcher.match(url); local 121 switch (match) { 133 int match = sURLMatcher.match(url); local 134 switch (match) {
|
/packages/providers/CalendarProvider/ |
maketests.py | 56 m = TIME.match(s[0])
65 m = TIMEZ.match(s[0])
89 re_dtstart = DTSTART_TZID.match(s)
93 re_dtstart = DTSTART.match(s)
96 re_duration = DURATION.match(s)
99 re_rrule = RRULE.match(s)
|
/external/chromium/base/i18n/ |
icu_encoding_detection.cc | 24 const UCharsetMatch* match = ucsdet_detect(detector, &status); local 25 if (match == NULL) 27 const char* detected_encoding = ucsdet_getName(match, &status);
|
/external/chromium_org/base/i18n/ |
icu_encoding_detection.cc | 24 const UCharsetMatch* match = ucsdet_detect(detector, &status); local 25 if (match == NULL) 27 const char* detected_encoding = ucsdet_getName(match, &status);
|