/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...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | parse-events.y | 62 %token PE_START_EVENTS PE_START_TERMS 63 %token PE_VALUE PE_VALUE_SYM_HW PE_VALUE_SYM_SW PE_RAW PE_TERM 64 %token PE_VALUE_SYM_TOOL 65 %token PE_EVENT_NAME 66 %token PE_NAME 67 %token PE_BPF_OBJECT PE_BPF_SOURCE 68 %token PE_MODIFIER_EVENT PE_MODIFIER_BP 69 %token PE_NAME_CACHE_TYPE PE_NAME_CACHE_OP_RESULT 70 %token PE_PREFIX_MEM PE_PREFIX_RAW PE_PREFIX_GROUP 71 %token PE_ERRO [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()
|
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | task.h | 23 * @token: magic value the task must know for returning to @previous_profile 29 u64 token; member 34 int aa_set_current_hat(struct aa_label *label, u64 token); 77 ctx->token = 0; in aa_clear_task_ctx_trans()
|
/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 <<()
|
/kernel/linux/linux-6.6/drivers/platform/x86/dell/ |
H A D | dell-laptop.c | 921 struct calling_interface_token *token; in dell_send_intensity() local 924 token = dell_smbios_find_token(BRIGHTNESS_TOKEN); in dell_send_intensity() 925 if (!token) in dell_send_intensity() 929 token->location, bd->props.brightness, 0, 0); in dell_send_intensity() 943 struct calling_interface_token *token; in dell_get_intensity() local 946 token = dell_smbios_find_token(BRIGHTNESS_TOKEN); in dell_get_intensity() 947 if (!token) in dell_get_intensity() 950 dell_fill_request(&buffer, token->location, 0, 0, 0); in dell_get_intensity() 1381 struct calling_interface_token *token; in kbd_set_token_bit() local 1387 token in kbd_set_token_bit() 1400 struct calling_interface_token *token; kbd_get_token_bit() local 2157 struct calling_interface_token *token; micmute_led_set() local 2185 struct calling_interface_token *token; mute_led_set() local 2211 struct calling_interface_token *token; dell_init() local [all...] |
/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...] |
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
H A D | resctrl_val.c | 102 char *token[MAX_TOKENS]; in get_event_and_umask() local 106 token[0] = strtok(cas_count_cfg, "=,"); in get_event_and_umask() 109 token[i] = strtok(NULL, "=,"); in get_event_and_umask() 112 if (!token[i]) in get_event_and_umask() 114 if (strcmp(token[i], "event") == 0) { in get_event_and_umask() 117 strtol(token[i + 1], NULL, 16); in get_event_and_umask() 120 strtol(token[i + 1], NULL, 16); in get_event_and_umask() 122 if (strcmp(token[i], "umask") == 0) { in get_event_and_umask() 125 strtol(token[i + 1], NULL, 16); in get_event_and_umask() 128 strtol(token[ in get_event_and_umask() [all...] |
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | flash.c | 53 static int rcall(int token, char *buf, s32 scope) in rcall() argument 60 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in rcall() 113 int token; in update_node() local 117 token = rtas_token("ibm,update-properties"); in update_node() 118 if (token == RTAS_UNKNOWN_SERVICE) in update_node() 134 rc = rcall(token, buf, scope); in update_node() 177 int token, rc, i; in update_devicetree() local 181 token = rtas_token("ibm,update-nodes"); in update_devicetree() 182 if (token == RTAS_UNKNOWN_SERVICE) in update_devicetree() 192 rc = rcall(token, bu in update_devicetree() [all...] |