Searched refs:ParseDictionaryFile (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Fuzzer/test/ |
D | FuzzerUnittest.cpp | 397 TEST(FuzzerDictionary, ParseDictionaryFile) { in TEST() argument 399 EXPECT_FALSE(ParseDictionaryFile("zzz\n", &Units)); in TEST() 400 EXPECT_FALSE(ParseDictionaryFile("", &Units)); in TEST() 401 EXPECT_TRUE(ParseDictionaryFile("\n", &Units)); in TEST() 403 EXPECT_TRUE(ParseDictionaryFile("#zzzz a b c d\n", &Units)); in TEST() 405 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST() 407 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST() 409 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\naaa=\"aa\"", &Units)); in TEST() 412 ParseDictionaryFile(" #zzzz\naaa=\"aa\"\n\nabc=\"abc\"", &Units)); in TEST()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerUtil.cpp | 221 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { in ParseDictionaryFile() function
|
D | FuzzerInternal.h | 152 bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units);
|
D | FuzzerDriver.cpp | 330 if (!ParseDictionaryFile(FileToString(Flags.dict), &Dictionary)) in FuzzerDriver()
|