Home
last modified time | relevance | path

Searched refs:token (Results 1226 - 1250 of 2761) sorted by relevance

1...<<41424344454647484950>>...111

/third_party/typescript/tests/baselines/reference/
H A DmoduleMemberWithoutTypeAnnotation1.js21 constructor(parent: PositionedElement, token: ISyntaxToken, fullStart: number) {
77 function PositionedToken(parent, token, fullStart) {
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_map.py23 from ..pgen2 import token namespace
93 args.children[1].children[0].type == token.NAME and \
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_pwd_common.h45 u8 token[4]; member
61 const u8 *token);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_pwd_common.h45 u8 token[4]; member
61 const u8 *token);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dsae.h73 const struct wpabuf *token, const char *identifier);
75 const u8 **token, size_t *token_len, int *allowed_groups);
H A Ddpp.c4982 struct json_token *root = NULL, *token; in dpp_conf_req_rx() local
5054 token = json_get_member(root, "name"); in dpp_conf_req_rx()
5055 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
5059 wpa_printf(MSG_DEBUG, "DPP: Enrollee name = '%s'", token->string); in dpp_conf_req_rx()
5061 token = json_get_member(root, "wi-fi_tech"); in dpp_conf_req_rx()
5062 if (!token || token->type != JSON_STRING) { in dpp_conf_req_rx()
5066 wpa_printf(MSG_DEBUG, "DPP: wi-fi_tech = '%s'", token->string); in dpp_conf_req_rx()
5067 if (os_strcmp(token in dpp_conf_req_rx()
5105 struct json_token *root, *token; dpp_parse_jws_prot_hdr() local
5230 struct json_token *token; dpp_parse_jwk() local
5389 struct json_token *root, *groups, *netkey, *token; dpp_parse_connector() local
5724 struct json_token *token, *csign; dpp_parse_cred_dpp() local
5836 struct json_token *root, *token, *discovery, *cred; dpp_parse_conf_obj() local
6304 struct json_token *groups, *token; dpp_connector_compatible_group() local
6337 struct json_token *groups, *token; dpp_connector_match_groups() local
6451 struct json_token *root = NULL, *netkey, *token; dpp_peer_intro() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/
H A Dmission_list_manager.cpp92 auto g_deleteLifecycleEventTask = [](const sptr<Token> &token, FreezeUtil::TimeoutState state) {
93 CHECK_POINTER_LOG(token, "token is nullptr.");
94 FreezeUtil::LifecycleFlow flow = { token->AsObject(), state };
217 int MissionListManager::MinimizeAbility(const sptr<IRemoteObject> &token, bool fromUser) in MinimizeAbility() argument
221 // check if ability is in list to avoid user create fake token. in MinimizeAbility()
222 CHECK_POINTER_AND_RETURN_LOG(GetAbilityRecordByTokenInner(token), INNER_ERR, in MinimizeAbility()
224 auto abilityRecord = Token::GetAbilityRecordByToken(token); in MinimizeAbility()
1004 int MissionListManager::AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &token) in AttachAbilityThread() argument
1008 auto abilityRecord = GetAbilityRecordByTokenInner(token); in AttachAbilityThread()
1053 OnAbilityRequestDone(const sptr<IRemoteObject> &token, int32_t state) OnAbilityRequestDone() argument
1128 GetAbilityRecordByToken( const sptr<IRemoteObject> &token) GetAbilityRecordByToken() argument
1194 AbilityTransactionDone(const sptr<IRemoteObject> &token, int state, const PacMap &saveData) AbilityTransactionDone() argument
1924 GetAbilityFromTerminateList(const sptr<IRemoteObject> &token) GetAbilityFromTerminateList() argument
1930 GetAbilityFromTerminateListInner(const sptr<IRemoteObject> &token) GetAbilityFromTerminateListInner() argument
2106 UpdateSnapShot(const sptr<IRemoteObject> &token, const std::shared_ptr<Media::PixelMap> &pixelMap) UpdateSnapShot() argument
2714 GetMissionIdByAbilityToken(const sptr<IRemoteObject> &token) GetMissionIdByAbilityToken() argument
2720 GetMissionIdByAbilityTokenInner(const sptr<IRemoteObject> &token) GetMissionIdByAbilityTokenInner() argument
2912 SetMissionContinueState(const sptr<IRemoteObject> &token, int32_t missionId, const AAFwk::ContinueState &state) SetMissionContinueState() argument
2927 SetMissionLabel(const sptr<IRemoteObject> &token, const std::string &label) SetMissionLabel() argument
2957 SetMissionIcon(const sptr<IRemoteObject> &token, const std::shared_ptr<Media::PixelMap> &icon) SetMissionIcon() argument
3600 NotifyRestartSpecifiedAbility(AbilityRequest &request, const sptr<IRemoteObject> &token) NotifyRestartSpecifiedAbility() argument
4064 NotifyAbilityToken(const sptr<IRemoteObject> &token, const AbilityRequest &abilityRequest) NotifyAbilityToken() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_connect_manager_test/
H A Dability_connect_manager_test.cpp276 * 1.token is nullptr, terminate ability failed
277 * 2.token is not nullptr, terminate ability success, and verify the status
367 * 1.token is nullptr, stop service ability failed
368 * 2.token is not nullptr, stop service ability success, and verify the status
550 auto token = abilityRecord->GetToken(); in HWTEST_F() local
556 ConnectManager()->AttachAbilityThreadLocked(scheduler, token->AsObject()); in HWTEST_F()
557 ConnectManager()->AbilityTransitionDone(token->AsObject(), OHOS::AAFwk::AbilityState::INACTIVE); in HWTEST_F()
718 auto token = abilityRecord->GetToken(); in HWTEST_F() local
721 ConnectManager()->ScheduleConnectAbilityDoneLocked(token, callback); in HWTEST_F()
722 auto abilityRecordB = Token::GetAbilityRecordByToken(token); in HWTEST_F()
1075 auto token = abilityRecord->GetToken(); HWTEST_F() local
1115 auto token = abilityRecord->GetToken(); HWTEST_F() local
1162 auto token = abilityRecord->GetToken(); HWTEST_F() local
1187 auto token = abilityRecord->GetToken(); HWTEST_F() local
1244 auto token = abilityRecord->GetToken(); HWTEST_F() local
1295 auto token = abilityRecord->GetToken(); HWTEST_F() local
1331 auto token = abilityRecord->GetToken(); HWTEST_F() local
1530 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
1603 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
1628 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
1652 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
1679 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
1735 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
2835 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_manager_test.cpp167 NetManagerBaseNotSystemToken token; in GlobalHttpProxyTest() local
198 NetManagerBaseAccessToken token; in HWTEST_F() local
214 NetManagerBaseAccessToken token; in HWTEST_F() local
234 NetManagerBaseAccessToken token; in HWTEST_F() local
258 NetManagerBaseAccessToken token; in HWTEST_F() local
279 NetManagerBaseAccessToken token; in HWTEST_F() local
348 NetManagerBaseAccessToken token; in HWTEST_F() local
441 NetManagerBaseAccessToken token; in HWTEST_F() local
483 NetManagerBaseAccessToken token; in HWTEST_F() local
520 NetManagerBaseAccessToken token; in HWTEST_F() local
543 NetManagerBaseAccessToken token; HWTEST_F() local
572 NetManagerBaseAccessToken token; HWTEST_F() local
643 NetManagerBaseAccessToken token; HWTEST_F() local
792 NetManagerBaseAccessToken token; HWTEST_F() local
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_conn_manager_test.cpp167 NetManagerBaseNotSystemToken token; in GlobalHttpProxyTest() local
198 NetManagerBaseAccessToken token; in HWTEST_F() local
214 NetManagerBaseAccessToken token; in HWTEST_F() local
234 NetManagerBaseAccessToken token; in HWTEST_F() local
258 NetManagerBaseAccessToken token; in HWTEST_F() local
279 NetManagerBaseAccessToken token; in HWTEST_F() local
348 NetManagerBaseAccessToken token; in HWTEST_F() local
441 NetManagerBaseAccessToken token; in HWTEST_F() local
483 NetManagerBaseAccessToken token; in HWTEST_F() local
520 NetManagerBaseAccessToken token; in HWTEST_F() local
543 NetManagerBaseAccessToken token; HWTEST_F() local
572 NetManagerBaseAccessToken token; HWTEST_F() local
643 NetManagerBaseAccessToken token; HWTEST_F() local
792 NetManagerBaseAccessToken token; HWTEST_F() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Drrm.c59 * @report: Neighbor report buffer, prefixed by a 1-byte dialog token
73 "RRM: Discarding neighbor report with token %d (expected %d)", in wpas_rrm_process_neighbor_rep()
86 /* skipping the first byte, which is only an id (dialog token) */ in wpas_rrm_process_neighbor_rep()
93 wpa_printf(MSG_DEBUG, "RRM: Notifying neighbor report (token = %d)", in wpas_rrm_process_neighbor_rep()
170 /* 3 = action category + action code + dialog token */ in wpas_rrm_send_neighbor_rep_request()
180 wpa_printf(MSG_DEBUG, "RRM: Neighbor report request (for %s), token=%d", in wpas_rrm_send_neighbor_rep_request()
199 * Measurement token; nonzero number that is unique among the in wpas_rrm_send_neighbor_rep_request()
233 * Measurement token; nonzero number that is unique among the in wpas_rrm_send_neighbor_rep_request()
281 static int wpas_rrm_report_elem(struct wpabuf **buf, u8 token, u8 mode, u8 type, in wpas_rrm_report_elem() argument
289 wpabuf_put_u8(*buf, token); in wpas_rrm_report_elem()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Drrm.c59 * @report: Neighbor report buffer, prefixed by a 1-byte dialog token
73 "RRM: Discarding neighbor report with token %d (expected %d)", in wpas_rrm_process_neighbor_rep()
86 /* skipping the first byte, which is only an id (dialog token) */ in wpas_rrm_process_neighbor_rep()
93 wpa_dbg(wpa_s, MSG_DEBUG, "RRM: Notifying neighbor report (token = %d)", in wpas_rrm_process_neighbor_rep()
176 /* 3 = action category + action code + dialog token */ in wpas_rrm_send_neighbor_rep_request()
187 "RRM: Neighbor report request (for %s), token=%d", in wpas_rrm_send_neighbor_rep_request()
190 wpa_printf(MSG_DEBUG, "RRM: Neighbor report request (for %s), token=%d", in wpas_rrm_send_neighbor_rep_request()
209 * Measurement token; nonzero number that is unique among the in wpas_rrm_send_neighbor_rep_request()
243 * Measurement token; nonzero number that is unique among the in wpas_rrm_send_neighbor_rep_request()
291 static int wpas_rrm_report_elem(struct wpabuf **buf, u8 token, u argument
[all...]
/base/request/request/test/unittest/cpp_test/fwkTest/src/
H A Drequest_manager_impl_test.cpp45 MOCK_METHOD(int32_t, GetTask, (const std::string &tid, const std::string &token, Config &config), (override));
53 MOCK_METHOD(int32_t, Touch, (const std::string &tid, const std::string &token, TaskInfo &info), (override));
146 string token = "token"; in HWTEST_F() local
151 EXPECT_CALL(*exceptProxy, GetTask(tid, token, testing::_)) in HWTEST_F()
155 EXPECT_EQ(RequestManagerImpl::GetInstance()->GetTask(tid, token, config), E_UNLOADING_SA); in HWTEST_F()
156 EXPECT_EQ(RequestManagerImpl::GetInstance()->GetTask(tid, token, config), E_OK); in HWTEST_F()
157 EXPECT_EQ(RequestManagerImpl::GetInstance()->GetTask(tid, token, config), E_OTHER); in HWTEST_F()
210 string token = "token"; in HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/appkit/ohos_application_first_test/
H A Dohos_application_first_test.cpp404 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject();
407 std::shared_ptr<AbilityLocalRecord> abilityRecord = std::make_shared<AbilityLocalRecord>(info, token, want, 0);
408 ohosApplication_->abilityRecordMgr_->abilityRecords_.emplace(token, abilityRecord);
561 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject();
562 ohosApplication_->CleanAbilityStage(token, abilityInfo, false);
570 * @tc.desc: Verify function CleanAbilityStage pointer token empty
576 sptr<Notification::MockIRemoteObject> token = nullptr;
577 ohosApplication_->CleanAbilityStage(token, abilityInfo, false);
578 EXPECT_TRUE(token == nullptr);
594 sptr<Notification::MockIRemoteObject> token
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_sup_test.cpp385 std::vector<uint8_t> token; in HWTEST_F() local
391 EXPECT_EQ(KeyManager::GetInstance()->UnlockEceSece(user, token, secret, ret), false); in HWTEST_F()
398 EXPECT_EQ(KeyManager::GetInstance()->UnlockEceSece(user, token, secret, ret), false); in HWTEST_F()
404 EXPECT_EQ(KeyManager::GetInstance()->UnlockEceSece(user, token, secret, ret), false); in HWTEST_F()
410 EXPECT_EQ(KeyManager::GetInstance()->UnlockEceSece(user, token, secret, ret), true); in HWTEST_F()
416 EXPECT_EQ(KeyManager::GetInstance()->UnlockEceSece(user, token, secret, ret), false); in HWTEST_F()
525 std::vector<uint8_t> token; in HWTEST_F() local
533 EXPECT_EQ(KeyManager::GetInstance()->UnlockUece(user, token, secret, ret), false); in HWTEST_F()
546 EXPECT_EQ(KeyManager::GetInstance()->UnlockUece(user, token, secret, ret), false); in HWTEST_F()
555 EXPECT_EQ(KeyManager::GetInstance()->UnlockUece(user, token, secre in HWTEST_F()
[all...]
/third_party/libcoap/tests/
H A Dtest_options.c469 /* CoAP PDU without token, options, or data */ in t_iterate_option1()
476 .token = teststr, in t_iterate_option1()
494 /* CoAP PDU with token but without options and data */ in t_iterate_option2()
502 .token = teststr, in t_iterate_option2()
520 /* CoAP PDU with token and options */ in t_iterate_option3()
529 .token = teststr, in t_iterate_option3()
562 /* CoAP PDU with token, options, and data */ in t_iterate_option4()
572 .token = teststr, in t_iterate_option4()
614 .token = teststr, in t_iterate_option5()
638 /* CoAP PDU with token, option in t_iterate_option6()
[all...]
/third_party/python/Lib/lib2to3/
H A Drefactor.py25 from .pgen2 import driver, tokenize, token namespace
117 ignore = frozenset({token.NEWLINE, tokenize.NL, token.COMMENT})
124 elif tp == token.STRING:
128 elif tp == token.NAME and value == "from":
130 if tp != token.NAME or value != "__future__":
133 if tp != token.NAME or value != "import":
136 if tp == token.OP and value == "(":
138 while tp == token.NAME:
141 if tp != token
[all...]
/base/request/request/frameworks/js/napi/src/
H A Djs_task.cpp338 REQUEST_HILOGE("End get task in AsyncCall input, seq: %{public}d, failed: parse tid or token fail", seq); in GetTask()
382 || taskContextMap_[tid]->task->config_.token != context->token) { in GetTaskExecution()
393 context->innerCode_ = RequestManager::GetInstance()->GetTask(tid, context->token, config); in GetTaskExecution()
470 REQUEST_HILOGE("The parameter: token is not of string type"); in ParseGetTask()
472 err.errInfo = "Incorrect parameter type, token is not of string type"; in ParseGetTask()
476 std::unique_ptr<char[]> token = std::make_unique<char[]>(bufferLen); in ParseGetTask() local
478 napi_status status = napi_get_value_string_utf8(env, argv[2], token.get(), bufferLen, &len); in ParseGetTask()
481 memset_s(token.get(), bufferLen, 0, bufferLen); in ParseGetTask()
483 err.errInfo = "Parameter verification failed, get parameter token faile in ParseGetTask()
659 char *token = new char[bufferLen]; ParseTouch() local
[all...]
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dinner_app_account_manager.cpp208 std::string token; in Authenticate() local
212 ret = controlManager_.GetOAuthToken(request, token, Constants::API_VERSION9); in Authenticate()
214 ret = controlManager_.GetOAuthToken(request, token); in Authenticate()
221 result.SetParam(Constants::KEY_TOKEN, token); in Authenticate()
233 const AuthenticatorSessionRequest &request, std::string &token, const uint32_t apiVersion) in GetOAuthToken()
235 return controlManager_.GetOAuthToken(request, token, apiVersion); in GetOAuthToken()
232 GetOAuthToken( const AuthenticatorSessionRequest &request, std::string &token, const uint32_t apiVersion) GetOAuthToken() argument
/base/request/request/frameworks/cj/ffi/src/
H A Dcj_request_task.cpp305 ExceptionError CJTask::GetTask(OHOS::AbilityRuntime::Context* context, std::string &taskId, std::string &token, in GetTask() argument
320 if (task->config_.token != token) { in GetTask()
327 int32_t result = RequestManager::GetInstance()->GetTask(taskId, token, config); in GetTask()
346 ExceptionError CJTask::Touch(const std::string &tid, TaskInfo &task, const std::string &token) in Touch() argument
355 int32_t result = RequestManager::GetInstance()->Touch(tid, token, task); in Touch()
/base/startup/init/interfaces/innerkits/fs_manager/
H A Dfstab.c567 char *token = strstr(start, " "); in LoadFstabFromCommandLine() local
568 if (token == NULL) { in LoadFstabFromCommandLine()
573 if (token == start) { in LoadFstabFromCommandLine()
577 *token = '\0'; in LoadFstabFromCommandLine()
580 start = token + 1; in LoadFstabFromCommandLine()
589 start = token + 1; in LoadFstabFromCommandLine()
/foundation/ability/form_fwk/test/unittest/fms_form_host_proxy_test/
H A Dfms_form_host_proxy_test.cpp71 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local
72 proxy->OnAcquired(formInfo, token); in HWTEST_F()
92 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local
93 proxy->OnAcquired(formInfo, token); in HWTEST_F()
113 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local
114 proxy->OnAcquired(formInfo, token); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service.h30 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
33 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool clearMissionFlag));
34 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state));
42 MOCK_METHOD1(AbilityCleaned, void(const sptr<IRemoteObject>& token));
218 void Terminate(const sptr<IRemoteObject>& token) const in Terminate()
224 callback_->OnAbilityRequestDone(token, st); in Terminate()
/foundation/ability/ability_runtime/test/unittest/cache_process_manager_test/
H A Dcache_process_manager_test.cpp380 sptr<IRemoteObject> token = new MockAbilityToken(); in HWTEST_F() local
385 appRecord->AddModule(appInfo, caseAbilityInfo, token, hapModuleInfo, nullptr, 0); in HWTEST_F()
388 auto caseAbilityRunningRecord = moduleRecord->AddAbility(token, caseAbilityInfo, nullptr, 0); in HWTEST_F()
503 sptr<IRemoteObject> token = new MockAbilityToken(); in HWTEST_F() local
509 appRunningRecord->AddModule(appInfo, abilityInfo, token, hapModuleInfo, nullptr, 0); in HWTEST_F()
512 auto abilityRunningRecord = moduleRecord->GetAbilityRunningRecordByToken(token); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/
H A Dmock_app_mgr_service.h29 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
32 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool clearMissionFlag));
33 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state));
41 MOCK_METHOD1(AbilityCleaned, void(const sptr<IRemoteObject>& token));
215 void Terminate(const sptr<IRemoteObject>& token) const in Terminate()
221 callback_->OnAbilityRequestDone(token, st); in Terminate()

Completed in 34 milliseconds

1...<<41424344454647484950>>...111