/foundation/graphic/standard/frameworks/surface/src/ |
D | buffer_extra_data_impl.cpp | 37 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 …]
|
D | surface_buffer_impl.cpp | 196 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/ |
D | hievent.h | 86 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()
|
D | fake_hiview.h | 26 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/ |
D | json_util.cpp | 79 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/ |
D | pac_map.cpp | 62 #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 …]
|
D | intent.cpp | 235 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/ |
D | storage_rl_map.h | 34 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/ |
D | format.cpp | 107 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/ |
D | SystemStorageJsunit.test.js | 50 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/ |
D | concurrent_map.h | 78 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/ |
D | json_helper.cpp | 30 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/ |
D | pending_want_record_test.cpp | 164 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/ |
D | surface_buffer_impl.cpp | 29 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/ |
D | distributeddb_storage_transaction_record_test.cpp | 96 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/ |
D | v8_native_object.cpp | 40 …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/ |
D | linear_map.h | 25 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/ |
D | format.cpp | 207 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/ |
D | distributeddb_interfaces_register_syncdb_test.cpp | 214 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/ |
D | distributed_object_impl.cpp | 54 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/ |
D | kv_store.c | 30 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/ |
D | fifth_ability.cpp | 155 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/ |
D | suspend_controller.cpp | 24 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/ |
D | kv_store.c | 40 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/ |
D | preferences_impl.cpp | 92 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 …]
|