Home
last modified time | relevance | path

Searched refs:token (Results 176 - 200 of 3209) sorted by relevance

12345678910>>...129

/third_party/python/Lib/lib2to3/
H A Dpatcomp.py17 from .pgen2 import driver, literals, token, tokenize, parse, grammar namespace
30 skip = {token.NEWLINE, token.INDENT, token.DEDENT}
101 if len(nodes) >= 3 and nodes[1].type == token.EQUAL:
116 if child.type == token.STAR:
119 elif child.type == token.PLUS:
122 elif child.type == token.LBRACE:
123 assert children[-1].type == token.RBRACE
142 if node.type == token
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dapp_scheduler.cpp69 int AppScheduler::LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in LoadAbility() argument
81 loadParam.token = token; in LoadAbility()
93 int AppScheduler::TerminateAbility(const sptr<IRemoteObject> &token, bool clearMissionFlag) in TerminateAbility() argument
100 int ret = static_cast<int>(IN_PROCESS_CALL(appMgrClient_->TerminateAbility(token, clearMissionFlag))); in TerminateAbility()
121 void AppScheduler::MoveToForeground(const sptr<IRemoteObject> &token) in MoveToForeground() argument
127 appMgrClient_->UpdateAbilityState(token, AppExecFwk::AbilityState::ABILITY_STATE_FOREGROUND)); in MoveToForeground()
130 void AppScheduler::MoveToBackground(const sptr<IRemoteObject> &token) in MoveToBackground() argument
136 appMgrClient_->UpdateAbilityState(token, AppExecFwk::AbilityState::ABILITY_STATE_BACKGROUND)); in MoveToBackground()
139 void AppScheduler::UpdateAbilityState(const sptr<IRemoteObject> &token, cons argument
146 UpdateExtensionState(const sptr<IRemoteObject> &token, const AppExecFwk::ExtensionState state) UpdateExtensionState() argument
153 KillProcessByAbilityToken(const sptr<IRemoteObject> &token) KillProcessByAbilityToken() argument
174 AttachPidToParent(const sptr<IRemoteObject> &token, const sptr<IRemoteObject> &callerToken) AttachPidToParent() argument
201 OnAbilityRequestDone(const sptr<IRemoteObject> &token, const AppExecFwk::AbilityState state) OnAbilityRequestDone() argument
293 AttachTimeOut(const sptr<IRemoteObject> &token) AttachTimeOut() argument
299 PrepareTerminate(const sptr<IRemoteObject> &token, bool clearMissionFlag) PrepareTerminate() argument
323 GetRunningProcessInfoByToken(const sptr<IRemoteObject> &token, AppExecFwk::RunningProcessInfo &info) GetRunningProcessInfoByToken() argument
604 AttachedToStatusBar(const sptr<IRemoteObject> &token) AttachedToStatusBar() argument
618 CleanAbilityByUserRequest(const sptr<IRemoteObject> &token) CleanAbilityByUserRequest() argument
[all...]
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_seal.c73 setup_token(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token() argument
79 token->len = g_token_size(&ctx->mech_used, body_size); in setup_token()
81 ptr = (u16 *)token->data; in setup_token()
99 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2() argument
111 * just start the token */ in setup_token_v2()
112 krb5_hdr = ptr = (u16 *)token->data; in setup_token_v2()
122 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2()
128 struct xdr_netobj *token) in gss_get_mic_v1()
143 ptr = setup_token(ctx, token); in gss_get_mic_v1()
167 struct xdr_netobj *token) in gss_get_mic_v2()
127 gss_get_mic_v1(struct krb5_ctx *ctx, struct xdr_buf *text, struct xdr_netobj *token) gss_get_mic_v1() argument
166 gss_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text, struct xdr_netobj *token) gss_get_mic_v2() argument
207 gss_get_mic_kerberos(struct gss_ctx *gss_ctx, struct xdr_buf *text, struct xdr_netobj *token) gss_get_mic_kerberos() argument
[all...]
/kernel/linux/linux-6.6/net/rxrpc/
H A Dsecurity.c71 struct rxrpc_key_token *token; in rxrpc_init_client_call_security() local
82 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_init_client_call_security()
83 sec = rxrpc_security_lookup(token->security_index); in rxrpc_init_client_call_security()
100 struct rxrpc_key_token *token; in rxrpc_init_client_conn_security() local
106 for (token = key->payload.data[0]; token; token in rxrpc_init_client_conn_security()
[all...]
/third_party/python/Tools/clinic/
H A Dcpp.py50 return " && ".join(condition for token, condition in self.stack)
75 self.fail("#" + token + " without matching #if / #ifdef / #ifndef!")
141 token = fields[0].lower()
144 if token in {'if', 'ifdef', 'ifndef', 'elif'}:
146 self.fail("Invalid format for #" + token + " line: no argument!")
147 if token in {'if', 'elif'}:
150 if token == 'elif':
156 self.fail("Invalid format for #" + token + " line: should be exactly one argument!")
159 if token == 'ifndef':
161 token
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken.go19 "go/token"
22 // Range represents a source code range in token.Pos form.
26 FileSet *token.FileSet
27 Start token.Pos
28 End token.Pos
31 // TokenConverter is a Converter backed by a token file set and file.
35 fset *token.FileSet
36 file *token.File
41 func NewRange(fset *token.FileSet, start, end token
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Dtoken.go19 "go/token"
22 // Range represents a source code range in token.Pos form.
26 FileSet *token.FileSet
27 Start token.Pos
28 End token.Pos
31 // TokenConverter is a Converter backed by a token file set and file.
35 fset *token.FileSet
36 file *token.File
41 func NewRange(fset *token.FileSet, start, end token
[all...]
/third_party/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken.go19 "go/token"
22 // Range represents a source code range in token.Pos form.
26 FileSet *token.FileSet
27 Start token.Pos
28 End token.Pos
31 // TokenConverter is a Converter backed by a token file set and file.
35 fset *token.FileSet
36 file *token.File
41 func NewRange(fset *token.FileSet, start, end token
[all...]
/foundation/ability/ability_lite/frameworks/ability_lite/include/
H A Dability_scheduler.h37 virtual void PerformTransactAbilityState(const Want &want, int state, uint64_t token, int abilityType) = 0;
39 virtual void PerformConnectAbility(const Want &want, uint64_t token) = 0;
40 virtual void PerformDisconnectAbility(const Want &want, uint64_t token) = 0;
42 virtual void PerformDumpAbility(const Want &want, uint64_t token) = 0;
55 void PerformTransactAbilityState(const Want &want, int state, uint64_t token, int abilityType);
56 void PerformConnectAbility(const Want &want, uint64_t token);
57 void PerformDisconnectAbility(const Want &want, uint64_t token);
59 void PerformDumpAbility(const Want &want, uint64_t token);
/foundation/multimedia/player_framework/services/services/screen_capture/ipc/
H A Dscreen_capture_controller_proxy.cpp45 bool token = data.WriteInterfaceToken(ScreenCaptureControllerProxy::GetDescriptor()); in DestroyStub() local
46 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in DestroyStub()
62 bool token = data.WriteInterfaceToken(ScreenCaptureControllerProxy::GetDescriptor()); in ReportAVScreenCaptureUserChoice() local
63 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in ReportAVScreenCaptureUserChoice()
65 token = data.WriteInt32(sessionId); in ReportAVScreenCaptureUserChoice()
66 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write sessionId!"); in ReportAVScreenCaptureUserChoice()
68 token = data.WriteString(choice); in ReportAVScreenCaptureUserChoice()
69 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write choice!"); in ReportAVScreenCaptureUserChoice()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddprtc.h29 u16 *token);
33 u16 token);
37 u16 token,
43 u16 token,
49 u16 token,
55 u16 token,
61 u16 token,
67 u16 token,
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddprtc.h26 u16 *token);
30 u16 token);
34 u16 token,
40 u16 token,
46 u16 token,
52 u16 token,
58 u16 token,
64 u16 token,
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
H A Ddpdmai.h162 int dpdmai_id, u16 *token);
163 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
164 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
166 const struct dpdmai_cfg *cfg, u16 *token);
167 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
168 int dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
169 int dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
171 u16 token, struct dpdmai_attr *attr);
172 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
174 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
[all...]
/kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/
H A Ddpdmai.h162 int dpdmai_id, u16 *token);
163 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
164 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
166 const struct dpdmai_cfg *cfg, u16 *token);
167 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
168 int dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
169 int dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token);
171 u16 token, struct dpdmai_attr *attr);
172 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
174 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token,
[all...]
/third_party/node/deps/v8/src/asmjs/
H A Dasm-scanner.h22 // A custom scanner to extract the token stream needed to parse valid
37 // Get current token.
39 // Get position of current token.
41 // Advance to the next token.
43 // Back up by one token.
62 // Debug only method to go from a token back to its name.
64 std::string Name(token_t token) const;
67 // Restores old position (token after that position). Note that it is not
78 // Methods to check if a token is an identifier and which scope.
81 static bool IsLocal(token_t token) { retur in IsGlobal() argument
82 IsGlobal(token_t token) IsGlobal() argument
85 LocalIndex(token_t token) LocalIndex() argument
89 GlobalIndex(token_t token) GlobalIndex() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_impl_test.cpp87 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local
88 EXPECT_NE(token, nullptr); in HWTEST_F()
89 if (token != nullptr) { in HWTEST_F()
90 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F()
107 mockAbilityimpl->Init(application, record, ability, handler, token); in HWTEST_F()
135 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local
136 EXPECT_NE(token, nullptr); in HWTEST_F()
137 if (token != nullptr) { in HWTEST_F()
138 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F()
155 mockAbilityimpl->Init(application, record, ability, handler, token); in HWTEST_F()
192 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
254 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
285 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
324 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
362 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
403 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
444 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
480 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
523 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
567 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
611 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
654 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
699 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
744 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
790 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
835 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
879 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
907 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
935 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
966 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
996 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1034 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1142 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1182 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1220 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1260 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1298 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1337 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1377 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1416 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1457 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1493 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1524 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1544 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1564 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1584 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1604 sptr<IRemoteObject> token = nullptr; HWTEST_F() local
1625 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1651 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1689 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
1888 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2873 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2893 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2909 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2933 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2957 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2977 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
2994 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
3010 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
3026 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
3043 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
3061 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
3084 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dams_mgr_scheduler.cpp124 void AmsMgrScheduler::UpdateAbilityState(const sptr<IRemoteObject> &token, const AbilityState state) in UpdateAbilityState() argument
134 std::function<void()> updateAbilityStateFunc = [amsMgrServiceInner = amsMgrServiceInner_, token, state] () { in UpdateAbilityState()
135 amsMgrServiceInner->UpdateAbilityState(token, state); in UpdateAbilityState()
143 void AmsMgrScheduler::UpdateExtensionState(const sptr<IRemoteObject> &token, const ExtensionState state) in UpdateExtensionState() argument
153 std::function<void()> updateExtensionStateFunc = [amsMgrServiceInner = amsMgrServiceInner_, token, state]() { in UpdateExtensionState()
154 amsMgrServiceInner->UpdateExtensionState(token, state); in UpdateExtensionState()
162 void AmsMgrScheduler::TerminateAbility(const sptr<IRemoteObject> &token, bool clearMissionFlag) in TerminateAbility() argument
172 std::function<void()> terminateAbilityFunc = [amsMgrServiceInner = amsMgrServiceInner_, token, clearMissionFlag]() { in TerminateAbility()
173 amsMgrServiceInner->TerminateAbility(token, clearMissionFlag); in TerminateAbility()
196 void AmsMgrScheduler::KillProcessByAbilityToken(const sptr<IRemoteObject> &token) in KillProcessByAbilityToken() argument
258 AttachPidToParent(const sptr<IRemoteObject> &token, const sptr<IRemoteObject> &callerToken) AttachPidToParent() argument
289 AbilityAttachTimeOut(const sptr<IRemoteObject> &token) AbilityAttachTimeOut() argument
306 PrepareTerminate(const sptr<IRemoteObject> &token, bool clearMissionFlag) PrepareTerminate() argument
394 GetRunningProcessInfoByToken( const sptr<IRemoteObject> &token, AppExecFwk::RunningProcessInfo &info) GetRunningProcessInfoByToken() argument
616 ClearProcessByToken(sptr<IRemoteObject> token) ClearProcessByToken() argument
649 AttachedToStatusBar(const sptr<IRemoteObject> &token) AttachedToStatusBar() argument
686 CleanAbilityByUserRequest(const sptr<IRemoteObject> &token) CleanAbilityByUserRequest() argument
723 IsProcessAttached(sptr<IRemoteObject> token) IsProcessAttached() argument
732 IsAppKilling(sptr<IRemoteObject> token) IsAppKilling() argument
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/continuation_manager/
H A Dapp_device_callback_stub.cpp42 int32_t token = -1; in OnRemoteRequest() local
45 PARCEL_READ_HELPER(data, Int32, token); in OnRemoteRequest()
50 int32_t result = OnDeviceConnect(token, continuationResults); in OnRemoteRequest()
54 PARCEL_READ_HELPER(data, Int32, token); in OnRemoteRequest()
59 int32_t result = OnDeviceDisconnect(token, continuationResults); in OnRemoteRequest()
73 int32_t AppDeviceCallbackStub::OnDeviceConnect(int32_t token, in OnDeviceConnect() argument
77 return DistributedAbilityManagerService::GetInstance().OnDeviceConnect(token, continuationResults); in OnDeviceConnect()
80 int32_t AppDeviceCallbackStub::OnDeviceDisconnect(int32_t token, in OnDeviceDisconnect() argument
84 return DistributedAbilityManagerService::GetInstance().OnDeviceDisconnect(token, continuationResults); in OnDeviceDisconnect()
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A DPreprocessorTest.cpp20 pp::Token token; in preprocess() local
23 preprocessor->lex(&token); in preprocess()
26 for (; line < token.location.line; ++line) in preprocess()
30 *output << token; in preprocess() local
32 } while (token.type != pp::Token::LAST); in preprocess()
62 void SimplePreprocessorTest::lexSingleToken(const char *input, pp::Token *token) in lexSingleToken() argument
67 preprocessor.lex(token); in lexSingleToken()
72 pp::Token *token) in lexSingleToken()
77 preprocessor.lex(token); in lexSingleToken()
70 lexSingleToken(size_t count, const char *const input[], pp::Token *token) lexSingleToken() argument
/third_party/rust/crates/syn/src/
H A Dident.rs16 ($token:ident) => {
17 impl From<Token![$token]> for Ident {
18 fn from(token: Token![$token]) -> Ident { in from()
19 Ident::new(stringify!($token), token.span) in from()
32 fn from(token: Token![_]) -> Ident { in from()
33 Ident::new("_", token.span) in from()
55 use crate::token::Token;
/third_party/rust/crates/quote/src/
H A Dext.rs11 /// Appends the token specified to this list of tokens.
12 fn append<U>(&mut self, token: U) in append()
60 fn append<U>(&mut self, token: U) in append()
64 self.extend(iter::once(token.into())); in append()
72 for token in iter { in append_all()
73 token.to_tokens(self); in append_all()
83 for (i, token) in iter.into_iter().enumerate() { in append_separated()
87 token.to_tokens(self); in append_separated()
97 for token in iter { in append_terminated()
98 token in append_terminated()
[all...]
/third_party/jerryscript/jerry-core/parser/js/
H A Djs-parser-module.c356 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_module_parse_export_clause()
361 if (context_p->token.type == LEXER_RIGHT_BRACE) in parser_module_parse_export_clause()
368 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_export_clause()
369 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL in parser_module_parse_export_clause()
370 || context_p->token.keyword_type >= LEXER_FIRST_FUTURE_STRICT_RESERVED_WORD) in parser_module_parse_export_clause()
378 lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL); in parser_module_parse_export_clause()
388 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_export_clause()
389 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_export_clause()
394 lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL); in parser_module_parse_export_clause()
426 if (context_p->token in parser_module_parse_export_clause()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/amsmgrscheduler_fuzzer/
H A Damsmgrscheduler_fuzzer.cpp52 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
60 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()
65 std::shared_ptr<AmsMgrScheduler> DoSomethingInterestingWithMyAPI1(sptr<IRemoteObject> token, in DoSomethingInterestingWithMyAPI1() argument
79 loadParam.token = token; in DoSomethingInterestingWithMyAPI1()
84 amsMgrScheduler->TerminateAbility(token, clearMissionFlag); in DoSomethingInterestingWithMyAPI1()
90 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local
92 auto amsMgrScheduler = DoSomethingInterestingWithMyAPI1(token, preToken, data); in DoSomethingInterestingWithMyAPI()
94 amsMgrScheduler->UpdateAbilityState(token, stat in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ability_manager_clientex.cpp54 sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) in AttachAbilityThread()
63 return abms->AttachAbilityThread(scheduler, token); in AttachAbilityThread()
66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() argument
72 return abms->AbilityTransitionDone(token, state, saveData); in AbilityTransitionDone()
76 sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) in ScheduleConnectAbilityDone()
82 return abms->ScheduleConnectAbilityDone(token, remoteObject); in ScheduleConnectAbilityDone()
85 ErrCode AbilityManagerClient::ScheduleDisconnectAbilityDone(sptr<IRemoteObject> token) in ScheduleDisconnectAbilityDone() argument
91 return abms->ScheduleDisconnectAbilityDone(token); in ScheduleDisconnectAbilityDone()
94 ErrCode AbilityManagerClient::ScheduleCommandAbilityDone(sptr<IRemoteObject> token) in ScheduleCommandAbilityDone() argument
101 return abms->ScheduleCommandAbilityDone(token); in ScheduleCommandAbilityDone()
53 AttachAbilityThread( sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) AttachAbilityThread() argument
75 ScheduleConnectAbilityDone( sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) ScheduleConnectAbilityDone() argument
104 ScheduleCommandAbilityWindowDone( sptr<IRemoteObject> token, sptr<SessionInfo> sessionInfo, WindowCommand winCmd, AbilityCommand abilityCmd) ScheduleCommandAbilityWindowDone() argument
126 TerminateAbility(sptr<IRemoteObject> token, int resultCode, const Want* resultWant) TerminateAbility() argument
182 StopServiceAbility(const Want& want, sptr<IRemoteObject> token) StopServiceAbility() argument
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/
H A Dmock_ability_manager_client.cpp54 sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) in AttachAbilityThread()
63 return abms->AttachAbilityThread(scheduler, token); in AttachAbilityThread()
66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() argument
72 return abms->AbilityTransitionDone(token, state, saveData); in AbilityTransitionDone()
76 sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) in ScheduleConnectAbilityDone()
82 return abms->ScheduleConnectAbilityDone(token, remoteObject); in ScheduleConnectAbilityDone()
85 ErrCode AbilityManagerClient::ScheduleDisconnectAbilityDone(sptr<IRemoteObject> token) in ScheduleDisconnectAbilityDone() argument
91 return abms->ScheduleDisconnectAbilityDone(token); in ScheduleDisconnectAbilityDone()
94 ErrCode AbilityManagerClient::ScheduleCommandAbilityDone(sptr<IRemoteObject> token) in ScheduleCommandAbilityDone() argument
101 return abms->ScheduleCommandAbilityDone(token); in ScheduleCommandAbilityDone()
53 AttachAbilityThread( sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) AttachAbilityThread() argument
75 ScheduleConnectAbilityDone( sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) ScheduleConnectAbilityDone() argument
104 ScheduleCommandAbilityWindowDone( sptr<IRemoteObject> token, sptr<SessionInfo> sessionInfo, WindowCommand winCmd, AbilityCommand abilityCmd) ScheduleCommandAbilityWindowDone() argument
126 TerminateAbility(sptr<IRemoteObject> token, int resultCode, const Want* resultWant) TerminateAbility() argument
182 StopServiceAbility(const Want& want, sptr<IRemoteObject> token) StopServiceAbility() argument
[all...]

Completed in 13 milliseconds

12345678910>>...129