Home
last modified time | relevance | path

Searched defs:tokens (Results 1 – 25 of 1873) sorted by relevance

12345678910>>...75

/aosp_15_r20/external/rust/android-crates-io/crates/quote/tests/
Dtest.rs27 let tokens = quote! { in test_quote_impl() localVariable
49 let tokens = quote_spanned! {span=> in test_quote_spanned_impl() localVariable
71 let tokens = quote!(#x <#x> (#x) [#x] {#x}); in test_substitution() localVariable
124 let tokens = quote! { in test_advanced() localVariable
180 let tokens = quote! { in test_integer() localVariable
196 let tokens = quote! { in test_floating() localVariable
213 let tokens = quote! { in test_char() localVariable
223 let tokens = quote!(#s); in test_str() localVariable
231 let tokens = quote!(#s); in test_string() localVariable
244 let tokens = m!(1); in test_interpolated_literal() localVariable
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/quote-1.0.36/tests/
H A Dtest.rs27 let tokens = quote! { in test_quote_impl() localVariable
49 let tokens = quote_spanned! {span=> in test_quote_spanned_impl() localVariable
71 let tokens = quote!(#x <#x> (#x) [#x] {#x}); in test_substitution() localVariable
124 let tokens = quote! { in test_advanced() localVariable
180 let tokens = quote! { in test_integer() localVariable
196 let tokens = quote! { in test_floating() localVariable
213 let tokens = quote! { in test_char() localVariable
223 let tokens = quote!(#s); in test_str() localVariable
231 let tokens = quote!(#s); in test_string() localVariable
244 let tokens = m!(1); in test_interpolated_literal() localVariable
[all …]
/aosp_15_r20/external/antlr/tool/src/test/java/org/antlr/test/
H A DTestTokenRewriteStream.java53 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testInsertBeforeIndex0() local
68 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testInsertAfterLastIndex() local
83 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2InsertBeforeAfterMiddleIndex() local
100 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceIndex0() local
116 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceLastIndex() local
132 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testReplaceMiddleIndex() local
153 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testToStringStartStop() local
188 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in testToStringStartStop2() local
235 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2ReplaceMiddleIndex() local
252 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine); in test2ReplaceMiddleIndex1InsertBefore() local
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/tests/
H A Dtest_expr.rs13 let tokens = quote!(..100u32); in test_expr_parse() localVariable
23 let tokens = quote!(..100u32); in test_expr_parse() localVariable
37 let tokens = quote!(fut.await); in test_await() localVariable
105 let tokens = quote!(#path()); in test_macro_variable_func() localVariable
124 let tokens = quote!(#[outside] #path()); in test_macro_variable_func() localVariable
171 let tokens = quote!(#mac!()); in test_macro_variable_macro() localVariable
194 let tokens = quote!(#s {}); in test_macro_variable_struct() localVariable
213 let tokens = quote!(#inner.method()); in test_macro_variable_unary() localVariable
238 let tokens = quote!(match v { _ => #expr }); in test_macro_variable_match_arm() localVariable
275 let tokens = quote!(match v { _ => #expr }); in test_macro_variable_match_arm() localVariable
[all …]
H A Dtest_item.rs13 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_attr() localVariable
54 let tokens = quote! { in test_negative_impl() localVariable
67 let tokens = quote! { in test_negative_impl() localVariable
79 let tokens = quote! { in test_negative_impl() localVariable
110 let tokens = quote! { in test_negative_impl() localVariable
124 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_impl() localVariable
165 let tokens = quote!(trait Trait where {}); in test_supertraits() localVariable
177 let tokens = quote!(trait Trait: where {}); in test_supertraits() localVariable
190 let tokens = quote!(trait Trait: Sized where {}); in test_supertraits() localVariable
214 let tokens = quote!(trait Trait: Sized + where {}); in test_supertraits() localVariable
[all …]
H A Dtest_ty.rs24 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() localVariable
57 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() localVariable
96 let tokens = TokenStream::from_iter(vec![ in test_group_angle_brackets() localVariable
147 let tokens = TokenStream::from_iter(vec![ in test_group_colons() localVariable
183 let tokens = TokenStream::from_iter(vec![ in test_group_colons() localVariable
220 let tokens = quote!(dyn for<'a> Trait<'a> + 'static); in test_trait_object() localVariable
258 let tokens = quote!(dyn 'a + Trait); in test_trait_object() localVariable
288 let tokens = quote!(impl Trait +); in test_trailing_plus() localVariable
307 let tokens = quote!(dyn Trait +); in test_trailing_plus() localVariable
327 let tokens = quote!(Trait +); in test_trailing_plus() localVariable
H A Dtest_stmt.rs61 let tokens = TokenStream::from_iter(vec![TokenTree::Group(Group::new( in test_none_group() localVariable
86 let tokens = Group::new(Delimiter::None, quote!(let None = None)).to_token_stream(); in test_none_group() localVariable
115 let tokens = quote! { in test_let_dot_dot() localVariable
133 let tokens = quote! { in test_let_else() localVariable
184 let tokens = quote! { in test_macros() localVariable
270 let tokens = quote! { in test_early_parse_loop() localVariable
294 let tokens = quote! { in test_early_parse_loop() localVariable
/aosp_15_r20/external/rust/android-crates-io/crates/syn/tests/
Dtest_expr.rs13 let tokens = quote!(..100u32); in test_expr_parse() localVariable
23 let tokens = quote!(..100u32); in test_expr_parse() localVariable
37 let tokens = quote!(fut.await); in test_await() localVariable
105 let tokens = quote!(#path()); in test_macro_variable_func() localVariable
124 let tokens = quote!(#[outside] #path()); in test_macro_variable_func() localVariable
171 let tokens = quote!(#mac!()); in test_macro_variable_macro() localVariable
194 let tokens = quote!(#s {}); in test_macro_variable_struct() localVariable
213 let tokens = quote!(#inner.method()); in test_macro_variable_unary() localVariable
238 let tokens = quote!(match v { _ => #expr }); in test_macro_variable_match_arm() localVariable
275 let tokens = quote!(match v { _ => #expr }); in test_macro_variable_match_arm() localVariable
[all …]
Dtest_item.rs13 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_attr() localVariable
54 let tokens = quote! { in test_negative_impl() localVariable
67 let tokens = quote! { in test_negative_impl() localVariable
79 let tokens = quote! { in test_negative_impl() localVariable
110 let tokens = quote! { in test_negative_impl() localVariable
124 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_impl() localVariable
165 let tokens = quote!(trait Trait where {}); in test_supertraits() localVariable
177 let tokens = quote!(trait Trait: where {}); in test_supertraits() localVariable
190 let tokens = quote!(trait Trait: Sized where {}); in test_supertraits() localVariable
214 let tokens = quote!(trait Trait: Sized + where {}); in test_supertraits() localVariable
[all …]
Dtest_ty.rs24 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() localVariable
57 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() localVariable
96 let tokens = TokenStream::from_iter(vec![ in test_group_angle_brackets() localVariable
147 let tokens = TokenStream::from_iter(vec![ in test_group_colons() localVariable
183 let tokens = TokenStream::from_iter(vec![ in test_group_colons() localVariable
220 let tokens = quote!(dyn for<'a> Trait<'a> + 'static); in test_trait_object() localVariable
258 let tokens = quote!(dyn 'a + Trait); in test_trait_object() localVariable
288 let tokens = quote!(impl Trait +); in test_trailing_plus() localVariable
307 let tokens = quote!(dyn Trait +); in test_trailing_plus() localVariable
327 let tokens = quote!(Trait +); in test_trailing_plus() localVariable
Dtest_stmt.rs61 let tokens = TokenStream::from_iter(vec![TokenTree::Group(Group::new( in test_none_group() localVariable
86 let tokens = Group::new(Delimiter::None, quote!(let None = None)).to_token_stream(); in test_none_group() localVariable
115 let tokens = quote! { in test_let_dot_dot() localVariable
133 let tokens = quote! { in test_let_else() localVariable
184 let tokens = quote! { in test_macros() localVariable
270 let tokens = quote! { in test_early_parse_loop() localVariable
294 let tokens = quote! { in test_early_parse_loop() localVariable
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/tests/
H A Dtest_item.rs12 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_attr() localVariable
53 let tokens = quote! { in test_negative_impl() localVariable
66 let tokens = quote! { in test_negative_impl() localVariable
78 let tokens = quote! { in test_negative_impl() localVariable
111 let tokens = quote! { in test_negative_impl() localVariable
125 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_impl() localVariable
168 let tokens = quote!(trait Trait where {}); in test_supertraits() localVariable
180 let tokens = quote!(trait Trait: where {}); in test_supertraits() localVariable
193 let tokens = quote!(trait Trait: Sized where {}); in test_supertraits() localVariable
219 let tokens = quote!(trait Trait: Sized + where {}); in test_supertraits() localVariable
[all …]
H A Dtest_ty.rs22 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() localVariable
56 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() localVariable
96 let tokens = TokenStream::from_iter(vec![ in test_group_angle_brackets() localVariable
148 let tokens = TokenStream::from_iter(vec![ in test_group_colons() localVariable
185 let tokens = TokenStream::from_iter(vec![ in test_group_colons() localVariable
224 let tokens = quote!(dyn for<'a> Trait<'a> + 'static); in test_trait_object() localVariable
262 let tokens = quote!(dyn 'a + Trait); in test_trait_object() localVariable
293 let tokens = quote!(impl Trait +); in test_trailing_plus() localVariable
313 let tokens = quote!(dyn Trait +); in test_trailing_plus() localVariable
334 let tokens = quote!(Trait +); in test_trailing_plus() localVariable
H A Dtest_expr.rs11 let tokens = quote!(..100u32); in test_expr_parse() localVariable
21 let tokens = quote!(..100u32); in test_expr_parse() localVariable
35 let tokens = quote!(fut.await); in test_await() localVariable
104 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_func() localVariable
126 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_func() localVariable
182 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_macro() localVariable
209 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_struct() localVariable
231 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_match_arm() localVariable
288 let tokens = quote!(|| .. .method()); in test_closure_vs_rangefull() localVariable
/aosp_15_r20/external/libtextclassifier/native/annotator/duration/
H A Dduration_test.cc194 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
214 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
226 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
246 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
266 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
286 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
306 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
326 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
347 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
367 std::vector<Token> tokens = Tokenize(text); in TEST_F() local
[all …]
/aosp_15_r20/external/minijail/tools/
H A Dparser.py290 def _parse_constant(self, tokens): argument
315 def parse_value(self, tokens): argument
344 def _parse_atom(self, tokens): argument
365 def _parse_clause(self, tokens): argument
378 def parse_argument_expression(self, tokens): argument
402 def _parse_default_action(self, tokens): argument
432 def parse_action(self, tokens): argument
476 def _parse_single_filter(self, tokens): argument
494 def parse_filter(self, tokens): argument
515 def _parse_key_value_pair(self, tokens): argument
[all …]
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/
H A Dcached_blind_sign_auth_test.cc84 [num_tokens, &done](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
111 [num_tokens, &first](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
126 [num_tokens, &second](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
156 [num_tokens, &first](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
171 [num_tokens, &second](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
200 [num_tokens, &first](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
215 [num_tokens, &second](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
234 &third](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
256 [](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
275 [num_tokens](absl::StatusOr<absl::Span<BlindSignToken>> tokens) { in TEST_F()
[all …]
/aosp_15_r20/external/libtextclassifier/native/annotator/
H A Dfeature-processor_test.cc87 std::vector<Token> tokens{Token("Hělló", 0, 5), in TEST_F() local
104 std::vector<Token> tokens{Token("Hělló", 0, 5), in TEST_F() local
120 std::vector<Token> tokens{Token("Hělló", 0, 5), in TEST_F() local
136 std::vector<Token> tokens{Token("Hělló", 0, 5), in TEST_F() local
152 std::vector<Token> tokens{Token("Hělló", 0, 5), in TEST_F() local
179 std::vector<Token> tokens = {Token("Fiřst", 0, 5), in TEST_F() local
204 std::vector<Token> tokens = {Token("Fiřst", 0, 5), in TEST_F() local
229 std::vector<Token> tokens = {Token("Fiřst", 0, 5), in TEST_F() local
254 std::vector<Token> tokens = {Token("Fiřst", 0, 5), in TEST_F() local
281 std::vector<Token> tokens = {Token("Fiřst", 0, 5), in TEST_F() local
[all …]
/aosp_15_r20/external/libtextclassifier/native/utils/
H A Dtokenizer_test.cc178 std::vector<Token> tokens = tokenizer.Tokenize("Hello world!"); in TEST() local
349 std::vector<Token> tokens; in TEST() local
379 std::vector<Token> tokens = tokenizer.Tokenize("พระบาท สมเด็จ พระ ปร มิ"); in TEST() local
399 std::vector<Token> tokens = in TEST() local
427 std::vector<Token> tokens = tokenizer.Tokenize("3.1 3﹒2 3.3"); in TEST() local
445 std::vector<Token> tokens = tokenizer.Tokenize("พระบาทสมเด็จพระปรมิ"); in TEST() local
495 std::vector<Token> tokens = tokenizer.Tokenize( in TEST() local
548 std::vector<Token> tokens = tokenizer.Tokenize("7% -3.14 68.9#? 7% $99 .18."); in TEST() local
565 std::vector<Token> tokens = tokenizer.Tokenize("2 pércént 3パーセント"); in TEST() local
577 std::vector<Token> tokens = tokenizer.Tokenize("3 3﹒2 3.3%"); in TEST() local
[all …]
H A Dtokenizer-utils_test.cc26 std::vector<Token> tokens = in TEST() local
69 std::vector<Token> tokens = TokenizeOnDelimiters( in TEST() local
100 std::vector<Token> tokens = TokenizeOnDelimiters( in TEST() local
146 std::vector<Token> tokens = in TEST() local
158 std::vector<Token> tokens = in TEST() local
169 std::vector<Token> tokens = in TEST() local
178 std::vector<Token> tokens = in TEST() local
192 std::vector<Token> tokens = in TEST() local
/aosp_15_r20/external/pdfium/samples/helpers/
H A Devent.cc35 const std::vector<std::string>& tokens) { in SendCharCodeEvent()
47 const std::vector<std::string>& tokens) { in SendKeyCodeEvent()
61 const std::vector<std::string>& tokens) { in SendMouseDownEvent()
82 const std::vector<std::string>& tokens) { in SendMouseUpEvent()
102 const std::vector<std::string>& tokens) { in SendMouseDoubleClickEvent()
120 const std::vector<std::string>& tokens) { in SendMouseMoveEvent()
133 const std::vector<std::string>& tokens) { in SendMouseWheelEvent()
149 const std::vector<std::string>& tokens) { in SendFocusEvent()
172 auto tokens = StringSplit(command[0], ','); in SendPageEvents() local
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/test/lex/
Dtoken_moretypes.cpp103 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids()
122 test_token_states(std::size_t const* states, std::vector<Token> const& tokens) in test_token_states()
147 std::vector<Token> const& tokens) in test_token_positions()
175 test_token_values(boost::optional<T> const* values, std::vector<Token> const& tokens) in test_token_values()
226 std::vector<token_type> tokens; in main() local
244 std::vector<token_type> tokens; in main() local
264 std::vector<token_type> tokens; in main() local
283 std::vector<token_type> tokens; in main() local
Dtoken_onetype.cpp103 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids()
122 test_token_states(std::size_t const* states, std::vector<Token> const& tokens) in test_token_states()
147 std::vector<Token> const& tokens) in test_token_positions()
175 test_token_values(double const* values, std::vector<Token> const& tokens) in test_token_values()
214 std::vector<token_type> tokens; in main() local
231 std::vector<token_type> tokens; in main() local
250 std::vector<token_type> tokens; in main() local
268 std::vector<token_type> tokens; in main() local
/aosp_15_r20/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DCommandInterceptor.java73 String[] tokens = query.substring(COMMAND_PREFIX.length()).split("\\s+"); in accept() local
84 private boolean quickViewer(String[] tokens) { in quickViewer()
101 private boolean gestureScale(String[] tokens) { in gestureScale()
114 private boolean jobProgressDialog(String[] tokens) { in jobProgressDialog()
129 private boolean docDetails(String[] tokens) { in docDetails()
142 private boolean forcePaging(String[] tokens) { in forcePaging()
185 public boolean accept(String[] tokens) { in accept()
/aosp_15_r20/external/libtextclassifier/native/utils/grammar/parsing/
H A Dlexer_test.cc88 std::vector<Token> tokens = tokenizer_.Tokenize("This is a word"); in TEST_F() local
97 std::vector<Token> tokens = tokenizer_.Tokenize("1234This a4321cde"); in TEST_F() local
107 std::vector<Token> tokens = tokenizer_.Tokenize("10/18/2014"); in TEST_F() local
117 std::vector<Token> tokens = tokenizer_.Tokenize("电话:0871—6857(曹"); in TEST_F() local
130 std::vector<Token> tokens = tokenizer_.Tokenize("电话 :0871—6857(曹"); in TEST_F() local
143 std::vector<Token> tokens = in TEST_F() local
158 std::vector<Token> tokens = tokenizer_.Tokenize("The+2345++the +"); in TEST_F() local

12345678910>>...75