Searched refs:new_path (Results 1 - 25 of 54) sorted by relevance

123

/external/compiler-rt/test/asan/Unit/
H A Dlit.site.cfg.in9 def push_ld_library_path(config, new_path):
11 (new_path, config.environment.get('LD_LIBRARY_PATH', '')))
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
H A Dmain.py51 new_path = self.request.path
52 if not new_path.endswith("/"):
53 new_path += "/"
54 new_path += "status"
55 self.redirect(new_path)
/external/webrtc/webrtc/base/
H A Dfileutils.h150 // This moves a file from old_path to new_path, where "old_path" is a
156 const Pathname &new_path) = 0;
158 // This moves a directory from old_path to new_path, where "old_path" is a
163 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0;
165 // This attempts to move whatever is located at old_path to new_path,
167 bool MoveFileOrFolder(const Pathname &old_path, const Pathname &new_path) { argument
169 return MoveFile(old_path, new_path);
171 return MoveFolder(old_path, new_path);
175 // This copies a file from old_path to new_path. This method ASSERTs and
178 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path)
183 CopyFileOrFolder(const Pathname &old_path, const Pathname &new_path) argument
315 MoveFolder(const Pathname &old_path, const Pathname &new_path) argument
319 MoveFile(const Pathname &old_path, const Pathname &new_path) argument
323 CopyFolder(const Pathname &old_path, const Pathname &new_path) argument
327 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
H A Dwin32filesystem.h42 // This moves a file from old_path to new_path. If the new path is on a
46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path);
48 // Moves a folder from old_path to new_path. If the new path is on a different
51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path);
55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
H A Dunixfilesystem.h64 // This moves a file from old_path to new_path, where "file" can be a plain
67 bool MoveFile(const Pathname& old_path, const Pathname& new_path) override;
68 bool MoveFolder(const Pathname& old_path, const Pathname& new_path) override;
73 bool CopyFile(const Pathname& old_path, const Pathname& new_path) override;
H A Dunixfilesystem.cc223 const Pathname &new_path) {
229 << " to " << new_path.pathname();
230 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) {
233 if (!CopyFile(old_path, new_path))
242 const Pathname &new_path) {
248 << " to " << new_path.pathname();
249 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) {
252 if (!CopyFolder(old_path, new_path))
268 const Pathname &new_path) {
270 << " to " << new_path
222 MoveFile(const Pathname &old_path, const Pathname &new_path) argument
241 MoveFolder(const Pathname &old_path, const Pathname &new_path) argument
267 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
H A Dwin32filesystem.cc232 const Pathname &new_path) {
238 << " to " << new_path.pathname();
240 ToUtf16(new_path.pathname()).c_str()) != 0;
244 const Pathname &new_path) {
250 << " to " << new_path.pathname();
252 ToUtf16(new_path.pathname()).c_str()) == 0) {
257 if (!CopyFolder(old_path, new_path))
292 const Pathname &new_path) {
294 ToUtf16(new_path.pathname()).c_str(), TRUE) != 0;
231 MoveFile(const Pathname &old_path, const Pathname &new_path) argument
243 MoveFolder(const Pathname &old_path, const Pathname &new_path) argument
291 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
H A Dfileutils.cc157 const Pathname &new_path) {
161 new_dir.SetFolder(new_path.pathname());
176 dest.SetFolder(new_path.pathname());
156 CopyFolder(const Pathname &old_path, const Pathname &new_path) argument
H A Dfileutils_mock.h177 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) { argument
181 bool MoveFile(const Pathname &old_path, const Pathname &new_path) { argument
185 bool CopyFile(const Pathname &old_path, const Pathname &new_path) { argument
/external/lldb/source/Target/
H A DPathMappingList.cpp181 PathMappingList::RemapPath (const ConstString &path, ConstString &new_path) const
197 new_path.SetCString(new_path_str.c_str());
205 PathMappingList::RemapPath (const char *path, std::string &new_path) const
217 new_path = pos->second.GetCString();
218 new_path.append(path + prefix_len);
231 char new_path[PATH_MAX]; local
244 const size_t new_path_len = snprintf(new_path, sizeof(new_path), "%s/%s", pos->second.GetCString(), orig_path + prefix_len);
245 if (new_path_len < sizeof(new_path))
247 new_spec.SetFile (new_path, tru
261 Replace(const ConstString &path, const ConstString &new_path, bool notify) argument
[all...]
/external/lldb/include/lldb/Target/
H A DPathMappingList.h72 GetPathsAtIndex (uint32_t idx, ConstString &path, ConstString &new_path) const;
97 RemapPath (const ConstString &path, ConstString &new_path) const;
100 /// Remaps a source file given \a path into \a new_path.
109 /// @param[out] new_path
113 /// /b true if \a path was successfully located and \a new_path
117 RemapPath (const char *path, std::string &new_path) const;
/external/autotest/client/cros/audio/
H A Daudio_test_data.py64 new_path = '/tmp/test_raw_48000_S32_LE_2.raw'
78 new_path = (original_path_without_ext + '_' +
87 path_dst=new_path,
94 new_test_data = AudioTestData(path=new_path,
/external/libchrome/base/files/
H A Dfile_util.cc249 FilePath new_path; local
251 new_path = path.InsertBeforeExtensionASCII(StringPrintf(" (%d)", count));
252 if (!PathExists(new_path) &&
253 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) {
H A Dfile_path.cc308 FilePath new_path(path_);
309 new_path.StripTrailingSeparatorsInternal();
315 StringType::size_type letter = FindDriveLetter(new_path.path_);
318 new_path.path_.find_last_of(kSeparators, StringType::npos,
322 new_path.path_.resize(letter + 1);
325 new_path.path_.resize(letter + 2);
327 IsSeparator(new_path.path_[letter + 1])) {
330 new_path.path_.resize(letter + 3);
333 new_path.path_.resize(last_separator);
336 new_path
[all...]
/external/curl/lib/
H A Dcookie.c226 char *new_path = strdup(cookie_path); local
227 if(!new_path)
231 len = strlen(new_path);
232 if(new_path[0] == '\"') {
233 memmove((void *)new_path, (const void *)(new_path + 1), len);
236 if(len && (new_path[len - 1] == '\"')) {
237 new_path[len - 1] = 0x0;
242 if(new_path[0] != '/') {
244 free(new_path);
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/iam/
H A Dconnection.py187 def update_group(self, group_name, new_group_name=None, new_path=None):
198 :type new_path: string
199 :param new_path: If provided, the path of the group will be
206 if new_path:
207 params['NewPath'] = new_path
389 def update_user(self, user_name, new_user_name=None, new_path=None):
400 :type new_path: string
401 :param new_path: If provided, the path of the user will be
408 if new_path:
409 params['NewPath'] = new_path
[all...]
/external/lldb/scripts/
H A Dbuild-llvm.pl231 my $new_path = "$original_env_path:$llvm_dstroot_arch_bin";
232 print "Setting new environment PATH = '$new_path'\n";
233 $ENV{PATH} = $new_path;
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_dumper.cc453 char new_path[NAME_MAX]; local
456 if (!SafeReadLink(exe_link, new_path))
458 if (my_strcmp(path, new_path) != 0)
465 sys_stat(new_path, &new_path_stat) == 0 &&
/external/ipsec-tools/src/racoon/
H A Dremoteconf.c638 vchar_t *new_path; local
650 if ((new_path = vmalloc(len)) == NULL) {
656 new_path->v[0] = '\0';
657 (void)strlcat(new_path->v, script_dir, len);
658 (void)strlcat(new_path->v, "/", len);
659 (void)strlcat(new_path->v, path->v, len);
662 path = new_path;
/external/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.cpp336 char new_path[PATH_MAX]; local
340 const size_t search_path_len = module_search_paths_ptr->GetFileSpecAtIndex(i).GetPath(new_path, sizeof(new_path));
341 if (search_path_len < sizeof(new_path))
343 snprintf (new_path + search_path_len, sizeof(new_path) - search_path_len, "/%s", platform_path + bundle_directory_len);
344 FileSpec new_file_spec (new_path, false);
/external/autotest/client/cros/cellular/
H A Dcell_tools.py251 new_path = _WaitForModemToReturn(
254 if not _IsCdmaModemConfiguredCorrectly(manager, new_path):
256 return new_path
/external/opencv/otherlibs/highgui/
H A Dloadsave.cpp129 char* new_path = new char[new_size];
133 memcpy( new_path, m_path, m_len );
137 m_path = new_path;
/external/chromium-trace/catapult/dashboard/dashboard/
H A Dmigrate_test_names.py154 new_path = _GetNewTestPath(old_path, new_pattern)
158 graph_data.TestMetadata, test, new_path, None, _TEST_EXCLUDE).put()
/external/selinux/policycoreutils/sepolicy/sepolicy/
H A Dmanpage.py189 self.new_path = self.old_path + self.os_version + "/"
204 if not os.path.isdir(self.new_path):
205 os.mkdir(self.new_path)
210 convert_manpage_to_html((self.new_path + d.split("_selinux")[0] + ".html"), self.old_path + d)
215 convert_manpage_to_html((self.new_path + r.split("_selinux")[0] + ".html"), self.old_path + r)
264 html = self.new_path + self.os_version + ".html"
/external/autotest/client/virt/
H A Dvirt_env_process.py321 new_path = f.replace(".ppm", ".png")
323 image.save(new_path, format='PNG')

Completed in 590 milliseconds

123