Home
last modified time | relevance | path

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

12

/packages/modules/Gki/libkver/
Dtest.cpp30 auto kmi_version = KmiVersion::Parse(s); in CheckValidKmiVersion()
44 EXPECT_FALSE(KmiVersion::Parse("5.4.42-android12-0").has_value()); in TEST()
46 EXPECT_FALSE(KmiVersion::Parse("4-android12-0").has_value()); in TEST()
47 EXPECT_FALSE(KmiVersion::Parse("5.4-androd12-0").has_value()); in TEST()
48 EXPECT_FALSE(KmiVersion::Parse("5.4-android12").has_value()); in TEST()
49 EXPECT_FALSE(KmiVersion::Parse("5.4-android12-0\n").has_value()); in TEST()
52 TEST(KmiVersion, Parse) { in TEST() argument
53 auto res = KmiVersion::Parse("5.4-android12-1"); in TEST()
63 auto res = KmiVersion::Parse("5.4-android12-1\0-something"s); in TEST()
68 auto kernel_release = KernelRelease::Parse(s); in CheckValidKernelRelease()
[all …]
Dfuzzer.cpp32 auto kmi_version = KmiVersion::Parse(string_data); in LLVMFuzzerTestOneInput()
37 auto kernel_release = KernelRelease::Parse(string_data); in LLVMFuzzerTestOneInput()
Dkmi_version.cpp28 std::optional<KmiVersion> KmiVersion::Parse(const std::string& s) { in Parse() function in android::kver::KmiVersion
Dkernel_release.cpp29 std::optional<KernelRelease> KernelRelease::Parse(const std::string& s, bool allow_suffix) { in Parse() function in android::kver::KernelRelease
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp45 reader.Parse(s, h); in TEST()
53 reader.Parse(s, h); in TEST()
108 reader.Parse(s, h); \ in TEST()
183 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code())… in TestParseDouble()
324 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); in TestParseDouble()
351 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); in TestParseDouble()
400 ASSERT_EQ(kParseErrorNone, reader.Parse(s, h).Code()); in TEST()
421 EXPECT_FALSE(reader.Parse(s, h)); \ in TEST()
481 reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(is, h); \ in TEST()
488 reader2.Parse(s, h2); \ in TEST()
[all …]
Ddocumenttest.cpp76 doc.Parse(json); in ParseTest()
91 TEST(Document, Parse) { in TEST() argument
149 reader.Parse(is, writer); in TEST()
188 reader.Parse(is, writer); in TEST()
253 …doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\":… in TEST()
269 …doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\":… in TEST()
294 … json.Parse<kParseValidateEncodingFlag>(L"[{\"created_at\":\"Wed Oct 30 17:13:20 +0000 2012\"}]"); in TEST()
358 a.Parse("[\"one\", \"two\", \"three\"]"); in TYPED_TEST()
372 b.Parse("{\"Foo\": \"Bar\", \"Baz\": 42}"); in TYPED_TEST()
392 a.Parse("{ 4 = 4]"); in TYPED_TEST()
[all …]
Dpointertest.cpp35 TEST(Pointer, Parse) { in TEST() argument
609 d.Parse(kJson); in TEST()
632 d.Parse(kJson); in TEST()
685 d.Parse(kJson); in TEST()
737 d.Parse(kJson); in TEST()
797 d.Parse(kJson); in TEST()
856 d.Parse(kJson); in TEST()
865 d.Parse(kJson); in TEST()
873 d.Parse(kJson); in TEST()
939 d.Parse(kJson); in TEST()
[all …]
Djsoncheckertest.cpp71 document.Parse((const char*)json); in TEST()
74 document.Parse<kParseIterativeFlag>((const char*)json); in TEST()
91 document.Parse((const char*)json); in TEST()
94 document.Parse<kParseIterativeFlag>((const char*)json); in TEST()
Dprettywritertest.cpp47 reader.Parse(s, writer); in TEST()
57 reader.Parse(s, writer); in TEST()
132 reader.Parse(s, writer); in TEST()
147 reader.Parse(s, writer); in TEST()
Dwritertest.cpp30 reader.Parse<0>(s, writer); in TEST()
43 reader.Parse<kParseFullPrecisionFlag>(s, writer); \
119 reader.Parse(s, writer); in TEST()
129 reader.Parse(s, writer); in TEST()
135 reader2.Parse(s2, writer2); in TEST()
174 reader.Parse<0>(s, writer); in TEST()
Dnamespacetest.cpp39 doc.Parse(json); in TEST()
55 reader.Parse(s, writer); in TEST()
62 doc.Parse(buffer.GetString()); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp48 EXPECT_FALSE(doc_.Parse(json_).IsNull()); in SetUp()
71 EXPECT_TRUE(reader.Parse<kParseInsituFlag>(s, h)); in TEST_F()
81 EXPECT_TRUE(reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(s, h)); in TEST_F()
90 EXPECT_TRUE(reader.Parse(s, h)); in TEST_F()
99 EXPECT_TRUE(reader.Parse<kParseFullPrecisionFlag>(s, h)); in TEST_F()
108 EXPECT_TRUE(reader.Parse<kParseIterativeFlag>(s, h)); in TEST_F()
118 EXPECT_TRUE(reader.Parse<kParseIterativeFlag|kParseInsituFlag>(s, h)); in TEST_F()
127 EXPECT_TRUE(reader.Parse<kParseValidateEncodingFlag>(s, h)); in TEST_F()
152 doc.Parse(json_); in TEST_F()
160 doc.Parse<kParseIterativeFlag>(json_); in TEST_F()
[all …]
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt721 Landroid/icu/impl/number/DecimalFormatProperties;->parseGroupingMode:Landroid/icu/impl/number/Parse
723 Landroid/icu/impl/number/DecimalFormatProperties;->parseMode:Landroid/icu/impl/number/Parse$ParseMo…
813 Landroid/icu/impl/number/Parse$AffixHolder;-><init>(Ljava/lang/String;Ljava/lang/String;ZZ)V
814 Landroid/icu/impl/number/Parse$AffixHolder;->addToState(Landroid/icu/impl/number/Parse$ParserState;…
815 Landroid/icu/impl/number/Parse$AffixHolder;->EMPTY_NEGATIVE:Landroid/icu/impl/number/Parse$AffixHol…
816 Landroid/icu/impl/number/Parse$AffixHolder;->EMPTY_POSITIVE:Landroid/icu/impl/number/Parse$AffixHol…
817 …mpl/number/Parse$AffixHolder;->fromPropertiesNegativePattern(Landroid/icu/impl/number/DecimalForma…
818 …impl/number/Parse$AffixHolder;->fromPropertiesNegativeString(Landroid/icu/impl/number/DecimalForma…
819 …mpl/number/Parse$AffixHolder;->fromPropertiesPositivePattern(Landroid/icu/impl/number/DecimalForma…
820 …impl/number/Parse$AffixHolder;->fromPropertiesPositiveString(Landroid/icu/impl/number/DecimalForma…
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md95 GenericDocument& GenericDocument::Parse(const Ch* str);
99 GenericDocument& GenericDocument::Parse(const Ch* str);
102 GenericDocument& GenericDocument::Parse(const Ch* str);
109 Parse flags | Meaning
117 `kParseFullPrecisionFlag` | Parse number in full precision (slower). If this flag is not set, t…
125 ## Parse Error {#ParseError}
129 Parse Error Code | Description
160 if (d.Parse(json).HasParseError()) {
271 d.Parse(json);
Dsax.md90 reader.Parse(ss, handler);
167 bool Parse(InputStream& is, Handler& handler);
171 bool Parse(InputStream& is, Handler& handler);
349 if (reader.Parse(ss, handler))
369 cout << endl << "Parse a JSON with invalid schema." << endl;
383 Parse a JSON with invalid schema.
451 if (!reader.Parse(is, filter)) {
/packages/modules/common/tools/
Dconv_classpaths_proto.py26 json_format.Parse(args.input.read(), pb)
28 text_format.Parse(args.input.read(), pb)
/packages/modules/Gki/
Dbuild_gki_apex_manifest.cpp96 auto kmi_version = KmiVersion::Parse(kmi_version_string); in main()
113 auto kernel_release = KernelRelease::Parse(kernel_release_string, true /* allow_suffix */); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp15 d.Parse(json); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/
Dcondense.cpp26 if (!reader.Parse(is, writer)) { in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/
Dpretty.cpp24 if (!reader.Parse<kParseValidateEncodingFlag>(is, writer)) { in main()
/packages/modules/Gki/libkver/include/kver/
Dkernel_release.h36 static std::optional<KernelRelease> Parse(const std::string& s, bool allow_suffix = false);
Dkmi_version.h33 static std::optional<KmiVersion> Parse(const std::string& s);
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/
Dprettyauto.cpp50 if (!reader.Parse<kParseValidateEncodingFlag>(eis, writer)) { // CHANGED in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp35 reader.Parse(ss, handler); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h1893 parseResult_ = reader.template Parse<parseFlags>(is, *this);
1955 GenericDocument& Parse(const Ch* str) {
1966 GenericDocument& Parse(const Ch* str) {
1967 return Parse<parseFlags, Encoding>(str);
1973 GenericDocument& Parse(const Ch* str) {
1974 return Parse<kParseDefaultFlags>(str);

12