Searched refs:last_slash (Results 1 – 6 of 6) sorted by relevance
36 const char *last_slash = strrchr(argv0, '/'); in TEST() local37 const char *binary_name = last_slash ? last_slash + 1 : argv0; in TEST()
122 string::size_type last_slash = file->name().find_last_of('/'); in GetFileDefaultImmutableClassName() local123 if (last_slash == string::npos) { in GetFileDefaultImmutableClassName()126 basename = file->name().substr(last_slash + 1); in GetFileDefaultImmutableClassName()
129 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local130 if (last_slash == string::npos) { in FileClassName()133 basename = file->name().substr(last_slash + 1); in FileClassName()
176 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local177 if (last_slash == string::npos) { in FileClassName()180 basename = file->name().substr(last_slash + 1); in FileClassName()
595 char* last_slash = strrchr(directory, '/'); in mkdirp() local596 if (last_slash == NULL) { in mkdirp()600 *last_slash = 0; in mkdirp()602 *last_slash = '/'; in mkdirp()
2870 const char *last_slash = strrchr(program_path, '/'); in GetPathToLoadable() local2871 ASSERT_NE(nullptr, last_slash); in GetPathToLoadable()2872 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable()