Searched defs:last_slash (Results 1 - 12 of 12) sorted by relevance

/external/chromium/net/http/
H A Dhttp_auth_cache.cc18 std::string::size_type last_slash = path.rfind("/"); local
19 if (last_slash == std::string::npos) {
25 return path.substr(0, last_slash + 1);
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.cc126 string::size_type last_slash = file->name().find_last_of('/'); local
127 if (last_slash == string::npos) {
130 basename = file->name().substr(last_slash + 1);
/external/chromium/googleurl/base/
H A Dlogging.cc252 const char* last_slash = strrchr(file, '\\'); local
253 if (last_slash)
254 file = last_slash + 1;
/external/chromium/googleurl/src/
H A Durl_canon_relative.cc188 int last_slash = -1; local
191 last_slash = i;
195 if (last_slash < 0)
199 for (int i = begin; i <= last_slash; i++)
/external/chromium/net/tools/dump_cache/
H A Durl_to_filename_encoder.cc261 int last_slash = 0; local
265 last_slash = index;
281 if (index - last_slash > kMaximumSubdirectoryLength) {
288 last_slash = index;
/external/dbus/dbus/
H A Ddbus-marshal-validate.c791 const unsigned char *last_slash; local
808 last_slash = s;
815 if ((s - last_slash) < 2)
818 last_slash = s;
829 if ((end - last_slash) < 2 &&
H A Ddbus-internals.c340 char *last_period, *last_slash; local
345 last_slash = _mbsrchr(module_name,'\\');
346 if (last_slash)
347 strcpy(module_name,last_slash+1);
H A Ddbus-sysdeps-win.c1999 char *last_slash; local
2008 last_slash = _mbsrchr (buf, '\\');
2009 if (last_slash > buf && last_slash[1] == '\0')
2010 last_slash[0] = '\0';
2011 last_slash = _mbsrchr (buf, '/');
2012 if (last_slash > buf && last_slash[1] == '\0')
2013 last_slash[0] = '\0';
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_helpers.cc136 string::size_type last_slash = file->name().find_last_of('/'); local
137 if (last_slash == string::npos) {
140 basename = file->name().substr(last_slash + 1);
/external/webkit/Source/WebCore/plugins/android/
H A DPluginPackageAndroid.cpp308 int last_slash = m_path.reverseFind('/'); local
309 if(last_slash < 0)
312 m_fileName = m_path.substring(last_slash + 1);
/external/chromium/chrome/browser/
H A Denumerate_modules_model_win.cc281 size_t last_slash = module->location.find_last_of(L"\\"); local
282 if (last_slash != string16::npos) {
283 module->name = module->location.substr(last_slash + 1);
284 module->location = module->location.substr(0, last_slash + 1);
/external/v8/src/
H A Dd8-posix.cc579 char* last_slash = strrchr(directory, '/'); local
580 if (last_slash == NULL) {
584 *last_slash = 0;
586 *last_slash = '/';

Completed in 692 milliseconds