Home
last modified time | relevance | path

Searched refs:Parse (Results 1 - 25 of 265) sorted by relevance

1234567891011

/foundation/bundlemanager/app_domain_verify/test/unittest/verifier/
H A Ddomain_json_util_test.cpp52 * @tc.desc: Parse test
59 ASSERT_FALSE(JsonUtil::Parse("", assetJsonObj)); in HWTEST_F()
62 ASSERT_FALSE(JsonUtil::Parse("123", assetJsonObj)); in HWTEST_F()
66 ASSERT_FALSE(JsonUtil::Parse(assetJsonsStr, assetJsonObj)); in HWTEST_F()
70 ASSERT_FALSE(JsonUtil::Parse(assetJsonsStr, assetJsonObj)); in HWTEST_F()
74 ASSERT_FALSE(JsonUtil::Parse(assetJsonsStr, assetJsonObj)); in HWTEST_F()
78 ASSERT_FALSE(JsonUtil::Parse(assetJsonsStr, assetJsonObj)); in HWTEST_F()
82 ASSERT_FALSE(JsonUtil::Parse(assetJsonsStr, assetJsonObj)); in HWTEST_F()
86 ASSERT_FALSE(JsonUtil::Parse(assetJsonsStr, assetJsonObj)); in HWTEST_F()
90 ASSERT_TRUE(JsonUtil::Parse(assetJsonsSt in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/oh_adapter/
H A Ddocumentdb_json_common_test.cpp52 JsonObject src = JsonObject::Parse(document, errCode); in HWTEST_F()
54 JsonObject add = JsonObject::Parse(updateDoc, errCode); in HWTEST_F()
77 JsonObject src = JsonObject::Parse(document, errCode); in HWTEST_F()
79 JsonObject add = JsonObject::Parse(updateDoc, errCode); in HWTEST_F()
101 JsonObject src = JsonObject::Parse(document, errCode); in HWTEST_F()
103 JsonObject add = JsonObject::Parse(updateDoc, errCode); in HWTEST_F()
123 JsonObject src = JsonObject::Parse(document, errCode); in HWTEST_F()
125 JsonObject add = JsonObject::Parse(updateDoc, errCode); in HWTEST_F()
137 JsonObject src = JsonObject::Parse(document, errCode); in HWTEST_F()
139 JsonObject add = JsonObject::Parse(updateDo in HWTEST_F()
[all...]
/foundation/ability/idl_tool/test/unittest/cacheable_test/
H A Dcacheable_test.cpp71 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
95 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
119 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
143 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
167 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
191 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
215 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
239 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
263 auto ret = p.Parse(options.GetSourceFile()); in HWTEST_F()
287 auto ret = p.Parse(option in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_json_precheck_unit_test.cpp114 int stepTwo = tempObj.Parse(JSON_STRING1); in HWTEST_F()
141 int stepTwo = tempObj.Parse(JSON_STRING3); in HWTEST_F()
159 int stepOne = tempObj.Parse(JSON_STRING2); in HWTEST_F()
177 int stepOne = tempObj.Parse(JSON_STRING4); in HWTEST_F()
204 int stepTwo = tempObj.Parse(JSON_STRING5); in HWTEST_F()
/foundation/communication/netstack/test/unittest/utils/profiler_utils/
H A DNetstackNetworkProfilerUtilsTest.cpp52 DfxMessage Parse() override;
60 DfxMessage MockNetworkMessage::Parse() in Parse() function in OHOS::NetStack::__anon7695::MockNetworkMessage
110 DfxMessage msg = mockInstance.Parse(); in HWTEST_F()
125 DfxMessage dfxMsg = httpMsg.Parse(); in HWTEST_F()
134 DfxMessage dfxMsg = httpMsg.Parse(); in HWTEST_F()
143 DfxMessage dfxMsg = httpMsg.Parse(); in HWTEST_F()
154 DfxMessage dfxMsg = httpClientMsg.Parse(); in HWTEST_F()
163 DfxMessage dfxMsg = httpClientMsg.Parse(); in HWTEST_F()
172 DfxMessage dfxMsg = httpClientMsg.Parse(); in HWTEST_F()
/foundation/communication/netstack/test/unittest/websocket_test/
H A DNetstackNetworkProfilerUtilsTest.cpp52 DfxMessage Parse() override;
60 DfxMessage MockNetworkMessage::Parse() in Parse() function in OHOS::NetStack::__anon7708::MockNetworkMessage
110 DfxMessage msg = mockInstance.Parse(); in HWTEST_F()
125 DfxMessage dfxMsg = httpMsg.Parse(); in HWTEST_F()
134 DfxMessage dfxMsg = httpMsg.Parse(); in HWTEST_F()
143 DfxMessage dfxMsg = httpMsg.Parse(); in HWTEST_F()
154 DfxMessage dfxMsg = httpClientMsg.Parse(); in HWTEST_F()
163 DfxMessage dfxMsg = httpClientMsg.Parse(); in HWTEST_F()
172 DfxMessage dfxMsg = httpClientMsg.Parse(); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/
H A Dstage_context.cpp24 void StageContext::Parse(const std::string& contents) in Parse() function in OHOS::Ace::StageContext
31 appInfo_->Parse(rootJson->GetValue("app")); in Parse()
32 hapModuleInfo_->Parse(rootJson->GetValue("module")); in Parse()
/foundation/arkui/ace_engine/adapter/preview/external/ability/fa/
H A Dfa_context.cpp23 void FaContext::Parse(const std::string& contents) in Parse() function in OHOS::Ace::FaContext
30 appInfo_->Parse(rootJson->GetValue("app")); in Parse()
31 hapModuleInfo_->Parse(rootJson->GetValue("module")); in Parse()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A 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
64 LOGE("[Value][Parse] Data range invalid: dataEnd - dataBegin=%" PRId64 ", offset=%" PRIu32, in Parse()
68 int errCode = value_.Parse(dataBegin + offset, dataEnd); in Parse()
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_xml_parser_test.cpp60 STEP_ASSERT_EQ(parser->Parse(), static_cast<int32_t>(HgmErrCode::HGM_ERROR)); in HWTEST_F()
72 * @tc.name: Parse
77 HWTEST_F(HgmXmlParserTest, Parse, Function | SmallTest | Level1) in HWTEST_F()
81 parser->Parse(); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A 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);
H A 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/ability/ability_base/interfaces/kits/native/want/src/
H A Darray_wrapper.cpp152 auto func = [](const std::string &str) -> sptr<IInterface> { return String::Parse(str); }; in ParseString()
162 auto func = [](const std::string &str) -> sptr<IInterface> { return Boolean::Parse(str); }; in ParseBoolean()
172 auto func = [](const std::string &str) -> sptr<IInterface> { return Byte::Parse(str); }; in ParseByte()
182 auto func = [](const std::string &str) -> sptr<IInterface> { return Short::Parse(str); }; in ParseShort()
192 auto func = [](const std::string &str) -> sptr<IInterface> { return Integer::Parse(str); }; in ParseInteger()
202 auto func = [](const std::string &str) -> sptr<IInterface> { return Long::Parse(str); }; in ParseLong()
212 auto func = [](const std::string &str) -> sptr<IInterface> { return Float::Parse(str); }; in ParseFloat()
222 auto func = [](const std::string &str) -> sptr<IInterface> { return Double::Parse(str); }; in ParseDouble()
231 auto func = [](const std::string &str) -> sptr<IInterface> { return Char::Parse(str); }; in ParseChar()
240 auto func = [](const std::string &str) -> sptr<IInterface> { return Array::Parse(st in ParseArray()
256 sptr<IArray> Array::Parse(const std::string &arrayStr) /* [in] */ Parse() function in OHOS::AAFwk::Array
[all...]
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/
H A Dwfd_message_test.cpp51 RtspError result = m3Response.Parse(rspStr); in HWTEST_F()
167 response.Parse(m3RspStr); in HWTEST_F()
178 response.Parse(m3RspStr); in HWTEST_F()
189 response.Parse(m3RspStr); in HWTEST_F()
337 RtspError result = request.Parse(reqStr); in HWTEST_F()
347 request.Parse(m4ReqStr); in HWTEST_F()
358 request.Parse(m4ReqStr); in HWTEST_F()
395 response.Parse(m6RspStr); in HWTEST_F()
406 response.Parse(m6RspStr); in HWTEST_F()
416 RtspError ret = response.Parse(m6RspSt in HWTEST_F()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_sdp.h34 bool Parse(const std::string &origin);
71 bool Parse(const std::string &mediaLine);
128 bool Parse(const std::string &sdpStr);
129 bool Parse(const std::list<std::string> &sdpLines);
H A Drtsp_url.h31 Parse(url); in RtspUrl()
34 bool Parse(const std::string &url) in Parse() function in OHOS::Sharing::RtspUrl
/foundation/ability/ability_base/test/unittest/base/
H A Ddouble_wrapper_test.cpp78 * @tc.name: Parse
85 double result = db.Unbox(db.Parse(db.ToString())); in HWTEST_F()
91 * @tc.name: Parse
98 double result = db.Unbox(db.Parse(db.ToString())); in HWTEST_F()
H A Dfloat_wrapper_test.cpp78 * @tc.name: Parse
85 float result = ft.Unbox(ft.Parse(ft.ToString())); in HWTEST_F()
91 * @tc.name: Parse
98 float result = ft.Unbox(ft.Parse(ft.ToString())); in HWTEST_F()
H A Dbyte_wrapper_test.cpp78 * @tc.name: Parse
85 byte result = by.Unbox(by.Parse("0x00")); in HWTEST_F()
91 * @tc.name: Parse
98 byte result = by.Unbox(by.Parse("0x01")); in HWTEST_F()
H A Dbool_wrapper_test.cpp78 * @tc.name: Parse
85 bool result = bl.Unbox(bl.Parse("true")); in HWTEST_F()
91 * @tc.name: Parse
98 bool result = bl.Unbox(bl.Parse("false")); in HWTEST_F()
H A Dbase_test.cpp308 * Function: Parse
310 * FunctionPoints: Parse
312 * CaseDescription: Verify Parse method of Boolean.
316 sptr<IBoolean> boolean = Boolean::Parse("true"); in HWTEST_F()
318 boolean = Boolean::Parse("false"); in HWTEST_F()
385 * Function: Parse
387 * FunctionPoints: Parse
389 * CaseDescription: Verify Parse method of Char.
393 sptr<IChar> charObj = Char::Parse("气"); in HWTEST_F()
487 * Function: Parse
[all...]
H A Dbase_object_test.cpp229 * @tc.name: Parse
230 * @tc.desc: test Parse function and str is empty.
236 EXPECT_EQ(nullptr, userObject.Parse(str)); in HWTEST_F()
241 * @tc.name: Parse
242 * @tc.desc: test Parse function and SPLIT is does not exist.
248 EXPECT_EQ(nullptr, userObject.Parse(str)); in HWTEST_F()
253 * @tc.name: Parse
254 * @tc.desc: test Parse function and SPLIT is exist.
260 EXPECT_EQ(nullptr, userObject.Parse(str)); in HWTEST_F()
265 * @tc.name: Parse
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/include/
H A Dmedia_library_tab_old_photos_client.h53 std::vector<TabOldPhotosClientObj> Parse(std::shared_ptr<DataShare::DataShareResultSet> &resultSet);
54 std::vector<RequestUriObj> Parse(std::vector<std::string> &queryTabOldPhotosUris);
58 std::unordered_map<std::string, std::string> Parse(
/foundation/ability/idl_tool/util/
H A Doptions.h27 Parse(argc, argv); in Options()
170 void Parse(int argc, char** argv);
/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Duser_object_base.h48 virtual void Parse(const std::string &str) = 0;
80 Parse(tostring); in Unmarshalling()

Completed in 11 milliseconds

1234567891011