Home
last modified time | relevance | path

Searched refs:key_ (Results 1 – 25 of 120) sorted by relevance

12345

/ohos5.0/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()
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()
110 if (key_ == static_cast<pthread_key_t>(PTHREAD_KEY_T_NOT_INITIALIZED)) { in GetContext()
[all …]
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dpending_want_record.cpp30 callerToken_(callerToken), key_(key) in PendingWantRecord()
80 if (((uint32_t)key_->GetFlags() & (uint32_t)Flags::ONE_TIME_FLAG) != 0) { in SenderInner()
101 switch (key_->GetType()) { in ExecuteOperation()
107 std::vector<WantsInfo> allWantsInfos = key_->GetAllWantsInfos(); in ExecuteOperation()
132 if (key_->GetAllWantsInfos().size() != 0) { in BuildSendWant()
133 want = key_->GetRequestWant(); in BuildSendWant()
135 uint32_t flags = static_cast<uint32_t>(key_->GetFlags()); in BuildSendWant()
141 senderInfo.resolvedType = key_->GetRequestResolvedType(); in BuildSendWant()
143 want.AddFlags(key_->GetFlags()); in BuildSendWant()
155 … wantParams.SetParam("ohos.extra.param.key.appCloneIndex", Integer::Box(key_->GetAppIndex())); in BuildSendWant()
[all …]
/ohos5.0/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_; variable
/ohos5.0/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_)))
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_sorting.cpp30 key_ = sorting.key_; in NotificationSorting()
57 "key = " + key_ + in Dump()
70 if (!parcel.WriteString(key_)) { in Marshalling()
116 key_ = parcel.ReadString(); in ReadFromParcel()
159 key_ = key; in SetKey()
H A Dmessage_user.cpp39 key_ = key; in SetKey()
44 return key_; in GetKey()
100 "key = " + key_ + in Dump()
111 jsonObject["key"] = key_; in ToJson()
136 messageUser->key_ = jsonObject.at("key").get<std::string>(); in FromJson()
165 if (!parcel.WriteString(key_)) { in Marshalling()
219 key_ = parcel.ReadString(); in ReadFromParcel()
H A Dnotification_unified_group_info.cpp29 return key_; in GetKey()
34 key_ = key; in SetKey()
86 …return "NotificationUnifiedGroupInfo{ key = " + key_ + ", title = " + title_ + ", content = " + co… in Dump()
92 if (!parcel.WriteString(key_)) { in Marshalling()
141 if (!parcel.ReadString(key_)) { in ReadFromParcel()
H A Dnotification.cpp33 key_ = request->GetBaseKey(""); in Notification()
42 key_ = request->GetBaseKey(deviceId); in Notification()
51 key_ = other.key_; in Notification()
137 return key_; in GetKey()
279 if (!parcel.WriteString(key_)) { in MarshallingString()
411 key_ = parcel.ReadString(); in ReadFromParcelString()
549 "key = " + key_ + in Dump()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_xml_utils_test.cpp106 elem.key_ = "testKet";
116 EXPECT_EQ(elem.key_, settingsRes.front().key_);
162 elem.key_ = "stringKey";
190 elem.key_ = "stringArrayKey";
195 elemChild.key_ = "stringKey";
229 elem.key_ = "doubleArrayKey";
234 elemChild.key_ = "doubleKey";
269 elem.key_ = "boolArrayKey";
274 elemChild.key_ = "boolKey";
309 elem.key_ = "boolArrayKey";
[all …]
/ohos5.0/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); in EnableObservers()
154 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str()); in EnableObservers()
207 result.key_.c_str(), result.errCode_); in RecoverObservers()
216 Key key(data.key_, data.subscriberId_); in Emit()
224 PublishedObserverMapKey key(data.key_, data.subscriberId_); in Emit()
227 LOG_WARN("%{private}s nobody subscribe, but still notify", data.key_.c_str()); in Emit()
231 value.datas_.emplace_back(data.key_, data.subscriberId_, data.GetData()); in Emit()
252 node.datas_.emplace_back(data.key_, data.subscriberId_, data.GetData()); in Emit()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_edit_text/
H A Dcustom_input_method.cpp360 key_ = reinterpret_cast<UILabelButton*>(&view)->GetText(); in OnLongPress()
377 if (key_ == nullptr) { in DealLongPressKeyEvent()
381 if (strcmp(key_, "del") == 0) { in DealLongPressKeyEvent()
384 } else if (strcmp(key_, "space") == 0) { in DealLongPressKeyEvent()
387 } else if (strcmp(key_, "return") == 0 || strcmp(key_, "123") == 0 || strcmp(key_, "ABC") == 0 in DealLongPressKeyEvent()
388 || strcmp(key_, "#+=") == 0 || strcmp(key_, "shift") == 0) { in DealLongPressKeyEvent()
391 InputMethodManager::GetInstance().InsertText(key_); in DealLongPressKeyEvent()
392 editView_->InsertText(key_); in DealLongPressKeyEvent()
/ohos5.0/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); in ToJsonValue()
74 std::string key_;
/ohos5.0/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_); in Emit()
198 Key key(data.key_, data.subscriberId_); in Emit()
201 LOG_WARN("%{private}s nobody subscribe, but still notify", data.key_.c_str()); in Emit()
204 lastChangeNodeMap_[key].datas_.emplace_back(data.key_, data.subscriberId_, data.GetData()); in Emit()
207 results[obs].datas_.emplace_back(data.key_, data.subscriberId_, data.GetData()); in Emit()
225 node.datas_.emplace_back(data.key_, data.subscriberId_, data.GetData()); in Emit()
/ohos5.0/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… in PredicateTemplateNode()
33 std::string key_; member
99 std::string key_; member
157 OperationResult(const std::string &key, int errCode) : key_(key), errCode_(errCode) {} in OperationResult()
159 std::string key_; member
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsetting_observer.cpp26 update_(key_); in OnChange()
32 key_ = key; in SetKey()
37 return key_; in GetKey()
/ohos5.0/base/powermgr/power_manager/utils/setting/src/
H A Dsetting_observer.cpp26 update_(key_); in OnChange()
32 key_ = key; in SetKey()
37 return key_; in GetKey()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ui_appearance/services/utils/src/
H A Dsetting_data_observer.cpp22 updateFunc_(key_, userId_); in OnChange()
28 key_ = key; in SetKey()
33 return key_; in GetKey()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dencoded_param.cpp33 key_ = key; in EncodedParam()
42 return key_; in GetKey()
69 if (!RawDataEncoder::StringValueEncoded(*rawData_, key_)) { in EncodeKey()
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/encoded/
H A Dencoded_param.cpp28 key_ = key; in EncodedParam()
37 return key_; in GetKey()
96 if (!RawDataEncoder::StringValueEncoded(rawData_, key_)) { in EncodeKey()

12345