Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 25 of 77) sorted by relevance

1234

/external/cldr/tools/java/org/unicode/cldr/tool/
Dmodify_config.txt1 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g…
2 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g…
3 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-m…
4 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-m…
5 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-acre"]/un…
6 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-acre"]/un…
7 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]…
8 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]…
9 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-square-ce…
10 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-square-ce…
[all …]
/external/ltp/testcases/kernel/fs/mongo/
Dmongo_slinks.c23 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/
Dfile_path.cc309 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 …]
Dfile_util.cc275 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/
Dzip_file_throttler.py49 new_path = os.path.join(os.path.dirname(file_info.path), new_name)
50 if os.path.exists(new_path):
51 utils_lib.LOG('File %s already exists, removing...' % new_path)
52 if not throttler_lib.try_delete_file_on_disk(new_path):
55 with tarfile.open(new_path, 'w:gz') as tar:
60 throttler_lib.try_delete_file_on_disk(new_path)
65 os.utime(new_path, (stat.st_atime, stat.st_mtime))
Dshrink_file_throttler.py74 new_path = os.path.join(os.path.dirname(file_info.path),
77 with open(new_path, 'w') as new_file, open(file_info.path) as old_file:
109 throttler_lib.try_delete_file_on_disk(new_path)
113 os.rename(new_path, file_info.path)
/external/ltp/testcases/kernel/fs/iso9660/
Disofs.sh24 local new_path
29 new_path="$cur_path/subdir_$i"
30 mkdir -p "$new_path"
31 ROD_SILENT dd if=/dev/urandom of="$new_path/file" bs=1024 count=100
32 gen_fs_tree "$new_path" $((cur_depth + 1))
/external/python/cpython3/Tools/scripts/
Dupdate_file.py13 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/python/setuptools/setuptools/
Dsite-patch.py53 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/llvm-project/compiler-rt/test/asan/Unit/
Dlit.site.cfg.py.in9 def push_ld_library_path(config, new_path): argument
11 (new_path, config.environment.get('LD_LIBRARY_PATH', '')))
16 (new_path, config.environment.get('LD_32_LIBRARY_PATH', '')))
21 (new_path, config.environment.get('LD_LIBRARY_PATH_32', '')))
25 (new_path, config.environment.get('LD_LIBRARY_PATH_64', '')))
/external/llvm-project/lldb/source/Host/common/
DProcessLaunchInfo.cpp276 std::string new_path("PATH=\""); in ConvertArgumentsForLaunchingInShell() local
277 const size_t empty_path_len = new_path.size(); in ConvertArgumentsForLaunchingInShell()
280 new_path += working_dir.GetPath(); in ConvertArgumentsForLaunchingInShell()
284 new_path += cwd; in ConvertArgumentsForLaunchingInShell()
288 if (new_path.size() > empty_path_len) in ConvertArgumentsForLaunchingInShell()
289 new_path += ':'; in ConvertArgumentsForLaunchingInShell()
290 new_path += curr_path; in ConvertArgumentsForLaunchingInShell()
292 new_path += "\" "; in ConvertArgumentsForLaunchingInShell()
293 shell_command.PutCString(new_path); in ConvertArgumentsForLaunchingInShell()
/external/llvm-project/lldb/source/Target/
DPathMappingList.cpp148 ConstString &new_path) const { in RemapPath()
151 new_path.SetString(remapped); in RemapPath()
158 std::string &new_path) const { in RemapPath()
181 new_path = remapped.GetPath(); in RemapPath()
246 ConstString new_path, bool notify) { in Replace() argument
250 m_pairs[idx].second = new_path; in Replace()
297 ConstString &new_path) const { in GetPathsAtIndex()
300 new_path = m_pairs[idx].second; in GetPathsAtIndex()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp55 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/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp56 const path new_path = static_env.Dir; in TEST_CASE() local
57 current_path(new_path); in TEST_CASE()
58 TEST_CHECK(current_path() == new_path); in TEST_CASE()
/external/llvm-project/lldb/include/lldb/Target/
DPathMappingList.h50 ConstString &new_path) const;
64 bool RemapPath(ConstString path, ConstString &new_path) const;
81 bool RemapPath(llvm::StringRef path, std::string &new_path) const;
/external/fonttools/Tests/cu2qu/
Dcli_test.py24 new_path = tmpdir / path.basename
25 path.copy(new_path)
26 result.append(new_path)
/external/autotest/client/cros/audio/
Daudio_test_data.py87 new_path = path
93 new_path = (original_path_without_ext + '_' + '_'.join(
121 path_dst=new_path,
131 path=new_path,
/external/autotest/site_utils/lxc/
Dcontainer.py203 def clone(cls, src, new_name=None, new_path=None, snapshot=False, argument
221 if new_path is None:
222 new_path = src.container_path
226 tempfile.mkdtemp(dir=new_path, prefix='container.'))
230 container_folder = os.path.join(new_path, new_name)
235 container = Container.create_from_existing_dir(new_path,
252 new_container = cls(new_path, new_name, {}, src, snapshot)
/external/llvm-project/compiler-rt/test/asan/
Dlit.cfg.py27 def push_dynamic_library_lookup_path(config, new_path): argument
36 (new_path, config.environment.get(dynamic_library_lookup_var, '')))
42 (new_path, config.environment.get(dynamic_library_lookup_var, '')))
48 (new_path, config.environment.get(dynamic_library_lookup_var, '')))
53 (new_path, config.environment.get(dynamic_library_lookup_var, '')))
/external/llvm-project/libcxx/utils/libcxx/test/
Dtarget_info.py38 def add_path(self, dest_env, new_path): argument
39 if not new_path:
42 dest_env['PATH'] = new_path
45 dest_env['PATH'] = '%s%s%s' % (new_path, split_char,
/external/curl/lib/
Dcookie.c304 char *new_path = strdup(cookie_path); in sanitize_cookie_path() local
305 if(!new_path) in sanitize_cookie_path()
309 len = strlen(new_path); in sanitize_cookie_path()
310 if(new_path[0] == '\"') { in sanitize_cookie_path()
311 memmove((void *)new_path, (const void *)(new_path + 1), len); in sanitize_cookie_path()
314 if(len && (new_path[len - 1] == '\"')) { in sanitize_cookie_path()
315 new_path[len - 1] = 0x0; in sanitize_cookie_path()
320 if(new_path[0] != '/') { in sanitize_cookie_path()
322 free(new_path); in sanitize_cookie_path()
323 new_path = strdup("/"); in sanitize_cookie_path()
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dshell_util.py16 def ScopedChangeDir(new_path): argument
18 _os.chdir(new_path)
/external/python/cpython3/Lib/zoneinfo/
D_tzpath.py89 new_path = os.path.normpath(path)
90 if len(new_path) != len(path):
95 resolved = os.path.normpath(os.path.join(_base, new_path))
/external/llvm-project/lldb/source/Utility/
DFileSpec.cpp422 llvm::SmallString<64> new_path(component); in PrependPathComponent() local
425 llvm::sys::path::append(new_path, in PrependPathComponent()
428 SetFile(new_path, m_style); in PrependPathComponent()
431 void FileSpec::PrependPathComponent(const FileSpec &new_path) { in PrependPathComponent() argument
432 return PrependPathComponent(new_path.GetPath(false)); in PrependPathComponent()
442 void FileSpec::AppendPathComponent(const FileSpec &new_path) { in AppendPathComponent() argument
443 return AppendPathComponent(new_path.GetPath(false)); in AppendPathComponent()
/external/rust/crates/which/src/
Dfinder.rs37 let mut new_path = PathBuf::from(cwd.as_ref()); in to_absolute() localVariable
38 new_path.push(self); in to_absolute()
39 new_path in to_absolute()

1234