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

1 2 3 4

  /external/clang/test/Frontend/Inputs/
rewrite-includes8.h 1 #if __has_include_next(<rewrite-includes8.h>)
2 #elif __has_include(<rewrite-includes8.hfail>)
4 #if !__has_include("rewrite-includes8.h")
  /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...]
  /external/chromium_org/build/linux/
pkg-config-wrapper 38 rewrite=`dirname $0`/rewrite_dirs.py
59 echo "$result"| $rewrite --sysroot "$root" --strip-prefix "$prefix"
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
RewriteCardinalityException.js 5 /** Base class for all exceptions thrown during AST rewrite construction.
RewriteRuleTokenStream.js 19 * This way we can do hetero tree nodes in rewrite.
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
ANTLRv3Tree.g 115 : ^( BLOCK optionsSpec? (alternative rewrite)+ EOB )
119 : ^( BLOCK (alternative rewrite)+ EOB )
187 rewrite
LeftRecursiveRuleWalker.g 147 rewrite?
157 ( ^(ALT element+ EOA) rewrite? )+
238 rewrite
239 : ^(REWRITES ( ^( REWRITE SEMPRED? (^(ALT .*)|^(TEMPLATE .*)|ACTION|ETC) ) )* )
ANTLRTreePrinter.g 129 | rewrite
316 alternative rewrite ( {out("|");} alternative rewrite )*
338 rewrite
345 : ^( REWRITE {out(" ->");}
  /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...]
  /external/chromium_org/third_party/re2/re2/
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) {
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) {
    [all...]
re2.h 357 // Replace the first match of "pattern" in "str" with "rewrite".
358 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
360 // from the pattern. \0 in "rewrite" refers to the entire matching
372 const StringPiece& rewrite);
375 // of the pattern in the string with the rewrite. E.g.
389 const StringPiece& rewrite);
391 // Like Replace, except that if the pattern matches, "rewrite"
399 const StringPiece &rewrite,
479 // Check that the given rewrite string is suitable for use with this
482 // to satisfy all of the \N tokens in rewrite
    [all...]
  /external/regex-re2/re2/
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) {
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) {
    [all...]
re2.h 357 // Replace the first match of "pattern" in "str" with "rewrite".
358 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
360 // from the pattern. \0 in "rewrite" refers to the entire matching
372 const StringPiece& rewrite);
375 // of the pattern in the string with the rewrite. E.g.
389 const StringPiece& rewrite);
391 // Like Replace, except that if the pattern matches, "rewrite"
399 const StringPiece &rewrite,
479 // Check that the given rewrite string is suitable for use with this
482 // to satisfy all of the \N tokens in rewrite
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdlib/
setenv.c 88 * "value". If rewrite is set, replace any current value.
91 setenv(const char *name, const char *value, int rewrite)
111 if (!rewrite)
  /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/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
ANTLRv3.g 63 LABEL; // $x used in rewrite rules
75 REWRITE='->';
199 a1=alternative rewrite ( '|' a2=alternative rewrite )*
201 -> ^( BLOCK[$lp,"BLOCK"] optionsSpec? (alternative rewrite?)+ EOB[$rp,"EOB"] )
207 // leave here to demonstrate use of {...} in rewrite rule
211 : a1=alternative rewrite ( '|' a2=alternative rewrite )*
212 -> ^( {blkRoot} (alternative rewrite?)+ EOB["EOB"] )
346 rewrite
    [all...]
  /external/chromium_org/third_party/re2/util/
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
    [all...]
pcre.h 382 // Replace the first match of "pattern" in "str" with "rewrite".
383 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
385 // from the pattern. \0 in "rewrite" refers to the entire matching
397 const StringPiece& rewrite);
400 // the string with the rewrite. Replacements are not subject to
411 const StringPiece& rewrite);
413 // Like Replace, except that if the pattern matches, "rewrite"
421 const StringPiece &rewrite,
424 // Check that the given @p rewrite string is suitable for use with
427 // of the \N tokens in @p rewrite, an
    [all...]
  /external/regex-re2/util/
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
    [all...]
pcre.h 376 // Replace the first match of "pattern" in "str" with "rewrite".
377 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
379 // from the pattern. \0 in "rewrite" refers to the entire matching
391 const StringPiece& rewrite);
394 // the string with the rewrite. Replacements are not subject to
405 const StringPiece& rewrite);
407 // Like Replace, except that if the pattern matches, "rewrite"
415 const StringPiece &rewrite,
418 // Check that the given @p rewrite string is suitable for use with
421 // of the \N tokens in @p rewrite, an
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java 129 URL u = new URL(mRewriter.rewrite(url));
183 public String rewrite(String url) { method in class:JavaNetHttpHelper.PassThroughRewriter
HttpHelper.java 150 public String rewrite(String url); method in interface:HttpHelper.UrlRewriter
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
jsbundler.py 113 '''A list of simple path rewrite rules to map relative input paths to
126 Die('Invalid prefix rewrite spec %s' % spec)
136 in_path, str: The input path to rewrite.
  /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/test/functional/ast-output/
tree-rewrite.rb 565 rewrite=true;
591 rewrite=true;
609 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleFlatTree; rewrite=true;}
627 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree; rewrite=true;}
645 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree2; rewrite=true;}
664 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree3; rewrite=true;}
683 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree4; rewrite=true;}
702 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree5; rewrite=true;}
721 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteOfRuleRef; rewrite=true;}
737 options {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteOfRuleRefRoot; rewrite=true;
    [all...]

Completed in 2549 milliseconds

1 2 3 4