Home
last modified time | relevance | path

Searched refs:last_slash (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/tools/gn/
Dsource_file.cc30 size_t last_slash = value_.rfind('/'); in GetName() local
31 return std::string(&value_[last_slash + 1], in GetName()
32 value_.size() - last_slash - 1); in GetName()
40 size_t last_slash = value_.rfind('/'); in GetDir() local
41 return SourceDir(base::StringPiece(&value_[0], last_slash + 1)); in GetDir()
Dgyp_helper.cc28 size_t last_slash = dir.size() - 1; in GetGypFileForTarget() local
30 if (last_slash > 0) { in GetGypFileForTarget()
31 size_t next_to_last_slash = dir.rfind('/', last_slash - 1); in GetGypFileForTarget()
34 last_slash - next_to_last_slash - 1); in GetGypFileForTarget()
/external/chromium_org/base/process/
Dprocess_iterator_freebsd.cc101 size_t last_slash = data.rfind('/', exec_name_end); in CheckForNextProcess() local
102 if (last_slash == std::string::npos) { in CheckForNextProcess()
105 entry_.exe_file_.assign(data, last_slash + 1, in CheckForNextProcess()
106 exec_name_end - last_slash - 1); in CheckForNextProcess()
Dprocess_iterator_openbsd.cc109 size_t last_slash = data.rfind('/', exec_name_end); in CheckForNextProcess() local
110 if (last_slash == std::string::npos) in CheckForNextProcess()
113 entry_.exe_file_.assign(data, last_slash + 1, in CheckForNextProcess()
114 exec_name_end - last_slash - 1); in CheckForNextProcess()
Dprocess_iterator_mac.cc115 size_t last_slash = data.rfind('/', exec_name_end); in CheckForNextProcess() local
116 if (last_slash == std::string::npos) in CheckForNextProcess()
119 entry_.exe_file_.assign(data, last_slash + 1, in CheckForNextProcess()
120 exec_name_end - last_slash - 1); in CheckForNextProcess()
/external/chromium/net/tools/dump_cache/
Durl_to_filename_encoder.cc261 int last_slash = 0; in LegacyEscape() local
265 last_slash = index; in LegacyEscape()
281 if (index - last_slash > kMaximumSubdirectoryLength) { in LegacyEscape()
288 last_slash = index; in LegacyEscape()
/external/chromium_org/net/tools/dump_cache/
Durl_to_filename_encoder.cc259 int last_slash = 0; in LegacyEscape() local
263 last_slash = index; in LegacyEscape()
279 if (index - last_slash > kMaximumSubdirectoryLength) { in LegacyEscape()
286 last_slash = index; in LegacyEscape()
/external/chromium_org/sandbox/win/src/
Dwin_utils.cc209 base::string16::size_type last_slash = path.rfind(L'\\'); in ConvertToLongPath() local
210 if (base::string16::npos == last_slash) in ConvertToLongPath()
213 base::string16 begin = path.substr(0, last_slash); in ConvertToLongPath()
214 base::string16 end = path.substr(last_slash); in ConvertToLongPath()
/external/chromium/net/http/
Dhttp_auth_cache.cc18 std::string::size_type last_slash = path.rfind("/"); in GetParentDirectory() local
19 if (last_slash == std::string::npos) { in GetParentDirectory()
25 return path.substr(0, last_slash + 1); in GetParentDirectory()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc126 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local
127 if (last_slash == string::npos) { in FileClassName()
130 basename = file->name().substr(last_slash + 1); in FileClassName()
/external/chromium_org/tools/win/link_limiter/
Dlimiter.cc316 size_t last_slash = shimmed_plus_pipename.find_last_of(L"/\\"); in wmain() local
317 if (last_slash != tstring::npos) { in wmain()
318 shimmed_plus_pipename = shimmed_plus_pipename.substr(last_slash + 1); in wmain()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc129 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local
130 if (last_slash == string::npos) { in FileClassName()
133 basename = file->name().substr(last_slash + 1); in FileClassName()
/external/chromium_org/net/http/
Dhttp_auth_cache.cc18 std::string::size_type last_slash = path.rfind("/"); in GetParentDirectory() local
19 if (last_slash == std::string::npos) { in GetParentDirectory()
25 return path.substr(0, last_slash + 1); in GetParentDirectory()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dfake_pepper_interface_html5fs.cc264 size_t last_slash = node_path.rfind('/'); in GetDirectoryEntries() local
265 if (last_slash != std::string::npos) in GetDirectoryEntries()
266 entry_path.erase(0, last_slash + 1); in GetDirectoryEntries()
280 size_t last_slash = path.rfind('/'); in GetParentPath() local
281 if (last_slash == 0) in GetParentPath()
284 EXPECT_EQ(std::string::npos, last_slash); in GetParentPath()
285 return path.substr(0, last_slash); in GetParentPath()
/external/chromium/googleurl/base/
Dlogging.cc252 const char* last_slash = strrchr(file, '\\'); in Init() local
253 if (last_slash) in Init()
254 file = last_slash + 1; in Init()
/external/chromium_org/tools/traceline/traceline/
Dsym_resolver.h80 size_t last_slash = filename.find_last_of('\\'); in proc_() local
81 if (last_slash != std::string::npos) in proc_()
/external/chromium/googleurl/src/
Durl_canon_relative.cc188 int last_slash = -1; in CopyToLastSlash() local
191 last_slash = i; in CopyToLastSlash()
195 if (last_slash < 0) in CopyToLastSlash()
199 for (int i = begin; i <= last_slash; i++) in CopyToLastSlash()
/external/chromium_org/url/
Durl_canon_relative.cc176 int last_slash = -1; in CopyToLastSlash() local
179 last_slash = i; in CopyToLastSlash()
183 if (last_slash < 0) in CopyToLastSlash()
187 for (int i = begin; i <= last_slash; i++) in CopyToLastSlash()
/external/chromium_org/chrome/browser/ui/webui/extensions/chromeos/
Dkiosk_apps_handler.cc79 const size_t last_slash = path.rfind('/'); in ExtractsAppIdFromInput() local
80 if (last_slash == std::string::npos) in ExtractsAppIdFromInput()
83 const std::string candidate_id = path.substr(last_slash + 1); in ExtractsAppIdFromInput()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc176 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local
177 if (last_slash == string::npos) { in FileClassName()
180 basename = file->name().substr(last_slash + 1); in FileClassName()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc126 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName() local
127 if (last_slash == string::npos) { in FileClassName()
130 basename = file->name().substr(last_slash + 1); in FileClassName()
/external/v8/src/
Dd8-posix.cc579 char* last_slash = strrchr(directory, '/'); in mkdirp() local
580 if (last_slash == NULL) { in mkdirp()
584 *last_slash = 0; in mkdirp()
586 *last_slash = '/'; in mkdirp()
/external/chromium_org/v8/src/
Dd8-posix.cc610 char* last_slash = strrchr(directory, '/'); in mkdirp() local
611 if (last_slash == NULL) { in mkdirp()
615 *last_slash = 0; in mkdirp()
617 *last_slash = '/'; in mkdirp()
/external/chromium/chrome/browser/
Denumerate_modules_model_win.cc281 size_t last_slash = module->location.find_last_of(L"\\"); in NormalizeModule() local
282 if (last_slash != string16::npos) { in NormalizeModule()
283 module->name = module->location.substr(last_slash + 1); in NormalizeModule()
284 module->location = module->location.substr(0, last_slash + 1); in NormalizeModule()
/external/chromium_org/chrome/browser/
Denumerate_modules_model_win.cc339 size_t last_slash = module->location.find_last_of(L"\\"); in NormalizeModule() local
340 if (last_slash != base::string16::npos) { in NormalizeModule()
341 module->name = module->location.substr(last_slash + 1); in NormalizeModule()
342 module->location = module->location.substr(0, last_slash + 1); in NormalizeModule()

12