/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | common.c | 1074 * cstr_token - Get next token from const char string 1077 * @last: a pointer to a character following the returned token 1080 * Returns: a pointer to token position in str or NULL 1085 * - The returned token is not a NULL terminated string, but a token 1087 * of the returned token could be calculated as (last - token). 1091 const char *end, *token = str; in cstr_token() local 1097 token = *last; in cstr_token() 1099 while (*token in cstr_token() 1125 char *token = (char *) cstr_token(str, delim, (const char **) context); str_token() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/ |
H A D | ui_ability_lifecycle_manager.cpp | 69 auto g_deleteLifecycleEventTask = [](const sptr<Token> &token, FreezeUtil::TimeoutState state) { 70 CHECK_POINTER_LOG(token, "token is nullptr."); 71 FreezeUtil::LifecycleFlow flow = { token->AsObject(), state }; 164 TAG_LOGE(AAFwkTag::ABILITYMGR, "token's Descriptor: %{public}s", descriptor.c_str()); in CheckSessionInfo() 237 const sptr<IRemoteObject> &token) in AttachAbilityThread() 241 if (!IsContainsAbilityInner(token)) { in AttachAbilityThread() 245 auto&& abilityRecord = Token::GetAbilityRecordByToken(token); in AttachAbilityThread() 254 FreezeUtil::LifecycleFlow flow = {token, FreezeUtil::TimeoutState::LOAD}; in AttachAbilityThread() 268 DelayedSingleton<AppScheduler>::GetInstance()->MoveToForeground(token); in AttachAbilityThread() 236 AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &token) AttachAbilityThread() argument 284 OnAbilityRequestDone(const sptr<IRemoteObject> &token, int32_t state) const OnAbilityRequestDone() argument 306 AbilityTransactionDone(const sptr<IRemoteObject> &token, int state, const PacMap &saveData) AbilityTransactionDone() argument 328 AbilityWindowConfigTransactionDone(const sptr<IRemoteObject> &token, const WindowConfig &windowConfig) AbilityWindowConfigTransactionDone() argument 657 CompleteFirstFrameDrawing(const sptr<IRemoteObject> &token) CompleteFirstFrameDrawing() argument 817 NotifySCBToMinimizeUIAbility(const std::shared_ptr<AbilityRecord> abilityRecord, const sptr<IRemoteObject> token) NotifySCBToMinimizeUIAbility() argument 1100 NotifyAbilityToken(const sptr<IRemoteObject> &token, const AbilityRequest &abilityRequest) const NotifyAbilityToken() argument 1808 NotifyRestartSpecifiedAbility(AbilityRequest &request, const sptr<IRemoteObject> &token) NotifyRestartSpecifiedAbility() argument 2022 GetSessionIdByAbilityToken(const sptr<IRemoteObject> &token) GetSessionIdByAbilityToken() argument 2563 ChangeAbilityVisibility(sptr<IRemoteObject> token, bool isShow) ChangeAbilityVisibility() argument [all...] |
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding.cc | 30 return ToASCIIString("JSON: invalid token"); in ToASCIIString() 184 // Reads the start of a token with definitive size from |bytes|. 233 // Writes the start of a token with |type|. The |value| may indicate the size, 663 // assume that a particular token was recognized in ::ReadNextToken. 665 // the accessors (assuming the token was recognized) never produce 781 /* tag before token start: */ 1 + in ReadNextToken() 782 /* token start: */ bytes_read; in ReadNextToken() 1574 const char* token) { in ParseConstToken() 1575 // |token| is \0 terminated, it's one of the constants at top of the file. in ParseConstToken() 1576 while (start < end && *token ! in ParseConstToken() 1571 ParseConstToken(const Char* start, const Char* end, const Char** token_end, const char* token) ParseConstToken() argument 1976 Token token = ParseToken(start, end, &token_start, &token_end); ParseValue() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | glslang.y | 160 %token <lex> INVARIANT HIGH_PRECISION MEDIUM_PRECISION LOW_PRECISION PRECISION 161 %token <lex> ATTRIBUTE CONST_QUAL BOOL_TYPE FLOAT_TYPE INT_TYPE UINT_TYPE 162 %token <lex> BREAK CONTINUE DO ELSE FOR IF DISCARD RETURN SWITCH CASE DEFAULT 163 %token <lex> BVEC2 BVEC3 BVEC4 IVEC2 IVEC3 IVEC4 VEC2 VEC3 VEC4 UVEC2 UVEC3 UVEC4 164 %token <lex> MATRIX2 MATRIX3 MATRIX4 IN_QUAL OUT_QUAL INOUT_QUAL UNIFORM VARYING 165 %token <lex> MATRIX2x3 MATRIX3x2 MATRIX2x4 MATRIX4x2 MATRIX3x4 MATRIX4x3 166 %token <lex> CENTROID FLAT SMOOTH 167 %token <lex> STRUCT VOID_TYPE WHILE 168 %token <lex> SAMPLER2D SAMPLERCUBE SAMPLER_EXTERNAL_OES SAMPLER2DRECT SAMPLER2DARRAY 169 %token <le [all...] |
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_secure_access.c | 194 static int32_t AssignToken(struct HksBlob *token, const struct HksBlob *challenge) in AssignToken() argument 196 if (token->size >= TOKEN_SIZE) { in AssignToken() 197 if (memcpy_s(token->data, token->size, challenge->data, challenge->size) != EOK) { in AssignToken() 198 HKS_LOG_E("copy token failed"); in AssignToken() 201 token->size = challenge->size; in AssignToken() 203 } else if (token->size == 0) { in AssignToken() 206 HKS_LOG_E("token size is too small"); in AssignToken() 274 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "assign out token failed") in BuildAuthRuntimeParamSet() 284 static int32_t HksVerifyKeyChallenge(const struct HuksKeyNode *keyNode, const struct HksUserAuthToken *token, in HksVerifyKeyChallenge() argument 303 HksVerifyKeyTimestamp(const struct HuksKeyNode *keyNode, const struct HksUserAuthToken *token) HksVerifyKeyTimestamp() argument 850 HksCoreSecureAccessInitParams(struct HuksKeyNode *keyNode, const struct HksParamSet *initParamSet, struct HksBlob *token) HksCoreSecureAccessInitParams() argument 1049 HksCoreSecureAccessInitParams(struct HuksKeyNode *keyNode, const struct HksParamSet *initParamSet, struct HksBlob *token) HksCoreSecureAccessInitParams() argument [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager_stub.cpp | 827 std::vector<uint8_t> token; in HandleUpdateUserAuth() local 830 data.ReadUInt8Vector(&token); in HandleUpdateUserAuth() 834 int32_t err = UpdateUserAuth(userId, secureUid, token, oldSecret, newSecret); in HandleUpdateUserAuth() 850 std::vector<uint8_t> token; in HandleUpdateUseAuthWithRecoveryKey() local 852 data.ReadUInt8Vector(&token); in HandleUpdateUseAuthWithRecoveryKey() 862 int32_t err = UpdateUseAuthWithRecoveryKey(token, newSecret, secureUid, userId, plainText); in HandleUpdateUseAuthWithRecoveryKey() 877 std::vector<uint8_t> token; in HandleActiveUserKey() local 879 data.ReadUInt8Vector(&token); in HandleActiveUserKey() 882 int32_t err = ActiveUserKey(userId, token, secret); in HandleActiveUserKey() 946 std::vector<uint8_t> token; in HandleUnlockUserScreen() local 1019 std::vector<uint8_t> token; HandleCreateRecoverKey() local [all...] |
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
H A D | mock_domain_so_plugin.cpp | 132 const PluginUint8Vector *token, int32_t *isValid)
in IsAuthenticationExpired() 147 if (token != nullptr && token->size == 0) {
in IsAuthenticationExpired() 131 IsAuthenticationExpired(const PluginDomainAccountInfo *domainAccountInfo, const PluginUint8Vector *token, int32_t *isValid) IsAuthenticationExpired() argument
|
/base/print/print_fwk/utils/include/ |
H A D | print_util.h | 102 std::string token; in SplitStr() local 105 while (std::getline(tokenStream, token, delimiter)) { in SplitStr() 107 return token; in SplitStr()
|
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_host_stub.cpp | 88 sptr<IRemoteObject> token = nullptr; in HandleAcquired() local 90 token = data.ReadRemoteObject(); in HandleAcquired() 93 OnAcquired(*formInfo, token); in HandleAcquired()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupdatamanagerb_fuzzer/ |
H A D | abilityautostartupdatamanagerb_fuzzer.cpp | 46 \n\"abilityName\": \"ability\", \n\"appCloneIndex\": -1, \n\"accessTokenId\": \"token\",\ 65 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 72 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 74 return token; in GetFuzzAbilityToken() 116 dataMgr->IsEqual(key1, "token"); in AbilityAutoStartupDataManagerFuzztest1() 118 dataMgr->IsEqual(key1Illegal, "token"); in AbilityAutoStartupDataManagerFuzztest1()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | ui_ability_impl.h | 42 * @param token the remote token 46 std::shared_ptr<AppExecFwk::AbilityHandler> &handler, const sptr<IRemoteObject> &token); 254 WindowLifeCycleImpl(const sptr<IRemoteObject> &token, const std::shared_ptr<UIAbilityImpl> &owner) in WindowLifeCycleImpl() argument 255 : token_(token), owner_(owner) in WindowLifeCycleImpl()
|
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/ |
H A D | abilitymgrinsightintentexecutemanager_fuzzer.cpp | 54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 63 return token; in GetFuzzAbilityToken()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | extension_record_manager.h | 111 std::shared_ptr<AAFwk::AbilityRecord> GetUIExtensionRootHostInfo(const sptr<IRemoteObject> token); 113 int32_t GetUIExtensionSessionInfo(const sptr<IRemoteObject> token, UIExtensionSessionInfo &uiExtensionSessionInfo); 116 int32_t extensionRecordId, const sptr<IRemoteObject> &token, const sptr<IRemoteObject> &focusToken);
|
/foundation/ability/ability_runtime/test/fuzztest/dialogsessionmanager_fuzzer/ |
H A D | dialogsessionmanager_fuzzer.cpp | 50 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 57 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 59 return token; in GetFuzzAbilityToken()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupserviceb_fuzzer/ |
H A D | abilityautostartupserviceb_fuzzer.cpp | 56 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 63 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 65 return token; in GetFuzzAbilityToken() 80 service->CleanResource(nullptr); // branch nullptr token in AbilityStartupServiceFuzztest1() 81 service->CleanResource(token1); // branch clean exists token in AbilityStartupServiceFuzztest1() 82 service->CleanResource(token2); // branch clean not exists token in AbilityStartupServiceFuzztest1()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/ |
H A D | rtsp_request.cpp | 92 std::string RtspRequest::GetToken(const std::string &token) in GetToken() argument 94 if (tokens_.find(token) != tokens_.end()) { in GetToken() 95 return tokens_.at(token); in GetToken()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | form_utils_impl.cpp | 107 auto token = aceContainer->GetToken(); in BackgroundEvent() local 108 CHECK_NULL_RETURN(token, -1); in BackgroundEvent() 140 return AppExecFwk::FormMgr::GetInstance().BackgroundEvent(formId, want, token); in BackgroundEvent()
|
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/config/ |
H A D | white_list_config_mgr.cpp | 79 std::string token = src.substr(0, pos); in Split() local 80 if (!token.empty()) { in Split() 81 whiteListSet_.insert(token); in Split()
|
/third_party/node/deps/v8/src/date/ |
H A D | dateparser.cc | 169 int DateParser::ReadMilliseconds(DateToken token) { in ReadMilliseconds() argument 174 int number = token.number(); in ReadMilliseconds() 175 int length = token.length(); in ReadMilliseconds()
|
/third_party/node/deps/undici/src/lib/ |
H A D | proxy-agent.js | 71 if (opts.auth && opts.token) { 72 throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token') 74 /* @deprecated in favour of opts.token */ 76 } else if (opts.token) { 77 this[kProxyHeaders]['proxy-authorization'] = opts.token
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deStringUtil.cpp | 100 string token; in splitString() local 102 while (std::getline(tokenStream, token, delim)) in splitString() 103 ret.push_back(token); in splitString()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_single_ver_natural_store_testcase.cpp | 70 ContinueToken token = nullptr; in GetSyncData001() local 72 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg, store, vect, token), E_OK); in GetSyncData001() 74 EXPECT_EQ(token, nullptr); in GetSyncData001() 109 ContinueToken token = nullptr; in GetSyncData002() local 111 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg, store, vect, token), E_OK); in GetSyncData002() 113 EXPECT_EQ(token, nullptr); in GetSyncData002() 138 ContinueToken token = nullptr; in GetSyncData003() local 140 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg1, store, vect, token), -E_INVALID_ARGS); in GetSyncData003() 144 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg2, store, vect, token), -E_INVALID_ARGS); in GetSyncData003() 156 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg3, store, vect, token), in GetSyncData003() 190 ContinueToken token = nullptr; GetSyncData004() local 248 ContinueToken token = nullptr; GetSyncData005() local 284 ContinueToken token = nullptr; GetSyncData006() local [all...] |
H A D | distributeddb_relational_cloud_syncable_storage_test.cpp | 811 ContinueToken token = nullptr; in HWTEST_F() local 813 EXPECT_EQ(g_storageProxy->ReleaseContinueToken(token), E_OK); in HWTEST_F() 815 ASSERT_EQ(g_storageProxy->GetCloudData(g_tableName, g_startTime, token, cloudSyncData), -E_UNFINISHED); in HWTEST_F() 816 ASSERT_EQ(g_storageProxy->ReleaseContinueToken(token), E_OK); in HWTEST_F() 817 token = nullptr; in HWTEST_F() 818 EXPECT_EQ(g_storageProxy->GetCloudDataNext(token, cloudSyncData), -E_INVALID_ARGS); in HWTEST_F() 822 ASSERT_EQ(g_storageProxy->GetCloudData(g_tableName, g_startTime, token, cloudSyncData), -E_UNFINISHED); in HWTEST_F() 824 ASSERT_EQ(g_storageProxy->ReleaseContinueToken(token), E_OK); in HWTEST_F() 847 ContinueToken token = nullptr; in HWTEST_F() local 850 EXPECT_EQ(g_storageProxy->GetCloudData(g_tableName, g_startTime, token, cloudSyncDat in HWTEST_F() 879 ContinueToken token = nullptr; HWTEST_F() local 920 ContinueToken token = nullptr; HWTEST_F() local 973 ContinueToken token = nullptr; HWTEST_F() local 1062 ContinueToken token = nullptr; HWTEST_F() local 1624 ContinueToken token = nullptr; HWTEST_F() local [all...] |
/third_party/libwebsockets/lib/roles/ws/ |
H A D | ops-ws.c | 48 pmdrx.eb_in.token = NULL; in lws_ws_rx_sm() 50 pmdrx.eb_out.token = NULL; in lws_ws_rx_sm() 57 pmdrx.eb_in.token = NULL; in lws_ws_rx_sm() 59 pmdrx.eb_out.token = NULL; in lws_ws_rx_sm() 581 pmdrx.eb_in.token = &wsi->ws->rx_ubuf[LWS_PRE]; in lws_ws_rx_sm() 608 // lwsl_hexdump_notice(ebuf.token, ebuf.len); in lws_ws_rx_sm() 610 pmdrx.eb_in.len, pmdrx.eb_in.token); in lws_ws_rx_sm() 661 pmdrx.eb_out.token, in lws_ws_rx_sm() 683 lwsl_hexdump_notice(pmdrx.eb_out.token, in lws_ws_rx_sm() 706 pmdrx.eb_out.token[pmdr in lws_ws_rx_sm() [all...] |
/base/account/os_account/services/accountmgr/test/unittest/account_iam/ |
H A D | account_iam_callback_test.cpp | 330 std::vector<uint8_t> token;
in HWTEST_F() local 331 auto delCredCallback = std::make_shared<DelCredCallback>(TEST_USER_ID, false, token, nullptr);
in HWTEST_F() 346 std::vector<uint8_t> token;
in HWTEST_F() local 347 auto delCredCallback = std::make_shared<DelCredCallback>(TEST_USER_ID, false, token, callback);
in HWTEST_F() 369 std::vector<uint8_t> token;
in HWTEST_F() local 370 auto delCredCallback = std::make_shared<DelCredCallback>(TEST_USER_ID, false, token, nullptr);
in HWTEST_F() 385 std::vector<uint8_t> token;
in HWTEST_F() local 386 auto delCredCallback = std::make_shared<DelCredCallback>(TEST_USER_ID, false, token, callback);
in HWTEST_F()
|