Searched refs:lf_cnt (Results 1 – 5 of 5) sorted by relevance
/build/kati/ |
D | strutil_test.cc | 150 size_t lf_cnt = 0; in TestFindEndOfLine() local 151 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() 197 size_t lf_cnt = 0; in TestFindEndOfLineInvalidAccess() local 198 ASSERT_EQ(FindEndOfLine(CreateProtectedString("a\\"), 0, &lf_cnt), 2); in TestFindEndOfLineInvalidAccess()
|
D | parser.cc | 74 size_t lf_cnt = 0; in Parse() local 75 size_t e = FindEndOfLine(&lf_cnt); in Parse() 84 loc_.lineno += lf_cnt - 1; in Parse() 149 size_t FindEndOfLine(size_t* lf_cnt) { in FindEndOfLine() argument 150 return ::FindEndOfLine(buf_, l_, lf_cnt); in FindEndOfLine()
|
D | strutil.cc | 439 size_t FindEndOfLine(StringPiece s, size_t e, size_t* lf_cnt) { in FindEndOfLine() argument 454 ++*lf_cnt; in FindEndOfLine() 457 ++*lf_cnt; in FindEndOfLine() 464 ++*lf_cnt; in FindEndOfLine()
|
D | command.cc | 199 size_t lf_cnt; in Eval() local 200 size_t index = FindEndOfLine(cmds, 0, &lf_cnt); in Eval()
|
D | strutil.h | 132 size_t FindEndOfLine(StringPiece s, size_t e, size_t* lf_cnt);
|