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

1 2 3 4

  /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/build/linux/
pkg-config-wrapper 22 rewrite=`dirname $0`/rewrite_dirs.py
37 echo "$result"| $rewrite --sysroot "$root" --strip-prefix "$prefix"
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
lighttpd.conf 62 # Rewrite rule for utf-8 path test (LayoutTests/http/tests/uri/utf8-path.html)
63 # See the apache rewrite rule at LayoutTests/http/tests/uri/intercept/.htaccess
64 # Rewrite rule for LayoutTests/http/tests/appcache/cyrillic-uri.html.
65 # See the apache rewrite rule at
67 url.rewrite-once = (
  /bionic/libc/stdlib/
setenv.c 41 * "value". If rewrite is set, replace any current value.
44 setenv(const char *name, const char *value, int rewrite)
54 if (!rewrite)
  /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/openssh/openbsd-compat/
setenv.c 78 * "value". If rewrite is set, replace any current value.
81 setenv(const char *name, const char *value, int rewrite)
91 if (!rewrite)
openbsd-compat.h 83 int setenv(register const char *name, register const char *value, int 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/regex-re2/re2/
re2.cc 307 // Returns the maximum submatch needed for the rewrite to be done by Replace().
308 // E.g. if rewrite == "foo \\2,\\1", returns 2.
309 static int MaxSubmatch(const StringPiece& rewrite) {
311 for (const char *s = rewrite.data(), *end = s + rewrite.size();
328 const StringPiece& rewrite) {
330 int nvec = 1 + MaxSubmatch(rewrite);
337 if (!re.Rewrite(&s, rewrite, vec, nvec))
348 const StringPiece& rewrite) {
    [all...]
re2.h 338 // Replace the first match of "pattern" in "str" with "rewrite".
339 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
341 // from the pattern. \0 in "rewrite" refers to the entire matching
353 const StringPiece& rewrite);
356 // of the pattern in the string with the rewrite. E.g.
370 const StringPiece& rewrite);
372 // Like Replace, except that if the pattern matches, "rewrite"
380 const StringPiece &rewrite,
460 // Check that the given rewrite string is suitable for use with this
463 // to satisfy all of the \N tokens in rewrite
    [all...]
  /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/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/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...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
ASTTreeParser.stg 32 * Auto build or rewrite
49 /** What to emit when there is no rewrite rule. For auto build
125 <else> <! rewrite mode !>
168 <else> <! rewrite mode !>
228 <else> <! rewrite mode !>
254 /** rule when output=AST and tracking for rewrite */
260 /** x+=rule when output=AST and tracking for rewrite */
266 /** ^(rule ...) rewrite */
272 /** ^(x+=rule ...) rewrite */
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
ASTTreeParser.stg 32 * Auto build or rewrite
48 /** What to emit when there is no rewrite rule. For auto build
124 <else> <! rewrite mode !>
167 <else> <! rewrite mode !>
227 <else> <! rewrite mode !>
253 /** rule when output=AST and tracking for rewrite */
259 /** x+=rule when output=AST and tracking for rewrite */
265 /** ^(rule ...) rewrite */
271 /** ^(x+=rule ...) rewrite */
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
ASTTreeParser.stg 32 * Auto build or rewrite
57 /** What to emit when there is no rewrite rule. For auto build
135 <else> <! rewrite mode !>
180 <else> <! rewrite mode !>
239 <else> <! rewrite mode !>
269 /** rule when output=AST and tracking for rewrite */
275 /** x+=rule when output=AST and tracking for rewrite */
281 /** ^(rule ...) rewrite */
287 /** ^(x+=rule ...) rewrite */
  /external/llvm/lib/CodeGen/
VirtRegMap.h 180 /// rewrite - Rewrite all instructions in MF to use only physical registers
185 void rewrite(SlotIndexes *Indexes);
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
CommonTreeNodeStream.cs 188 #region Tree rewrite interface

Completed in 527 milliseconds

1 2 3 4