OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FindFilenameOffset
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/tools/gn/
filesystem_utils_unittest.cc
35
TEST(FilesystemUtils,
FindFilenameOffset
) {
36
EXPECT_EQ(0u,
FindFilenameOffset
(""));
37
EXPECT_EQ(0u,
FindFilenameOffset
("foo"));
38
EXPECT_EQ(4u,
FindFilenameOffset
("foo/"));
39
EXPECT_EQ(4u,
FindFilenameOffset
("foo/bar"));
filesystem_utils.cc
232
size_t
FindFilenameOffset
(const std::string& path) {
241
size_t filename_offset =
FindFilenameOffset
(*path);
251
size_t filename_offset =
FindFilenameOffset
(*path);
264
path->resize(
FindFilenameOffset
(*path));
272
size_t filename_offset =
FindFilenameOffset
(*path);
filesystem_utils.h
65
size_t
FindFilenameOffset
(const std::string& path);
Completed in 53 milliseconds