Searched refs:ParseDictionaryFile (Results 1 – 4 of 4) sorted by relevance
/third_party/json/tests/thirdparty/Fuzzer/test/ |
D | FuzzerUnittest.cpp | 552 TEST(FuzzerDictionary, ParseDictionaryFile) { in TEST() argument 554 EXPECT_FALSE(ParseDictionaryFile("zzz\n", &Units)); in TEST() 555 EXPECT_FALSE(ParseDictionaryFile("", &Units)); in TEST() 556 EXPECT_TRUE(ParseDictionaryFile("\n", &Units)); in TEST() 558 EXPECT_TRUE(ParseDictionaryFile("#zzzz a b c d\n", &Units)); in TEST() 560 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST() 562 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST() 564 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\naaa=\"aa\"", &Units)); in TEST() 567 ParseDictionaryFile(" #zzzz\naaa=\"aa\"\n\nabc=\"abc\"", &Units)); in TEST()
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerDictionary.h | 120 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units);
|
D | FuzzerUtil.cpp | 127 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { in ParseDictionaryFile() function
|
D | FuzzerDriver.cpp | 425 if (!ParseDictionaryFile(FileToString(Flags.dict), &Dictionary)) in FuzzerDriver()
|