Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 25 of 139) sorted by relevance

123456

/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/common/
Ddistributeddb_json_precheck_unit_test.cpp114 int stepTwo = tempObj.Parse(JSON_STRING1);
141 int stepTwo = tempObj.Parse(JSON_STRING3);
159 int stepOne = tempObj.Parse(JSON_STRING2);
177 int stepOne = tempObj.Parse(JSON_STRING4);
204 int stepTwo = tempObj.Parse(JSON_STRING5);
Ddistributeddb_schema_object_test.cpp792 errCode = value1.Parse(VALUE_LESS_FIELD);
802 errCode = value2.Parse(VALUE_MORE_FIELD);
812 errCode = value3.Parse(VALUE_TYPE_MISMATCH);
822 errCode = value4.Parse(VALUE_NOT_NULL_VIOLATION);
832 errCode = value5.Parse(VALUE_MATCH_STRICT_SCHEMA);
848 errCode = value6.Parse(moreFieldValueVector);
876 errCode = value1.Parse(vecValue.data(), vecValue.data() + vecValue.size(), beforeOffset.size());
977 int errCode = externalValueObject.Parse(valueStr); in CheckValueLackField()
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/common/src/
Dvalue_object.cpp38 int ValueObject::Parse(const std::string &inString) in Parse() function in DistributedDB::ValueObject
43 int errCode = value_.Parse(inString); in Parse()
48 int ValueObject::Parse(const std::vector<uint8_t> &inData) in Parse() function in DistributedDB::ValueObject
53 int errCode = value_.Parse(inData); in Parse()
58 int ValueObject::Parse(const uint8_t *dataBegin, const uint8_t *dataEnd, uint32_t offset) in Parse() function in DistributedDB::ValueObject
68 int errCode = value_.Parse(dataBegin + offset, dataEnd); in Parse()
/foundation/graphic/standard/frameworks/wmtest/frameworks/
Dmain_option.cpp27 int32_t MainOption::Parse(int32_t argc, const char **argv) in Parse() function in MainOption
30 return OptionParser::Parse(argc - 1, argv + 1); in Parse()
Dmain_option.h24 int32_t Parse(int32_t argc, const char **argv);
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/common/include/
Dvalue_object.h37 int Parse(const std::string &inString);
38 int Parse(const std::vector<uint8_t> &inData); // Whether ends with '\0' in vector is OK
41 int Parse(const uint8_t *dataBegin, const uint8_t *dataEnd, uint32_t offset = 0);
Djson_object.h50 int Parse(const std::string &inString);
51 int Parse(const std::vector<uint8_t> &inData); // Whether ends with '\0' in vector is OK
54 int Parse(const uint8_t *dataBegin, const uint8_t *dataEnd);
/foundation/aafwk/standard/frameworks/kits/base/cpp/src/ohos/aafwk/base/
Darray_wrapper.cpp141 auto func = [](const std::string &str) -> sptr<IInterface> { return String::Parse(str); }; in ParseString()
151 auto func = [](const std::string &str) -> sptr<IInterface> { return Boolean::Parse(str); }; in ParseBoolean()
161 auto func = [](const std::string &str) -> sptr<IInterface> { return Byte::Parse(str); }; in ParseByte()
171 auto func = [](const std::string &str) -> sptr<IInterface> { return Short::Parse(str); }; in ParseShort()
181 auto func = [](const std::string &str) -> sptr<IInterface> { return Integer::Parse(str); }; in ParseInteger()
191 auto func = [](const std::string &str) -> sptr<IInterface> { return Long::Parse(str); }; in ParseLong()
201 auto func = [](const std::string &str) -> sptr<IInterface> { return Float::Parse(str); }; in ParseFloat()
211 auto func = [](const std::string &str) -> sptr<IInterface> { return Double::Parse(str); }; in ParseDouble()
220 auto func = [](const std::string &str) -> sptr<IInterface> { return Char::Parse(str); }; in ParseChar()
229 auto func = [](const std::string &str) -> sptr<IInterface> { return Array::Parse(str); }; in ParseArray()
[all …]
Duser_object_wrapper.cpp75 sptr<IUserObject> UserObject::Parse(const std::string &str) in Parse() function in OHOS::AAFwk::UserObject
94 userObjectBase->Parse(content); in Parse()
/foundation/appexecfwk/standard/services/test/moduletest/common/bms/bundle_parser_test/
Dbms_bundle_parser_module_test.cpp38 ErrCode result = bundleParser.Parse(pathStream.str(), innerBundleInfo); in CheckBundleParserResult()
105 ErrCode result = bundleParser.Parse(pathStream_.str(), innerBundleInfo);
111 result = bundleParser.Parse(pathStream_.str(), innerBundleInfo);
/foundation/aafwk/standard/frameworks/kits/base/cpp/test/unittest/common/
Dbase_test.cpp354 sptr<IBoolean> boolean = Boolean::Parse("true");
356 boolean = Boolean::Parse("false");
431 sptr<IChar> charObj = Char::Parse("气");
533 sptr<IByte> byteObj = Byte::Parse("129");
607 sptr<IShort> shortObj = Short::Parse("32767");
681 sptr<IInteger> intObj = Integer::Parse("-1");
755 sptr<ILong> longObj = Long::Parse("-1");
829 sptr<IFloat> floatObj = Float::Parse("-1.000400");
903 sptr<IDouble> doubleObj = Double::Parse("-1.0000000400");
977 sptr<IString> stringObj = String::Parse("-1.0000000400");
[all …]
/foundation/aafwk/standard/interfaces/innerkits/base/include/ohos/aafwk/base/
Duser_object_base.h48 virtual void Parse(const std::string &str) = 0;
80 Parse(tostring); in Unmarshalling()
Dshort_wrapper.h43 static sptr<IShort> Parse(const std::string &str); /* [in] */
Dbool_wrapper.h43 static sptr<IBoolean> Parse(const std::string &str); /* [in] */
Dlong_wrapper.h43 static sptr<ILong> Parse(const std::string &str); /* [in] */
Ddouble_wrapper.h43 static sptr<IDouble> Parse(const std::string &str); /* [in] */
Dfloat_wrapper.h43 static sptr<IFloat> Parse(const std::string &str); /* [in] */
/foundation/multimedia/audio_standard/services/include/audio_policy/server/service/config/
Dparser.h25 virtual bool Parse() = 0;
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/hfp_hf/
Dhfp_hf_command_parser.cpp44 Parse(dataConn, commandProcessor, data, len); in Read()
76 void HfpHfCommandParser::Parse(HfpHfDataConnection &dataConn, in Parse() function in bluetooth::HfpHfCommandParser
/foundation/windowmanager/wm/include/
Dcolor_parser.h25 static bool Parse(const std::string& colorStr, uint32_t& colorValue);
/foundation/appexecfwk/standard/services/bundlemgr/include/
Dbundle_parser.h34 ErrCode Parse(const std::string &pathName, InnerBundleInfo &innerBundleInfo) const;
/foundation/aafwk/standard/frameworks/kits/content/cpp/src/ohos/aafwk/content/
Dwant_params_wrapper.cpp106 sptr<IWantParams> WantParamWrapper::Parse(const std::string &str) in Parse() function in OHOS::AAFwk::WantParamWrapper
126 … wantPaqrams.SetParam(key, WantParamWrapper::Parse(str.substr(strnum, num - strnum + 1))); in Parse()
179 wantPaqrams.SetParam(key, WantParamWrapper::Parse(str.substr(strnum, num - strnum))); in ParseWantParams()
/foundation/deviceprofile/device_profile_core/services/core/src/subscribemanager/
Dprofile_change_handler.cpp46 static std::unique_ptr<ProfileKey> Parse(const std::string& entryKey);
49 std::unique_ptr<ProfileKey> ProfileKey::Parse(const std::string& entryKey) in Parse() function in OHOS::DeviceProfile::ProfileKey
106 auto profileKey = ProfileKey::Parse(entry.key.ToString()); in OnChange()
139 auto profileKey = ProfileKey::Parse(entry.key.ToString()); in ConvertEntry()
/foundation/communication/bluetooth/services/bluetooth_standard/external/dummy/include/stub/
Dvcard_util.h112 static std::vector<VCard> Parse(std::istream &is) in Parse() function
117 static std::vector<VCard> Parse(const std::vector<uint8_t> &datas) in Parse() function
/foundation/aafwk/standard/frameworks/kits/content/cpp/test/unittest/common/
Dwant_params_wrapper_test.cpp252 auto wantParamsPtr = WantParamWrapper::Parse("");
269 auto wantParamsPtr = WantParamWrapper::Parse("{}");
334 auto wantParamsPtr = WantParamWrapper::Parse(wantParamsString);

123456