Home
last modified time | relevance | path

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

/third_party/gn/src/gn/
Dframeworks_utils.cc17 if (FindFilenameOffset(file) != 0) in GetFrameworkName()
Dfilesystem_utils_unittest.cc42 TEST(FilesystemUtils, FindFilenameOffset) { in TEST() argument
43 EXPECT_EQ(0u, FindFilenameOffset("")); in TEST()
44 EXPECT_EQ(0u, FindFilenameOffset("foo")); in TEST()
45 EXPECT_EQ(4u, FindFilenameOffset("foo/")); in TEST()
46 EXPECT_EQ(4u, FindFilenameOffset("foo/bar")); in TEST()
Dfilesystem_utils.cc250 size_t FindFilenameOffset(const std::string& path) { in FindFilenameOffset() function
259 size_t filename_offset = FindFilenameOffset(*path); in FindFilename()
269 size_t filename_offset = FindFilenameOffset(*path); in FindFilenameNoExtension()
282 path->resize(FindFilenameOffset(*path)); in RemoveFilename()
290 size_t filename_offset = FindFilenameOffset(*path); in FindDir()
Dfilesystem_utils.h41 size_t FindFilenameOffset(const std::string& path);
Dxcode_object.cc837 size_t basename_offset = FindFilenameOffset(output_name); in AddNativeTarget()