Home
last modified time | relevance | path

Searched refs:key_ (Results 1 - 25 of 98) sorted by relevance

1234

/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/
H A Dthread_private_data_ctl.cpp21 pthread_key_t ThreadPrivateDataCtl::key_ = PTHREAD_KEY_T_NOT_INITIALIZED; member in OHOS::ThreadPrivateDataCtl
27 if (pthread_key_create(&key_, nullptr) != 0) { in KeyInit()
35 WLOGD("pthread_key_create. key = %{public}d", key_); in KeyInit()
46 ThreadPrivateData *data = static_cast<ThreadPrivateData *>(pthread_getspecific(key_)); in GetPrivateData()
49 pthread_setspecific(key_, data); in GetPrivateData()
56 if (key_ != static_cast<pthread_key_t>(PTHREAD_KEY_T_NOT_INITIALIZED)) { in ClearPrivateData()
57 ThreadPrivateData *data = static_cast<ThreadPrivateData *>(pthread_getspecific(key_)); in ClearPrivateData()
59 pthread_setspecific(key_, nullptr); in ClearPrivateData()
77 if (key_ == static_cast<pthread_key_t>(PTHREAD_KEY_T_NOT_INITIALIZED)) { in GetError()
81 ThreadPrivateData *data = static_cast<ThreadPrivateData *>(pthread_getspecific(key_)); in GetError()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dpending_want_record.cpp32 callerToken_(callerToken), key_(key) in PendingWantRecord()
82 if (((uint32_t)key_->GetFlags() & (uint32_t)Flags::ONE_TIME_FLAG) != 0) { in SenderInner()
103 switch (key_->GetType()) { in ExecuteOperation()
109 std::vector<WantsInfo> allWantsInfos = key_->GetAllWantsInfos(); in ExecuteOperation()
134 if (key_->GetAllWantsInfos().size() != 0) { in BuildSendWant()
135 want = key_->GetRequestWant(); in BuildSendWant()
137 bool immutable = (static_cast<uint32_t>(key_->GetFlags()) & static_cast<uint32_t>(Flags::CONSTANT_FLAG)) != 0; in BuildSendWant()
138 senderInfo.resolvedType = key_->GetRequestResolvedType(); in BuildSendWant()
140 want.AddFlags(key_->GetFlags()); in BuildSendWant()
152 wantParams.SetParam("ohos.extra.param.key.appCloneIndex", Integer::Box(key_ in BuildSendWant()
[all...]
/foundation/systemabilitymgr/samgr/interfaces/innerkits/dynamic_cache/include/
H A Ddynamic_cache.h44 GetParameter(key_.c_str(), defaultValue.c_str(), waterLine, waterLineLength); in QueryResult()
59 localPara_[key_] = waterLine; in QueryResult()
73 return localPara_.count(key_) != 0 && lastQuerySaId_ == querySaId && in CanUseCache()
74 defaultValue != string(waterLine) && string(waterLine) == localPara_[key_] && in CanUseCache()
94 int32_t ret = SetParameter(key_.c_str(), tickCount.c_str()); in InvalidateCache()
110 key_ = key; in SetKey()
125 string key_; member in OHOS::DynamicCache
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_setting_observer.cpp26 update_(key_); in OnChange()
32 key_ = key; in SetKey()
37 return key_; in GetKey()
/foundation/multimodalinput/input/service/key_command/src/
H A Dsetting_observer.cpp29 update_(key_); in OnChange()
35 key_ = key; in SetKey()
40 return key_; in GetKey()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dsetting_observer.cpp26 update_(key_); in OnChange()
32 key_ = key; in SetKey()
37 return key_; in GetKey()
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dsyntax_item.h38 : UINode(V2::JS_SYNTAX_ITEM_ETS_TAG, ElementRegister::GetInstance()->MakeUniqueId()), key_(key) in SyntaxItem()
52 return key_; in GetKey()
58 json->PutExtAttr("key", key_.c_str(), filter);
74 std::string key_; member in OHOS::Ace::NG::SyntaxItem
/foundation/CastEngine/castengine_wifi_display/services/interaction/interprocess/
H A Dinter_ipc_client.cpp52 key_ = key; in SetKey()
76 deathRecipient_ = new (std::nothrow) InterIpcDeathRecipient(key_); in GetSharingProxy()
119 if (key_.empty()) { in CreateListenerObject()
120 key_ = std::to_string(IPCSkeleton::GetCallingTokenID()); in CreateListenerObject()
121 SHARING_LOGI("key is empty, using token As key: %{public}s.", key_.c_str()); in CreateListenerObject()
130 return domainProxy_->SetListenerObject(key_, object); in CreateListenerObject()
H A Dinter_ipc_death_recipient.h42 explicit InterIpcDeathRecipient(std::string key) : key_(key) in InterIpcDeathRecipient()
51 listener_->OnRemoteDied(key_);
62 std::string key_; member in OHOS::Sharing::final
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_template.cpp26 : key_(key), subscriberId_(subscriberId) in PublishedDataItem()
33 key_ = std::move(item.key_); in PublishedDataItem()
43 key_ = std::move(item.key_); in operator =()
81 sptr<Ashmem> mem = Ashmem::CreateAshmem((key_ + std::to_string(subscriberId_)).c_str(), size); in Set()
/foundation/ability/ability_lite/services/abilitymgr_lite/src/util/
H A Dabilityms_status.cpp25 key_ = key; in AbilityMsStatus()
46 result = "task " + key_ + " exec failure: "; in LogStatus()
58 result = "no active ability when " + key_ + ": "; in LogStatus()
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_xml_utils_test.cpp106 elem.key_ = "testKet"; in HWTEST_F()
116 EXPECT_EQ(elem.key_, settingsRes.front().key_); in HWTEST_F()
162 elem.key_ = "stringKey"; in HWTEST_F()
190 elem.key_ = "stringArrayKey"; in HWTEST_F()
195 elemChild.key_ = "stringKey"; in HWTEST_F()
229 elem.key_ = "doubleArrayKey"; in HWTEST_F()
234 elemChild.key_ = "doubleKey"; in HWTEST_F()
269 elem.key_ = "boolArrayKey"; in HWTEST_F()
274 elemChild.key_ in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dgeneric_multi_ver_kv_entry.cpp40 size_t totalLength = Parcel::GetVectorCharLen(key_) + Parcel::GetVectorCharLen(valueObjectSerial) + in GetSerialData()
46 errCode = parcel.WriteVectorChar(key_); in GetSerialData()
82 parcel.ReadVectorChar(key_); in DeSerialData()
96 key_ = key; in SetKey()
102 key = key_; in GetKey()
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/
H A Ddatashare_template.h31 PredicateTemplateNode(const std::string &key, const std::string &selectSql) : key_(key), selectSql_(selectSql) {} in PredicateTemplateNode()
33 std::string key_; member
99 std::string key_;
157 OperationResult(const std::string &key, int errCode) : key_(key), errCode_(errCode) {} in OperationResult()
159 std::string key_; member
/foundation/arkui/ace_engine/adapter/preview/sdk/dump/
H A Dresource_index.py45 key_ = limit_key
46 if key_ == "":
47 key_ = "base"
50 key_sets = key_.split("-")
199 for key_, key_offset in private_index.items():
200 third_data[key_] = {}
204 third_data[key_][id_] = id_sets
211 for key_, ids_ in third_data.items():
212 key_str = parse_limit_key(key_)
215 os.write(out_file, str.encode("keyconfig:{}\n".format(key_)))
[all...]
/foundation/distributeddatamgr/data_share/frameworks/js/napi/observer/src/
H A Dnapi_subscriber_manager.cpp57 failedKeys.emplace_back(subResult.key_, templateId); in AddObservers()
58 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str()); in AddObservers()
152 failedKeys.emplace_back(subResult.key_, subscriberId); in AddObservers()
153 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str()); in AddObservers()
193 Key key(data.key_, data.subscriberId_);
198 Key key(data.key_, data.subscriberId_);
201 LOG_WARN("%{private}s nobody subscribe, but still notify", data.key_.c_str());
204 lastChangeNodeMap_[key].datas_.emplace_back(data.key_, data.subscriberId_, data.GetData());
207 results[obs].datas_.emplace_back(data.key_, data.subscriberId_, data.GetData());
225 node.datas_.emplace_back(data.key_, dat
[all...]
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_session.cpp56 key_ = {}; in SoftbusSession()
58 key_ = key; in SoftbusSession()
84 return key_; in GetKey()
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/
H A Dpublished_data_subscriber_manager.cpp59 failedKeys.emplace_back(subResult.key_, subscriberId); in AddObservers()
60 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str()); in AddObservers()
153 failedKeys.emplace_back(subResult.key_, subscriberId);
154 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str());
207 result.key_.c_str(), result.errCode_);
216 Key key(data.key_, data.subscriberId_);
224 PublishedObserverMapKey key(data.key_, data.subscriberId_);
227 LOG_WARN("%{private}s nobody subscribe, but still notify", data.key_.c_str());
231 value.datas_.emplace_back(data.key_, data.subscriberId_, data.GetData());
236 results[obs].datas_.emplace_back(data.key_, dat
[all...]
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_inner_pref_test/
H A Dmock_data_ability_observer_stub.h31 key_ = key; in OnChangePreferences()
51 std::string key_; member in OHOS::AAFwk::MockDataAbilityObserverStub
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_item_element.cpp50 if (item && (key_ == -1 || key_ == item->GetKey())) { in Update()
54 key_ = item->GetKey(); in Update()
66 if (key_ == -1 || key_ == listItemComponent_->GetKey()) { in PerformBuild()
H A Dlist_item_element.h94 return key_; in GetKey()
99 key_ = key; in SetKey()
115 int32_t key_ = -1; member in OHOS::Ace::ListItemElement
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_types_util.cpp52 return ITypesUtil::Unmarshal(parcel, dataItem.key_, dataItem.subscriberId_, dataItem.value_); in Unmarshalling()
58 return ITypesUtil::Marshal(parcel, dataItem.key_, dataItem.subscriberId_, dataItem.value_); in Marshalling()
82 return ITypesUtil::Unmarshal(parcel, predicateTemplateNode.key_, predicateTemplateNode.selectSql_); in Unmarshalling()
100 return ITypesUtil::Marshal(parcel, operationResult.key_, operationResult.errCode_); in Marshalling()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_sql_statistic.cpp64 key_ = seqId == 0 ? GetThreadId() : uint64_t(seqId); in SqlStatistic()
66 auto it = execInfos_.Find(key_); in SqlStatistic()
78 execInfos_.Insert(key_, execInfo_); in SqlStatistic()
108 execInfos_.Erase(key_); in ~SqlStatistic()
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dsetting_observer_test.cpp80 EXPECT_EQ(settingObserver_->key_, s); in HWTEST_F()
83 EXPECT_EQ(res, settingObserver_->key_); in HWTEST_F()
104 EXPECT_EQ("OnChange", settingObserver_->key_); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/common/
H A Didentifier.h34 return ++key_; in MakeIdentifier()
38 std::atomic<uint32_t> key_ = 0; member in OHOS::Sharing::Identifier

Completed in 9 milliseconds

1234