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

12345

/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/browser/extensions/
H A Dpath_util.h13 // Prettifies |source_path|, by replacing the user's home directory with "~"
15 // For OS X, prettifies |source_path| by localizing every component of the
21 base::FilePath PrettifyPath(const base::FilePath& source_path);
H A Dpath_util.cc48 base::FilePath PrettifyPath(const base::FilePath& source_path) { argument
50 if (source_path.empty() || !PathService::Get(base::DIR_HOME, &home_path))
51 return source_path;
54 if (source_path == home_path)
58 DCHECK(source_path.IsAbsolute());
66 source_path.GetComponents(&components);
80 DCHECK_EQ(actual_path.value(), source_path.value());
83 if (home_path.AppendRelativePath(source_path, &display_path))
85 return source_path;
/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/third_party/libvpx/source/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/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_org/tools/metrics/histograms/
H A Dupdate_use_counter_feature_enum.py36 source_path = \
43 enum_dict = ReadHistogramValues(source_path, START_MARKER, END_MARKER)
48 source_enum_path=source_path,
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfake_disk_mount_manager.cc13 const std::string& source_path,
17 : source_path(source_path),
54 const std::string& source_path) const {
55 DiskMap::const_iterator iter = disks_.find(source_path);
71 void FakeDiskMountManager::MountPath(const std::string& source_path, argument
76 MountRequest(source_path, source_format, mount_label, type));
79 source_path,
80 source_path,
83 mount_points_.insert(make_pair(source_path, mount_poin
12 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;
60 virtual void MountPath(const std::string& source_path,
/external/chromium_org/build/android/pylib/symbols/
H A Delf_symbolizer.py340 source_path = None
345 source_path = m.group(1)
355 if source_path and not posixpath.isabs(source_path):
356 path = self._symbolizer.disambiguation_table.get(source_path)
359 source_path = path if disambiguated else source_path
363 if source_path and not was_ambiguous:
364 source_path = os.path.abspath(source_path)
[all...]
/external/skia/tools/pyutils/
H A Dgs_utils.py30 def download_file(source_bucket, source_path, dest_path,
36 source_path: full path (Posix-style) within that bucket
42 'http://storage.googleapis.com', source_bucket, source_path)
H A Durl_utils_test.py44 source_path = os.path.join(tempdir_path, 'source')
45 source_url = url_utils.create_filepath_url(source_path)
46 with open(source_path, 'w') as source_handle:
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
H A Dcopy_entry.cc18 const base::FilePath& source_path,
22 source_path_(source_path),
39 options.source_path = source_path_.AsUTF8Unsafe();
16 CopyEntry(extensions::EventRouter* event_router, const ProvidedFileSystemInfo& file_system_info, const base::FilePath& source_path, const base::FilePath& target_path, const storage::AsyncFileUtil::StatusCallback& callback) argument
H A Dmove_entry.cc18 const base::FilePath& source_path,
22 source_path_(source_path),
39 options.source_path = source_path_.AsUTF8Unsafe();
16 MoveEntry(extensions::EventRouter* event_router, const ProvidedFileSystemInfo& file_system_info, const base::FilePath& source_path, const base::FilePath& target_path, const storage::AsyncFileUtil::StatusCallback& callback) argument
/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/third_party/libvpx/source/libvpx/
H A Dconfigure15 #source_path="`dirname \"$0\"`"
16 source_path=${0%/*}
17 . "${source_path}/build/make/configure.sh"
172 [ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
180 if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; then
181 # test to see if source_path already configured
182 if [ -f "${source_path}/vpx_config.h" ]; then
215 [ -d "${source_path}/../include" ] && enable_feature alt_tree_layout
217 [ -d "${source_path}/${d}" ] && disable_feature alt_tree_layout;
222 [ -d "${source_path}/vp
[all...]
/external/libvpx/libvpx/
H A Dconfigure15 #source_path="`dirname \"$0\"`"
16 source_path=${0%/*}
17 . "${source_path}/build/make/configure.sh"
161 [ -f ${source_path}/${t}.mk ] && enable_feature ${t}
169 if [ "`cd ${source_path} && pwd`" != "`pwd`" ]; then
170 # test to see if source_path already configured
171 if [ -f ${source_path}/vpx_config.h ]; then
204 [ -d ${source_path}/../include ] && enable_feature alt_tree_layout
206 [ -d ${source_path}/${d} ] && disable_feature alt_tree_layout;
211 [ -d ${source_path}/vp
[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.cc34 const base::FilePath& source_path,
39 return new CopyTreeWorkItem(source_path, dest_path, temp_dir,
79 const base::FilePath& source_path,
83 return new MoveTreeWorkItem(source_path,
33 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
78 CreateMoveTreeWorkItem( const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, MoveTreeOption duplicate_option) argument
/external/chromium_org/tools/telemetry/telemetry/web_components/
H A Dweb_components_project.py13 for source_path in source_paths:
14 for dirpath, _, filenames in os.walk(source_path):
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Drefresh_servlet.py74 source_path = parts[1]
76 source_path = None
79 (source_name, '' if source_path is None else '[%s]' % source_path))
99 refresh_future = data_source.Refresh(source_path)

Completed in 6488 milliseconds

12345