/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | modify_config.txt | 1 locale=ia; action=add; new_path=//ldml/dates/calendars/calendar[@type="gregorian"]/dateTimeFormats/… 2 locale=ia; action=add; new_path=//ldml/dates/calendars/calendar[@type="gregorian"]/dateTimeFormats/… 3 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="year"]/relativeTime[@type="future"… 4 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="year"]/relativeTime[@type="past"]/… 5 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="year-short"]/relativeTime[@type="f… 6 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="year-short"]/relativeTime[@type="p… 7 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="year-narrow"]/relativeTime[@type="… 8 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="year-narrow"]/relativeTime[@type="… 9 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="quarter"]/relativeTime[@type="futu… 10 locale=ia; action=add; new_path=//ldml/dates/fields/field[@type="quarter"]/relativeTime[@type="past… [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | filepath.cc | 17 FilePath new_path(path_); in DirName() local 20 new_path.path_.find_last_of(kSeparators, std::string::npos); in DirName() 25 new_path.path_.resize(letter + 1); in DirName() 28 new_path.path_.resize(letter + 2); in DirName() 30 IsSeparator(new_path.path_[letter + 1])) { in DirName() 33 new_path.path_.resize(letter + 3); in DirName() 36 new_path.path_.resize(last_separator); in DirName() 38 new_path.StripTrailingSeparatorsInternal(); in DirName() 39 if (!new_path.path_.length()) in DirName() 40 new_path.path_ = kCurrentDirectory; in DirName() [all …]
|
/external/webrtc/webrtc/base/ |
D | fileutils.h | 156 const Pathname &new_path) = 0; 163 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0; 167 bool MoveFileOrFolder(const Pathname &old_path, const Pathname &new_path) { in MoveFileOrFolder() argument 169 return MoveFile(old_path, new_path); in MoveFileOrFolder() 171 return MoveFolder(old_path, new_path); in MoveFileOrFolder() 178 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path) = 0; 181 bool CopyFolder(const Pathname &old_path, const Pathname &new_path); 183 bool CopyFileOrFolder(const Pathname &old_path, const Pathname &new_path) { in CopyFileOrFolder() argument 185 return CopyFile(old_path, new_path); in CopyFileOrFolder() 187 return CopyFolder(old_path, new_path); in CopyFileOrFolder() [all …]
|
D | unixfilesystem.cc | 223 const Pathname &new_path) { in MoveFile() argument 229 << " to " << new_path.pathname(); in MoveFile() 230 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) { in MoveFile() 233 if (!CopyFile(old_path, new_path)) in MoveFile() 242 const Pathname &new_path) { in MoveFolder() argument 248 << " to " << new_path.pathname(); in MoveFolder() 249 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) { in MoveFolder() 252 if (!CopyFolder(old_path, new_path)) in MoveFolder() 268 const Pathname &new_path) { in CopyFile() argument 270 << " to " << new_path.pathname(); in CopyFile() [all …]
|
D | win32filesystem.cc | 232 const Pathname &new_path) { in MoveFile() argument 238 << " to " << new_path.pathname(); in MoveFile() 240 ToUtf16(new_path.pathname()).c_str()) != 0; in MoveFile() 244 const Pathname &new_path) { in MoveFolder() argument 250 << " to " << new_path.pathname(); in MoveFolder() 252 ToUtf16(new_path.pathname()).c_str()) == 0) { in MoveFolder() 257 if (!CopyFolder(old_path, new_path)) in MoveFolder() 292 const Pathname &new_path) { in CopyFile() argument 294 ToUtf16(new_path.pathname()).c_str(), TRUE) != 0; in CopyFile()
|
D | win32filesystem.h | 46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path); 55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
|
D | unixfilesystem.h | 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;
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo_slinks.c | 23 char *new_path; in main() local 41 new_path = strtok(NULL, "\t\n "); in main() 43 if (!old_path || !new_path) /* empty lines at the end of file */ in main() 47 if (symlink(old_path, new_path) != 0) { in main() 52 if (lstat(new_path, &statbuf) == -1) { in main() 59 new_path); in main() 69 num = readlink(new_path, buffer, size); in main()
|
/external/libchrome/base/files/ |
D | file_path.cc | 309 FilePath new_path(path_); in DirName() local 310 new_path.StripTrailingSeparatorsInternal(); in DirName() 316 StringType::size_type letter = FindDriveLetter(new_path.path_); in DirName() 319 new_path.path_.find_last_of(kSeparators, StringType::npos, in DirName() 323 new_path.path_.resize(letter + 1); in DirName() 326 new_path.path_.resize(letter + 2); in DirName() 328 IsSeparator(new_path.path_[letter + 1])) { in DirName() 331 new_path.path_.resize(letter + 3); in DirName() 334 new_path.path_.resize(last_separator); in DirName() 337 new_path.StripTrailingSeparatorsInternal(); in DirName() [all …]
|
D | file_util.cc | 275 FilePath new_path; in GetUniquePathNumber() local 277 new_path = path.InsertBeforeExtensionASCII(StringPrintf(" (%d)", count)); in GetUniquePathNumber() 278 if (!PathExists(new_path) && in GetUniquePathNumber() 279 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) { in GetUniquePathNumber()
|
/external/autotest/client/bin/result_tools/ |
D | zip_file_throttler.py | 45 new_path = os.path.join(os.path.dirname(file_info.path), new_name) 46 if os.path.exists(new_path): 47 utils_lib.LOG('File %s already exists, removing...' % new_path) 48 if not throttler_lib.try_delete_file_on_disk(new_path): 51 with tarfile.open(new_path, 'w:gz') as tar: 56 throttler_lib.try_delete_file_on_disk(new_path) 61 os.utime(new_path, (stat.st_atime, stat.st_mtime))
|
D | shrink_file_throttler.py | 66 new_path = os.path.join(os.path.dirname(file_info.path), 69 with open(new_path, 'w') as new_file, open(file_info.path) as old_file: 101 throttler_lib.try_delete_file_on_disk(new_path) 105 os.rename(new_path, file_info.path)
|
/external/python/setuptools/setuptools/ |
D | site-patch.py | 53 new_path = [] 60 insert_at = len(new_path) 63 new_path.append(item) 66 new_path.insert(insert_at, item) 69 sys.path[:] = new_path
|
/external/python/cpython3/Tools/scripts/ |
D | update_file.py | 13 def main(old_path, new_path): argument 16 with open(new_path, 'rb') as f: 19 os.replace(new_path, old_path) 21 os.unlink(new_path)
|
/external/ltp/testcases/kernel/fs/iso9660/ |
D | isofs.sh | 61 local new_path="$cur_path/subdir_$i" 63 mkdir -p "$new_path" 65 dd if=/dev/urandom of="$new_path/file" bs=1024 count=100 >/dev/null 2>&1 67 gen_fs_tree "$new_path" $((cur_depth + 1))
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | exporter.py | 62 new_path = os.path.join( 64 logging.info("Copying asset %s to path %s.", source_filepath, new_path) 66 if gfile.Exists(new_path): 70 logging.info("Removing file %s.", new_path) 71 gfile.Remove(new_path) 72 gfile.Copy(source_filepath, new_path)
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/ |
D | current_path.pass.cpp | 55 const path new_path = StaticEnv::Dir; in TEST_CASE() local 56 current_path(new_path); in TEST_CASE() 57 TEST_CHECK(current_path() == new_path); in TEST_CASE()
|
/external/autotest/site_utils/lxc/ |
D | container.py | 208 def clone(cls, src, new_name=None, new_path=None, snapshot=False, argument 226 if new_path is None: 227 new_path = src.container_path 231 tempfile.mkdtemp(dir=new_path, prefix='container.')) 235 container_folder = os.path.join(new_path, new_name) 240 container = Container.create_from_existing_dir(new_path, 257 new_container = cls(new_path, new_name, {}, src, snapshot)
|
D | container_unittest.py | 140 new_path=self.test_dir, 155 new_path=self.test_dir, 160 new_path=self.test_dir, 168 new_path=self.test_dir, 178 new_path=self.test_dir, 338 new_path=self.test_dir,
|
D | base_image_unittest.py | 54 new_path=test_dir, 78 new_path=test_dir, 168 new_path=test_dir,
|
/external/curl/lib/ |
D | cookie.c | 301 char *new_path = strdup(cookie_path); in sanitize_cookie_path() local 302 if(!new_path) in sanitize_cookie_path() 306 len = strlen(new_path); in sanitize_cookie_path() 307 if(new_path[0] == '\"') { in sanitize_cookie_path() 308 memmove((void *)new_path, (const void *)(new_path + 1), len); in sanitize_cookie_path() 311 if(len && (new_path[len - 1] == '\"')) { in sanitize_cookie_path() 312 new_path[len - 1] = 0x0; in sanitize_cookie_path() 317 if(new_path[0] != '/') { in sanitize_cookie_path() 319 free(new_path); in sanitize_cookie_path() 320 new_path = strdup("/"); in sanitize_cookie_path() [all …]
|
/external/autotest/client/cros/audio/ |
D | audio_test_data.py | 86 new_path = path 92 new_path = (original_path_without_ext + '_' + 121 path_dst=new_path, 130 new_test_data = AudioTestData(path=new_path,
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | shell_util.py | 14 def ScopedChangeDir(new_path): argument 16 _os.chdir(new_path)
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 314 new_path = os.path.join(TEST_DIR, 'a', 'spam.py') 317 replace_paths=[(old_path, new_path)]) 319 expected = "co_filename %r changed to %r" % (old_path, new_path)
|
/external/ipsec-tools/src/racoon/ |
D | 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;
|