HomeSort by relevance Sort by last modified time
    Searched defs:rewrite (Results 1 - 25 of 30) sorted by null

1 2

  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
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( 'abc', '_ayc' ) do |stream
289 def rewrite( input ) method in class:TestRewritingWithTokenStream2
    [all...]
  /build/core/
cleanbuild.mk 85 # Rewrite the clean step for the second arch.
90 define -cs-rewrite-cleanstep
97 $(call -cs-rewrite-cleanstep,$(INTERNAL_CLEAN_STEP.$(step)),$(TARGET_OUT_INTERMEDIATES),$($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_INTERMEDIATES))\
98 $(call -cs-rewrite-cleanstep,$(INTERNAL_CLEAN_STEP.$(step)),$(TARGET_OUT_SHARED_LIBRARIES),$($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_SHARED_LIBRARIES))\
99 $(call -cs-rewrite-cleanstep,$(INTERNAL_CLEAN_STEP.$(step)),$(TARGET_OUT_VENDOR_SHARED_LIBRARIES),$($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_VENDOR_SHARED_LIBRARIES))\
100 $(call -cs-rewrite-cleanstep,$(INTERNAL_CLEAN_STEP.$(step)),$($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_INTERMEDIATES),$(TARGET_OUT_INTERMEDIATES))\
101 $(call -cs-rewrite-cleanstep,$(INTERNAL_CLEAN_STEP.$(step)),$($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_SHARED_LIBRARIES),$(TARGET_OUT_SHARED_LIBRARIES))\
102 $(call -cs-rewrite-cleanstep,$(INTERNAL_CLEAN_STEP.$(step)),$($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_VENDOR_SHARED_LIBRARIES),$(TARGET_OUT_VENDOR_SHARED_LIBRARIES))\
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
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
57 Rewrite streams implement lazy rewriting by storing the parameters of
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
377 def rewrite( program_name = 'default', range = nil ) method
    [all...]
  /external/jsoncpp/src/jsontestrunner/
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", rewriteRoot, features, parseOnly )
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
HttpHelper.java 150 public String rewrite(String url); method in interface:HttpHelper.UrlRewriter
JavaNetHttpHelper.java 129 URL u = new URL(mRewriter.rewrite(url));
183 public String rewrite(String url) { method in class:JavaNetHttpHelper.PassThroughRewriter
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
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
173 wiz.visit(t, ANTLRv3Parser.REWRITE,
Grammar.java 215 add("output"); add("rewrite"); add("ASTLabelType");
228 add("output"); add("rewrite"); add("ASTLabelType");
242 add("k"); add("backtrack"); add("memoize"); add("rewrite");
683 // filter&&output=AST => rewrite=true
688 Object rewrite = getOption("rewrite"); local
698 if ( rewrite!=null && !rewrite.toString().equals("true") ) {
700 "rewrite", rewrite);
    [all...]
  /external/llvm/lib/CodeGen/
VirtRegMap.cpp 167 void rewrite();
214 DEBUG(dbgs() << "********** REWRITE VIRTUAL REGISTERS **********\n"
225 // Rewrite virtual registers.
226 rewrite();
267 void VirtRegRewriter::rewrite() { function in class:VirtRegRewriter
371 // Rewrite. Note we could have used MachineOperand::substPhysReg(), but
  /external/chromium_org/third_party/re2/re2/testing/
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,
199 bool actual_ok = exp.CheckRewriteString(rewrite, &error);
200 EXPECT_EQ(expect_ok, actual_ok) << " for " << rewrite << " error: " << error;
    [all...]
  /external/regex-re2/re2/testing/
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,
192 bool actual_ok = exp.CheckRewriteString(rewrite, &error);
193 EXPECT_EQ(expect_ok, actual_ok) << " for " << rewrite << " error: " << error;
    [all...]
  /external/llvm/include/llvm/Analysis/
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/nanohttpd/webserver/src/main/java/fi/iki/elonen/
SimpleWebServer.java 328 InternalRewrite rewrite = (InternalRewrite) response; local
329 return respond(rewrite.getHeaders(), session, rewrite.getUri());
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
BeautifulSoup.py 1601 def rewrite(match): function in function:BeautifulSoup.start_meta
    [all...]
  /external/chromium_org/third_party/libxml/src/
catalog.c 1648 xmlCatalogEntryPtr rewrite = NULL; local
1864 xmlCatalogEntryPtr rewrite = NULL; local
    [all...]
  /external/libxml2/
catalog.c 1644 xmlCatalogEntryPtr rewrite = NULL; local
1860 xmlCatalogEntryPtr rewrite = NULL; local
    [all...]
  /external/llvm/lib/Transforms/Scalar/
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
2771 bool rewrite(Instruction &I) { function in class:__anon30098::AggLoadStoreRewriter
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.lucene_1.9.1.v20100518-1140.jar 
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar 
org.eclipse.pde.api.tools_1.0.202.v20100820_r361.jar 
org.mortbay.jetty.server_6.1.23.v201004211559.jar 
  /external/clang/lib/Sema/
SemaExpr.cpp 4701 ExprResult rewrite = rebuildUnknownAnyFunction(*this, Fn); local
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/org.eclipse.jdt.core/3.9.1.v20130905-0837/
org.eclipse.jdt.core-3.9.1.v20130905-0837.jar 
  /external/antlr/antlr-3.4/lib/
antlr-3.4-complete.jar 
  /prebuilts/misc/common/antlr/
antlr-3.4-complete.jar 

Completed in 1522 milliseconds

1 2