/external/v8/test/mjsunit/regress/ |
regress-45469.js | 30 var re = /x/g; variable 33 assertEquals(i % 3, re.lastIndex, "preindex" + i); 34 var res = re.exec("xx"); 38 re = /x/g; 41 assertEquals(i % 3, re.lastIndex, "testpreindex" + i); 42 var res = re.test("xx");
|
/build/core/ |
checktree | 3 import sys, os, re namespace 14 excludes_compiled = map(re.compile, excludes) 59 regex_compiled = re.compile(regex) 60 filt_compiled = re.compile(filt)
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/ |
TreeRewriteParser.m | 288 @catch (ANTLRRecognitionException *re) { 289 [self reportError:re]; 290 [self recover:input Exception:re]; 291 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.startToken To:[input LT:-1] Exception:re]; 338 @catch (ANTLRRecognitionException *re) { 339 [self reportError:re]; 340 [self recover:input Exception:re]; 341 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.startToken To:[input LT:-1] Exception:re];
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t033backtracking.py | 13 def recover(self, input, re):
|
t038lexerRuleLabel.py | 13 def recover(self, input, re):
|
t040bug80.py | 13 def recover(self, input, re):
|
t001lexer.py | 16 def reportError(self, re): 18 raise re
|
t002lexer.py | 16 def reportError(self, re): 18 raise re
|
t003lexer.py | 16 def reportError(self, re): 18 raise re
|
t039labels.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
console.cc | 59 LOG(LS_ERROR) << "Cannot re-start"; 103 int re; 105 re = system("stty echo"); 107 re = system("stty -echo"); 108 if (-1 == re)
|
/external/webkit/LayoutTests/storage/domstorage/events/resources/ |
eventTestHarness.js | 29 // When we're done testing LocalStorage, this is run. 41 // When we're done testing with SessionStorage, this is run.
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-98306.js | 31 var re; variable 49 s = 're = /[/'; 52 s = 're = /[/]/'; 55 s = 're = /[//]/';
|
/external/webkit/Source/WebCore/WebCore.gyp/scripts/ |
action_derivedsourcesallinone.py | 47 import re namespace 52 conditionalPattern = re.compile('interface[\s]*\[[^\]]*Conditional=([\_0-9a-zA-Z&|]*)') 88 if re.match('[|&]$', s): 106 conditional = re.split('([|&])', conditional)
|
/external/webkit/Tools/wx/build/ |
wxpresets.py | 27 import re namespace 54 majorVersion = re.search("#define\swxMAJOR_VERSION\s+(\d+)", versionText).group(1) 55 minorVersion = re.search("#define\swxMINOR_VERSION\s+(\d+)", versionText).group(1) 56 releaseVersion = re.search("#define\swxRELEASE_NUMBER\s+(\d+)", versionText).group(1)
|
/development/tools/findunused/ |
find_unused_resources.rb | 75 def findAllOccurrences(re, string) 79 matchData = re.match(s) 83 matchData = re.match(s) 95 @@javaIdPatterns.each { |re| 96 findAllOccurrences(re, line).each { |id| 121 @@stringXmlPatterns.each { |re| 122 findAllOccurrences(re, line).each {|id| 134 @@stringXmlPatterns.each { |re| 135 findAllOccurrences(re, line).each {|id|
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/ |
SymbolTableParser.m | 247 @catch (ANTLRRecognitionException *re) { 248 [self reportError:re]; 249 [self recover:input Exception:re]; 319 @catch (ANTLRRecognitionException *re) { 320 [self reportError:re]; 321 [self recover:input Exception:re]; 367 @catch (ANTLRRecognitionException *re) { 368 [self reportError:re]; 369 [self recover:input Exception:re]; 473 @catch (ANTLRRecognitionException *re) { [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/ |
SymbolTableParser.m | 275 @catch (ANTLRRecognitionException *re) { 276 [self reportError:re]; 277 [self recover:input Exception:re]; 341 @catch (ANTLRRecognitionException *re) { 342 [self reportError:re]; 343 [self recover:input Exception:re]; 378 @catch (ANTLRRecognitionException *re) { 379 [self reportError:re]; 380 [self recover:input Exception:re]; 473 @catch (ANTLRRecognitionException *re) { [all...] |
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 167 // Defines StringTypes as the list of all string types that class RE 180 // Tests RE's implicit constructors. 182 const RE empty(TypeParam("")); 185 const RE simple(TypeParam("hello")); 188 const RE normal(TypeParam(".*(\\w+)")); 192 // Tests that RE's constructors reject invalid regular expressions. 195 const RE invalid(TypeParam("?")); 199 // Tests RE::FullMatch(). 201 const RE empty(TypeParam("")); 202 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCParser.java | 132 catch (RecognitionException re) { 133 reportError(re); 134 recover(input,re); 135 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); 286 catch (RecognitionException re) { 287 reportError(re); 288 recover(input,re); 289 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); 377 catch (RecognitionException re) { 378 reportError(re); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCParser.java | 132 catch (RecognitionException re) { 133 reportError(re); 134 recover(input,re); 135 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); 286 catch (RecognitionException re) { 287 reportError(re); 288 recover(input,re); 289 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); 377 catch (RecognitionException re) { 378 reportError(re); [all...] |
/device/generic/goldfish/qemud/ |
Android.mk | 3 # We're moving the emulator-specific platform libs to
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.java | 98 catch (MismatchedRangeException re) { 99 reportError(re); 102 catch (MismatchedTokenException re) { 103 reportError(re); 106 catch (RecognitionException re) { 107 reportError(re); 108 recover(re); // throw out current char and try again 329 public void recover(RecognitionException re) { 331 //re.printStackTrace();
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
Lexer.js | 58 catch (re) { 59 if (re instanceof org.antlr.runtime.NoViableAltException) { 60 this.reportError(re); 61 this.recover(re); 62 } else if ( re instanceof org.antlr.runtime.RecognitionException ) { 63 this.reportError(re); 65 throw re; 271 recover: function(re) {
|
/external/llvm/utils/llvm-build/llvmbuild/ |
configutil.py | 5 import re namespace 16 replacement), where the regex and replacement will be used as in 're.sub' to 35 regex = re.compile(regex_string)
|