Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/foundation/graphic/standard/frameworks/surface/src/
Dbuffer_extra_data_impl.cpp37 auto key = parcel.ReadString(); in ReadFromParcel() local
114 GSError BufferExtraDataImpl::ExtraGet(std::string &key, int32_t &value) const in ExtraGet()
119 GSError BufferExtraDataImpl::ExtraGet(std::string &key, int64_t &value) const in ExtraGet()
124 GSError BufferExtraDataImpl::ExtraGet(std::string &key, double &value) const in ExtraGet()
129 GSError BufferExtraDataImpl::ExtraGet(std::string &key, std::string &value) const in ExtraGet()
134 GSError BufferExtraDataImpl::ExtraSet(std::string &key, int32_t value) in ExtraSet()
139 GSError BufferExtraDataImpl::ExtraSet(std::string &key, int64_t value) in ExtraSet()
144 GSError BufferExtraDataImpl::ExtraSet(std::string &key, double value) in ExtraSet()
149 GSError BufferExtraDataImpl::ExtraSet(std::string &key, std::string value) in ExtraSet()
155 GSError BufferExtraDataImpl::ExtraGet(std::string &key, ExtraDataType type, T &value) const in ExtraGet()
[all …]
Dsurface_buffer_impl.cpp196 GSError SurfaceBufferImpl::SetInt32(uint32_t key, int32_t val) in SetInt32()
205 GSError SurfaceBufferImpl::GetInt32(uint32_t key, int32_t &val) in GetInt32()
224 GSError SurfaceBufferImpl::SetInt64(uint32_t key, int64_t val) in SetInt64()
233 GSError SurfaceBufferImpl::GetInt64(uint32_t key, int64_t &val) in GetInt64()
252 GSError SurfaceBufferImpl::SetData(uint32_t key, ExtraData data) in SetData()
268 GSError SurfaceBufferImpl::GetData(uint32_t key, ExtraData &data) in GetData()
291 GSError SurfaceBufferImpl::ExtraGet(std::string key, int32_t &value) const in ExtraGet()
296 GSError SurfaceBufferImpl::ExtraGet(std::string key, int64_t &value) const in ExtraGet()
301 GSError SurfaceBufferImpl::ExtraGet(std::string key, double &value) const in ExtraGet()
306 GSError SurfaceBufferImpl::ExtraGet(std::string key, std::string &value) const in ExtraGet()
[all …]
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/dfx/test/unittest/fake/hiview/include/
Dhievent.h86 HiEvent& PutBool(const std::string& key, bool value) in PutBool()
96 HiEvent& PutByte(const std::string& key, unsigned char value) in PutByte()
106 HiEvent& PutShort(const std::string& key, short value) in PutShort()
117 HiEvent& PutInt(const std::string& key, int value) in PutInt()
127 HiEvent& PutLong(const std::string& key, long value) in PutLong()
137 HiEvent& PutFloat(const std::string& key, float value) in PutFloat()
147 HiEvent& PutString(const std::string& key, const std::string& value) in PutString()
158 HiEvent& PutHiEventArray(const std::string& key, const std::vector<HiEvent>& value) in PutHiEventArray()
Dfake_hiview.h26 static std::string GetString(const std::string &key) in GetString()
35 static int GetInt(const std::string &key) in GetInt()
44 static void Put(const std::string &key, const std::any &an) in Put()
/foundation/ace/ace_engine/frameworks/base/json/
Djson_util.cpp79 bool JsonValue::GetBool(const std::string& key, bool defaultValue) const in GetBool() argument
102 double JsonValue::GetDouble(const std::string& key, double defaultVal) const in GetDouble() argument
159 bool JsonValue::Put(const char* key, const char* value) in Put()
178 bool JsonValue::Put(const char* key, const std::unique_ptr<JsonValue>& value) in Put()
207 bool JsonValue::Put(const char* key, size_t value) in Put()
221 bool JsonValue::Put(const char* key, int32_t value) in Put()
235 bool JsonValue::Put(const char* key, int64_t value) in Put()
240 bool JsonValue::Put(const char* key, double value) in Put()
254 bool JsonValue::Replace(const char* key, double value) in Replace()
271 bool JsonValue::Put(const char* key, bool value) in Put()
[all …]
/foundation/aafwk/standard/frameworks/kits/content/cpp/src/ohos/aafwk/content/
Dpac_map.cpp62 #define PAC_MAP_PUT_VALUE(id, iid, key, value, mapList) \ argument
69 #define PAC_MAP_GET_VALUE(id, key, value, mapList, defaultValue) \ argument
83 #define PAC_MAP_GET_STRING_VALUE(id, key, value, mapList, defaultValue) \ argument
97 #define PAC_MAP_ADD_ARRAY(id, key, value, mapList) \ argument
108 #define GET_PAC_MAP_ARRAY(id, mapList, key, value) \ argument
300 void PacMap::PutShortValue(const std::string &key, short value) in PutShortValue()
305 void PacMap::InnerPutShortValue(PacMapList &mapList, const std::string &key, short value) in InnerPutShortValue()
314 void PacMap::PutIntValue(const std::string &key, int value) in PutIntValue()
319 void PacMap::InnerPutIntValue(PacMapList &mapList, const std::string &key, int value) in InnerPutIntValue()
328 void PacMap::PutLongValue(const std::string &key, long value) in PutLongValue()
[all …]
Dintent.cpp235 std::string key = prop.substr(TYPE_TAG_SIZE); in ParseUriInternal() local
552 bool Intent::GetBoolParam(const std::string &key, const bool defaultValue) in GetBoolParam()
562 Intent &Intent::SetBoolParam(const std::string &key, const bool value) in SetBoolParam()
568 std::vector<bool> Intent::GetBoolArrayParam(const std::string &key) in GetBoolArrayParam()
580 Intent &Intent::SetBoolArrayParam(const std::string &key, const std::vector<bool> &value) in SetBoolArrayParam()
591 Intent &Intent::SetCharParam(const std::string &key, const zchar value) in SetCharParam()
597 Intent &Intent::SetCharArrayParam(const std::string &key, const std::vector<zchar> &value) in SetCharArrayParam()
608 zchar Intent::GetCharParam(const std::string &key, const zchar defaultValue) in GetCharParam()
618 std::vector<zchar> Intent::GetCharArrayParam(const std::string &key) in GetCharArrayParam()
630 Intent &Intent::SetByteParam(const std::string &key, const byte value) in SetByteParam()
[all …]
/foundation/filemanagement/storage_service/services/storage_manager/include/utils/
Dstorage_rl_map.h34 void Erase(const K& key) in Erase()
39 bool Insert(const K& key, const V& value) in Insert()
55 bool Contains(const K& key) in Contains()
64 typename std::map<K, V>::iterator Find(const K& key) in Find()
69 typename std::map<K, V>::const_iterator Find(const K& key) const in Find()
/foundation/multimedia/media_standard/services/utils/
Dformat.cpp107 bool Format::PutIntValue(const std::string_view &key, int32_t value) in PutIntValue()
116 bool Format::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue()
125 bool Format::PutFloatValue(const std::string_view &key, float value) in PutFloatValue()
134 bool Format::PutDoubleValue(const std::string_view &key, double value) in PutDoubleValue()
143 bool Format::PutStringValue(const std::string_view &key, const std::string_view &value) in PutStringValue()
152 bool Format::GetStringValue(const std::string_view &key, std::string &value) const in GetStringValue() argument
163 bool Format::GetIntValue(const std::string_view &key, int32_t &value) const in GetIntValue() argument
174 bool Format::GetLongValue(const std::string_view &key, int64_t &value) const in GetLongValue() argument
185 bool Format::GetFloatValue(const std::string_view &key, float &value) const in GetFloatValue() argument
196 bool Format::GetDoubleValue(const std::string_view &key, double &value) const in GetDoubleValue() argument
[all …]
/foundation/distributeddatamgr/appdatamgr/frameworks/jskitsimpl/napi_preferences/test/unittest/src/
DSystemStorageJsunit.test.js50 key: 'storageKey', property
63 key: 'storageKey', property
88 key: '', property
123 key: 'x'.repeat(33), property
159 key: 'testKey', property
191 key: 'storageKey', property
202 key: 'storageKey', property
228 key: 'storageKey', property
263 key: 'storageKey', property
300 key: '', property
[all …]
/foundation/distributeddatamgr/distributeddatamgr/frameworks/common/
Dconcurrent_map.h78 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
89 bool Contains(const key_type& key) const noexcept in Contains()
95 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
102 size_type Erase(const key_type &key) noexcept in Erase()
126 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
168 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
186 …bool ComputeIfPresent(const key_type &key, const std::function<void(const key_type &, mapped_type … in ComputeIfPresent()
200 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent()
/foundation/multimedia/image_standard/plugins/manager/src/framework/
Djson_helper.cpp30 uint32_t JsonHelper::CheckElementExistence(const json &jsonObject, const string &key) in CheckElementExistence()
48 uint32_t JsonHelper::GetStringValue(const json &jsonObject, const string &key, string &value) in GetStringValue()
83 uint32_t JsonHelper::GetUint32Value(const json &jsonObject, const string &key, uint32_t &value) in GetUint32Value()
95 uint32_t JsonHelper::GetUint16Value(const json &jsonObject, const string &key, uint16_t &value) in GetUint16Value()
125 uint32_t JsonHelper::GetArraySize(const json &jsonObject, const string &key, size_t &size) in GetArraySize()
144 const json &JsonHelper::GetJsonElement(const json &jsonObject, const string &key, uint32_t &errorCo… in GetJsonElement()
164 void JsonHelper::PrintElementMissingLog(const std::string &identifier, const std::string &key, uint… in PrintElementMissingLog()
/foundation/aafwk/standard/services/abilitymgr/test/unittest/phone/pending_want_record_test/
Dpending_want_record_test.cpp164 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
186 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
208 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
231 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
255 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
280 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
303 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
326 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
346 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
366 std::shared_ptr<PendingWantKey> key = MakeWantKey(wantSenderInfo); variable
[all …]
/foundation/graphic/surface/frameworks/
Dsurface_buffer_impl.cpp29 int32_t SurfaceBufferImpl::SetInt32(uint32_t key, int32_t value) in SetInt32()
34 int32_t SurfaceBufferImpl::GetInt32(uint32_t key, int32_t& value) in GetInt32()
49 int32_t SurfaceBufferImpl::SetInt64(uint32_t key, int64_t value) in SetInt64()
54 int32_t SurfaceBufferImpl::GetInt64(uint32_t key, int64_t& value) in GetInt64()
69 int32_t SurfaceBufferImpl::SetData(uint32_t key, uint8_t type, const void* data, uint8_t size) in SetData()
109 int32_t SurfaceBufferImpl::GetData(uint32_t key, uint8_t* type, void** data, uint8_t* size) in GetData()
138 uint32_t key = IpcIoPopUint32(&io); in ReadFromIpcIo() local
170 uint32_t key = iter->first; in WriteToIpcIo() local
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/storage/
Ddistributeddb_storage_transaction_record_test.cpp96 Key key; variable
141 Key key; variable
174 Key key; variable
215 Key key; variable
269 Key key; variable
319 Key key; variable
372 Key key = {12, 57, 89}; variable
413 Key key; variable
520 Key key; variable
543 Key key; variable
[all …]
/foundation/ace/napi/native_engine/impl/v8/native_value/
Dv8_native_object.cpp40 …v8::Local<v8::String> key = v8::String::NewFromUtf8(engine_->GetIsolate(), "_napiwrapper").ToLocal… in SetNativePointer() local
58 …v8::Local<v8::String> key = v8::String::NewFromUtf8(engine_->GetIsolate(), "_napiwrapper").ToLocal… in GetNativePointer() local
144 bool V8NativeObject::SetProperty(NativeValue* key, NativeValue* value) in SetProperty()
156 NativeValue* V8NativeObject::GetProperty(NativeValue* key) in GetProperty()
166 bool V8NativeObject::HasProperty(NativeValue* key) in HasProperty()
176 bool V8NativeObject::DeleteProperty(NativeValue* key) in DeleteProperty()
190 v8::Local<v8::Name> key = v8::String::NewFromUtf8(engine_->GetIsolate(), name).ToLocalChecked(); in SetProperty() local
201 v8::Local<v8::Name> key = v8::String::NewFromUtf8(engine_->GetIsolate(), name).ToLocalChecked(); in GetProperty() local
213 v8::Local<v8::Name> key = v8::String::NewFromUtf8(engine_->GetIsolate(), name).ToLocalChecked(); in HasProperty() local
222 v8::Local<v8::Name> key = v8::String::NewFromUtf8(engine_->GetIsolate(), name).ToLocalChecked(); in DeleteProperty() local
[all …]
/foundation/ace/ace_engine/frameworks/base/utils/
Dlinear_map.h25 const char* key; member
32 K key; member
38 int64_t BinarySearchFindIndex(const LinearMapNode<T>* vec, size_t length, const char* key) in BinarySearchFindIndex()
50 int64_t BinarySearchFindIndex(const LinearEnumMapNode<K, V>* vec, size_t length, K key) in BinarySearchFindIndex() argument
/foundation/multimedia/utils/lite/src/
Dformat.cpp207 bool Format::PutIntValue(const std::string &key, int32_t value) in PutIntValue()
212 bool Format::PutLongValue(const std::string &key, int64_t value) in PutLongValue()
217 bool Format::PutFloatValue(const std::string &key, float value) in PutFloatValue()
222 bool Format::PutDoubleValue(const std::string &key, double value) in PutDoubleValue()
227 bool Format::PutStringValue(const std::string &key, const std::string &value) in PutStringValue()
233 bool Format::SetFormatCommon(const std::string &key, const T &value, FormatDataType type) in SetFormatCommon()
255 bool Format::GetStringValue(const std::string &key, std::string &value) const in GetStringValue() argument
266 bool Format::GetIntValue(const std::string &key, int32_t &value) const in GetIntValue() argument
277 bool Format::GetLongValue(const std::string &key, int64_t &value) const in GetLongValue() argument
288 bool Format::GetFloatValue(const std::string &key, float &value) const in GetFloatValue() argument
[all …]
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/
Ddistributeddb_interfaces_register_syncdb_test.cpp214 Key key; variable
335 Key key; variable
376 Key key; variable
415 Key key; variable
503 Key key; variable
544 Key key; variable
658 Key key; variable
825 Key key; variable
942 Key key; variable
984 Key key; variable
[all …]
/foundation/distributeddatamgr/objectstore/frameworks/innerkitsimpl/src/adaptor/
Ddistributed_object_impl.cpp54 uint32_t DistributedObjectImpl::PutDouble(const std::string &key, double value) in PutDouble()
67 uint32_t DistributedObjectImpl::PutBoolean(const std::string &key, bool value) in PutBoolean()
80 uint32_t DistributedObjectImpl::PutString(const std::string &key, const std::string &value) in PutString()
94 uint32_t DistributedObjectImpl::GetDouble(const std::string &key, double &value) in GetDouble()
110 uint32_t DistributedObjectImpl::GetBoolean(const std::string &key, bool &value) in GetBoolean()
127 uint32_t DistributedObjectImpl::GetString(const std::string &key, std::string &value) in GetString()
142 uint32_t DistributedObjectImpl::GetType(const std::string &key, Type &type) in GetType()
166 uint32_t DistributedObjectImpl::PutComplex(const std::string &key, const std::vector<uint8_t> &valu… in PutComplex()
178 uint32_t DistributedObjectImpl::GetComplex(const std::string &key, std::vector<uint8_t> &value) in GetComplex()
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/kv_store/src/kvstore_impl_hal/
Dkv_store.c30 static int GetValueByFile(const char* key, char* value, unsigned int len) in GetValueByFile()
53 static int SetValueToFile(const char* key, const char* value) in SetValueToFile()
94 static boolean NewItem(const char* key) in NewItem()
104 int UtilsGetValue(const char* key, char* value, unsigned int len) in UtilsGetValue()
124 int UtilsSetValue(const char* key, const char* value) in UtilsSetValue()
147 int UtilsDeleteValue(const char* key) in UtilsDeleteValue()
/foundation/aafwk/standard/test/resource/amssystemtestability/abilitySrc/amsKitSystemTest/src/
Dfifth_ability.cpp155 std::string key = "key"; in WantParamsSetParamCase1() local
166 std::string key = "key"; in WantParamsSetParamCase2() local
177 std::string key = "key"; in WantParamsSetParamCase3() local
188 std::string key = "key"; in WantParamsSetParamCase4() local
199 std::string key = "key"; in WantParamsSetParamCase5() local
210 std::string key = "key"; in WantParamsSetParamCase6() local
221 std::string key = "key"; in WantParamsSetParamCase7() local
232 std::string key = "key"; in WantParamsSetParamCase8() local
243 std::string key = "key"; in WantParamsSetParamCase9() local
271 std::string key = "key"; in WantParamsSetParamCase10() local
[all …]
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
Dsuspend_controller.cpp24 void SuspendController::RequestSuspendDelay(const std::shared_ptr<KeyInfo>& key) in RequestSuspendDelay()
30 void SuspendController::CancelSuspendDelay(const std::shared_ptr<KeyInfo>& key) in CancelSuspendDelay()
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/kv_store/src/kvstore_impl_posix/
Dkv_store.c40 static int GetResolvedPath(const char* dataPath, const char* key, char* resolvedPath, unsigned int … in GetResolvedPath()
64 static int GetValueByFile(const char* dataPath, const char* key, char* value, unsigned int len) in GetValueByFile()
99 static int SetValueToFile(const char* dataPath, const char* key, const char* value) in SetValueToFile()
121 static int DeleteValueFromFile(const char* dataPath, const char* key) in DeleteValueFromFile()
193 static boolean NewItem(const char* dataPath, const char* key) in NewItem()
211 int UtilsGetValue(const char* key, char* value, unsigned int len) in UtilsGetValue()
240 int UtilsSetValue(const char* key, const char* value) in UtilsSetValue()
279 int UtilsDeleteValue(const char* key) in UtilsDeleteValue()
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_preferences/src/
Dpreferences_impl.cpp92 int PreferencesImpl::CheckKey(const std::string &key) in CheckKey()
205 int PreferencesImpl::GetInt(const std::string &key, int defValue) in GetInt()
226 std::string PreferencesImpl::GetString(const std::string &key, const std::string &defValue) in GetString()
247 bool PreferencesImpl::GetBool(const std::string &key, bool defValue) in GetBool()
268 float PreferencesImpl::GetFloat(const std::string &key, float defValue) in GetFloat()
289 double PreferencesImpl::GetDouble(const std::string &key, double defValue) in GetDouble()
310 int64_t PreferencesImpl::GetLong(const std::string &key, int64_t defValue) in GetLong()
331 std::set<std::string> PreferencesImpl::GetStringSet(const std::string &key, std::set<std::string> &… in GetStringSet()
447 bool PreferencesImpl::HasKey(const std::string &key) in HasKey()
479 void PreferencesImpl::PutPreferencesValue(const std::string &key, const PreferencesValue &value) in PutPreferencesValue()
[all …]

12345678910>>...25