Home
last modified time | relevance | path

Searched refs:token1 (Results 1 – 17 of 17) sorted by relevance

/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m39 token1 = [CommonToken newToken:5];
43 [token1 setText:@"token 1"];
51 [token1 release]; token1 = nil;
74 token1 = [CommonToken newToken:5];
76 [token1 setText:@"token 1"];
80 [stream addElement:token1];
94 token1 = [CommonToken newToken:5];
98 [token1 setText:@"token 1"];
102 [stream addElement:token1];
105 …STAssertEqualObjects([tree getToken], token1, @"return token from stream should be token1, but isn…
[all …]
DTestRewriteRuleTokenStream.h36 CommonToken *token1; variable
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs194 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRTokenStreamBehaviourWithElements()
197 tokenTest.Add(token1); in CheckRRTokenStreamBehaviourWithElements()
203 Assert.AreEqual(token1, tree.Token, in CheckRRTokenStreamBehaviourWithElements()
213 Assert.AreEqual(token1, returnedToken, in CheckRRTokenStreamBehaviourWithElements()
223 Assert.AreEqual(token1, returnedToken, in CheckRRTokenStreamBehaviourWithElements()
238 Assert.AreEqual(token1, returnedToken, in CheckRRTokenStreamBehaviourWithElements()
259 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRSubtreeStreamBehaviourWithElements()
260 ITree tree1 = CreateTree(token1); in CheckRRSubtreeStreamBehaviourWithElements()
278 Assert.AreEqual(token1, returnedTree.Token, in CheckRRSubtreeStreamBehaviourWithElements()
294 Assert.AreEqual(token1, returnedTree.Token, in CheckRRSubtreeStreamBehaviourWithElements()
[all …]
/external/antlr/runtime/Cpp/tests/
Dt001.cpp41 t001lexerTraits::CommonTokenType *token1 = lxr->nextToken(); in testValid() local
44 std::cout << token1->getText() << std::endl; in testValid()
66 t001lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface() local
69 std::cout << token1->getText() << std::endl; in testIteratorInterface()
Dt002.cpp75 t002lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface() local
79 std::cout << token1->getText() << std::endl; in testIteratorInterface()
Dt003.cpp85 t003lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface() local
90 std::cout << token1->getText() << std::endl; in testIteratorInterface()
/external/deqp-deps/SPIRV-Tools/test/
Dcpp_interface_test.cpp293 auto token1 = CreateStripDebugInfoPass(); in TEST() local
294 Optimizer::PassToken token2(std::move(token1)); in TEST()
302 auto token1 = CreateStripDebugInfoPass(); in TEST() local
304 token2 = std::move(token1); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dcpp_interface_test.cpp293 auto token1 = CreateStripDebugInfoPass(); in TEST() local
294 Optimizer::PassToken token2(std::move(token1)); in TEST()
302 auto token1 = CreateStripDebugInfoPass(); in TEST() local
304 token2 = std::move(token1); in TEST()
/external/libchrome/base/
Dsequence_token_unittest.cc66 const SequenceToken token1 = SequenceToken::Create(); in TEST() local
70 EXPECT_NE(token1.ToInternalValue(), token2.ToInternalValue()); in TEST()
/external/python/oauth2client/tests/
Dtest_service_account.py289 token1 = u'first_token'
291 'access_token': token1,
312 self.assertEqual(token1, token.access_token)
325 self.assertEqual(credentials.access_token, token1)
329 self.assertEqual(token1, token.access_token)
342 self.assertEqual(credentials.access_token, token1)
Dtest_client.py1100 token1 = u'first_token'
1102 'access_token': token1,
1129 self.assertEqual(token1, token.access_token)
1139 self.assertEqual(credentials.access_token, token1)
1143 self.assertEqual(token1, token.access_token)
1154 self.assertEqual(credentials.access_token, token1)
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtoken_hlo_test.cc60 auto token1 = builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F() local
63 HloInstruction::CreateAfterAll({token0, token0, token1, token2})); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_reachability_test.cc196 auto token1 = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F() local
198 builder.AddInstruction(HloInstruction::CreateRecv(shape, token1, 1)); in TEST_F()
Dhlo_parser_test.cc1491 token1 = token[] after-all() in CreateTestCases()
1492 ROOT after-all = token[] after-all(p0, token0, token1) in CreateTestCases()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc362 int lb_token_cmp(void* token1, void* token2) { in lb_token_cmp() argument
363 if (token1 > token2) return 1; in lb_token_cmp()
364 if (token1 < token2) return -1; in lb_token_cmp()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_test.cc407 auto token1 = LiteralUtil::CreateToken(); in TEST_F() local
410 EXPECT_EQ(token0, token1); in TEST_F()
416 LiteralUtil::MakeTuple({&token1, &scalar})); in TEST_F()
418 LiteralUtil::MakeTuple({&scalar, &token1})); in TEST_F()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1246 VGPU10OpcodeToken1 token1; in emit_sample_opcode() local
1262 token1.value = 0; in emit_sample_opcode()
1263 token1.opcodeType = VGPU10_EXTENDED_OPCODE_SAMPLE_CONTROLS; in emit_sample_opcode()
1264 token1.offsetU = offsets[0]; in emit_sample_opcode()
1265 token1.offsetV = offsets[1]; in emit_sample_opcode()
1266 token1.offsetW = offsets[2]; in emit_sample_opcode()
1271 emit_dword(emit, token1.value); in emit_sample_opcode()