/bionic/libc/bionic/ |
link.cpp | 32 int link(const char* old_path, const char* new_path) { 33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0);
|
rename.cpp | 32 int rename(const char* old_path, const char* new_path) { 33 return renameat(AT_FDCWD, old_path, AT_FDCWD, new_path);
|
symlink.cpp | 32 int symlink(const char* old_path, const char* new_path) { 33 return symlinkat(old_path, AT_FDCWD, new_path);
|
/external/compiler-rt/test/asan/Unit/ |
lit.site.cfg.in | 9 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/ |
main.py | 51 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/ |
fileutils.h | 150 // 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) { 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) = 0 [all...] |
win32filesystem.h | 42 // 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);
|
unixfilesystem.h | 64 // 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;
|
unixfilesystem.cc | 223 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.pathname() [all...] |
win32filesystem.cc | 232 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;
|
fileutils.cc | 157 const Pathname &new_path) { 161 new_dir.SetFolder(new_path.pathname()); 176 dest.SetFolder(new_path.pathname());
|
fileutils_mock.h | 177 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) { 181 bool MoveFile(const Pathname &old_path, const Pathname &new_path) { 185 bool CopyFile(const Pathname &old_path, const Pathname &new_path) {
|
/external/autotest/client/cros/audio/ |
audio_test_data.py | 64 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/ |
file_util.cc | 249 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)))) {
|
file_path.cc | 308 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.StripTrailingSeparatorsInternal() [all...] |
/external/curl/lib/ |
cookie.c | 222 char *new_path = strdup(cookie_path); local 223 if(!new_path) 227 len = strlen(new_path); 228 if(new_path[0] == '\"') { 229 memmove((void *)new_path, (const void *)(new_path + 1), len); 232 if(len && (new_path[len - 1] == '\"')) { 233 new_path[len - 1] = 0x0; 238 if(new_path[0] != '/') { 240 free(new_path); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/iam/ |
connection.py | 187 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/ipsec-tools/src/racoon/ |
remoteconf.c | 638 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/opencv/otherlibs/highgui/ |
loadsave.cpp | 129 char* new_path = new char[new_size]; 133 memcpy( new_path, m_path, m_len ); 137 m_path = new_path;
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_dumper.cc | 453 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/autotest/client/cros/cellular/ |
cell_tools.py | 251 new_path = _WaitForModemToReturn( 254 if not _IsCdmaModemConfiguredCorrectly(manager, new_path): 256 return new_path
|
/system/update_engine/ |
p2p_manager.cc | 625 FilePath new_path = path.RemoveExtension(); local 626 LOG_ASSERT(new_path.MatchesExtension(kP2PExtension)); 627 if (rename(path.value().c_str(), new_path.value().c_str()) != 0) { 629 << " to " << new_path.value();
|
/bootable/recovery/ |
recovery.cpp | 789 char new_path[PATH_MAX]; local 790 strlcpy(new_path, path, PATH_MAX); 791 strlcat(new_path, "/", PATH_MAX); 792 strlcat(new_path, item, PATH_MAX); 796 new_path[strlen(new_path)-1] = '\0'; // truncate the trailing '/' 797 result = browse_directory(new_path, device); 801 result = strdup(new_path); [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
migrate_test_names.py | 151 new_path = _GetNewTestPath(old_path, new_pattern) 152 new_path_parts = new_path.split('/')
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
manpage.py | 189 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" [all...] |