/foundation/ability/ability_lite/services/abilitymgr_lite/include/task/ |
H A D | ability_terminate_task.h | 26 AbilityTerminateTask(AbilityMgrContext *context, uint64_t token);
|
H A D | ability_stop_task.h | 25 AbilityStopTask(AbilityMgrContext *context, uint64_t token);
|
H A D | ability_disconnect_task.h | 26 AbilityDisconnectTask(AbilityMgrContext *context, const SvcIdentity &identity, uint64_t token);
|
H A D | ability_disconnect_done_task.h | 26 AbilityDisconnectDoneTask(AbilityMgrContext *context, uint64_t token);
|
H A D | ability_background_task.h | 26 AbilityBackgroundTask(AbilityMgrContext *context, uint64_t token);
|
H A D | ability_inactivate_task.h | 25 AbilityInactivateTask(AbilityMgrContext *context, uint64_t token);
|
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | default_client_small_adapter.c | 23 WriteInt32(reply, (int32_t)header->target.token);
in ProxyInvokeArgInner()
|
/third_party/jerryscript/jerry-core/parser/regexp/ |
H A D | re-compiler-context.h | 21 #include "re-token.h" 50 re_token_t token; /**< current token */ member
|
/foundation/window/window_manager/wm/src/ |
H A D | window_manager.cpp | 65 void NotifyDisplayInfoChanged(const sptr<IRemoteObject>& token, DisplayId displayId,
310 void WindowManager::Impl::NotifyDisplayInfoChanged(const sptr<IRemoteObject>& token, DisplayId displayId,
in NotifyDisplayInfoChanged() argument 317 iter = displayInfoChangedListeners_.find(token);
in NotifyDisplayInfoChanged() 319 TLOGI(WmsLogTag::DMS, "can not find token in listener list, need not notify the change of display info");
in NotifyDisplayInfoChanged() 326 listener->OnDisplayInfoChange(token, displayId, density, orientation);
in NotifyDisplayInfoChanged() 894 WMError WindowManager::RegisterDisplayInfoChangedListener(const sptr<IRemoteObject>& token,
in RegisterDisplayInfoChangedListener() argument 897 if (token == nullptr) {
in RegisterDisplayInfoChangedListener() 898 TLOGE(WmsLogTag::DMS, "ability token could not be null");
in RegisterDisplayInfoChangedListener() 907 sptr<WindowDisplayChangeAdapter> listenerAdapter = new (std::nothrow) WindowDisplayChangeAdapter(token, listener);
in RegisterDisplayInfoChangedListener() 913 auto iter = pImpl_->displayInfoChangedListeners_.find(token);
in RegisterDisplayInfoChangedListener() 931 UnregisterDisplayInfoChangedListener(const sptr<IRemoteObject>& token, const sptr<IDisplayInfoChangedListener>& listener) UnregisterDisplayInfoChangedListener() argument 1023 NotifyDisplayInfoChange(const sptr<IRemoteObject>& token, DisplayId displayId, float density, DisplayOrientation orientation) NotifyDisplayInfoChange() argument [all...] |
/third_party/nghttp2/src/ |
H A D | http2.cc | 283 bool no_index, int32_t token) { in to_header() 286 no_index, token); in to_header() 291 int32_t token) { in add_header() 301 nva.push_back(to_header(name, namelen, value, valuelen, no_index, token)); in add_header() 382 switch (kv->token) { in copy_headers_to_nva_internal() 493 switch (kv->token) { in build_http1_headers_from_headers() 628 hd->token = -1; in erase_header() 980 void index_header(HeaderIndex &hdidx, int32_t token, size_t idx) { in index_header() argument 981 if (token == -1) { in index_header() 984 assert(token < HD_MAXID in index_header() 281 to_header(const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, bool no_index, int32_t token) to_header() argument 289 add_header(Headers &nva, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, bool no_index, int32_t token) add_header() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/ |
H A D | preprocessor_lex_autogen.cpp | 1340 // Set the location for EOF token manually. in YY_STATE_EOF() 1505 } /* end of scanning one token */ 1745 * token and flags that we need to in yyinput() 1746 * try matching the token before in yyinput() 2229 /** Get the length of the current token. 2238 /** Get the current token. 2572 void Tokenizer::lex(Token *token) in lex() argument 2574 int tokenType = yylex(&token->text, &token->location, mHandle); in lex() 2578 mContext.diagnostics->report(Diagnostics::PP_TOKENIZER_ERROR, token in lex() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/ |
H A D | Tokenizer.cpp | 1683 // Set the location for EOF token manually. in YY_STATE_EOF() 1846 } /* end of scanning one token */ 2098 * token and flags that we need to in yyinput() 2099 * try matching the token before in yyinput() 2630 /** Get the length of the current token. 2640 /** Get the current token. 3032 void Tokenizer::lex(Token *token) in lex() argument 3034 int tokenType = yylex(&token->text, &token->location, mHandle); in lex() 3038 mContext.diagnostics->report(Diagnostics::PP_TOKENIZER_ERROR, token in lex() [all...] |
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/ |
H A D | main_thread_test.cpp | 118 void AbilityCleaned(const sptr<IRemoteObject> &token) override 1845 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 1847 mainThread_->ScheduleLaunchAbility(abilityInfo, token, want, 0); in HWTEST_F() 1848 mainThread_->ScheduleCleanAbility(token); in HWTEST_F() 1905 const sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 1906 const auto abilityRecord2 = std::make_shared<AbilityLocalRecord>(info1, token, nullptr, 0); in HWTEST_F() 1910 const auto abilityRecord3 = std::make_shared<AbilityLocalRecord>(info2, token, nullptr, 0); in HWTEST_F() 1946 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 1947 mainThread_->HandleCleanAbility(token); in HWTEST_F() 1949 token in HWTEST_F() [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | cgroup-v1.c | 1334 char *token; 1337 while ((token = strsep(&str, ",")) != NULL) { 1338 if (!*token) { 1342 if (!strcmp(token, "all")) { 1347 if (!strcmp(token, "named")) { 1354 if (strcmp(token, ss->name) && strcmp(token, ss->legacy_name)) {
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_scheduler_proxy.cpp | 34 TAG_LOGE(AAFwkTag::APPMGR, "write interface token failed"); in WriteInterfaceToken() 186 void AppSchedulerProxy::ScheduleLaunchAbility(const AbilityInfo &info, const sptr<IRemoteObject> &token, in ScheduleLaunchAbility() argument 196 AbilityRuntime::FreezeUtil::LifecycleFlow flow = {token, AbilityRuntime::FreezeUtil::TimeoutState::LOAD}; in ScheduleLaunchAbility() 197 if (token) { in ScheduleLaunchAbility() 198 if (!data.WriteBool(true) || !data.WriteRemoteObject(token.GetRefPtr())) { in ScheduleLaunchAbility() 199 TAG_LOGE(AAFwkTag::APPMGR, "Failed to write flag and token"); in ScheduleLaunchAbility() 223 AppExceptionManager::GetInstance().LaunchAbilityFailed(token, std::string("SendRequest failed") + in ScheduleLaunchAbility() 228 void AppSchedulerProxy::ScheduleCleanAbility(const sptr<IRemoteObject> &token, bool isCacheProcess) in ScheduleCleanAbility() argument 236 if (!data.WriteRemoteObject(token.GetRefPtr())) { in ScheduleCleanAbility() 237 TAG_LOGE(AAFwkTag::APPMGR, "Failed to write token"); in ScheduleCleanAbility() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_policy_parser.cpp | 353 std::string token; in SplitChannelStringToSet() local 355 while (std::getline(ss, token, ',')) { in SplitChannelStringToSet() 356 result.insert(layoutStrToChannels[token]); in SplitChannelStringToSet() 512 char *token = std::strtok(&str[0], ","); in SplitStringToList() local 513 while (token != nullptr) { in SplitStringToList() 514 result.push_back(token); in SplitStringToList() 515 token = std::strtok(nullptr, ","); in SplitStringToList()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_service.cpp | 193 sptr<RSIRenderServiceConnection> RSRenderService::CreateConnection(const sptr<RSIConnectionToken>& token) in CreateConnection() argument 195 if (!mainThread_ || !token) { in CreateConnection() 196 RS_LOGE("RSRenderService::CreateConnection failed, mainThread or token is nullptr"); in CreateConnection() 202 auto tokenObj = token->AsObject(); in CreateConnection() 208 // if connections_ has the same token one, replace it. in CreateConnection() 219 void RSRenderService::RemoveConnection(sptr<IRemoteObject> token) in RemoveConnection() argument 222 if (connections_.count(token) == 0) { in RemoveConnection() 226 auto tmp = connections_.at(token); in RemoveConnection() 227 connections_.erase(token); in RemoveConnection()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-json.c | 58 * JSON token type 62 TOKEN_INVALID, /**< error token */ 78 * JSON token 82 ecma_json_token_type_t type; /**< type of the current token */ 97 * Parse and extract string token. 100 ecma_builtin_json_parse_string (ecma_json_token_t *token_p) /**< token argument */ in ecma_builtin_json_parse_string() 213 * Parse and extract string token. 216 ecma_builtin_json_parse_number (ecma_json_token_t *token_p) /**< token argument */ in ecma_builtin_json_parse_number() 296 * Parse next token. 302 ecma_builtin_json_parse_next_token (ecma_json_token_t *token_p, /**< token argumen 698 ecma_json_token_t token; ecma_builtin_json_parse_buffer() local [all...] |
/third_party/python/Lib/ |
H A D | nntplib.py | 215 for i, token in enumerate(tokens): 227 if token and token[:len(h)].lower() != h: 230 token = token[len(h):] if token else None 231 fields[fmt[i]] = token
|
/third_party/rust/crates/proc-macro2/src/ |
H A D | fallback.rs | 72 fn push_token_from_proc_macro(mut vec: RcVecMut<TokenTree>, token: TokenTree) { in push_token_from_proc_macro() 74 match token { in push_token_from_proc_macro() 84 _ => vec.push(token), in push_token_from_proc_macro() 104 while let Some(token) = inner.pop() { in drop() 105 let group = match token { in drop() 188 f.write_str("cannot parse string into token stream") in fmt() 228 .expect("compiler token stream parse failed") in from() 277 .for_each(|token| push_token_from_proc_macro(vec.as_mut(), token)); in extend()
|
/foundation/ability/ability_runtime/test/unittest/ability_stage_context_test/ |
H A D | ability_stage_context_test.cpp | 177 auto token = abilityStageContext->GetToken(); in HWTEST_F() local 178 abilityStageContext->SetToken(token); in HWTEST_F()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/ |
H A D | ability_mission_record.cpp | 81 PageAbilityRecord *AbilityMissionRecord::FindPageAbility(uint64_t token) const
in FindPageAbility() 85 if (record != nullptr && record->GetToken() == token) {
in FindPageAbility()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | data_ability_helper.h | 94 * @param token Indicates the System token. 98 static std::shared_ptr<DataAbilityHelper> Creator(const sptr<IRemoteObject> token); 105 * @param token Indicates the System token. 111 const sptr<IRemoteObject> token, const std::shared_ptr<Uri> &uri);
|
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_ext_ability.cpp | 59 const sptr<IRemoteObject> &token) in Init() 61 ExtensionBase<>::Init(record, application, handler, token); in Init() 56 Init(const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibrarymediaphotoassetproxy_fuzzer/ |
H A D | medialibrarymediaphotoassetproxy_fuzzer.cpp | 91 const sptr<IRemoteObject> &token = remoteObj; in CreateDataHelper() local 92 sDataShareHelper_ = DataShare::DataShareHelper::Creator(token, Media::MEDIALIBRARY_DATA_URI); in CreateDataHelper()
|