Home
last modified time | relevance | path

Searched refs:FindEndOfLine (Results 1 – 5 of 5) sorted by relevance

/build/kati/
Dstrutil_test.cc151 ASSERT_EQ(FindEndOfLine("foo", 0, &lf_cnt), 3); in TestFindEndOfLine()
153 ASSERT_EQ(FindEndOfLine(StringPiece(buf, 6), 0, &lf_cnt), 3); in TestFindEndOfLine()
154 ASSERT_EQ(FindEndOfLine(StringPiece(buf, 2), 0, &lf_cnt), 2); in TestFindEndOfLine()
198 ASSERT_EQ(FindEndOfLine(CreateProtectedString("a\\"), 0, &lf_cnt), 2); in TestFindEndOfLineInvalidAccess()
Dstrutil.h132 size_t FindEndOfLine(StringPiece s, size_t e, size_t* lf_cnt);
Dparser.cc75 size_t e = FindEndOfLine(&lf_cnt); in Parse()
149 size_t FindEndOfLine(size_t* lf_cnt) { in FindEndOfLine() function in Parser
150 return ::FindEndOfLine(buf_, l_, lf_cnt); in FindEndOfLine()
Dcommand.cc200 size_t index = FindEndOfLine(cmds, 0, &lf_cnt); in Eval()
Dstrutil.cc439 size_t FindEndOfLine(StringPiece s, size_t e, size_t* lf_cnt) { in FindEndOfLine() function