/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_debug_deal.cpp | 37 void AbilityDebugDeal::OnAbilitysDebugStarted(const std::vector<sptr<IRemoteObject>> &tokens) in OnAbilitysDebugStarted() argument 40 for (auto &token : tokens) { in OnAbilitysDebugStarted() 50 void AbilityDebugDeal::OnAbilitysDebugStoped(const std::vector<sptr<IRemoteObject>> &tokens) in OnAbilitysDebugStoped() argument 53 for (auto &token : tokens) { in OnAbilitysDebugStoped() 63 void AbilityDebugDeal::OnAbilitysAssertDebugChange(const std::vector<sptr<IRemoteObject>> &tokens, bool isAssertDebug) in OnAbilitysAssertDebugChange() argument 67 for (const auto &token : tokens) { in OnAbilitysAssertDebugChange() 77 void AbilityDebugResponse::OnAbilitysDebugStarted(const std::vector<sptr<IRemoteObject>> &tokens) in OnAbilitysDebugStarted() argument 79 if (tokens.empty()) { in OnAbilitysDebugStarted() 80 TAG_LOGW(AAFwkTag::ABILITYMGR, "tokens empty"); in OnAbilitysDebugStarted() 89 deal->OnAbilitysDebugStarted(tokens); in OnAbilitysDebugStarted() 92 OnAbilitysDebugStoped(const std::vector<sptr<IRemoteObject>> &tokens) OnAbilitysDebugStoped() argument 107 OnAbilitysAssertDebugChange( const std::vector<sptr<IRemoteObject>> &tokens, bool isAssertDebug) OnAbilitysAssertDebugChange() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | uncaughtCompilerError1.js | 2 declare var index, lineTokens, token, tokens; 5 if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type === 'attribute.name.html') { 6 if (index === (tokens.length - 1)) { 9 else if (tokens[index + 1].type !== 'attribute.value.html' && tokens[index + 1].type !== '') { 19 if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type === 'attribute.name.html') {
20 if (index === (tokens.length - 1)) {
23 else if (tokens[index + 1].type !== 'attribute.value.html' && tokens[index + 1].type !== '') {
|
H A D | arrayAssignmentTest5.js | 12 tokens: IToken[]; 24 var tokens:IStateToken[]= lineTokens.tokens; variable 25 if (tokens.length === 0) { 26 return this.onEnter(line, tokens, offset); // <== this should produce an error since onEnter can not be called with (string, IStateToken[], offset) 44 var tokens = lineTokens.tokens;
45 if (tokens.length === 0) {
46 return this.onEnter(line, tokens, offset); // <== this should produce an error since onEnter can not be called with (string, IStateToken[], offset)
|
H A D | overloadResolutionOverNonCTObjectLit.js | 18 var tokens:IToken[]= []; 19 tokens.push({ startIndex: 1, type: '', bracket: 3 }); 20 tokens.push(<IToken>({ startIndex: 1, type: '', bracket: 3, state: null, length: 10 })); 28 var tokens = [];
29 tokens.push({ startIndex: 1, type: '', bracket: 3 });
30 tokens.push(({ startIndex: 1, type: '', bracket: 3, state: null, length: 10 }));
|
/third_party/rust/crates/syn/src/ |
H A D | generics.rs | 15 /// grammar, there may be other tokens in between these two things. 982 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 987 TokensOrDefault(&self.lt_token).to_tokens(tokens); in to_tokens() 994 param.to_tokens(tokens); in to_tokens() 1002 <Token![,]>::default().to_tokens(tokens); in to_tokens() 1005 param.to_tokens(tokens); in to_tokens() 1011 TokensOrDefault(&self.gt_token).to_tokens(tokens); in to_tokens() 1016 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 1021 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens() 1028 param.to_tokens(tokens); in to_tokens() [all...] |
H A D | ty.rs | 483 let (delimiter, tokens) = mac::parse_delimiter(input)?; 489 tokens, 1005 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 1006 self.bracket_token.surround(tokens, |tokens| { in to_tokens() 1007 self.elem.to_tokens(tokens); in to_tokens() 1014 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 1015 self.bracket_token.surround(tokens, |tokens| { in to_tokens() 1016 self.elem.to_tokens(tokens); in to_tokens() [all...] |
H A D | derive.rs | 204 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 206 attr.to_tokens(tokens); in to_tokens() 208 self.vis.to_tokens(tokens); in to_tokens() 210 Data::Struct(d) => d.struct_token.to_tokens(tokens), in to_tokens() 211 Data::Enum(d) => d.enum_token.to_tokens(tokens), in to_tokens() 212 Data::Union(d) => d.union_token.to_tokens(tokens), in to_tokens() 214 self.ident.to_tokens(tokens); in to_tokens() 215 self.generics.to_tokens(tokens); in to_tokens() 219 self.generics.where_clause.to_tokens(tokens); in to_tokens() 220 fields.to_tokens(tokens); in to_tokens() [all...] |
H A D | mac.rs | 20 pub tokens: TokenStream, 45 /// Parse the tokens within the macro invocation's delimiters into a syntax 48 /// This is equivalent to `syn::parse2::<T>(mac.tokens)` except that it 49 /// produces a more useful span when `tokens` is empty. 133 /// Parse the tokens within the macro invocation's delimiters using the 139 crate::parse::parse_scoped(parser, scope, self.tokens.clone()) in parse_body_with() 171 let tokens; in parse() 177 tokens = content; in parse() 180 tokens, in parse() 193 pub(crate) fn surround(&self, tokens [all...] |
H A D | stmt.rs | 251 let (delimiter, tokens) = mac::parse_delimiter(input)?; in stmt_mac() 260 tokens, in stmt_mac() 404 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 405 self.brace_token.surround(tokens, |tokens| { in to_tokens() 406 tokens.append_all(&self.stmts); in to_tokens() 413 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 415 Stmt::Local(local) => local.to_tokens(tokens), in to_tokens() 416 Stmt::Item(item) => item.to_tokens(tokens), in to_tokens() 418 expr.to_tokens(tokens); in to_tokens() [all...] |
H A D | restriction.rs | 69 // matcher that matched no tokens. in parse() 102 // Ensure there are no additional tokens within `content`. in parse_pub() 150 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 152 Visibility::Public(pub_token) => pub_token.to_tokens(tokens), in to_tokens() 153 Visibility::Restricted(vis_restricted) => vis_restricted.to_tokens(tokens), in to_tokens() 161 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 162 self.pub_token.to_tokens(tokens); in to_tokens() 163 self.paren_token.surround(tokens, |tokens| { in to_tokens() 166 self.in_token.to_tokens(tokens); in to_tokens() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkAppParamsUtil.cpp | 78 std::vector<std::string> tokens; in readApplicationParameters() local 81 tokens.push_back(trim(token)); in readApplicationParameters() 83 if (tokens[0] != "instance" && tokens[0] != "device") in readApplicationParameters() 89 if ((tokens[0] == "instance" && readInstanceAppParams) || (tokens[0] == "device" && !readInstanceAppParams)) in readApplicationParameters() 91 if (tokens.size() == 5) in readApplicationParameters() 97 static_cast<deUint32>(std::stoul(tokens[1], nullptr, 16)), // vendorID in readApplicationParameters() 98 static_cast<deUint32>(std::stoul(tokens[2], nullptr, 16)), // deviceID in readApplicationParameters() 99 static_cast<deUint32>(std::stoul(tokens[ in readApplicationParameters() [all...] |
/third_party/rust/crates/syn/tests/ |
H A D | test_stmt.rs | 61 let tokens = TokenStream::from_iter(vec![TokenTree::Group(Group::new( in test_none_group() 71 snapshot!(tokens as Stmt, @r###" in test_none_group() 86 let tokens = Group::new(Delimiter::None, quote!(let None = None)).to_token_stream(); in test_none_group() 87 let stmts = Block::parse_within.parse2(tokens).unwrap(); in test_none_group() 115 let tokens = quote! { in test_let_dot_dot() 119 snapshot!(tokens as Stmt, @r###" in test_let_dot_dot() 133 let tokens = quote! { in test_let_else() 137 snapshot!(tokens as Stmt, @r###" in test_let_else() 184 let tokens = quote! { in test_macros() 193 snapshot!(tokens a in test_macros() [all...] |
H A D | test_ty.rs | 24 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() 31 snapshot!(tokens as Type, @r###" in test_macro_variable_type() 57 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type() 66 snapshot!(tokens as Type, @r###" in test_macro_variable_type() 96 let tokens = TokenStream::from_iter(vec![ in test_group_angle_brackets() 103 snapshot!(tokens as Type, @r###" in test_group_angle_brackets() 147 let tokens = TokenStream::from_iter(vec![ in test_group_colons() 154 snapshot!(tokens as Type, @r###" in test_group_colons() 183 let tokens = TokenStream::from_iter(vec![ in test_group_colons() 190 snapshot!(tokens a in test_group_colons() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_compiler.c | 38 nv30_fp(int chipset, struct tgsi_token tokens[], in nv30_fp() argument 42 fp.pipe.tokens = tokens; in nv30_fp() 43 tgsi_scan_shader(fp.pipe.tokens, &fp.info); in nv30_fp() 51 nv30_vp(int chipset, struct tgsi_token tokens[], in nv30_vp() argument 56 vp.pipe.tokens = tokens; in nv30_vp() 57 tgsi_scan_shader(vp.pipe.tokens, &vp.info); in nv30_vp() 65 nv30_codegen(int chipset, int type, struct tgsi_token tokens[], in nv30_codegen() argument 69 return nv30_fp(chipset, tokens, siz in nv30_codegen() 105 nouveau_codegen(int chipset, int type, struct tgsi_token tokens[], unsigned *size, unsigned **code) nouveau_codegen() argument 142 struct tgsi_token tokens[4096]; main() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shaderlib_tgsi.c | 386 struct tgsi_token tokens[1024]; in si_create_query_result_cs() local 394 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) { in si_create_query_result_cs() 400 state.prog = tokens; in si_create_query_result_cs() 425 struct tgsi_token tokens[1024]; in si_clear_render_target_shader() local 428 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) { in si_clear_render_target_shader() 434 state.prog = tokens; in si_clear_render_target_shader() 460 struct tgsi_token tokens[1024]; in si_clear_render_target_shader_1d_array() local 463 if (!tgsi_text_translate(text, tokens, ARRAY_SIZ in si_clear_render_target_shader_1d_array() 492 struct tgsi_token tokens[1024]; si_clear_12bytes_buffer_shader() local 777 struct tgsi_token tokens[1024]; gfx10_create_sh_query_result_cs() local [all...] |
/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | disasm.c | 30 * Small utility to disassemble a memory dump of TGSI tokens. 35 * (gdb) tgsi_dump state->tokens 60 struct tgsi_token *tokens; in disasm() local 66 tokens = malloc(max_tokens * sizeof *tokens); in disasm() 67 fread(tokens, sizeof *tokens, max_tokens, fp); in disasm() 69 tgsi_dump(tokens, 0); in disasm() 71 free(tokens); in disasm()
|
/third_party/rust/crates/cxx/macro/src/ |
H A D | tokens.rs | 22 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 36 tokens.extend(quote_spanned!(pin.span=> ::cxx::core::pin::Pin)); in to_tokens() 37 langle.to_tokens(tokens); in to_tokens() 39 ampersand.to_tokens(tokens); in to_tokens() 40 lifetime.to_tokens(tokens); in to_tokens() 41 mutability.to_tokens(tokens); in to_tokens() 42 ty.to_tokens(tokens); in to_tokens() 44 rangle.to_tokens(tokens); in to_tokens() 50 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 64 tokens in to_tokens() [all...] |
/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | ast.py | 339 # TODO(nnorwitz): bases are tokens, do name comparison. 382 # TODO(nnorwitz): parameters are tokens, do name comparison. 461 def _GetTemplateEnd(self, tokens, start): 465 token = tokens[end] 473 return tokens[start:end-1], end 475 def ToType(self, tokens): 488 # Partition tokens into name and modifier tokens. 504 end = len(tokens) 506 token = tokens[ [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_shader.c | 67 var->tokens = tgsi_dup_tokens(curfs->tokens); in create_fs_variant() 69 tgsi_scan_shader(var->tokens, &var->info); in create_fs_variant() 78 FREE((void *) var->tokens); in create_fs_variant() 110 softpipe_shader_db(struct pipe_context *pipe, const struct tgsi_token *tokens) in softpipe_shader_db() argument 115 tgsi_scan_shader(tokens, &info); in softpipe_shader_db() 135 shader->tokens = nir_to_tgsi(templ->ir.nir, pipe->screen); in softpipe_create_shader_state() 138 /* we need to keep a local copy of the tokens */ in softpipe_create_shader_state() 139 shader->tokens = tgsi_dup_tokens(templ->tokens); in softpipe_create_shader_state() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_debug_deal.h | 31 * @param tokens The token of ability records. 33 void OnAbilitysDebugStarted(const std::vector<sptr<IRemoteObject>> &tokens); 37 * @param tokens The token of ability records. 39 void OnAbilitysDebugStoped(const std::vector<sptr<IRemoteObject>> &tokens); 43 * @param tokens The token of ability records. 46 void OnAbilitysAssertDebugChange(const std::vector<sptr<IRemoteObject>> &tokens, bool isAssertDebug); 63 void OnAbilitysDebugStarted(const std::vector<sptr<IRemoteObject>> &tokens) override; 64 void OnAbilitysDebugStoped(const std::vector<sptr<IRemoteObject>> &tokens) override; 65 void OnAbilitysAssertDebugChange(const std::vector<sptr<IRemoteObject>> &tokens, bool isAssertDebug) override;
|
/third_party/rust/crates/syn/tests/regression/ |
H A D | issue1235.rs | 8 let tokens = quote! { in main() 12 let file = syn::parse2::<syn::File>(tokens).unwrap(); in main() 20 let tokens = quote!(pub #inner;); in main() 21 let file = syn::parse2::<syn::File>(tokens).unwrap(); in main() 29 let tokens = quote!(pub #inner;); in main() 30 let file = syn::parse2::<syn::File>(tokens).unwrap(); in main()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | ability_debug_response_stub.cpp | 41 std::vector<sptr<IRemoteObject>> tokens; in HandleOnAbilitysDebugStarted() local 48 tokens.push_back(token); in HandleOnAbilitysDebugStarted() 50 OnAbilitysDebugStarted(tokens); in HandleOnAbilitysDebugStarted() 62 std::vector<sptr<IRemoteObject>> tokens; in HandleOnAbilitysDebugStoped() local 69 tokens.push_back(token); in HandleOnAbilitysDebugStoped() 71 OnAbilitysDebugStoped(tokens); in HandleOnAbilitysDebugStoped() 83 std::vector<sptr<IRemoteObject>> tokens; in HandleOnAbilitysAssertDebugChange() local 90 tokens.push_back(token); in HandleOnAbilitysAssertDebugChange() 93 OnAbilitysAssertDebugChange(tokens, isAssertDebug); in HandleOnAbilitysAssertDebugChange()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/ |
H A D | Mf2Serializer.java | 20 private final List<Token> tokens = new ArrayList<>(); field in Mf2Serializer 123 tokens.clear(); in reset() 128 tokens.add(new Token(Token.Kind.NONTERMINAL_START, name, begin, -1, input)); in startNonterminal() 133 tokens.add(new Token(Token.Kind.NONTERMINAL_END, name, -1, end, input)); in endNonterminal() 138 tokens.add(new Token(Token.Kind.TERMINAL, name, begin, end, input)); in terminal() 146 if (!tokens.isEmpty()) { in build() 147 Token firstToken = tokens.get(0); in build() 158 for (int i = 0; i < tokens.size(); i++) { in parseMessage() 159 Token token = tokens.get(i); in parseMessage() 164 } else if (token.isEnd() && i == tokens in parseMessage() [all...] |
/third_party/PyYAML/tests/lib/ |
H A D | canonical.py | 17 self.tokens = [] 23 if self.tokens: 27 if isinstance(self.tokens[0], choice): 34 if self.tokens: 35 return self.tokens[0] 40 token = self.tokens.pop(0) 50 self.tokens.append(yaml.StreamStartToken(None, None)) 55 self.tokens.append(yaml.StreamEndToken(None, None)) 58 self.tokens.append(self.scan_directive()) 61 self.tokens [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_nir_lower_builtin.c | 98 gl_state_index16 tokens[STATE_LENGTH]; in get_variable() local 101 memcpy(tokens, element->tokens, sizeof(tokens)); in get_variable() 105 switch (tokens[0]) { in get_variable() 131 tokens[1] = nir_src_as_uint(path->path[idx]->arr.index); in get_variable() 136 char *name = _mesa_program_state_string(tokens); in get_variable() 151 memcpy(var->state_slots[0].tokens, tokens, in get_variable() 152 sizeof(var->state_slots[0].tokens)); in get_variable() [all...] |