Home
last modified time | relevance | path

Searched refs:AddItemToObject (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Duobject_test.cpp47 uObject.AddItemToObject("char", value);
50 uObject.AddItemToObject("char", const_cast<char*>(stringValue.c_str()));
54 uObject.AddItemToObject("string", stringValue);
59 uObject.AddItemToObject("double", doubleValue);
64 uObject.AddItemToObject("size_t", sizeValue);
70 uObject.AddItemToObject("int32_t", int32Value);
76 uObject.AddItemToObject("int64_t", int64Value);
82 uObject.AddItemToObject("bool", boolValue);
87 uObject.AddItemToObject("shared_ptr", sharedUObject);
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/json/
H A Dnode_object.cpp34 object->AddItemToObject(item->GetKey(), item->GetString()); in FromJsonObject()
36 object->AddItemToObject(item->GetKey(), item->GetBool()); in FromJsonObject()
38 object->AddItemToObject(item->GetKey(), item->GetDouble()); in FromJsonObject()
40 object->AddItemToObject(item->GetKey(), FromJsonObject(item)); in FromJsonObject()
135 uobject_->AddItemToObject(std::string(key), std::string(value)); in Put()
146 uobject_->AddItemToObject(std::string(key), value); in Put()
157 uobject_->AddItemToObject(std::string(key), value); in Put()
168 uobject_->AddItemToObject(std::string(key), value); in Put()
179 uobject_->AddItemToObject(std::string(key), value); in Put()
190 uobject_->AddItemToObject(std::string(key), value); in Put()
[all …]
H A Duobject.h39 void AddItemToObject(const std::string& key, const char* value);
40 void AddItemToObject(const std::string& key, const std::string& value);
41 void AddItemToObject(const std::string& key, size_t value);
42 void AddItemToObject(const std::string& key, int32_t value);
43 void AddItemToObject(const std::string& key, int64_t value);
44 void AddItemToObject(const std::string& key, double value);
45 void AddItemToObject(const std::string& key, bool value);
46 void AddItemToObject(const std::string& key, const std::shared_ptr<UObject>& value);
H A Duobject.cpp42 void UObject::AddItemToObject(const std::string& key, size_t value) in AddItemToObject() function in OHOS::UObject
47 void UObject::AddItemToObject(const std::string& key, int32_t value) in AddItemToObject() function in OHOS::UObject
57 void UObject::AddItemToObject(const std::string& key, double value) in AddItemToObject() function in OHOS::UObject
62 void UObject::AddItemToObject(const std::string& key, bool value) in AddItemToObject() function in OHOS::UObject
471 AddItemToObject(key, value); in ReadKV()
475 AddItemToObject(key, value); in ReadKV()
479 AddItemToObject(key, value); in ReadKV()
483 AddItemToObject(key, value); in ReadKV()
487 AddItemToObject(key, value); in ReadKV()
491 AddItemToObject(key, value); in ReadKV()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/
H A Drd_json_object.h81 int AddItemToObject(const std::string &fieldName, const JsonObject &item);
82 int AddItemToObject(const std::string &fieldName);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/
H A Djson_common.cpp366 …errCode = (i == 0) ? hitItem.AddItemToObject(abandonPath[i], item) : hitItem.AddItemToObject(aband… in AddSpliteHitField()
408 …errCode = (i == 0 ? hitItem.AddItemToObject(abandonPath[i], item) : hitItem.AddItemToObject(abando… in AddSpliteField()
531 errCode = srcFatherItem.AddItemToObject(lastFieldName, item); in JsonNodeAppend()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Drd_json_object.cpp329 int JsonObject::AddItemToObject(const std::string &fieldName, const JsonObject &item) in AddItemToObject() function in DocumentDB::JsonObject
361 int JsonObject::AddItemToObject(const std::string &fieldName) in AddItemToObject() function in DocumentDB::JsonObject
821 int JsonObject::AddItemToObject(const std::string &fieldName, const JsonObject &item)
828 int JsonObject::AddItemToObject(const std::string &fieldName)