/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
xmllib.py | 192 res = ref.match(data, s) 262 if self.__at_start and space.match(data) is None: 265 if not self.stack and space.match(data) is None: 274 if starttagopen.match(rawdata, i): 287 if endtagopen.match(rawdata, i): 293 if commentopen.match(rawdata, i): 305 if cdataopen.match(rawdata, i): 311 res = xmldecl.match(rawdata, i) 325 res = procopen.match(rawdata, i) 332 res = doctype.match(rawdata, i [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-tree-wizard.rb | 366 assert @wizard.match(tree, "(A B C)") 371 assert @wizard.match(tree, 'A') 376 assert( !(@wizard.match(tree, 'B')) ) 382 assert @wizard.match(tree, '(nil A B C)') 387 assert( !(@wizard.match(tree, '(nil A B)')) ) 392 assert( !(@wizard.match(tree, '(nil A B A)')) ) 397 assert @wizard.match(tree, '(A . .)') 402 assert @wizard.match(tree, '(A B[foo] C)') 407 assert( !(@wizard.match(tree, '(A[foo] B C)')) ) 412 labels = @wizard.match( tree, '(%a:A %b:B %c:C)' [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
SourceRevealer.java | 107 // be the correct match that is accurate to the line 118 // if there is a unique method name match: 120 // 2. if not, display the method match 129 // Couldn't find file match, but we have a filename and line number: attempt 214 SearchMatch match = getMatchToDisplay(methodMatches, fqmn); local 215 if (match == null) { 218 return displayMethod((IMethod) match.getElement(), perspective); 224 SearchMatch match = getMatchToDisplay(matches, local 226 if (match == null) { 234 return displayFile((IFile) match.getResource(), lineNumber) [all...] |
/external/chromium_org/tools/valgrind/asan/third_party/ |
asan_symbolize.py | 171 match = re.match('^(.*) \(in (.*)\) \((.*:\d*)\)$', atos_line) 174 if match: 175 function_name = match.group(1) 177 file_name = fix_filename(match.group(3)) 339 match = re.match(stack_trace_line_format, line) 340 if not match: 345 _, frameno_str, addr, binary, offset = match.groups()
|
/external/chromium_org/v8/tools/ |
js2c.py | 145 # Remember to add the last match. 195 const_match = CONST_PATTERN.match(line) 201 macro_match = MACRO_PATTERN.match(line) 204 args = [match.strip() for match in macro_match.group(2).split(',')] 208 python_match = PYTHON_MACRO_PATTERN.match(line) 211 args = [match.strip() for match in python_match.group(2).split(',')] 230 args = [match.strip() for match in macro_match.group(2).split(',') [all...] |
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 196 match = re.match('^(.*) \(in (.*)\) \((.*:\d*)\)$', atos_line) 199 if match: 200 function_name = match.group(1) 202 file_name = fix_filename(match.group(3)) 364 match = re.match(stack_trace_line_format, line) 365 if not match: 370 _, frameno_str, addr, binary, offset = match.groups()
|
/external/markdown/markdown/ |
blockprocessors.py | 161 m = self.INDENT_RE.match(block) 246 m = self.RE.match(line) 266 return bool(self.RE.match(block)) 306 m = self.CHILD_RE.match(line) 310 elif self.INDENT_RE.match(line): 368 return bool(self.RE.match(block)) 390 # Match a hr on a single line of text. 401 m = self.MATCH_RE.match(line) 426 return bool(self.RE.match(block)) 430 m = self.RE.match(block [all...] |
/external/zlib/src/examples/ |
gun.c | 165 unsigned char match[65280 + 2]; /* buffer for reversed match or gzip variable 310 /* special code to reuse last match */ 325 match[stack++] = (unsigned char)final; 330 p = match + stack; 335 stack = p - match; 336 match[stack++] = (unsigned char)code; 352 outbuf[outcnt++] = match[--stack]; 359 p = match + stack; 362 } while (p > match); [all...] |
/hardware/ti/wlan/mac80211/ti-utils/ |
calibrator.c | 281 const struct cmd *cmd, *match = NULL, *sectcmd; local 346 if (match && sectcmd->idby != command_idby) { 351 match = sectcmd; 355 sectcmd = match; 356 match = NULL; 380 match = cmd; 384 if (match) { 391 if (match) { 392 cmd = match;
|
/build/tools/droiddoc/templates-pdk/assets/ |
search_autocomplete.js | 22 function set_row_values(toroot, row, match) 25 link.innerHTML = match.__hilabel || match.label; 26 link.href = toroot + match.link 27 // row.cells[1].innerHTML = match.type; 191 var queryAlnum = (queryLower.match(/\w+/) || [''])[0]; 198 // match (i.e. favoring classes and deep package names) 204 // exact part match 210 // part prefix match 237 var queryAlnumDot = (queryLower.match(/[\w\.]+/) || [''])[0] [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DataProvider.java | 99 // Adds a URI "match" entry that maps picture URL content URIs to a numeric code 105 // Adds a URI "match" entry that maps modification date content URIs to a numeric code 250 switch (sUriMatcher.match(uri)) { 295 return sMimeTypes.get(sUriMatcher.match(uri)); 309 switch (sUriMatcher.match(uri)) { 355 switch (sUriMatcher.match(uri)) { 451 switch (sUriMatcher.match(uri)) {
|
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
js_checker.py | 27 match = self.input_api.re.search(regex, line) 28 if match: 29 assert len(match.groups()) == 1 30 start = match.start(1) 31 length = match.end(1) - start
|
/external/chromium_org/build/android/ |
install_emulator_deps.py | 72 if pattern.match(line): 191 match = pattern.match(line) 192 if match: 193 index = match.group(1)
|
/external/chromium_org/build/android/pylib/instrumentation/ |
test_jar.py | 82 m = self._PROGUARD_CLASS_RE.match(line) 88 m = self._PROGUARD_METHOD_RE.match(line) 101 m = self._PROGUARD_ANNOTATION_RE.match(line) 109 m = self._PROGUARD_ANNOTATION_CONST_RE.match(line) 113 m = self._PROGUARD_ANNOTATION_VALUE_RE.match(line) 141 """Checks if annotations match any of the filters.""" 157 """Returns a list of all tests that match the given annotation filters."""
|
/external/chromium_org/build/mac/ |
tweak_info_plist.py | 69 match = re.match('\d+\.\d+\.(\d+\.\d+)$', version) 70 if not match: 74 full_version = match.group(0) 75 bundle_version = match.group(1)
|
/external/chromium_org/chrome/browser/resources/web_dev_style/ |
js_checker.py | 27 match = self.input_api.re.search(regex, line) 28 if match: 29 assert len(match.groups()) == 1 30 start = match.start(1) 31 length = match.end(1) - start
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
reference_resolver.py | 204 match = self._bare_ref.match(ref_and_rest) 205 if match is None: 209 ref = match.group() 210 rest = ref_and_rest[match.end():]
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
verify_filelist.py | 34 match = PLATFORM_PREFIX_RE.match(pattern) 35 if not match: 39 platforms = match.group(1).split(',') 42 pattern = match.group(2) 99 # Won't work properly. A file "foo/bar/baz" will match the first rule,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
svn.py | 85 match = re.search("^%s: (?P<value>.+)$" % field_name, info_output, re.MULTILINE) 86 if not match: 88 return match.group('value').rstrip('\r') 181 match = re.search(r"^<date>(?P<value>.+)</date>\r?$", info_output, re.MULTILINE) 182 return match.group('value')
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
cpp.py | 127 def match(pattern, s): function 131 return _regexp_compile_cache[pattern].match(s) 158 Every character in the match is replaced with char. 159 Due to the iterative nature, pattern should not match char or 169 pattern: The regex to match. 171 character of the match. 189 a match is found. 203 # A match was not found so continue forward. 212 a match is found. 217 # matches anything to ensure that we get the last possible match in a line [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_converter.py | 97 if re.match('^(#|//)', line): 103 match = re.match('-webkit-([\w|-]*)', prop) 104 if match: 105 prefixed_properties.append(match.group(1))
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayEvent.cpp | 60 bool SkDisplayEvent::contains(SkDisplayable* match) { 62 if (fChildren[index] == match || fChildren[index]->contains(match)) 68 SkDisplayable* SkDisplayEvent::contains(const SkString& match) { 71 if (child->contains(match))
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_set_archive_info.py | 138 match = re.match(r'(?P<BASE>.*)_(?P<NUMBER>[0-9]+)\.wpr', wpr_file) 139 if not match: 141 highest_number = max(int(match.groupdict()['NUMBER']), highest_number) 142 if base and match.groupdict()['BASE'] != base: 145 base = match.groupdict()['BASE']
|
/external/chromium_org/tools/valgrind/ |
drmemory_analyze.py | 113 match = re.search("^Error #([0-9]+): (.*)", self.line_) 114 if match: 115 error_id = int(match.groups()[0]) 116 self.line_ = match.groups()[1].strip() + "\n" 125 (count, name) = re.match(" *([0-9]+)x(?: \(leaked .*\))?: (.*)",
|
/external/chromium_org/v8/src/ |
hashmap.h | 50 TemplateHashMapImpl(MatchFun match, 117 MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) { 118 match_ = match; 347 typename TemplateHashMapImpl<AllocationPolicy>::MatchFun match, 350 match,
|