Searched refs:ParseOneDictionaryEntry (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Fuzzer/test/ |
D | FuzzerUnittest.cpp | 369 TEST(FuzzerDictionary, ParseOneDictionaryEntry) { in TEST() argument 371 EXPECT_FALSE(ParseOneDictionaryEntry("", &U)); in TEST() 372 EXPECT_FALSE(ParseOneDictionaryEntry(" ", &U)); in TEST() 373 EXPECT_FALSE(ParseOneDictionaryEntry("\t ", &U)); in TEST() 374 EXPECT_FALSE(ParseOneDictionaryEntry(" \" ", &U)); in TEST() 375 EXPECT_FALSE(ParseOneDictionaryEntry(" zz\" ", &U)); in TEST() 376 EXPECT_FALSE(ParseOneDictionaryEntry(" \"zz ", &U)); in TEST() 377 EXPECT_FALSE(ParseOneDictionaryEntry(" \"\" ", &U)); in TEST() 378 EXPECT_TRUE(ParseOneDictionaryEntry("\"a\"", &U)); in TEST() 380 EXPECT_TRUE(ParseOneDictionaryEntry("\"abc\"", &U)); in TEST() [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerUtil.cpp | 175 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U) { in ParseOneDictionaryEntry() function 237 if (ParseOneDictionaryEntry(S, &U)) { in ParseDictionaryFile()
|
D | FuzzerInternal.h | 149 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U);
|