Searched refs:FindFilenameOffset (Results 1 – 3 of 3) sorted by relevance
35 TEST(FilesystemUtils, FindFilenameOffset) { in TEST() argument36 EXPECT_EQ(0u, FindFilenameOffset("")); in TEST()37 EXPECT_EQ(0u, FindFilenameOffset("foo")); in TEST()38 EXPECT_EQ(4u, FindFilenameOffset("foo/")); in TEST()39 EXPECT_EQ(4u, FindFilenameOffset("foo/bar")); in TEST()
232 size_t FindFilenameOffset(const std::string& path) { in FindFilenameOffset() function241 size_t filename_offset = FindFilenameOffset(*path); in FindFilename()251 size_t filename_offset = FindFilenameOffset(*path); in FindFilenameNoExtension()264 path->resize(FindFilenameOffset(*path)); in RemoveFilename()272 size_t filename_offset = FindFilenameOffset(*path); in FindDir()
65 size_t FindFilenameOffset(const std::string& path);