Home
last modified time | relevance | path

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

12

/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/llvm-project/mlir/test/mlir-cpu-runner/
Dasync-group.mlir17 %token1 = async.execute { async.yield }
23 %1 = async.add_to_group %token1, %group : !async.token
/external/angle/third_party/vulkan-deps/spirv-tools/src/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/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()
Dunguessable_token_unittest.cc109 const UnguessableToken token1 = in TEST() local
113 EXPECT_NE(token1.ToString(), token2.ToString()); 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/angle/third_party/abseil-cpp/absl/strings/internal/
Dcordz_sample_token_test.cc111 CordzSampleToken token1; in TEST() local
113 CordzSampleToken::Iterator lhs = token1.begin(); in TEST()
/external/angle/src/compiler/translator/
Dglslang.l113 …rd_2(TParseContext *context, TExtension extension1, TExtension extension2, int token1, int token2);
114 …rd_2(TParseContext *context, TExtension extension1, TExtension extension2, int token1, int token2);
765 …ord_2(TParseContext *context, TExtension extension1, TExtension extension2, int token1, int token2) in ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2() argument
773 return token1; in ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2()
790 …ord_2(TParseContext *context, TExtension extension1, TExtension extension2, int token1, int token2) in ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2() argument
798 return token1; in ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2()
Dglslang_lex_autogen.cpp951 int token1,
956 int token1,
3628 int token1, in ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2() argument
3637 return token1; in ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2()
3657 int token1, in ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2() argument
3666 return token1; in ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtoken_hlo_test.cc59 auto token1 = builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F() local
62 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()
/external/llvm-project/mlir/test/Conversion/AsyncToLLVM/
Dconvert-to-llvm.mlir80 %token1 = async.execute {
85 async.await %token1 : !async.token
/external/libchrome/base/i18n/
Dbreak_iterator_unittest.cc190 const char token1[] = "下载"; in TEST() local
197 {token1, " ", token2, token3, token4, " ", token5, token6}, ""))); in TEST()
204 EXPECT_EQ(UTF8ToUTF16(token1), iter.GetString()); in TEST()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcollective_ops_test.py960 token1 = resource_variable_ops.ResourceVariable(0.)
978 ordering_token=token1.handle)
998 ordering_token=token1.handle)
/external/llvm-project/mlir/test/Dialect/Async/
Dops.mlir100 %token1 = async.execute () -> () { async.yield }
/external/llvm-project/llvm/test/CodeGen/X86/
Dstatepoint-vreg.ll561 …%token1 = tail call token (i64, i32, void ()*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f…
562 %rel = call i32 addrspace(1)* @llvm.experimental.gc.relocate.p1i32(token %token1, i32 0, i32 1)
631 …%token1 = call token (i64, i32, i32 (i32)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_i3…
632 …%reloc2 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %token1, i32 0, i…
633 …%reloc3 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %token1, i32 0, i…
/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()

12