Home
last modified time | relevance | path

Searched refs:checkStr (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/unittests/Remarks/
DYAMLRemarksParsingTest.cpp378 static inline StringRef checkStr(StringRef Str, unsigned ExpectedLen) { in checkStr() function
414 EXPECT_EQ(checkStr(Remark.PassName, 6), "inline"); in TEST()
415 EXPECT_EQ(checkStr(Remark.RemarkName, 12), "NoDefinition"); in TEST()
416 EXPECT_EQ(checkStr(Remark.FunctionName, 3), "foo"); in TEST()
419 EXPECT_EQ(checkStr(RL.SourceFilePath, 6), "file.c"); in TEST()
430 EXPECT_EQ(checkStr(Arg.Key, 6), "Callee"); in TEST()
431 EXPECT_EQ(checkStr(Arg.Val, 3), "bar"); in TEST()
435 EXPECT_EQ(checkStr(Arg.Key, 6), "String"); in TEST()
436 EXPECT_EQ(checkStr(Arg.Val, 26), " will not be inlined into "); in TEST()
440 EXPECT_EQ(checkStr(Arg.Key, 6), "Caller"); in TEST()
[all …]
DBitstreamRemarksParsingTest.cpp136 static inline StringRef checkStr(StringRef Str, unsigned ExpectedLen) { in checkStr() function
172 EXPECT_EQ(checkStr(Remark.PassName, 6), "inline"); in TEST()
173 EXPECT_EQ(checkStr(Remark.RemarkName, 12), "NoDefinition"); in TEST()
174 EXPECT_EQ(checkStr(Remark.FunctionName, 3), "foo"); in TEST()
177 EXPECT_EQ(checkStr(RL.SourceFilePath, 6), "file.c"); in TEST()
188 EXPECT_EQ(checkStr(Arg.Key, 6), "Callee"); in TEST()
189 EXPECT_EQ(checkStr(Arg.Val, 3), "bar"); in TEST()
193 EXPECT_EQ(checkStr(Arg.Key, 6), "String"); in TEST()
194 EXPECT_EQ(checkStr(Arg.Val, 26), " will not be inlined into "); in TEST()
198 EXPECT_EQ(checkStr(Arg.Key, 6), "Caller"); in TEST()
[all …]