/third_party/selinux/libsepol/cil/src/ |
H A D | cil_lexer.h | 45 struct token { struct 53 int cil_lexer_next(struct token *tok);
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgPrettyPrinter.hpp | 44 void processToken (const Token& token); 46 static const char* getSimpleTokenStr (Token::Type token);
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/ |
H A D | app_mgr_service_inner_second_test.cpp | 217 loadParam->token = token_; in HWTEST_F() 247 loadParam->token = token_; in HWTEST_F() 288 loadParam->token = token_; in HWTEST_F() 311 loadParam->token = token_; in HWTEST_F() 370 loadParam->token = token_; in HWTEST_F() 398 loadParam->token = token_; in HWTEST_F() 492 loadParam->token = token_; in HWTEST_F() 522 loadParam->token = token_; in HWTEST_F() 600 loadParam->token = token_; in HWTEST_F() 640 loadParam->token in HWTEST_F() 1806 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 1860 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 2061 sptr<IRemoteObject> token = new MockAbilityToken(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_mgr_client.cpp | 156 AppMgrResultCode AppMgrClient::TerminateAbility(const sptr<IRemoteObject> &token, bool clearMissionFlag) in TerminateAbility() argument 162 amsService->TerminateAbility(token, clearMissionFlag); in TerminateAbility() 169 AppMgrResultCode AppMgrClient::UpdateAbilityState(const sptr<IRemoteObject> &token, const AbilityState state) in UpdateAbilityState() argument 175 amsService->UpdateAbilityState(token, state); in UpdateAbilityState() 182 AppMgrResultCode AppMgrClient::UpdateExtensionState(const sptr<IRemoteObject> &token, const ExtensionState state) in UpdateExtensionState() argument 188 amsService->UpdateExtensionState(token, state); in UpdateExtensionState() 208 AppMgrResultCode AppMgrClient::KillProcessByAbilityToken(const sptr<IRemoteObject> &token) in KillProcessByAbilityToken() argument 214 amsService->KillProcessByAbilityToken(token); in KillProcessByAbilityToken() 247 AppMgrResultCode AppMgrClient::AttachPidToParent(const sptr<IRemoteObject> &token, in AttachPidToParent() argument 254 amsService->AttachPidToParent(token, callerToke in AttachPidToParent() 567 AbilityAttachTimeOut(const sptr<IRemoteObject> &token) AbilityAttachTimeOut() argument 580 PrepareTerminate(const sptr<IRemoteObject> &token, bool clearMissionFlag) PrepareTerminate() argument 593 GetRunningProcessInfoByToken(const sptr<IRemoteObject> &token, AppExecFwk::RunningProcessInfo &info) GetRunningProcessInfoByToken() argument 1093 NotifyPageShow(const sptr<IRemoteObject> &token, const PageStateData &pageStateData) NotifyPageShow() argument 1102 NotifyPageHide(const sptr<IRemoteObject> &token, const PageStateData &pageStateData) NotifyPageHide() argument 1299 AttachedToStatusBar(const sptr<IRemoteObject> &token) AttachedToStatusBar() argument 1348 CleanAbilityByUserRequest(const sptr<IRemoteObject> &token) CleanAbilityByUserRequest() argument [all...] |
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | keystore.c | 5 * write authentication token-related packets with the underlying 445 * @auth_tok_key: key containing the authentication token 446 * @auth_tok: authentication token 760 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet() 761 s->auth_tok->token.password.session_key_encryption_key_bytes, in ecryptfs_write_tag_70_packet() 815 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet() 819 "rc = [%d]. s->auth_tok->token.password.session_key_" in ecryptfs_write_tag_70_packet() 823 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet() 1031 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet() 1035 "rc = [%d]. s->auth_tok->token in ecryptfs_parse_tag_70_packet() [all...] |
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | keystore.c | 5 * write authentication token-related packets with the underlying 445 * @auth_tok_key: key containing the authentication token 446 * @auth_tok: authentication token 539 * @auth_tok_key: key containing the authentication token 761 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet() 762 s->auth_tok->token.password.session_key_encryption_key_bytes, in ecryptfs_write_tag_70_packet() 816 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet() 820 "rc = [%d]. s->auth_tok->token.password.session_key_" in ecryptfs_write_tag_70_packet() 824 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet() 1032 s->auth_tok->token in ecryptfs_parse_tag_70_packet() [all...] |
/third_party/jerryscript/jerry-core/parser/js/ |
H A D | js-parser.c | 967 parser_append_breakpoint_info (context_p, JERRY_DEBUGGER_BREAKPOINT_LIST, context_p->token.line); in parser_post_processing() 969 context_p->last_breakpoint_line = context_p->token.line; in parser_post_processing() 1735 if (context_p->token.type == end_type) in parser_parse_function_arguments() 1768 else if (context_p->token.type == LEXER_THREE_DOTS) in parser_parse_function_arguments() 1784 if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in parser_parse_function_arguments() 1822 if (context_p->token.type != LEXER_COMMA) in parser_parse_function_arguments() 1832 if (context_p->token.type != LEXER_LITERAL in parser_parse_function_arguments() 1833 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_parse_function_arguments() 1839 &context_p->token in parser_parse_function_arguments() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_adapter_test.cpp | 359 sptr<IRemoteObject> token = sptr<IRemoteObjectMocker>::MakeSptr(); in HWTEST_F() local 360 ASSERT_NE(token, nullptr); in HWTEST_F() 361 windowAdapter.UpdateModalExtensionRect(token, rect); in HWTEST_F() 375 sptr<IRemoteObject> token = sptr<IRemoteObjectMocker>::MakeSptr(); in HWTEST_F() local 376 ASSERT_NE(token, nullptr); in HWTEST_F() 377 windowAdapter.ProcessModalExtensionPointDown(token, 0, 0); in HWTEST_F() 431 sptr<IRemoteObject> token = sptr<IRemoteObjectMocker>::MakeSptr(); in HWTEST_F() local 432 ASSERT_NE(token, nullptr); in HWTEST_F() 433 windowAdapter.UpdateExtWindowFlags(token, 7, 7); in HWTEST_F() 720 sptr<IRemoteObject> token; in HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | parse-events.y | 58 %token PE_START_EVENTS PE_START_TERMS 59 %token PE_VALUE PE_VALUE_SYM_HW PE_VALUE_SYM_SW PE_TERM 60 %token PE_VALUE_SYM_TOOL 61 %token PE_EVENT_NAME 62 %token PE_RAW PE_NAME 63 %token PE_MODIFIER_EVENT PE_MODIFIER_BP PE_BP_COLON PE_BP_SLASH 64 %token PE_LEGACY_CACHE 65 %token PE_PREFIX_MEM 66 %token PE_ERROR 67 %token PE_DRV_CFG_TER [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | common.c | 1009 * cstr_token - Get next token from const char string 1012 * @last: a pointer to a character following the returned token 1015 * Returns: a pointer to token position in str or NULL 1020 * - The returned token is not a NULL terminated string, but a token 1022 * of the returned token could be calculated as (last - token). 1026 const char *end, *token = str; in cstr_token() local 1032 token = *last; in cstr_token() 1034 while (*token in cstr_token() 1060 char *token = (char *) cstr_token(str, delim, (const char **) context); str_token() local [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | huks_master.cpp | 208 HksBlob &handle, HksBlob &token) in HdiAccessInit() 220 auto ret = halDevice_->HuksHdiInit(&key, paramSet, &handle, &token); in HdiAccessInit() 233 retryRet = halDevice_->HuksHdiInit(&key, paramSet, &handle, &token); in HdiAccessInit() 332 if (auth.secret.IsEmpty() || auth.token.IsEmpty()) { in AppendSecureAccessParams() 345 { .tag = HKS_TAG_AUTH_TIMEOUT, .uint32Param = 30 } // token timeout is 30 seconds when no challenge in AppendSecureAccessParams() 468 if (auth.secret.IsEmpty() || auth.token.IsEmpty()) { in AppendNonceAadTokenEx() 480 { .tag = HKS_TAG_AUTH_TOKEN, .blob = { auth.token.size, auth.token.data.get() } } in AppendNonceAadTokenEx() 493 LOGI("secret/token is empty : %{public}d / %{public}d", auth.secret.IsEmpty(), auth.token in AppendNewNonceAadToken() 207 HdiAccessInit(const HksBlob &key, const HksParamSet *paramSet, HksBlob &handle, HksBlob &token) HdiAccessInit() argument [all...] |
/third_party/protobuf/conformance/third_party/jsoncpp/ |
H A D | json.h | 1440 bool readToken(Token& token); 1449 bool readObject(Token& token); 1450 bool readArray(Token& token); 1451 bool decodeNumber(Token& token); 1452 bool decodeNumber(Token& token, Value& decoded); 1453 bool decodeString(Token& token); 1454 bool decodeString(Token& token, std::string& decoded); 1455 bool decodeDouble(Token& token); 1456 bool decodeDouble(Token& token, Value& decoded); 1457 bool decodeUnicodeCodePoint(Token& token, [all...] |
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/ |
H A D | json.h | 1389 bool readToken(Token& token); 1398 bool readObject(Token& token); 1399 bool readArray(Token& token); 1400 bool decodeNumber(Token& token); 1401 bool decodeNumber(Token& token, Value& decoded); 1402 bool decodeString(Token& token); 1403 bool decodeString(Token& token, std::string& decoded); 1404 bool decodeDouble(Token& token); 1405 bool decodeDouble(Token& token, Value& decoded); 1406 bool decodeUnicodeCodePoint(Token& token, [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/ |
H A D | json.h | 1389 bool readToken(Token& token); 1398 bool readObject(Token& token); 1399 bool readArray(Token& token); 1400 bool decodeNumber(Token& token); 1401 bool decodeNumber(Token& token, Value& decoded); 1402 bool decodeString(Token& token); 1403 bool decodeString(Token& token, std::string& decoded); 1404 bool decodeDouble(Token& token); 1405 bool decodeDouble(Token& token, Value& decoded); 1406 bool decodeUnicodeCodePoint(Token& token, [all...] |
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/ |
H A D | json.h | 1389 bool readToken(Token& token); 1398 bool readObject(Token& token); 1399 bool readArray(Token& token); 1400 bool decodeNumber(Token& token); 1401 bool decodeNumber(Token& token, Value& decoded); 1402 bool decodeString(Token& token); 1403 bool decodeString(Token& token, std::string& decoded); 1404 bool decodeDouble(Token& token); 1405 bool decodeDouble(Token& token, Value& decoded); 1406 bool decodeUnicodeCodePoint(Token& token, [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_reconfig.c | 434 struct json_token *root = NULL, *own_root = NULL, *token; in dpp_reconfig_auth_req_rx() local 490 token = json_get_member(root, "expiry"); in dpp_reconfig_auth_req_rx() 491 if (token && token->type == JSON_STRING && in dpp_reconfig_auth_req_rx() 492 dpp_key_expired(token->string, NULL)) { in dpp_reconfig_auth_req_rx() 498 token = json_get_member(root, "netAccessKey"); in dpp_reconfig_auth_req_rx() 499 if (!token || token->type != JSON_OBJECT) { in dpp_reconfig_auth_req_rx() 522 net_access_key_len, token) < 0) in dpp_reconfig_auth_req_rx() 659 struct json_token *root = NULL, *token, *conn_status_jso in dpp_reconfig_auth_resp_rx() local [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_replace_ability_impl.cpp | 29 const sptr<IRemoteObject> &token) in Init() 33 if (token == nullptr) { in Init() 34 TAG_LOGE(AAFwkTag::TEST, "AbilityImpl::init failed, token is nullptr"); in Init() 53 if (token == nullptr) { in Init() 54 TAG_LOGE(AAFwkTag::TEST, "AbilityImpl::init failed, token is nullptr"); in Init() 60 ability_->Init(record->GetAbilityInfo(), application, handler, token); in Init() 25 Init(const std::shared_ptr<OHOSApplication> &application, const std::shared_ptr<AbilityLocalRecord> &record, std::shared_ptr<Ability> &ability, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument
|
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_app_mgr_service_inner.h | 41 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state)); 42 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool clearMissionFlag)); 46 MOCK_METHOD1(AbilityTerminated, void(const sptr<IRemoteObject>& token)); 61 MOCK_METHOD1(KillProcessByAbilityToken, void(const sptr<IRemoteObject>& token));
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/ |
H A D | ability_delegator.h | 183 * @param token, Indicates the specified ability. 186 AbilityDelegator::AbilityState GetAbilityState(const sptr<IRemoteObject> &token); 223 * @param token, Indicates the specified ability. 226 bool DoAbilityForeground(const sptr<IRemoteObject> &token); 231 * @param token, Indicates the specified ability. 234 bool DoAbilityBackground(const sptr<IRemoteObject> &token); 329 std::shared_ptr<ADelegatorAbilityProperty> FindPropertyByToken(const sptr<IRemoteObject> &token);
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | sub_managers_helper.h | 54 std::shared_ptr<DataAbilityManager> GetDataAbilityManagerByToken(const sptr<IRemoteObject> &token); 59 std::shared_ptr<AbilityConnectManager> GetConnectManagerByToken(const sptr<IRemoteObject> &token); 78 bool VerificationAllToken(const sptr<IRemoteObject> &token); 79 bool VerificationAllTokenForConnectManagers(const sptr<IRemoteObject> &token);
|
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/appmgr_test_service/src/ |
H A D | appmgr_test_service.cpp | 76 OHOS::sptr<IRemoteObject> token = *tokenPtr; in ProcessLoadAbility() local 77 std::shared_ptr<AbilityRecord> ability = Token::GetAbilityRecordByToken(token); in ProcessLoadAbility() 84 tokenMap_[abilitySched] = token; in ProcessLoadAbility() 85 server_->AttachAbilityThread(abilitySched, token); in ProcessLoadAbility()
|
/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability.cpp | 132 sid_->token = SERVICE_TYPE_ANONYMOUS; in OnConnect() 176 void Ability::Init(uint64_t token, int abilityType, bool isNativeApp) in Init() argument 189 token_ = token; in Init() 190 AbilityContext::token_ = token; in Init()
|
/foundation/ability/ability_runtime/test/mock/mock_appmgr_service/include/ |
H A D | mock_app_mgr_service_inner.h | 39 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state)); 40 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool clearMissionFlag)); 44 MOCK_METHOD1(AbilityTerminated, void(const sptr<IRemoteObject>& token)); 58 MOCK_METHOD1(KillProcessByAbilityToken, void(const sptr<IRemoteObject>& token));
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | future.h | 48 void SetQueueInfo(const ITaskQueue::Ptr& queue, ITaskQueue::Token token); 103 void SetQueueInfo(const ITaskQueue::Ptr& queue, ITaskQueue::Token token) override; 118 void SetQueueInfo(const ITaskQueue::Ptr& queue, ITaskQueue::Token token) in SetQueueInfo() argument 120 promise_.SetQueueInfo(queue, token); in SetQueueInfo()
|
/foundation/multimedia/player_framework/services/services/media_data_source/ipc/ |
H A D | media_data_source_proxy.cpp | 126 bool token = data.WriteInterfaceToken(MediaDataSourceProxy::GetDescriptor()); in ReadAt() local 127 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in ReadAt() 155 bool token = data.WriteInterfaceToken(MediaDataSourceProxy::GetDescriptor()); in GetSize() local 156 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in GetSize()
|