/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 549 const nghttp2_nv *nv, int32_t token, in hd_map_find() 557 if (token != p->nv.token || in hd_map_find() 558 (token == -1 && (hash != p->hash || !name_eq(&p->nv, nv)))) { in hd_map_find() 1172 static search_result search_static_table(const nghttp2_nv *nv, int32_t token, in search_static_table() argument 1174 search_result res = {token, 0}; in search_static_table() 1182 for (i = token; in search_static_table() 1183 i <= NGHTTP2_TOKEN_WWW_AUTHENTICATE && static_table[i].token == token; in search_static_table() 1197 const nghttp2_nv *nv, int32_t token, in search_hd_table() 548 hd_map_find(nghttp2_hd_map *map, int *exact_match, const nghttp2_nv *nv, int32_t token, uint32_t hash, int name_only) hd_map_find() argument 1196 search_hd_table(nghttp2_hd_context *context, const nghttp2_nv *nv, int32_t token, int indexing_mode, nghttp2_hd_map *map, uint32_t hash) search_hd_table() argument 1327 hd_deflate_decide_indexing(nghttp2_hd_deflater *deflater, const nghttp2_nv *nv, int32_t token) hd_deflate_decide_indexing() argument 1348 int32_t token; deflate_nv() local [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_sixth_test/ |
H A D | ability_manager_service_sixth_test.cpp | 716 auto token = abilityRecord->token_; in HWTEST_F() local 725 ret = abilityMs->MinimizeAbility(token, fromUser); in HWTEST_F() 729 ret = abilityMs->MinimizeAbility(token, fromUser); in HWTEST_F() 756 auto token = abilityRecord->token_; in HWTEST_F() local 761 ret = abilityMs->TerminateAbility(token, resultCode, &resultWant); in HWTEST_F() 769 ret = abilityMs->TerminateAbility(token, resultCode, &resultWant); in HWTEST_F() 941 auto token = abilityRecord->token_; in HWTEST_F() local 943 auto ret = abilityMs->ConnectAbilityCommon(want, impl, token, ExtensionAbilityType::SERVICE, in HWTEST_F() 948 ret = abilityMs->ConnectAbilityCommon(want, impl, token, ExtensionAbilityType::SERVICE, in HWTEST_F() 954 ret = abilityMs->ConnectAbilityCommon(want, impl, token, ExtensionAbilityTyp in HWTEST_F() 983 auto token = abilityRecord->token_; HWTEST_F() local 1088 auto token = abilityRecord->token_; HWTEST_F() local 1148 auto token = abilityRecord->token_; HWTEST_F() local 1355 auto token = abilityRecord->token_; HWTEST_F() local 1398 auto token = abilityRecord->token_; HWTEST_F() local 1429 auto token = abilityRecord->token_; HWTEST_F() local 1690 auto token = abilityRecord->token_; HWTEST_F() local [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_supplement_test.cpp | 234 sptr<IRemoteObject> token;
in HWTEST_F() local 237 systemConfig, token);
in HWTEST_F() 240 systemConfig, token);
in HWTEST_F() 243 systemConfig, token);
in HWTEST_F() 246 systemConfig, token);
in HWTEST_F() 250 systemConfig, token);
in HWTEST_F() 254 systemConfig, token);
in HWTEST_F() 257 systemConfig, token);
in HWTEST_F() 260 systemConfig, token);
in HWTEST_F() 341 sptr<IRemoteObject> token;
in HWTEST_F() local 415 sptr<IRemoteObject> token; HWTEST_F() local [all...] |
/third_party/icu/tools/unicode/c/genprops/ |
H A D | namespropsbuilder.cpp | 46 * token=tokenTable[c]; 47 * if(token==0xfffe) -- lead byte of double-byte token 48 * token=tokenTable[c<<8|next character]; 49 * if(token==-1) 52 * tokenString=tokenStrings+token; (tokenStrings=start of names data + tokenStringOffset;) 76 * For the de-tokenizing, see token description above; the strings immediately follow the 179 int32_t weight; /* -(cost for token) + (number of occurences) * (length-1) */ 505 /* count the letters in the token range */ in compress() 534 * The tokens that need two token byte in compress() 703 int16_t start, limit, token, groupTop=*pGroupTop; compressLine() local 782 int16_t token; writeBinaryData() local 919 int16_t i, token; findToken() local [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | native_net_conn_test.cpp | 218 NetManagerBaseAccessToken token; in HWTEST_F() local 246 NetManagerBaseAccessToken token; in HWTEST_F() local 276 NetManagerBaseAccessToken token; in HWTEST_F() local 304 NetManagerBaseAccessToken token; in HWTEST_F() local 334 NetManagerBaseAccessToken token; in HWTEST_F() local 354 NetManagerBaseAccessToken token; in HWTEST_F() local 378 NetManagerBaseAccessToken token; in HWTEST_F() local 393 NetManagerBaseAccessToken token; in HWTEST_F() local 417 NetManagerBaseAccessToken token; in HWTEST_F() local 441 NetManagerBaseAccessToken token; in HWTEST_F() local 466 NetManagerBaseAccessToken token; HWTEST_F() local 510 NetManagerBaseAccessToken token; HWTEST_F() local 528 NetManagerBaseAccessToken token; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | virtual_single_ver_sync_db_Interface.cpp | 197 VirtualContinueToken *token = static_cast<VirtualContinueToken *>(continueStmtToken); in ReleaseContinueToken() local 198 if (token != nullptr) { in ReleaseContinueToken() 199 delete token; in ReleaseContinueToken() 304 VirtualContinueToken *token = static_cast<VirtualContinueToken *>(continueStmtToken); in GetSyncDataNext() local 307 bool isFinished = GetDataInner(token->begin, token->end, currentWaterMark, dataSizeInfo, dataItems); in GetSyncDataNext() 309 delete token; in GetSyncDataNext() 313 token->begin = currentWaterMark; in GetSyncDataNext() 335 VirtualContinueToken *token = new(std::nothrow) VirtualContinueToken(); in GetSyncData() local 336 if (token in GetSyncData() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_fetch.cpp | 398 void FetchInstr::set_param_from_string(const std::string& token) in set_param_from_string() argument 400 if (token.substr(0,4) == "MFC:") in set_param_from_string() 401 set_mfc(int_from_string_with_prefix(token, "MFC:")); in set_param_from_string() 402 else if (token.substr(0,5) == "ARRB:") in set_param_from_string() 403 set_array_base(int_from_string_with_prefix(token, "ARRB:")); in set_param_from_string() 404 else if (token.substr(0,5) == "ARRS:") in set_param_from_string() 405 set_array_size(int_from_string_with_prefix(token, "ARRS:")); in set_param_from_string() 406 else if (token.substr(0,3) == "ES:") in set_param_from_string() 407 set_element_size(int_from_string_with_prefix(token, "ES:")); in set_param_from_string() 409 std::cerr << "Token '" << token << "' in set_param_from_string() local 414 set_flag_from_string(const std::string& token) set_flag_from_string() argument 420 std::cerr << "Token: " << token << " : "; set_flag_from_string() local [all...] |
/third_party/mesa3d/src/mesa/program/ |
H A D | program_parse.y | 163 %token ARBvp_10 ARBfp_10 166 %token <integer> ADDRESS 167 %token ALIAS ATTRIB 168 %token OPTION OUTPUT 169 %token PARAM 170 %token <integer> TEMP 171 %token END 174 %token <temp_inst> BIN_OP BINSC_OP SAMPLE_OP SCALAR_OP TRI_OP VECTOR_OP 175 %token <temp_inst> ARL KIL SWZ TXD_OP 177 %token <intege [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/ |
H A D | app_mgr_client_test.cpp | 116 sptr<IRemoteObject> token; in HWTEST_F() local 125 int ret = appMgrClient->UpdateExtensionState(token, state); in HWTEST_F() 161 * @tc.desc: can not get the not running process info by token. 173 auto token = record->GetToken(); in HWTEST_F() local 181 appMgrClient->GetRunningProcessInfoByToken(token, info); in HWTEST_F() 239 auto token = record->GetToken(); in HWTEST_F() local 319 auto token = record->GetToken(); in HWTEST_F() local 348 auto token = record->GetToken(); in HWTEST_F() local 374 auto token = record->GetToken(); in HWTEST_F() local 400 auto token in HWTEST_F() local 421 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 475 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 486 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 975 auto token = record->GetToken(); HWTEST_F() local 998 auto token = record->GetToken(); HWTEST_F() local 1077 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1414 sptr<IRemoteObject> token; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/ |
H A D | downloader.cpp | 791 char* token = strtok_s(nullptr, ":", &next); in HandleContentRange() local 792 FALSE_RETURN_V(token != nullptr, false); in HandleContentRange() 793 char* strRange = StringTrim(token); in HandleContentRange() 812 char* token = strtok_s(nullptr, ":", &next); in HandleContentType() local 813 FALSE_RETURN_V(token != nullptr, false); in HandleContentType() 814 char* type = StringTrim(token); in HandleContentType() 815 std::string tokenStr = (std::string)token; in HandleContentType() 826 char* token = strtok_s(nullptr, ":", &next); in HandleContentEncode() local 827 FALSE_RETURN_V(token != nullptr, false); in HandleContentEncode() 828 std::string tokenStr = (std::string)token; in HandleContentEncode() 840 char* token = strtok_s(nullptr, ":", &next); HandleContentLength() local 857 char* token = strtok_s(nullptr, ":", &next); HandleRange() local 866 char* token = strtok_s(nullptr, ":", &next); HandleRange() local 891 char* token = strtok_s(nullptr, ":", &next); RxHeaderData() local [all...] |
/foundation/ability/ability_lite/services/abilitymgr_lite/include/slite/ |
H A D | ability_mgr_service_slite.h | 33 static int32_t TerminateAbility(uint64_t token); 35 static int32_t SchedulerLifecycleDone(uint64_t token, int state); 37 static int32_t ForceStopBundle(uint64_t token);
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | ability_info_callback_stub.cpp | 48 void AbilityInfoCallbackStub::NotifyAbilityToken(const sptr<IRemoteObject> token, const Want &want) in NotifyAbilityToken() argument 55 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleNotifyAbilityToken() local 62 NotifyAbilityToken(token, *want); in HandleNotifyAbilityToken()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/include/ |
H A D | app_record.h | 42 AbilityMsStatus DumpAbilityTransaction(const Want &want, uint64_t token) const; 46 AbilityMsStatus ConnectTransaction(const Want &want, uint64_t token) const; 47 AbilityMsStatus DisconnectTransaction(const Want &want, uint64_t token) const;
|
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/include/slite/ |
H A D | abilityms_slite_client.h | 44 int32_t TerminateAbility(uint64_t token) const; 50 int32_t SchedulerLifecycleDone(uint64_t token, int32_t state) const; 52 int32_t ForceStopBundle(uint64_t token) const;
|
/foundation/ability/ability_runtime/test/unittest/ability_foreground_state_observer_proxy_test/ |
H A D | ability_foreground_state_observer_proxy_test.cpp | 58 * @tc.desc: Write token into parcel data. 79 sptr<IRemoteObject> token = new MockAbilityForegroundStateObserverServerStub(); in HWTEST_F() local 80 abilityStateData.token = token; in HWTEST_F()
|
/foundation/window/window_manager/extension/window_extension/src/zidl/ |
H A D | window_extension_stub.cpp | 61 sptr<IWindowExtensionClient> token = iface_cast<IWindowExtensionClient>(object); in OnRemoteRequest() local 62 if (token == nullptr) { in OnRemoteRequest() 65 GetExtensionWindow(token); in OnRemoteRequest()
|
/third_party/nghttp2/ |
H A D | genlibtokenlookup.py | 101 for k, token in HEADERS: 102 if token is None: 107 print(' {} = {},'.format(to_enum_hd(k), token))
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_set_literal.py | 8 from lib2to3.fixer_util import token, syms namespace 38 literal = [pytree.Leaf(token.LBRACE, "{")] 40 literal.append(pytree.Leaf(token.RBRACE, "}"))
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/ |
H A D | Token.cpp | 82 std::ostream &operator<<(std::ostream &out, const Token &token) in operator <<() argument 84 if (token.hasLeadingSpace()) in operator <<() 87 out << token.text; in operator <<()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_app_mgr_service.h | 33 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken, 36 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool isClearMissionFlag)); 37 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state)); 126 virtual void AbilityCleaned(const sptr<IRemoteObject>& token) in AbilityCleaned() argument 234 void Terminate(const sptr<IRemoteObject>& token) const in Terminate() 240 callback_->OnAbilityRequestDone(token, st); in Terminate() 285 void ScheduleLaunchAbility(const AbilityInfo& abilityinf, const sptr<IRemoteObject>& token, in ScheduleLaunchAbility() argument 289 Appthread_->ScheduleLaunchAbility(abilityinf, token, want, 0); in ScheduleLaunchAbility() 293 void ScheduleCleanAbility(const sptr<IRemoteObject>& token) in ScheduleCleanAbility() argument 296 Appthread_->ScheduleCleanAbility(token); in ScheduleCleanAbility() [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/ |
H A D | ams_app_mgr_client_test.cpp | 132 loadParam.token = token_; in HWTEST_F() 153 loadParam.token = token_; in HWTEST_F() 296 sptr<IRemoteObject> token; in HWTEST_F() local 323 sptr<IRemoteObject> token; in HWTEST_F() local 350 sptr<IRemoteObject> token; in HWTEST_F() local 361 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->KillProcessByAbilityToken(token)); in HWTEST_F() 376 sptr<IRemoteObject> token; in HWTEST_F() local 387 EXPECT_EQ(AppMgrResultCode::ERROR_SERVICE_NOT_CONNECTED, client_->KillProcessByAbilityToken(token)); in HWTEST_F() 401 sptr<IRemoteObject> token; in HWTEST_F() local 420 sptr<IRemoteObject> token; in HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/app_running_processes_info_test/ |
H A D | app_running_processes_info_test.cpp | 97 std::shared_ptr<AppRunningRecord> StartLoadAbility(const sptr<IRemoteObject>& token, 175 std::shared_ptr<AppRunningRecord> AppRunningProcessesInfoTest::StartLoadAbility(const sptr<IRemoteObject>& token, in StartLoadAbility() argument 183 loadParam.token = token; in StartLoadAbility() 205 * FunctionPoints: get running process info by token. 222 loadParam->token = GetMockToken(); in HWTEST_F() 229 sptr<IRemoteObject> token; in HWTEST_F() local 230 service_->GetRunningProcessInfoByToken(token, info); in HWTEST_F() 238 * FunctionPoints: get running process info by token. 255 loadParam->token in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | permission_utils.cpp | 243 bool inline ShouldAddPermissionRecord(const AccessTokenID &token) in ShouldAddPermissionRecord() argument 245 return (AccessTokenKit::GetTokenTypeFlag(token) == TOKEN_HAP); in ShouldAddPermissionRecord() 248 void AddPermissionRecord(const AccessTokenID &token, const string &perm, const bool permGranted) in AddPermissionRecord() argument 250 if (!ShouldAddPermissionRecord(token)) { in AddPermissionRecord() 254 int res = PrivacyKit::AddPermissionUsedRecord(token, perm, !!permGranted, !permGranted, true); in AddPermissionRecord() 280 MEDIA_DEBUG_LOG("Info: token = %{private}d, perm = %{private}s, permGranted = %{private}d, \ in AddPermissionRecord() 308 void CollectPermissionRecord(const AccessTokenID &token, const string &perm, in CollectPermissionRecord() argument 314 if (!ShouldAddPermissionRecord(token)) { in CollectPermissionRecord() 318 AddPermParamInfo info = {token, perm, permGranted, !permGranted, type}; in CollectPermissionRecord() 319 auto iter = find_if(infos_.begin(), infos_.end(), [&token, in CollectPermissionRecord() [all...] |
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | endpoint_rpc.c | 38 static int RegisterRemoteEndpoint(SvcIdentity *identity, int token, const char *service, const char *feature);
52 endpoint->identity.token = (uint32_t)INVALID_INDEX;
in SAMGR_CreateEndpoint() 257 int SAMGR_ProcPolicy(const Endpoint *endpoint, const SaName *saName, int token)
in SAMGR_ProcPolicy() argument 259 if (endpoint == NULL || saName == NULL || token == INVALID_INDEX) {
in SAMGR_ProcPolicy() 265 SvcIdentity saInfo = {INVALID_INDEX, token, INVALID_INDEX};
in SAMGR_ProcPolicy() 276 saName->service, saName->feature, saInfo.handle, saInfo.token, retry, ret);
in SAMGR_ProcPolicy() 294 Router *router = VECTOR_At((Vector *)&endpoint->routers, saInfo->token);
in AddPolicyToRouter() 296 HILOG_ERROR(HILOG_MODULE_SAMGR, "Router <%s, %u> is NULL", endpoint->name, saInfo->token);
in AddPolicyToRouter() 340 static int RegisterRemoteEndpoint(SvcIdentity *identity, int token, const char *service, const char *feature)
in RegisterRemoteEndpoint() argument 342 return ClientRegisterRemoteEndpoint(identity, token, servic in RegisterRemoteEndpoint() [all...] |
/test/testfwk/arkxtest/uitest/connection/ |
H A D | ipc_transactor.cpp | 193 static sptr<IRemoteObject> PublishCallerAndWaitForBackcaller(const sptr<ApiCaller> &caller, string_view token) in PublishCallerAndWaitForBackcaller() argument 197 want.SetAction(string(PUBLISH_EVENT_PREFIX) + token.data()); in PublishCallerAndWaitForBackcaller() 198 want.SetParam(string(token), caller->AsObject()); in PublishCallerAndWaitForBackcaller() 222 static sptr<IRemoteObject> WaitForPublishedCaller(string_view token) in WaitForPublishedCaller() argument 225 matchingSkills.AddEvent(string(PUBLISH_EVENT_PREFIX) + token.data()); in WaitForPublishedCaller() 231 auto onEvent = [&condition, &remoteObject, &token](const CommonEventData &data) { in WaitForPublishedCaller() 234 remoteObject = want.GetRemoteObject(string(token)); in WaitForPublishedCaller() 292 bool ApiTransactor::InitAndConnectPeer(string_view token, ApiCallHandler handler) in InitAndConnectPeer() argument 302 remoteObject = PublishCallerAndWaitForBackcaller(caller_, token); in InitAndConnectPeer() 308 remoteObject = WaitForPublishedCaller(token); in InitAndConnectPeer() [all...] |