/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)
|
/tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/model/java/ |
ActivityClass.java | 31 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 54 private ASTRewrite rewrite = null; field in class:ActivityClass 168 rewrite = ASTRewrite.create(ast); 171 rewrite.createStringPlaceholder(CodeUtilsNLS.MODEL_Common_ToDoPutYourCodeHere, 184 rewrite.getListRewrite(method, method.getModifiersProperty()).insertFirst( 189 rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY).insertLast(todoComment, null); 195 TextEdit modifications = rewrite.rewriteAST(document, null);
|
BroadcastReceiverClass.java | 30 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 53 private ASTRewrite rewrite = null; field in class:BroadcastReceiverClass 135 rewrite = ASTRewrite.create(ast); 138 rewrite.createStringPlaceholder(CodeUtilsNLS.MODEL_Common_ToDoPutYourCodeHere, 151 rewrite.getListRewrite(method, method.getModifiersProperty()).insertFirst( 156 rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY).insertFirst(todoComment, null); 162 TextEdit modifications = rewrite.rewriteAST(document, null);
|
ServiceClass.java | 30 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 57 private ASTRewrite rewrite = null; field in class:ServiceClass 179 rewrite = ASTRewrite.create(ast); 182 rewrite.createStringPlaceholder(CodeUtilsNLS.MODEL_Common_ToDoPutYourCodeHere, 195 rewrite.getListRewrite(method, method.getModifiersProperty()).insertFirst( 200 rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY).insertFirst(todoComment, null); 206 TextEdit modifications = rewrite.rewriteAST(document, null);
|
WidgetProviderClass.java | 29 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite;
63 private ASTRewrite rewrite = null;
field in class:WidgetProviderClass 228 rewrite = ASTRewrite.create(ast);
231 rewrite.createStringPlaceholder(CodeUtilsNLS.MODEL_Common_ToDoPutYourCodeHere,
244 rewrite.getListRewrite(method, method.getModifiersProperty()).insertFirst(
249 rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY).insertFirst(todoComment, null);
255 TextEdit modifications = rewrite.rewriteAST(document, null);
|
ContentProviderClass.java | 36 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 76 private ASTRewrite rewrite; field in class:ContentProviderClass 341 rewrite = ASTRewrite.create(ast); 344 rewrite.createStringPlaceholder(CodeUtilsNLS.MODEL_Common_ToDoPutYourCodeHere, 361 rewrite.getListRewrite(method, method.getModifiersProperty()).insertFirst( 366 rewrite.getListRewrite(block, Block.STATEMENTS_PROPERTY).insertFirst(todoComment, 374 TextEdit modifications = rewrite.rewriteAST(document, null);
|
/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)
|
/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 */
|