/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCParser.m | [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCParser.m | [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/ |
buildbot.py | 31 import re namespace 123 file_name_regexp = re.compile(r"r(?P<revision>\d+) \((?P<build_number>\d+)\)") 233 if not re.match('\D', revision_string) \ 239 builder['is_green'] = not re.search('fail', cell.renderContents()) or \ 240 not not re.search('lost', cell.renderContents()) 243 link_match = re.match(status_link_regexp, status_link['href']) 258 match = re.match("(?P<pending_builds>\d) pending", activity_lines[-1]) 275 if re.match(name_regexp, builder_name): 325 file_rows = soup.find('table').findAll('tr', {'class': re.compile(r'\b(?:directory|file)\b')}) 371 if revision_anchor and revision_anchor.string and re.match(r'^\d+$', revision_anchor.string) [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus_compare.c | 125 float re; local 129 re=im=0; 131 re+=c[ti]*x[ci*_window_sz+xk]; 136 re*=_downsample; 138 _ps[(xi*ps_sz+xj)*_nchannels+ci]=re*re+im*im+100000; 346 float re; local 348 re=Y[(xi*yfreqs+xj)*nchannels+ci]/X[(xi*NFREQS+xj)*nchannels+ci]; 349 im=re-log(re)-1 [all...] |
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-port.h | 128 // RE - a simple regular expression class using the POSIX 625 // Defines RE. 629 class RE { 631 // Constructs an RE from a string. 633 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 637 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 640 RE(const char* regex) { Init(regex); } // NOLINT 641 ~RE(); 646 // FullMatch(str, re) returns true iff regular expression re matche [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-port.h | 128 // RE - a simple regular expression class using the POSIX 618 // Defines RE. 622 class RE { 624 // Constructs an RE from a string. 626 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 630 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 633 RE(const char* regex) { Init(regex); } // NOLINT 634 ~RE(); 639 // FullMatch(str, re) returns true iff regular expression re matche [all...] |
/external/chromium_org/build/android/pylib/ |
android_commands.py | 14 import re namespace 39 PEXPECT_LINE_RE = re.compile('\n([^\r]*)\r') 51 MEMORY_INFO_RE = re.compile('^(?P<key>\w+):\s+(?P<usage_kb>\d+) kB$') 52 NVIDIA_MEMORY_INFO_RE = re.compile('^\s*(?P<user>\S+)\s*(?P<name>\S+)\s*' 71 re_avd = re.compile('^[ ]+Name: ([a-zA-Z0-9_:.-]+)', re.MULTILINE) 99 re_device = re.compile('^([a-zA-Z0-9_:.-]+)\tdevice$', re.MULTILINE) 102 re_device = re.compile('^(emulator-[0-9]+)\tdevice', re.MULTILINE [all...] |
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 348 // Defines StringTypes as the list of all string types that class RE 359 // Tests RE's implicit constructors. 361 const RE empty(TypeParam("")); 364 const RE simple(TypeParam("hello")); 367 const RE normal(TypeParam(".*(\\w+)")); 371 // Tests that RE's constructors reject invalid regular expressions. 374 const RE invalid(TypeParam("?")); 378 // Tests RE::FullMatch(). 380 const RE empty(TypeParam("")); 381 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest-port_test.cc | 410 // Defines StringTypes as the list of all string types that class RE 421 // Tests RE's implicit constructors. 423 const RE empty(TypeParam("")); 426 const RE simple(TypeParam("hello")); 429 const RE normal(TypeParam(".*(\\w+)")); 433 // Tests that RE's constructors reject invalid regular expressions. 436 const RE invalid(TypeParam("?")); 440 // Tests RE::FullMatch(). 442 const RE empty(TypeParam("")); 443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 368 // Defines StringTypes as the list of all string types that class RE 379 // Tests RE's implicit constructors. 381 const RE empty(TypeParam("")); 384 const RE simple(TypeParam("hello")); 387 const RE normal(TypeParam(".*(\\w+)")); 391 // Tests that RE's constructors reject invalid regular expressions. 394 const RE invalid(TypeParam("?")); 398 // Tests RE::FullMatch(). 400 const RE empty(TypeParam("")); 401 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest-port_test.cc | 368 // Defines StringTypes as the list of all string types that class RE 379 // Tests RE's implicit constructors. 381 const RE empty(TypeParam("")); 384 const RE simple(TypeParam("hello")); 387 const RE normal(TypeParam(".*(\\w+)")); 391 // Tests that RE's constructors reject invalid regular expressions. 394 const RE invalid(TypeParam("?")); 398 // Tests RE::FullMatch(). 400 const RE empty(TypeParam("")); 401 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-port_test.cc | 410 // Defines StringTypes as the list of all string types that class RE 421 // Tests RE's implicit constructors. 423 const RE empty(TypeParam("")); 426 const RE simple(TypeParam("hello")); 429 const RE normal(TypeParam(".*(\\w+)")); 433 // Tests that RE's constructors reject invalid regular expressions. 436 const RE invalid(TypeParam("?")); 440 // Tests RE::FullMatch(). 442 const RE empty(TypeParam("")); 443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/chromium_org/tools/valgrind/ |
suppressions.py | 29 import re namespace 90 regex += re.escape(char) 126 self.regex = re.compile(regex, re.MULTILINE) 321 elif re.match("^fun:.*|^obj:.*|^\.\.\.$", line): 341 if re.search("<.*suppression.name.here>", s.description): 368 sup_regex = re.compile('suppressions.*\.txt$') 462 re.compile(r"^.*\!.*$"), # mod!func 463 re.compile(r"^.*!\.\.\.$"), # mod!ellipsis 464 re.compile(r"^\<.*\+0x.*\>$"), # <mod+0xoffs [all...] |
/external/chromium_org/third_party/WebKit/Source/core/scripts/ |
make_token_matcher.py | 32 import re namespace 146 SWITCH_PATTERN = re.compile(r'\s*SWITCH\s*\((\w*),\s*(\w*)\) \{$') 164 CASE_PATTERN = re.compile(r'\s*CASE\s*\(\"([a-z0-9_\-\(]*)\"\) \{$') 165 CLOSE_BRACE_PATTERN = re.compile(r'\s*\}$') 166 EMPTY_PATTERN = re.compile(r'\s*$') 198 CLOSE_BRACE_PATTERN = re.compile(r'\s*\}$') 199 BREAK_PATTERN = re.compile(r'break;')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
compute_dependencies.py | 34 import re namespace 98 match = re.search(r'partial\s+interface\s+(\w+)', file_contents) 108 for match in re.finditer(r'^\s*(\w+)\s+implements\s+(\w+)\s*;', file_contents, re.MULTILINE): 117 match = re.search(r'callback\s+interface\s+\w+', file_contents) 122 match = re.search(r'interface\s+\w+\s*:\s*(\w+)\s*', file_contents) 130 match = re.search(r'\[(.*)\]\s+(callback\s+)?(interface|exception)\s+(\w+)', 131 file_contents, flags=re.DOTALL) 166 constructor_name = re.sub(r'\(.*', '', named_constructor)
|
/external/chromium_org/tools/mac/ |
symbolicate_crash.py | 20 import re namespace 105 thread_re = re.compile('^[ \t]*Thread ([a-f0-9]+)') 123 # position by the length of the line so that it is re-read when 133 line_re = re.compile('^Thread ([0-9]+)( Crashed)?:(.*)') 167 matches = re.match(regex, line) 186 user_thread_re = re.compile('^ Thread ([0-9a-fx]+)') 237 matches = re.match(regex_a, line) 248 matches = re.match(regex_b, line) 269 image_re = re.compile( 358 line_regex = re.compile('(.+) \(in (.+)\) (\((.+):([0-9]+)\))?' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/external/chromium/build/util/ |
lastchange.py | 10 import re namespace 137 match = re.search(r'^\w+://.*$', output, re.M) 160 match = re.search(r'\S+$', output) 175 git_re = re.compile(r'^\s*git-svn-id:\s+(\S+)@(\d+)')
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-port.h | 96 // RE - a simple regular expression class using the POSIX 331 // Defines RE. Currently only needed for death tests. 335 class RE { 337 // Constructs an RE from a string. 339 RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT 343 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT 346 RE(const char* regex) { Init(regex); } // NOLINT 347 ~RE(); 352 // Returns true iff str contains regular expression re. 357 static bool PartialMatch(const ::std::string& str, const RE& re) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
profiler.py | 30 import re namespace 105 match = re.search("^Total:[^\n]*\n((?:[^\n]*\n){0,10})", pprof_output, re.MULTILINE) 148 match = re.search("^#[^\n]*\n((?: [^\n]*\n){1,10})", perf_output, re.MULTILINE) 160 if perf_exitcode not in (0, -2): # The exit code should always be -2, as we're always interrupting perf.
|
/external/chromium_org/tools/heapcheck/ |
heapcheck_test.py | 10 import re namespace 20 LEAK_REPORT_RE = re.compile( 23 HOOKED_ALLOCATOR_RE = re.compile( 25 STACK_LINE_RE = re.compile('\s*@\s*(?:0x)?[0-9a-fA-F]+\s*([^\n]*)') 127 if re.match(j, cur_stack[i]):
|
/external/chromium_org/tools/linux/ |
dump-static-initializers.py | 27 import re namespace 54 protobuf_filename_re = re.compile(r'(.*)\.pb\.cc$') 81 symbol_code_name_re = re.compile(r'^(?:[^(<[]*::)?([^:(<[]*).*?$') 102 # Regex matching nm output for the symbols we're interested in. 104 nm_re = re.compile(r'(\S+) (\S+) t (?:_ZN12)?_GLOBAL__(?:sub_)?I_(.*)') 138 # Regex matching objdump output for the symbols we're interested in. 141 disassembly_re = re.compile(r'^\s+[0-9a-f]+:.*<(\S+)>')
|