/external/chromium_org/chrome/installer/util/ |
duplicate_tree_detector.h | 18 // Returns true if |dest_path| contains all the files from |src_path| in the 20 // src_path_ and |dest_path| must either both be files or both be directories. 25 const base::FilePath& dest_path);
|
duplicate_tree_detector.cc | 15 const base::FilePath& dest_path) { 21 base::GetFileInfo(dest_path, &dest_info)) { 34 // Two directories are "identical" if dest_path contains entries that are 44 IsIdenticalFileHierarchy(path, dest_path.Append(path.BaseName()));
|
move_tree_work_item.h | 37 // specified by |dest_path|. To facilitate rollback, the caller needs to 39 // they exist under dest_path. 42 // dest_path and all files in source_path are present and of the same length 43 // in dest_path. If so, it will do nothing and return true, otherwise it will 44 // attempt to move source_path to dest_path as stated above. 46 const base::FilePath& dest_path,
|
work_item.cc | 35 const base::FilePath& dest_path, 39 return new CopyTreeWorkItem(source_path, dest_path, temp_dir, 80 const base::FilePath& dest_path, 84 dest_path,
|
copy_tree_work_item.h | 41 // dest_path. 43 const base::FilePath& dest_path,
|
move_tree_work_item.cc | 18 const base::FilePath& dest_path, 22 dest_path_(dest_path),
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
move_operation_unittest.cc | 29 const base::FilePath dest_path( 35 GetLocalResourceEntry(dest_path, &dest_entry)); 39 dest_path, 44 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path, &dest_entry)); 58 base::FilePath dest_path( 64 GetLocalResourceEntry(dest_path, &dest_entry)); 68 dest_path, 73 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path, &dest_entry)); 80 EXPECT_TRUE(observer()->get_changed_paths().count(dest_path.DirName())); 88 base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Test.log")) [all...] |
copy_operation_unittest.cc | 220 base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Test.log")); 227 dest_path, 234 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(dest_path, &entry)); 240 base::FilePath dest_path(FILE_PATH_LITERAL("drive/root/Dummy/Test.log")); 245 GetLocalResourceEntry(dest_path.DirName(), &entry)); 249 dest_path, 256 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(dest_path, &entry)); 265 base::FilePath dest_path(FILE_PATH_LITERAL( 270 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path.DirName(), &entry)); 275 dest_path, [all...] |
move_operation.cc | 22 const base::FilePath& dest_path, 32 error = metadata->GetResourceEntryByPath(dest_path.DirName(), &parent_entry); 42 base::FilePath(dest_path.Extension()).AsUTF8Unsafe(); 49 dest_path.BaseName().RemoveExtension().AsUTF8Unsafe() : 50 dest_path.BaseName().AsUTF8Unsafe(); 61 changed_directories->insert(dest_path.DirName());
|
/external/chromium_org/third_party/skia/tools/pyutils/ |
url_utils_test.py | 48 dest_path = os.path.join(tempdir_path, 'new_subdir', 'dest') 53 dest_path=dest_path, 57 dest_path=dest_path, 59 self.assertEquals(open(dest_path).read(), contents)
|
url_utils.py | 43 def copy_contents(source_url, dest_path, create_subdirs_if_needed=False): 45 filepath 'dest_path'. 49 dest_path: string; complete filepath to write to (may be absolute or 52 needed to create dest_path 55 Some subclass of Exception if unable to read source_url or write dest_path. 58 dest_dir = os.path.dirname(dest_path) 62 with open(dest_path, 'wb') as dest_handle:
|
gs_utils.py | 30 def download_file(source_bucket, source_path, dest_path, 37 dest_path: full path (local-OS-style) on local disk to copy the file to 39 needed to create dest_path 43 url_utils.copy_contents(source_url=source_http_url, dest_path=dest_path,
|
/external/skia/tools/pyutils/ |
url_utils_test.py | 48 dest_path = os.path.join(tempdir_path, 'new_subdir', 'dest') 53 dest_path=dest_path, 57 dest_path=dest_path, 59 self.assertEquals(open(dest_path).read(), contents)
|
url_utils.py | 43 def copy_contents(source_url, dest_path, create_subdirs_if_needed=False): 45 filepath 'dest_path'. 49 dest_path: string; complete filepath to write to (may be absolute or 52 needed to create dest_path 55 Some subclass of Exception if unable to read source_url or write dest_path. 58 dest_dir = os.path.dirname(dest_path) 62 with open(dest_path, 'wb') as dest_handle:
|
gs_utils.py | 30 def download_file(source_bucket, source_path, dest_path, 37 dest_path: full path (local-OS-style) on local disk to copy the file to 39 needed to create dest_path 43 url_utils.copy_contents(source_url=source_http_url, dest_path=dest_path,
|
/external/chromium_org/chrome/installer/mini_installer/ |
decompress_test.cc | 26 base::FilePath dest_path( 31 dest_path.value().c_str())); 35 EXPECT_TRUE(GetBinaryType(dest_path.value().c_str(), &type));
|
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/chrome_test/ |
setup_test_links.sh | 42 dest_path="${src_path/pyauto_dep/chrome_test}" 43 mkdir -p "$(dirname "$dest_path")" 44 [ -e "$dest_path" ] || ln -f -s $src_path $dest_path
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
build_server.py | 34 dest_path = os.path.join(LOCAL_THIRD_PARTY_DIR, dest) 36 shutil.copytree(src, dest_path) 38 MakeInit(dest_path) 41 os.makedirs(dest_path) 45 MakeInit(dest_path) 47 shutil.copy(os.path.join(src, filename), os.path.join(dest_path, filename))
|
/frameworks/base/tools/layoutlib/rename_font/ |
build_font_single.py | 72 dest_path = argv[-1] 77 convert_font(input_path, dest_path) 79 shutil.copy(input_path, dest_path) 82 def convert_font(input_path, dest_path): 86 ttx_path = dest_path[:-1] + 'x' 99 ttx_args = ['-q', '-o', dest_path, ttx_path] 110 shutil.copy(input_path, dest_path)
|
/external/owasp/sanitizer/tools/ |
cut_release.py | 101 dest_path = os.path.join( 105 os.mkdir(dest_path) 110 os.path.join(src_path, child), dest_path) 112 shutil.copyfile(src_path, dest_path) 113 mime_type = mime_type_from_path(dest_path) 115 files_to_rewrite.append(dest_path) 116 new_file_paths.append(dest_path) 117 return dest_path
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
download_actuals.py | 82 dest_path = os.path.join(dest_dir, config, test + '.png') 83 url_utils.copy_contents(source_url=source_url, dest_path=dest_path,
|
/external/skia/gm/rebaseline_server/ |
download_actuals.py | 82 dest_path = os.path.join(dest_dir, config, test + '.png') 83 url_utils.copy_contents(source_url=source_url, dest_path=dest_path,
|
/external/chromium_org/third_party/skia/tools/ |
svndiff.py | 107 def _DownloadUrlToFile(source_url, dest_path): 108 """Download source_url, and save its contents to dest_path. 112 writer = open(dest_path, 'wb') 117 '%s: unable to download source_url %s to dest_path %s' % ( 118 e, source_url, dest_path)) 160 dest_path=os.path.join(old_flattened_dir, 171 dest_path=os.path.join(new_flattened_dir, 195 def _GitExportBaseVersionOfFile(file_within_repo, dest_path): 200 @param dest_path destination to which to write the base content 216 with open(dest_path, 'wb') as outfile [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
native_file_util.cc | 245 const base::FilePath& dest_path, 256 error = NativeFileUtil::GetFileInfo(dest_path, &info); 263 error = NativeFileUtil::GetFileInfo(dest_path.DirName(), &info); 272 if (!base::CopyFile(src_path, dest_path)) 276 if (!CopyFileAndSync(src_path, dest_path)) 280 if (!base::Move(src_path, dest_path)) 288 base::TouchFile(dest_path, last_modified, last_modified);
|
/external/skia/tools/ |
svndiff.py | 107 def _DownloadUrlToFile(source_url, dest_path): 108 """Download source_url, and save its contents to dest_path. 112 writer = open(dest_path, 'wb') 117 '%s: unable to download source_url %s to dest_path %s' % ( 118 e, source_url, dest_path)) 160 dest_path=os.path.join(old_flattened_dir, 171 dest_path=os.path.join(new_flattened_dir, 195 def _GitExportBaseVersionOfFile(file_within_repo, dest_path): 200 @param dest_path destination to which to write the base content 216 with open(dest_path, 'wb') as outfile [all...] |