/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestAttributes.java | 58 String action = "i<3; '<xmltag>'"; local 60 new CommonToken(ANTLRParser.ACTION,action),0); 61 String expecting = action; 66 ST actionST = new ST(templates, "<action>"); 67 actionST.add("action", rawTranslation); 73 String action = "int \\$n; \"\\$in string\\$\""; local 77 "@members {"+action+"}\n"+ 79 " : {"+action+"}\n" + 88 new CommonToken(ANTLRParser.ACTION,action),0) 93 String action = "$i; $i.x; $u; $u.x"; local 115 String action = "x, (*a).foo(21,33), 3.2+1, '\\\\n', "+ local 169 String action = "34, '{', \\"it's<\\", '\\"', \\"\\\\\\"\\", 19"; local 205 String action = "(*a).foo(21,33,\\",\\")"; local 230 String action = "34<50"; local 256 String action = "$foo.get(\\"ick\\");"; local 285 String action = "$foo.get(\\"ick\\"); x=3;"; local 339 String action = "x, $A.text+\\"3242\\", (*$A).foo(21,33), 3.2+1, '\\\\n', "+ local 370 String action = "$x.foo"; local 396 String action = "$x.text"; local 418 String action = "$x"; local 444 String action = "$x.i"; local 470 String action = "$b = true;"; local 498 String action = "$x.i1"; local 524 String action = "$i; $i.x; $u; $u.x"; local 572 String action = action1; local 586 String action = "$x"; local 611 String action = "$id; $f; $id.text; $id.getText(); $id.dork " + local 635 String action = "$r.x; $r.start;\\n $r.stop;\\n $r.tree; $a.x; $a.stop;"; local 679 String action = "$r.x; $r.start; $r.stop; $r.tree; $a.x; $a.stop;"; local 707 String action = "$r.x; $r.start; $r.stop; $r.tree; $a.x; $a.tree;"; local 733 String action = "$r.z"; local 760 String action = "$r.n"; local 789 String action = "$r.blort"; local 817 String action = "$r"; local 845 String action = "$a"; local 871 String action = "public void foo() { $x; }"; local 895 String action = "public void foo() { $x.y; }"; local 923 String action = "$Symbols::names.add($id.text);"; local 950 String action = "$Symbols::names.add($id.text);"; local 976 String action = "$Symbols[-1]::names.add($id.text);"; local 1004 String action = "$Symbols[0]::names.add($id.text);"; local 1032 String action = "$Symbols[3]::names.add($id.text);"; local 1060 String action = "$foo_bar::a_b;"; local 1086 String action = "$Symbols::x;"; local 1116 String action = "public void foo() {$Symbols::names.add('foo');}"; local 1143 String action = "public void foo() {$a::name;}"; local 1168 String action = "$a::n;"; local 1193 String action = "$n;"; local 1220 String action = "$a;"; \/\/ refers to stack not top of stack local 1246 String action = "$a::n;"; local 1272 String action = "$Symbols;"; local 1302 String action = "$a::n;"; \/\/ must be qualified local 1329 String action = "$a.i;"; local 1350 String action = "$a.i;"; local 1372 String action = "$a.i = 1;"; local 1394 String action = "$a;"; local 1418 String action = "$x;"; local 1489 String action = "$a.st;"; \/\/ can be qualified local 1512 String action = "$b.start;"; local 1539 String action = "$b::n;"; local 1564 String action = "$st=null;"; local 1586 String action = "$text"; local 1609 String action = "$start;"; local 1633 String action = "$ID.text;"; \/\/ must be qualified local 1666 String action = "$b.text;"; \/\/ must be qualified local 1695 String action = "$a::x"; local 1726 String action = "$Symbols::x"; local 1757 String action = "$n;"; \/\/ must be qualified local 1854 String action = "$ids.size();"; \/\/ must be qualified local 1877 String action = "$ids.size();"; \/\/ must be qualified local 1901 String action = "$ids.size();"; \/\/ must be qualified local 1925 String action = "$ids.size();"; \/\/ must be qualified local 1949 String action = "$ID; $ID.text; $ID.getText()"; local 1975 String action = "$r.start;"; local 1999 String action = "$r.start;"; local 2023 String action = "$r.start;"; local 2048 String action = "$ID.text;"; local 2072 String action = "$ID.text;"; local 2309 String action = "$i.text"; local 2332 String action = "$ID.text"; local 2355 String action = "$ID"; local 2457 String action = "$text $type $line $pos $channel $index $start $stop"; local 2479 String action = "$a $b.text $c $d.text"; local 2502 String action = "$text $type=1 $line=1 $pos=1 $channel=1 $index"; local 2592 String action = "$id.tree;"; local 2618 String action = "$ID.tree;"; local 2640 String action = "$ID;"; local 2663 String action = "$ID.text;"; local 2686 String action = "$field::x = $field.st;"; local 2711 String action = "$rule.tree = null;"; local 2734 String action = "$rule.i = 42; $i = 23;"; local 2757 String action = "$rule.stop = 0;"; local 2784 String action = "$tree = null; $st = null; $start = 0; $stop = 0; $text = 0;"; local 2824 String action = "$other.tree = null;"; local 2854 String action = "$ID.text = \\"test\\";"; local 2883 String action = "$tree.scope = localScope;"; local 2912 String action = "$a.line == $b.line"; local 2936 String action = "if ($rule::foo == \\"foo\\" || 1) { System.out.println(\\"ouch\\"); }"; local 2982 String action = "$r.x; $r.start; $r.stop"; local 3016 String action = "$text"; local 3043 String action = "int x = $b::n;"; local [all...] |
TestTemplates.java | 49 String action = "x = %foo(name={$ID.text});"; local 61 "a : ID {"+action+"}\n" + 72 new CommonToken(ANTLRParser.ACTION,action),1); 87 String action = "x = %foo();"; local 98 "a : ID {"+action+"}\n" + 109 new CommonToken(ANTLRParser.ACTION,action),1); 124 String action = "x = %({\"foo\"})(name={$ID.text});"; local 136 "a : ID {"+action+"}\n" 161 String action = "x = %{$ID.text};"; local 196 String action = "%x.y = z;"; local 232 String action = "%{foo($ID.text).getST()}.y = z;"; local 290 String action = "%x .y = z;"; local 318 String action = "%x. y = z;"; local [all...] |
TestMessages.java | 48 String action = "$other.tree = null;"; local 57 " : other=otherrule {" + action +"}\n" + 65 new CommonToken(ANTLRParser.ACTION,action),1);
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLR.g | 452 ( ACTION )? 479 : (action)+ 483 action 484 : AMPERSAND^ (actionScopeName COLON! COLON!)? id ACTION 488 * ids for action scopes. 547 : 'scope'^ id ruleActions? ACTION 614 : AMPERSAND^ id ACTION 622 : ( 'scope' ruleActions? ACTION )? 624 -> ^(SCOPE[$start,"scope"] ruleActions? ACTION? idList*) 665 // linear approx LL(2) issue. COLON ACTION [all...] |
ActionTranslator.g | 82 * represent the translated action. 85 // System.out.println("###\naction="+action); 106 public List translateAction(String action) { 114 new CommonToken(ANTLRParser.ACTION,action),outerAltNum); 334 // supercomplicated because I can't exec the above action. 363 // supercomplicated because I can't exec the above action. 668 String action = getText().substring(1,getText().length()); 677 action); 686 : '%' '(' ACTION ')' '(' ( WS? ARG (',' WS? ARG)* WS? )? ') [all...] |
TreeToNFAConverter.g | 197 : ^( 'scope' ID ( ^(AMPERSAND .*) )* ACTION ) 277 : ^( 'scope' ( ^(AMPERSAND .*) )* (ACTION)? ( ID )* ) 326 : ^('catch' ARG_ACTION ACTION) 330 : ^('finally' ACTION) 367 | ACTION {$g = factory.build_Action($ACTION);}
|
CodeGenTreeWalker.g | 339 : ^( 'scope' ID ( ^(AMPERSAND .*) )* ACTION ) 526 : ^( 'scope' ( ^(AMPERSAND .*) )* (ACTION)? ( ID )* ) 660 : ^('catch' ARG_ACTION ACTION) 662 List chunks = generator.translateAction(currentRuleName,$ACTION); 663 $ruleST.addAggr("exceptions.{decl,action}",$ARG_ACTION.text,chunks); 668 : ^('finally' ACTION) 670 List chunks = generator.translateAction(currentRuleName,$ACTION); 779 : act=ACTION 782 $code.add("action", generator.translateAction(currentRuleName,$act)); 787 $code.add("action", generator.translateAction(currentRuleName,$act2)) [all...] |
/external/mdnsresponder/mDNSShared/ |
DebugServices.h | 868 default debugging output method then executes an action and jumps to a label. 875 #define require_noerr_action_string( ERR, LABEL, ACTION, STR ) \ 884 { ACTION; } \ 919 @abstract Require that an error code is noErr (0) with an action to execute otherwise. 924 function name, etc.) using the default debugging output method then executes an action and jumps to a label. 931 #define require_noerr_action( ERR, LABEL, ACTION ) \ 940 { ACTION; } \ [all...] |
/external/chromium/base/ |
gmock_unittest.cc | 56 ACTION(ReturnVal) { 60 ACTION(ReturnSecond) { 108 // Test a mock of the ReturnSecond behavior using an action that provides an 124 // Alternate implemention of ReturnSecond using a more general custom action,
|
/external/chromium/chrome/browser/policy/ |
asynchronous_policy_loader_unittest.cc | 42 ACTION(CreateTestDictionary) { 52 ACTION(RescheduleImmediatePolicyReload) {
|
/external/chromium/chrome/browser/sync/ |
profile_sync_test_util.h | 32 ACTION(QuitUIMessageLoop) {
|
test_profile_sync_service.h | 22 ACTION(ReturnNewDataTypeManager) {
|
/external/ipsec-tools/src/libipsec/ |
policy_parse.y | 142 %token ACTION PROTOCOL MODE LEVEL LEVEL_SPECIFY IPADDRESS PORT 145 %type <num> DIR PRIORITY ACTION PROTOCOL MODE LEVEL 150 : DIR ACTION 165 | DIR PRIORITY PRIO_OFFSET ACTION 184 | DIR PRIORITY HYPHEN PRIO_OFFSET ACTION 206 | DIR PRIORITY PRIO_BASE ACTION 217 | DIR PRIORITY PRIO_BASE PLUS PRIO_OFFSET ACTION 239 | DIR PRIORITY PRIO_BASE HYPHEN PRIO_OFFSET ACTION
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ParameterNames.java | 93 public static final String ACTION = "action";
|
Contact.java | 62 public static final String ACTION = ParameterNames.ACTION;
|
/external/webkit/Tools/android/flex-2.5.4a/ |
scan.l | 72 %x FIRSTCCL CCL ACTION RECOVER COMMENT ACTION_STRING PERCENT_BRACE_ACTION 356 BEGIN(ACTION); 368 BEGIN(ACTION); 381 BEGIN(ACTION); 382 unput( '\n' ); /* so <ACTION> sees it */ 566 <ACTION>"/*" ACTION_ECHO; yy_push_state( COMMENT ); 568 <CODEBLOCK,ACTION>{ 597 <ACTION>{ 623 \" ACTION_ECHO; BEGIN(ACTION); 627 <COMMENT,ACTION,ACTION_STRING><<EOF>> [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
CameraPairwiseTest.java | 65 public enum SceneMode { SUNSET, ACTION, PARTY, NIGHT, AUTO }; 191 * Scene: Action / Pic: Small / Geo: on 195 genericPairwiseTestCase(Flash.AUTO, Exposure.MIN, WhiteBalance.AUTO, SceneMode.ACTION, 201 * Scene: Action / Pic: Medium / Geo: off 205 genericPairwiseTestCase(Flash.ON, Exposure.MIN, WhiteBalance.AUTO, SceneMode.ACTION, 311 * Scene: Action / Pic: Large / Geo: off 315 genericPairwiseTestCase(Flash.OFF, Exposure.NONE, WhiteBalance.AUTO, SceneMode.ACTION, 340 * Scene: Action / Pic: Small / Geo: off 343 genericPairwiseTestCase(Flash.ON, Exposure.MAX, WhiteBalance.AUTO, SceneMode.ACTION, 449 case ACTION [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Strip.java | 40 /** A basic action stripper. */ 76 wiz.visit(t, ANTLRv3Parser.ACTION, 78 public void visit(Object t) { ACTION(tokens, (CommonTree)t); } 81 wiz.visit(t, ANTLRv3Parser.AT, // ^('@' id ACTION) rule actions 85 CommonTree action = null; 86 if ( a.getChildCount()==2 ) action = (CommonTree)a.getChild(1); 87 else if ( a.getChildCount()==3 ) action = (CommonTree)a.getChild(2); 88 if ( action.getType()==ANTLRv3Parser.ACTION ) { 91 killTrailingNewline(tokens, action.getTokenStopIndex()) [all...] |
GrammarSanity.java | 286 case ANTLRParser.ACTION : // skip past actions 316 while ( t.getType()==ANTLRParser.ACTION ||
|
/external/qemu/distrib/sdl-1.2.15/acinclude/ |
alsa.m4 | 7 dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
esd.m4 | 11 dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
/external/chromium/testing/gmock/test/ |
gmock-generated-actions_test.cc | 54 using testing::Action; 171 Action<int(int, int(*)())> a = InvokeArgument<1>(); // NOLINT 177 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT 183 Action<int(int(*)(int, int, int, int, int))> a = // NOLINT 190 Action<int(SumOf5Functor)> a = // NOLINT 197 Action<int(int(*)(int, int, int, int, int, int))> a = // NOLINT 204 Action<int(SumOf6Functor)> a = // NOLINT 211 Action<string(string(*)(const char*, const char*, const char*, 220 Action<string(string(*)(const char*, const char*, const char*, 229 Action<string(string(*)(const char*, const char*, const char* 458 Action<int(int*, int*, char*, char*)> action = \/\/ NOLINT local 475 Action<int(int*, int*, char*, char*, char*)> action = \/\/ NOLINT local 494 Action<int(int*, int*, char*, char*, char*, char*)> action = \/\/ NOLINT local 516 char*)> action = local 540 char*, char*)> action = local 567 char*, char*, char*)> action = local [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
JUnitCodeGen.java | 196 if ( ts.testSuites.get(input).getType()== gUnitParser.ACTION && ruleWithReturn.containsKey(ts.getRuleName()) ) { 221 if ( ts.testSuites.get(input).getType()==gUnitParser.ACTION ) { // trim ';' at the end of ACTION if there is... 246 if ( ts.testSuites.get(input).getType()== gUnitParser.ACTION && ruleWithReturn.containsKey(ts.getTreeRuleName()) ) { 267 if ( ts.testSuites.get(input).getType()==gUnitParser.ACTION ) { // trim ';' at the end of ACTION if there is...
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
Label.java | 43 public static final int ACTION = -6;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
LogStatement.java | 50 public static final String ACTION = "action";
|