Home
last modified time | relevance | path

Searched refs:token2 (Results 1 – 13 of 13) sorted by relevance

/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m40 token2 = [ANTLRCommonToken newToken:6];
44 [token2 setText:@"token 2"];
52 [token2 release]; token2 = nil;
75 token2 = [ANTLRCommonToken newToken:6];
77 [token2 setText:@"token 2"];
83 [stream addElement:token2];
95 token2 = [ANTLRCommonToken newToken:6];
99 [token2 setText:@"token 2"];
127 [stream addElement:token2];
139 STAssertEqualObjects([tree2 getToken], token2,
[all …]
DTestRewriteRuleTokenStream.h37 ANTLRCommonToken *token2; variable
/external/srec/srec/crec/
Dpriority_q.c107 int compare_histories(word_token* token1, word_token* token2, in compare_histories() argument
125 if (token1->word != token2->word) in compare_histories()
127 if (token1->end_node != token2->end_node) in compare_histories()
137 if (token2->backtrace != MAXwordID) in compare_histories()
139 history_for_token2 += token2->end_node * 1000000; in compare_histories()
140 history_for_token2 += word_token_array[token2->backtrace].word * 10000; in compare_histories()
141 history_for_token2 += word_token_array[token2->backtrace].end_time; in compare_histories()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs232 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRTokenStreamBehaviourWithElements()
234 tokenTest.Add(token2); in CheckRRTokenStreamBehaviourWithElements()
243 Assert.AreEqual(token2, returnedToken, in CheckRRTokenStreamBehaviourWithElements()
287 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRSubtreeStreamBehaviourWithElements()
288 ITree tree2 = CreateTree(token2); in CheckRRSubtreeStreamBehaviourWithElements()
299 Assert.AreEqual(token2, returnedTree.Token, in CheckRRSubtreeStreamBehaviourWithElements()
342 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRNodeStreamBehaviourWithElements()
343 ITree tree2 = CreateTree(token2); in CheckRRNodeStreamBehaviourWithElements()
354 Assert.AreEqual(token2, returnedTree.Token, in CheckRRNodeStreamBehaviourWithElements()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DWarningParser.java106 Token token2 = lexer.getNextToken(); in parse() local
108 + token2.getTokenValue()); in parse()
150 Token token2 = lexer.getNextToken(); in parse() local
152 + token2.getTokenValue()); in parse()
/external/libxml2/include/libxml/
Dxmlautomata.h66 const xmlChar *token2,
73 const xmlChar *token2,
89 const xmlChar *token2,
106 const xmlChar *token2,
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dtokenutil.py360 def Compare(token1, token2): argument
371 if token2.line_number != token1.line_number:
372 return token1.line_number - token2.line_number
374 return token1.start_index - token2.start_index
/external/chromium/chrome/browser/policy/
Ddevice_token_fetcher_unittest.cc97 std::string token2 = fetcher.GetDeviceToken(); in TEST_F() local
98 EXPECT_NE("", token2); in TEST_F()
99 EXPECT_NE(token, token2); in TEST_F()
/external/v8/test/cctest/
Dtest-profile-generator.cc43 v8::Local<v8::String> token2(v8::String::New("2x")); in TEST() local
44 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
45 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
51 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
57 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2))); in TEST()
407 const int token0 = 0, token1 = 1, token2 = 2; in TEST() local
490 token2_tree.FilteredClone(&source_tree, token2); in TEST()
Dtest-cpu-profiler.cc372 v8::Local<v8::String> token2 = v8::String::New("token2"); in TEST() local
373 const v8::CpuProfile* p2_t2 = v8::CpuProfiler::StopProfiling(name2, token2); in TEST()
/external/chromium/testing/gmock/scripts/generator/cpp/
Dast.py1281 token = token2 = self._GetNextToken()
1284 token2 = self._GetNextToken()
1285 if token2.token_type == tokenize.SYNTAX and token2.name == '~':
1290 if token2 is not token:
1291 return_type_and_name.insert(1, token2)
/external/libxml2/
Dxmlregexp.c5727 const xmlChar *token2, void *data) { in xmlAutomataNewTransition2() argument
5736 if ((token2 == NULL) || (*token2 == 0)) { in xmlAutomataNewTransition2()
5742 lenn = strlen((char *) token2); in xmlAutomataNewTransition2()
5752 memcpy(&str[lenp + 1], token2, lenn); in xmlAutomataNewTransition2()
5787 const xmlChar *token2, void *data) { in xmlAutomataNewNegTrans() argument
5798 if ((token2 == NULL) || (*token2 == 0)) { in xmlAutomataNewNegTrans()
5804 lenn = strlen((char *) token2); in xmlAutomataNewNegTrans()
5814 memcpy(&str[lenp + 1], token2, lenn); in xmlAutomataNewNegTrans()
5854 const xmlChar *token2, in xmlAutomataNewCountTrans2() argument
5868 if ((token2 == NULL) || (*token2 == 0)) { in xmlAutomataNewCountTrans2()
[all …]
/external/freetype/src/psaux/
Dpsobjs.c1051 T1_TokenRec token2; in ps_parser_load_field() local
1060 ps_parser_to_token( parser, &token2 ); in ps_parser_load_field()
1064 if ( token2.type == T1_TOKEN_TYPE_ARRAY ) in ps_parser_load_field()