/external/chromium/net/base/ |
net_util_posix.cc | 46 std::string new_path; local 48 new_path = old_path; 49 ReplaceSubstringsAfterOffset(&new_path, 0, "//", "/"); 50 old_path.swap(new_path); 51 } while (new_path != old_path);
|
/external/chromium_org/extensions/common/ |
id_util.cc | 49 base::FilePath new_path = MaybeNormalizePath(path); local 51 std::string(reinterpret_cast<const char*>(new_path.value().data()), 52 new_path.value().size() * sizeof(base::FilePath::CharType));
|
extension.cc | 188 std::string new_path = relative_path; local 191 if (!new_path.empty() && new_path.at(0) == '/') 192 new_path.erase(0, 1); 193 base::FilePath relative_file_path = base::FilePath::FromUTF8Unsafe(new_path);
|
/external/chromium_org/net/base/ |
net_util_posix.cc | 54 std::string new_path; local 56 new_path = old_path; 57 ReplaceSubstringsAfterOffset(&new_path, 0, "//", "/"); 58 old_path.swap(new_path); 59 } while (new_path != old_path);
|
/external/chromium/net/tools/dump_cache/ |
cache_dumper.cc | 75 std::string new_path = local 77 entry_path_ = FilePath(ASCIIToWide(new_path));
|
/external/chromium_org/net/tools/dump_cache/ |
cache_dumper.cc | 84 std::string new_path = local 86 entry_path_ = base::FilePath::FromUTF8Unsafe(new_path);
|
/external/chromium_org/net/url_request/ |
url_request_file_job.cc | 127 std::string new_path = request_->url().path(); local 128 new_path.push_back('/'); 130 replacements.SetPathStr(new_path); 143 base::FilePath new_path = file_path_; 145 resolved = base::win::ResolveShortcut(new_path, &new_path, NULL); 151 *location = FilePathToFileURL(new_path);
|
/external/chromium_org/webkit/browser/fileapi/ |
file_system_url_request_job.cc | 229 std::string new_path = request_->url().path(); local 230 new_path.push_back('/'); 232 replacements.SetPathStr(new_path);
|
/external/linux-tools-perf/util/ |
exec_cmd.c | 85 struct strbuf new_path = STRBUF_INIT; local 87 add_path(&new_path, perf_exec_path()); 88 add_path(&new_path, argv0_path); 91 strbuf_addstr(&new_path, old_path); 93 strbuf_addstr(&new_path, "/usr/local/bin:/usr/bin:/bin"); 95 setenv("PATH", new_path.buf, 1); 97 strbuf_release(&new_path);
|
/external/chromium/chrome/browser/download/ |
download_file_manager.cc | 350 FilePath new_path = full_path; local 359 uniquifier = download_util::GetUniquePathNumber(new_path); 361 download_util::AppendNumberToPath(&new_path, uniquifier); 366 if (!download->Rename(new_path)) { 383 new_path, uniquifier));
|
/external/chromium/chrome/browser/extensions/ |
extension_management_browsertest.cc | 96 FilePath new_path = service->extensions()->back()->path(); local 100 EXPECT_NE(old_path.value(), new_path.value());
|
/external/chromium/net/url_request/ |
url_request_file_job.cc | 234 std::string new_path = request_->url().path(); local 235 new_path.push_back('/'); 237 replacements.SetPathStr(new_path); 250 FilePath new_path = file_path_; 252 resolved = file_util::ResolveShortcut(&new_path); 258 *location = FilePathToFileURL(new_path);
|
/external/chromium_org/base/ |
file_util.cc | 239 FilePath new_path; local 241 new_path = 243 if (!PathExists(new_path) && 244 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) {
|
/external/chromium_org/chrome/browser/profiles/ |
profile_manager_browsertest.cc | 142 base::FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath(); local 143 profile_manager->CreateProfileAsync(new_path,
|
/external/chromium_org/sandbox/win/tools/finder/ |
finder_kernel.cc | 128 ATL::CString new_path; local 130 new_path = path + cur_path; 132 new_path = path + L"\\" + cur_path; 135 TestKernelObjectAccess(new_path, cur_type); 139 ParseKernelObjects(new_path);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_cache.cc | 502 base::FilePath new_path = current.RemoveExtension(); local 503 if (!new_path.Extension().empty()) { 509 const std::string& id = GetIdFromPath(new_path); 510 new_path = GetCacheFilePath(util::CanonicalizeResourceId(id)); 511 if (new_path != current && !base::Move(current, new_path))
|
resource_metadata.cc | 444 base::FilePath new_path = local 446 new_path = 447 new_path.InsertBeforeExtension(base::StringPrintf(" (%d)", ++modifier)); 449 DCHECK_NE(new_base_name, new_path.AsUTF8Unsafe()); 450 new_base_name = new_path.AsUTF8Unsafe();
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
volume_manager.cc | 175 base::FilePath new_path; local 178 old_path, &new_path)) { 179 profile_->GetPrefs()->SetFilePath(kPathPreference[i], new_path);
|
/external/chromium_org/chrome/browser/download/ |
download_target_determiner.cc | 252 base::FilePath new_path(download_prefs_->DownloadPath().Append( 257 net::GenerateSafeFileName(std::string(), false, &new_path); local 258 virtual_path_ = new_path;
|
download_target_determiner_unittest.cc | 485 base::FilePath new_path = local 489 if (new_path.MatchesExtension(FILE_PATH_LITERAL(".remove"))) 490 new_path = new_path.RemoveExtension(); 491 callback.Run(new_path, DownloadPathReservationTracker::UNIQUIFY); [all...] |
/external/chromium_org/chrome/browser/extensions/api/management/ |
management_browsertest.cc | 91 base::FilePath new_path = extension->path(); local 94 EXPECT_NE(old_path.value(), new_path.value());
|
/external/chromium_org/content/common/ |
child_process_host_impl.cc | 68 base::FilePath new_path = root_path.Append(new_basename_app) local 73 return new_path;
|
/external/ipsec-tools/src/racoon/ |
remoteconf.c | 640 vchar_t *new_path; local 652 if ((new_path = vmalloc(len)) == NULL) { 658 new_path->v[0] = '\0'; 659 (void)strlcat(new_path->v, script_dir, len); 660 (void)strlcat(new_path->v, "/", len); 661 (void)strlcat(new_path->v, path->v, len); 664 path = new_path;
|
/external/linux-tools-perf/ |
builtin-help.c | 322 struct strbuf new_path = STRBUF_INIT; local 329 strbuf_addstr(&new_path, system_path(PERF_MAN_PATH)); 330 strbuf_addch(&new_path, ':'); 332 strbuf_addstr(&new_path, old_path); 334 setenv("MANPATH", new_path.buf, 1); 336 strbuf_release(&new_path);
|
/bootable/recovery/ |
recovery.cpp | 692 char new_path[PATH_MAX]; local 693 strlcpy(new_path, path, PATH_MAX); 694 strlcat(new_path, "/", PATH_MAX); 695 strlcat(new_path, item, PATH_MAX); 696 new_path[strlen(new_path)-1] = '\0'; // truncate the trailing '/' 697 result = update_directory(new_path, unmount_when_done, wipe_cache, device); 702 char new_path[PATH_MAX]; local 703 strlcpy(new_path, path, PATH_MAX); 704 strlcat(new_path, "/", PATH_MAX) [all...] |