Searched refs:source_path (Results 1 - 25 of 86) sorted by relevance

1234

/external/chromium_org/build/win/
H A Dinstall-build-deps.py13 source_path = os.path.join(os.environ['ProgramFiles(x86)'],
18 backup_path = source_path + ".backup"
21 print "Backing up %s..." % source_path
22 shutil.copyfile(source_path, backup_path)
25 source_path, backup_path)
28 source = open(source_path).read()
37 open(source_path, "w").write(result)
38 print "Patched %s." % source_path
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dworkspace_mock.py34 def create_zip(self, zip_path, source_path):
36 self.source_path = source_path
H A Dworkspace.py58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile):
61 # for root, dirs, files in os.walk(source_path):
64 # zip_file.write(os.path.relpath(path, source_path))
68 self._executive.run_command(['zip', '-9', '-r', zip_path, '.'], cwd=source_path)
70 _log.error("Workspace.create_zip failed in %s:\n%s" % (source_path, e.message_with_output()))
/external/chromium_org/chrome/installer/mini_installer/
H A Ddecompress_test.cc14 base::FilePath source_path; local
15 PathService::Get(base::DIR_SOURCE_ROOT, &source_path);
16 source_path = source_path.Append(FILE_PATH_LITERAL("chrome"))
30 EXPECT_TRUE(mini_installer::Expand(source_path.value().c_str(),
/external/chromium_org/chrome/installer/gcapi_mac/
H A Dgcapi.h26 // |source_path| Path to an uninstalled Google Chrome.app directory, for example
39 int InstallGoogleChrome(const char* source_path,
/external/chromium_org/build/toolchain/mac/
H A Dsetup_toolchain.py9 def CopyTool(source_path):
12 with open(source_path) as source_file:
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfake_disk_mount_manager.cc12 const std::string& source_path,
16 : source_path(source_path),
53 const std::string& source_path) const {
54 DiskMap::const_iterator iter = disks_.find(source_path);
68 void FakeDiskMountManager::MountPath(const std::string& source_path, argument
73 MountRequest(source_path, source_format, mount_label, type));
76 source_path,
77 source_path,
80 mount_points_.insert(make_pair(source_path, mount_poin
11 MountRequest( const std::string& source_path, const std::string& source_format, const std::string& mount_label, chromeos::MountType type) argument
[all...]
H A Dfake_disk_mount_manager.h22 MountRequest(const std::string& source_path,
27 std::string source_path; member in struct:file_manager::FakeDiskMountManager::MountRequest
56 const std::string& source_path) const OVERRIDE;
59 virtual void MountPath(const std::string& source_path,
H A Dmounted_disk_monitor.cc77 disk_mount_manager_->FindDiskBySourcePath(mount_info.source_path);
80 mounted_disks_[mount_info.source_path] = disk->fs_uuid();
85 DiskMap::iterator it = mounted_disks_.find(mount_info.source_path);
/external/libvpx/libvpx/build/make/
H A Dversion.sh22 source_path=${1:-.}
27 if [ -d ${source_path}/.git ]; then
29 export GIT_DIR=${source_path}/.git
34 for p in "${source_path}" "${source_path}/.."; do
/external/chromium/chrome/browser/importer/
H A Dimporter_data_types.h38 FilePath source_path; member in struct:importer::SourceProfile
/external/chromium_org/chrome/browser/
H A Dsxs_linux.cc115 base::FilePath source_path; local
116 if (!PathService::Get(chrome::DIR_USER_DATA, &source_path)) {
121 base::FilePath channels_path(source_path.AppendASCII(kChannelsFileName));
148 if (!base::Move(source_path, target_path)) {
149 LOG(ERROR) << "Failed to rename '" << source_path.value()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dfile_browser_private_apitest.cc39 std::string source_path; member in struct:__anon4546::TestMountPoint
185 DiskMountManager::MountPointInfo(kTestMountPoints[i].source_path,
197 kTestMountPoints[i].source_path,
199 kTestMountPoints[i].source_path,
225 const std::string& source_path) {
227 volumes_.find(source_path);
224 FindVolumeBySourcePath( const std::string& source_path) argument
/external/chromium_org/chromeos/dbus/
H A Dfake_cros_disks_client.cc26 void FakeCrosDisksClient::Mount(const std::string& source_path, argument
95 const std::string& source_path,
100 mount_completed_handler_.Run(error_code, source_path, mount_type, mount_path);
93 SendMountCompletedEvent( MountError error_code, const std::string& source_path, MountType mount_type, const std::string& mount_path) argument
H A Dcros_disks_client.cc85 virtual void Mount(const std::string& source_path,
93 writer.AppendString(source_path);
345 std::string source_path; local
349 !reader.PopString(&source_path) ||
355 handler.Run(static_cast<MountError>(error_code), source_path, local
386 virtual void Mount(const std::string& source_path,
399 FinishMount(MOUNT_ERROR_PATH_ALREADY_MOUNTED, source_path, type,
408 base::Bind(&PerformFakeMount, source_path, mounted_path),
411 source_path,
470 static MountError PerformFakeMount(const std::string& source_path, argument
500 ContinueMount(const std::string& source_path, MountType type, const base::Closure& callback, const base::FilePath& mounted_path, MountError mount_error) argument
516 FinishMount(MountError error, const std::string& source_path, MountType type, const std::string& mounted_path, const base::Closure& callback) argument
[all...]
/external/chromium_org/chrome/installer/util/
H A Dmove_tree_work_item.h36 // |source_path| specifies file or directory that will be moved to location
41 // whether the directory tree in source_path is entirely contained in
42 // dest_path and all files in source_path are present and of the same length
44 // attempt to move source_path to dest_path as stated above.
45 MoveTreeWorkItem(const base::FilePath& source_path,
H A Dwork_item.cc42 const base::FilePath& source_path,
47 return new CopyTreeWorkItem(source_path, dest_path, temp_dir,
81 const base::FilePath& source_path,
85 return new MoveTreeWorkItem(source_path,
41 CreateCopyTreeWorkItem( const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, CopyOverWriteOption overwrite_option, const base::FilePath& alternative_path) argument
80 CreateMoveTreeWorkItem( const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, MoveTreeOption duplicate_option) argument
H A Dcopy_tree_work_item.h42 CopyTreeWorkItem(const base::FilePath& source_path,
/external/libvpx/libvpx/
H A Dconfigure15 #source_path="`dirname \"$0\"`"
16 source_path=${0%/*}
17 . "${source_path}/build/make/configure.sh"
157 [ -f ${source_path}/${t}.mk ] && enable_feature ${t}
189 [ -d ${source_path}/../include ] && enable_feature alt_tree_layout
191 [ -d ${source_path}/${d} ] && disable_feature alt_tree_layout;
196 [ -d ${source_path}/vp8 ] && CODECS="${CODECS} vp8_encoder vp8_decoder"
197 [ -d ${source_path}/vp9 ] && CODECS="${CODECS} vp9_encoder vp9_decoder"
200 [ -f ${source_path}/../include/vpx/vp8cx.h ] && CODECS="${CODECS} vp8_encoder"
201 [ -f ${source_path}/
[all...]
/external/llvm/utils/lit/lit/
H A DTestFormats.py71 source_path = testSuite.getSourcePath(path_in_suite)
72 for filename in os.listdir(source_path):
73 filepath = os.path.join(source_path, filename)
119 source_path = testSuite.getSourcePath(path_in_suite)
120 for filename in os.listdir(source_path):
126 filepath = os.path.join(source_path, filename)
191 test.source_path = path
210 elif hasattr(test, 'source_path'):
211 cmd.append(test.source_path)
H A Ddiscovery.py82 source_path = ts.getSourcePath(path_in_suite)
83 cfgpath = os.path.join(source_path, litConfig.local_config_name)
117 source_path = ts.getSourcePath(path_in_suite)
118 if not os.path.exists(source_path):
122 if not os.path.isdir(source_path):
138 for filename in os.listdir(source_path):
144 file_sourcepath = os.path.join(source_path, filename)
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsignature_util_win_unittest.cc24 base::FilePath source_path; local
25 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &source_path));
26 testdata_path_ = source_path
/external/chromium_org/chrome/common/importer/
H A Dimporter_data_types.h41 base::FilePath source_path; member in struct:importer::SourceProfile
/external/chromium_org/chromeos/disks/
H A Ddisk_mount_manager.cc56 virtual void MountPath(const std::string& source_path,
62 DiskMap::const_iterator it = disks_.find(source_path);
64 OnMountCompleted(MOUNT_ERROR_INTERNAL, source_path, type, "");
69 source_path,
78 source_path,
110 std::string device_path = mount_point->second.source_path;
201 virtual const Disk* FindDiskBySourcePath(const std::string& source_path)
203 DiskMap::const_iterator disk_it = disks_.find(source_path);
232 disks_.find(mount_point.source_path) == disks_.end()) {
265 if (StartsWithASCII(it->second.source_path, mount_pat
299 OnMountCompleted(MountError error_code, const std::string& source_path, MountType mount_type, const std::string& mount_path) argument
[all...]
/external/chromium_org/build/toolchain/win/
H A Dsetup_toolchain.py92 def CopyTool(source_path):
95 with open(source_path) as source_file:

Completed in 549 milliseconds

1234