Home
last modified time | relevance | path

Searched refs:token (Results 801 - 825 of 2297) sorted by relevance

1...<<31323334353637383940>>...92

/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dfile.rs6 braced, token, Abi, Attribute, ForeignItem, Ident, Item as RustItem, ItemEnum, ItemImpl,
18 pub brace_token: token::Brace,
35 pub brace_token: token::Brace,
89 && ahead.peek(token::Brace) in parse()
/third_party/python/Tools/peg_generator/pegen/
H A Dtestutil.py7 import token namespace
19 ALL_TOKENS = token.tok_name
20 EXACT_TOKENS = token.EXACT_TOKEN_TYPES
22 name for index, name in token.tok_name.items() if index not in EXACT_TOKENS.values()
/third_party/pulseaudio/src/modules/raop/
H A Draop-util.c70 static unsigned int token_decode(const char *token) { in token_decode() argument
75 if (strlen(token) < 4) in token_decode()
79 if (token[i] == '=') in token_decode()
84 int lpos = char_position(token[i]); in token_decode()
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/
H A Dcontinuation_handler_stage.cpp38 const sptr<IRemoteObject> &token, const std::string &deviceId, uint32_t versionCode) in HandleStartContinuationWithStack()
41 if (token == nullptr) { in HandleStartContinuationWithStack()
84 int result = AAFwk::AbilityManagerClient::GetInstance()->StartContinuation(want, token, status); in HandleStartContinuationWithStack()
92 bool ContinuationHandlerStage::HandleStartContinuation(const sptr<IRemoteObject> &token, const std::string &deviceId) in HandleStartContinuation() argument
95 if (token == nullptr) { in HandleStartContinuation()
130 int result = AAFwk::AbilityManagerClient::GetInstance()->StartContinuation(want, token, 0); in HandleStartContinuation()
37 HandleStartContinuationWithStack( const sptr<IRemoteObject> &token, const std::string &deviceId, uint32_t versionCode) HandleStartContinuationWithStack() argument
H A Dcontinuation_handler.cpp35 bool ContinuationHandler::HandleStartContinuationWithStack(const sptr<IRemoteObject> &token, in HandleStartContinuationWithStack() argument
39 if (token == nullptr) { in HandleStartContinuationWithStack()
40 TAG_LOGE(AAFwkTag::CONTINUATION, "token is null."); in HandleStartContinuationWithStack()
75 int result = AAFwk::AbilityManagerClient::GetInstance()->StartContinuation(want, token, status); in HandleStartContinuationWithStack()
83 bool ContinuationHandler::HandleStartContinuation(const sptr<IRemoteObject> &token, const std::string &deviceId) in HandleStartContinuation() argument
86 if (token == nullptr) { in HandleStartContinuation()
87 TAG_LOGE(AAFwkTag::CONTINUATION, "token is null."); in HandleStartContinuation()
126 int result = AAFwk::AbilityManagerClient::GetInstance()->StartContinuation(want, token, 0); in HandleStartContinuation()
/foundation/ability/ability_lite/services/abilitymgr_lite/src/
H A Dability_stack_manager.cpp133 PageAbilityRecord *AbilityStackManager::FindPageAbility(const AbilityMgrContext &amsContext, uint64_t token) const in FindPageAbility()
138 record = stack->FindPageAbility(token); in FindPageAbility()
145 record = stack->FindPageAbility(token); in FindPageAbility()
152 record = serviceConnects->FindServiceRecord(token); in FindPageAbility()
230 PageAbilityRecord *AbilityStackManager::FindServiceAbility(const AbilityMgrContext &amsContext, uint64_t token) const in FindServiceAbility()
234 return serviceConnects->FindServiceRecord(token); in FindServiceAbility()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_event.cpp70 auto token = appRecord->GetCallerTokenId() == -1 ? in SendCreateAtomicServiceProcessEvent() local
72 Security::AccessToken::AccessTokenKit::GetNativeTokenInfo(token, nativeTokenInfo); in SendCreateAtomicServiceProcessEvent()
102 auto token = appRecord->GetCallerTokenId() == -1 ? in SendProcessStartEvent() local
104 Security::AccessToken::AccessTokenKit::GetNativeTokenInfo(token, nativeTokenInfo); in SendProcessStartEvent()
175 auto token = appRecord->GetCallerTokenId() == -1 ? in UpdateCallerInfo() local
177 Security::AccessToken::AccessTokenKit::GetNativeTokenInfo(token, nativeTokenInfo); in UpdateCallerInfo()
/foundation/ability/ability_runtime/test/unittest/ui_extension/extension_record_manager_test/
H A Dextension_record_manager_test.cpp78 sptr<IRemoteObject> token = sptr<AppExecFwk::MockAbilityToken>::MakeSptr(); in HWTEST_F() local
79 ASSERT_NE(token, nullptr); in HWTEST_F()
80 extRecordMgr->SetCachedFocusedCallerToken(extensionRecordId, token); in HWTEST_F()
82 bool isFocused = extRecordMgr->IsFocused(extensionRecordId, token, token); in HWTEST_F()
86 EXPECT_EQ(focusedToken, token); in HWTEST_F()
93 * @tc.desc: get caller token list.
/foundation/multimedia/ringtone_library/test/unittest/ringtone_data_extension_test/src/
H A Dringtone_datashare_extension_test.cpp67 const sptr<IRemoteObject> token = nullptr; in HWTEST_F() local
68 mediaDataShare->Init(record, application, handler, token); in HWTEST_F()
76 auto recordTwo = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F()
77 mediaDataShare->Init(recordTwo, application, handler, token); in HWTEST_F()
79 mediaDataShare->Init(recordTwo, applicationTwo, handler, token); in HWTEST_F()
82 mediaDataShare->Init(recordTwo, applicationTwo, handlerTwo, token); in HWTEST_F()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dwindow_state_observer.cpp37 auto token = reinterpret_cast<uintptr_t>(focusChangeInfo->abilityToken_.GetRefPtr()); in OnFocused() local
43 cgHandler->PostTask([cgHandler, windowId, token, windowType, displayId, pid, uid] { in OnFocused()
44 cgHandler->HandleFocusedWindow(windowId, token, windowType, displayId, pid, uid); in OnFocused()
67 auto token = reinterpret_cast<uintptr_t>(focusChangeInfo->abilityToken_.GetRefPtr()); in OnUnfocused() local
73 cgHandler->PostTask([cgHandler, windowId, token, windowType, displayId, pid, uid] { in OnUnfocused()
74 cgHandler->HandleUnfocusedWindow(windowId, token, windowType, displayId, pid, uid); in OnUnfocused()
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Ddefault_client_rpc.c208 header->target.token = INVALID_INDEX; in OnServiceExit()
210 HILOG_ERROR(HILOG_MODULE_SAMGR, "Miss the remote service<%u, %u>!", header->target.handle, header->target.token); in OnServiceExit()
237 uint32_t token; in QueryIdentity() local
238 ReadUint32(&reply, &token); in QueryIdentity()
239 target.token = (uintptr_t)token; in QueryIdentity()
H A Dsa_store.c59 saNode->token = identity->token; in SASTORA_Save()
78 fNode->token = identity->token; in SASTORA_Save()
223 identity.token = featureNode->token; in SASTORA_Find()
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/
H A Ddatashare_connection.cpp163 const sptr<IRemoteObject> &token) in ConnectDataShareExtAbility()
179 ErrCode ret = instance->Connect(reqUri, this, token); in ConnectDataShareExtAbility()
190 RadarReporter::LOCAL_SESS_NAME, Str16ToStr8(token->GetObjectDescriptor()), in ConnectDataShareExtAbility()
197 RadarReporter::LOCAL_SESS_NAME, Str16ToStr8(token->GetObjectDescriptor()), in ConnectDataShareExtAbility()
239 const sptr<IRemoteObject> &token) in GetDataShareProxy()
241 return ConnectDataShareExtAbility(uri, token); in GetDataShareProxy()
162 ConnectDataShareExtAbility(const Uri &uri, const sptr<IRemoteObject> &token) ConnectDataShareExtAbility() argument
238 GetDataShareProxy(const Uri &uri, const sptr<IRemoteObject> &token) GetDataShareProxy() argument
/test/testfwk/arkxtest/uitest/server/
H A Dserver_main.cpp61 "start-daemon <token> start the test process\n"
206 static int32_t StartDaemon(string_view token, int32_t argc, char *argv[]) in StartDaemon() argument
208 if (token.empty()) { in StartDaemon()
209 LOG_E("Empty transaction token"); in StartDaemon()
212 auto transalatedToken = TranslateToken(token); in StartDaemon()
224 if (token == singlenessToken) { in StartDaemon()
316 string_view token = argc < 3 ? "" : argv[2]; in main()
317 _Exit(StartDaemon(token, argc - THREE, argv + THREE)); in main()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
H A Dngtcp2_crypto.h580 * stateless reset token using HKDF extraction using the given |cid|
581 * and static key |secret| as input. The token will be written to
582 * the buffer pointed by |token| and it must have a capacity of at
588 uint8_t *token, const uint8_t *secret, size_t secretlen,
595 * data added to a token generated by
605 * Retry token generated by `ngtcp2_crypto_generate_retry_token`.
613 * token generated by `ngtcp2_crypto_generate_regular_token`.
621 * a token generated by `ngtcp2_crypto_generate_retry_token`.
632 * of a token generated by `ngtcp2_crypto_generate_regular_token`.
641 * `ngtcp2_crypto_generate_retry_token` generates a token i
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DJsonTokenizer.cs47 /// between values. It validates the token stream as it goes - so callers can assume that the
50 /// <para>Implementation details: the base class handles single token push-back and </para>
82 // TODO: Why do we allow a different token to be pushed back? It might be better to always remember the previous
83 // token returned, and allow a parameterless Rewind() method (which could only be called once, just like the current PushBack).
84 internal void PushBack(JsonToken token) in PushBack() argument
90 bufferedToken = token; in PushBack()
91 if (token.Type == JsonToken.TokenType.StartObject) in PushBack()
95 else if (token.Type == JsonToken.TokenType.EndObject) in PushBack()
102 /// Returns the next JSON token in the stream. An EndDocument token i
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DValidateLimitations.cpp81 void error(TSourceLoc loc, const char *reason, const char *token);
82 void error(TSourceLoc loc, const char *reason, const ImmutableString &token);
159 void ValidateLimitationsTraverser::error(TSourceLoc loc, const char *reason, const char *token) in error() argument
161 mDiagnostics->error(loc, reason, token); in error()
166 const ImmutableString &token) in error()
168 error(loc, reason, token.data()); in error()
164 error(TSourceLoc loc, const char *reason, const ImmutableString &token) error() argument
/third_party/rust/crates/rust-cexpr/tests/
H A Dclang.rs19 use cexpr::token::Token;
179 CXToken_Comment => cexpr::token::Kind::Comment, in token_clang_to_cexpr()
180 CXToken_Identifier => cexpr::token::Kind::Identifier, in token_clang_to_cexpr()
181 CXToken_Keyword => cexpr::token::Kind::Keyword, in token_clang_to_cexpr()
182 CXToken_Literal => cexpr::token::Kind::Literal, in token_clang_to_cexpr()
183 CXToken_Punctuation => cexpr::token::Kind::Punctuation, in token_clang_to_cexpr()
184 _ => panic!("invalid token kind: {:?}", *orig), in token_clang_to_cexpr()
/third_party/rust/crates/syn/src/
H A Dexpr.rs248 pub bracket_token: token::Bracket,
325 pub paren_token: token::Paren,
414 pub group_token: token::Group,
441 pub bracket_token: token::Bracket,
503 pub brace_token: token::Brace,
517 pub paren_token: token::Paren,
527 pub paren_token: token::Paren,
572 pub bracket_token: token::Bracket,
599 pub brace_token: token::Brace,
631 pub paren_token: token
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/include/continuation_manager/
H A Dapp_device_callback_interface.h34 virtual int32_t OnDeviceConnect(int32_t token, const std::vector<ContinuationResult>& continuationResults) = 0;
35 virtual int32_t OnDeviceDisconnect(int32_t token, const std::vector<ContinuationResult>& continuationResults) = 0;
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/include/
H A Dabilityms_client.h36 int SchedulerLifecycleDone(uint64_t token, int state) const;
38 int ScheduleAms(const Want *want, uint64_t token, const SvcIdentity *sid, int commandType) const;
/foundation/ability/ability_lite/interfaces/inner_api/abilitymgr_lite/slite/
H A Dability_manager_inner.h43 * @param token Indicates the token of the ability.
47 int SchedulerLifecycleDone(uint64_t token, int state);
50 * @brief Force stop an ability based on the specified token information.
52 * @param token Indicates the token of the ability.
55 int ForceStopBundle(uint64_t token);
/foundation/ability/ability_lite/services/abilitymgr_lite/src/task/
H A Dability_disconnect_done_task.cpp19 AbilityDisconnectDoneTask::AbilityDisconnectDoneTask(AbilityMgrContext *context, uint64_t token) in AbilityDisconnectDoneTask() argument
20 : AbilityTask(context), token_(token) in AbilityDisconnectDoneTask()
H A Dability_background_task.cpp19 AbilityBackgroundTask::AbilityBackgroundTask(AbilityMgrContext *context, uint64_t token) in AbilityBackgroundTask() argument
20 : AbilityTask(context), token_(token) in AbilityBackgroundTask()
/foundation/ability/ability_runtime/test/unittest/ui_ability_lifecycle_manager_test/mock/include/
H A Dmock_ability_info_callback_stub.h24 void NotifyAbilityToken(const sptr<IRemoteObject> token, const Want &want) override {}
27 void NotifyRestartSpecifiedAbility(const sptr<IRemoteObject> &token) override {}

Completed in 13 milliseconds

1...<<31323334353637383940>>...92