/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
H A D | basic.rb | 18 def rewrite( input, expected ) method in class:TestRewritingLexerOutputDirectly 27 rewrite( 'abc', '0abc' ) do |stream| 33 rewrite( 'abc', 'abcx' ) do |stream| 39 rewrite( 'abc', 'axbxc' ) do |stream| 46 rewrite( 'abc', 'xbc' ) do |stream| 52 rewrite( 'abc', 'abx' ) do |stream| 58 rewrite( 'abc', 'abx' ) do |stream| 64 rewrite( 'abc', 'axc' ) do |stream| 70 rewrite( 'abc', 'ayc' ) do |stream| 77 rewrite( 'ab 289 def rewrite( input ) method in class:TestRewritingWithTokenStream2 [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | Strip.java | 69 rewrite(g.getTreeAdaptor(),t,g.getTokenNames()); 72 public void rewrite(TreeAdaptor adaptor, CommonTree t, String[] tokenNames) throws Exception { method in class:Strip
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/ |
H A D | rewrite.rb | 39 TokenRewriteStream is a specialized form of CommonTokenStream that provides simple stream editing functionality. By creating <i>rewrite programs</i>, new text output can be created based upon the tokens in the stream. The basic token stream itself is preserved, and text output is rendered on demand using the #to_s method. 52 be executed by a token rewrite stream at some time in future when the stream is 59 a rewrite program list. 78 # run the rewrite operation represented by this object and append the output to +buffer+ 97 Represents rewrite operation: 99 add string <tt>op.text</tt> to the rewrite output immediately before adding the 120 Represents rewrite operation: 122 add text <tt>op.text</tt> to the rewrite buffer in lieu of the text of tokens 158 Represents rewrite operation: 161 and do not add any text to the rewrite buffe 377 def rewrite( program_name = 'default', range = nil ) method [all...] |
/external/jsoncpp/src/jsontestrunner/ |
H A D | main.cpp | 154 std::string &rewrite ) 159 rewrite = writer.write( root ); 163 printf( "Failed to create rewrite file: %s\n", rewritePath.c_str() ); 166 fprintf( fout, "%s\n", rewrite.c_str() ); 268 std::string rewritePath = basePath + ".rewrite"; 269 std::string rewriteActualPath = basePath + ".actual-rewrite"; 275 std::string rewrite; local 276 exitCode = rewriteValueTree( rewritePath, root, rewrite ); 280 exitCode = parseAndSaveValueTree( rewrite, rewriteActualPath, 281 "rewrite", rewriteRoo [all...] |
/external/llvm/lib/CodeGen/ |
H A D | VirtRegMap.cpp | 167 void rewrite(); 226 rewrite(); 267 void VirtRegRewriter::rewrite() { function in class:VirtRegRewriter
|
/external/chromium_org/third_party/re2/re2/testing/ |
H A D | re2_test.cc | 106 const char *rewrite; member in struct:re2::ReplaceTest 184 VLOG(1) << StringPrintf("\"%s\" =~ s/%s/%s/g", t->original, t->regexp, t->rewrite); 186 CHECK(RE2::Replace(&one, t->regexp, t->rewrite)); 189 CHECK_EQ(RE2::GlobalReplace(&all, t->regexp, t->rewrite), t->greplace_count) 195 static void TestCheckRewriteString(const char* regexp, const char* rewrite, argument 199 bool actual_ok = exp.CheckRewriteString(rewrite, &error); 200 EXPECT_EQ(expect_ok, actual_ok) << " for " << rewrite << " error: " << error;
|
/external/regex-re2/re2/testing/ |
H A D | re2_test.cc | 99 const char *rewrite; member in struct:re2::ReplaceTest 177 VLOG(1) << StringPrintf("\"%s\" =~ s/%s/%s/g", t->original, t->regexp, t->rewrite); 179 CHECK(RE2::Replace(&one, t->regexp, t->rewrite)); 182 CHECK_EQ(RE2::GlobalReplace(&all, t->regexp, t->rewrite), t->greplace_count) 188 static void TestCheckRewriteString(const char* regexp, const char* rewrite, argument 192 bool actual_ok = exp.CheckRewriteString(rewrite, &error); 193 EXPECT_EQ(expect_ok, actual_ok) << " for " << rewrite << " error: " << error;
|
/external/chromium_org/third_party/re2/util/ |
H A D | pcre.cc | 333 const StringPiece& rewrite) { 340 if (!pattern.Rewrite(&s, rewrite, *str, vec, matches)) 351 const StringPiece& rewrite) { 390 pattern.Rewrite(&out, rewrite, *str, vec, matches); 407 const StringPiece &rewrite, 414 return pattern.Rewrite(out, rewrite, text, vec, matches); 611 bool PCRE::Rewrite(string *out, const StringPiece &rewrite, argument 614 for (const char *s = rewrite.data(), *end = s + rewrite.size(); 627 << " in regexp " << rewrite 331 Replace(string *str, const PCRE& pattern, const StringPiece& rewrite) argument 349 GlobalReplace(string *str, const PCRE& pattern, const StringPiece& rewrite) argument 405 Extract(const StringPiece &text, const PCRE& pattern, const StringPiece &rewrite, string *out) argument 647 CheckRewriteString(const StringPiece& rewrite, string* error) const argument [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 641 static const SCEV *rewrite(const SCEV *Scev, ScalarEvolution &SE, function in struct:llvm::SCEVParameterRewriter 738 static const SCEV *rewrite(const SCEV *Scev, LoopToScevMapT &Map, function in struct:llvm::SCEVApplyRewriter 829 return SCEVApplyRewriter::rewrite(Scev, Map, SE);
|
/external/pcre/dist/ |
H A D | pcrecpp.cc | 332 bool RE::Replace(const StringPiece& rewrite, argument 340 if (!Rewrite(&s, rewrite, *str, vec, matches)) 381 int RE::GlobalReplace(const StringPiece& rewrite, argument 440 Rewrite(&out, rewrite, *str, vec, matches); 455 bool RE::Extract(const StringPiece& rewrite, argument 463 return Rewrite(out, rewrite, text, vec, matches); 615 bool RE::Rewrite(string *out, const StringPiece &rewrite, argument 617 for (const char *s = rewrite.data(), *end = s + rewrite.size(); 626 // n, rewrite [all...] |
H A D | pcrecpp_unittest.cc | 213 const char *rewrite; member in struct:ReplaceTest 339 CHECK(re.Replace(t->rewrite, &one)); 342 const int replace_count = re.GlobalReplace(t->rewrite, &all);
|
/external/regex-re2/util/ |
H A D | pcre.cc | 328 const StringPiece& rewrite) { 335 if (!pattern.Rewrite(&s, rewrite, *str, vec, matches)) 346 const StringPiece& rewrite) { 385 pattern.Rewrite(&out, rewrite, *str, vec, matches); 402 const StringPiece &rewrite, 409 return pattern.Rewrite(out, rewrite, text, vec, matches); 606 bool PCRE::Rewrite(string *out, const StringPiece &rewrite, argument 609 for (const char *s = rewrite.data(), *end = s + rewrite.size(); 622 << " in regexp " << rewrite 326 Replace(string *str, const PCRE& pattern, const StringPiece& rewrite) argument 344 GlobalReplace(string *str, const PCRE& pattern, const StringPiece& rewrite) argument 400 Extract(const StringPiece &text, const PCRE& pattern, const StringPiece &rewrite, string *out) argument 642 CheckRewriteString(const StringPiece& rewrite, string* error) const argument [all...] |
/external/chromium_org/third_party/re2/re2/ |
H A D | re2.cc | 348 // Returns the maximum submatch needed for the rewrite to be done by Replace(). 349 // E.g. if rewrite == "foo \\2,\\1", returns 2. 350 int RE2::MaxSubmatch(const StringPiece& rewrite) { argument 352 for (const char *s = rewrite.data(), *end = s + rewrite.size(); 369 const StringPiece& rewrite) { 371 int nvec = 1 + MaxSubmatch(rewrite); 378 if (!re.Rewrite(&s, rewrite, vec, nvec)) 389 const StringPiece& rewrite) { 391 int nvec = 1 + MaxSubmatch(rewrite); 367 Replace(string *str, const RE2& re, const StringPiece& rewrite) argument 387 GlobalReplace(string *str, const RE2& re, const StringPiece& rewrite) argument 427 Extract(const StringPiece &text, const RE2& re, const StringPiece &rewrite, string *out) argument 870 Rewrite(string *out, const StringPiece &rewrite, const StringPiece *vec, int veclen) const argument 918 CheckRewriteString(const StringPiece& rewrite, string* error) const argument [all...] |
/external/regex-re2/re2/ |
H A D | re2.cc | 330 // Returns the maximum submatch needed for the rewrite to be done by Replace(). 331 // E.g. if rewrite == "foo \\2,\\1", returns 2. 332 int RE2::MaxSubmatch(const StringPiece& rewrite) { argument 334 for (const char *s = rewrite.data(), *end = s + rewrite.size(); 351 const StringPiece& rewrite) { 353 int nvec = 1 + MaxSubmatch(rewrite); 360 if (!re.Rewrite(&s, rewrite, vec, nvec)) 371 const StringPiece& rewrite) { 373 int nvec = 1 + MaxSubmatch(rewrite); 349 Replace(string *str, const RE2& re, const StringPiece& rewrite) argument 369 GlobalReplace(string *str, const RE2& re, const StringPiece& rewrite) argument 409 Extract(const StringPiece &text, const RE2& re, const StringPiece &rewrite, string *out) argument 852 Rewrite(string *out, const StringPiece &rewrite, const StringPiece *vec, int veclen) const argument 900 CheckRewriteString(const StringPiece& rewrite, string* error) const argument [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
H A D | BeautifulSoup.py | 1601 def rewrite(match): function in function:BeautifulSoup.start_meta 1603 newAttr = self.CHARSET_RE.sub(rewrite, contentType) 1728 # Universal Feed Parser. It does not rewrite the XML or HTML to
|
/external/chromium_org/third_party/libxml/src/ |
H A D | catalog.c | 1648 xmlCatalogEntryPtr rewrite = NULL; local 1669 rewrite = cur; 1684 if (rewrite != NULL) { 1687 "Using rewriting rule %s\n", rewrite->name); 1688 ret = xmlStrdup(rewrite->URL); 1864 xmlCatalogEntryPtr rewrite = NULL; local 1900 rewrite = cur; 1915 if (rewrite != NULL) { 1918 "Using rewriting rule %s\n", rewrite->name); 1919 ret = xmlStrdup(rewrite [all...] |
/external/libxml2/ |
H A D | catalog.c | 1644 xmlCatalogEntryPtr rewrite = NULL; local 1665 rewrite = cur; 1680 if (rewrite != NULL) { 1683 "Using rewriting rule %s\n", rewrite->name); 1684 ret = xmlStrdup(rewrite->URL); 1860 xmlCatalogEntryPtr rewrite = NULL; local 1896 rewrite = cur; 1911 if (rewrite != NULL) { 1914 "Using rewriting rule %s\n", rewrite->name); 1915 ret = xmlStrdup(rewrite [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 295 /// \brief Instructions which will become dead if we rewrite the alloca. 303 /// \brief Operands which will become dead if we rewrite the alloca. 306 /// undef when we rewrite the alloca. These show up in out-of-bounds inputs 932 /// directly promoted. Finally, each time we rewrite a use of an alloca other 1692 /// This is a quick test to check whether we can rewrite a particular alloca 1801 /// This is a quick test to check whether we can rewrite the integer loads and 1982 /// \brief Visitor to rewrite instructions using p particular slice of an alloca 2032 // Track post-rewrite users which are PHI nodes and Selects. 2106 // Every instruction which can end up as a user must have a rewrite rule. 2108 DEBUG(dbgs() << " !!!! Cannot rewrite 2771 bool rewrite(Instruction &I) { function in class:__anon26330::AggLoadStoreRewriter [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.apache.lucene_1.9.1.v20100518-1140.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.pde.api.tools_1.0.202.v20100820_r361.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.mortbay.jetty.server_6.1.23.v201004211559.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 4701 ExprResult rewrite = rebuildUnknownAnyFunction(*this, Fn); local 4702 if (rewrite.isInvalid()) return ExprError(); 4703 Fn = rewrite.get();
|
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |