/external/chromium_org/tools/gn/ |
D | source_file.cc | 30 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()
|
D | gyp_helper.cc | 28 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/ |
D | process_iterator_freebsd.cc | 101 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()
|
D | process_iterator_openbsd.cc | 109 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()
|
D | process_iterator_mac.cc | 115 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/ |
D | url_to_filename_encoder.cc | 261 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/ |
D | url_to_filename_encoder.cc | 259 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/ |
D | win_utils.cc | 209 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/ |
D | http_auth_cache.cc | 18 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/ |
D | java_helpers.cc | 126 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/ |
D | limiter.cc | 316 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/ |
D | javamicro_helpers.cc | 129 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/ |
D | http_auth_cache.cc | 18 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/ |
D | fake_pepper_interface_html5fs.cc | 264 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/ |
D | logging.cc | 252 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/ |
D | sym_resolver.h | 80 size_t last_slash = filename.find_last_of('\\'); in proc_() local 81 if (last_slash != std::string::npos) in proc_()
|
/external/chromium/googleurl/src/ |
D | url_canon_relative.cc | 188 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/ |
D | url_canon_relative.cc | 176 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/ |
D | kiosk_apps_handler.cc | 79 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/ |
D | javanano_helpers.cc | 176 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/ |
D | java_helpers.cc | 126 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/ |
D | d8-posix.cc | 579 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/ |
D | d8-posix.cc | 610 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/ |
D | enumerate_modules_model_win.cc | 281 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/ |
D | enumerate_modules_model_win.cc | 339 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()
|