HomeSort by relevance Sort by last modified time
    Searched refs:old_path (Results 1 - 25 of 31) sorted by null

1 2

  /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/elfutils/tests/
test-wrapper.sh 41 old_path="${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
50 LD_LIBRARY_PATH="$built_library_path$old_path"
55 LD_LIBRARY_PATH="${libdir}:${libdir}/elfutils$old_path"
  /external/webrtc/webrtc/base/
fileutils.h 150 // This moves a file from old_path to new_path, where "old_path" is a
151 // plain file. This ASSERTs and returns false if old_path points to a
155 virtual bool MoveFolder(const Pathname &old_path,
158 // This moves a directory from old_path to new_path, where "old_path" is a
159 // directory. This ASSERTs and returns false if old_path points to a plain
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)
    [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);
53 // This copies a file from old_path to _new_path
55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
unixfilesystem.cc 222 bool UnixFilesystem::MoveFile(const Pathname &old_path,
224 if (!IsFile(old_path)) {
225 ASSERT(IsFile(old_path));
228 LOG(LS_VERBOSE) << "Moving " << old_path.pathname()
230 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) {
233 if (!CopyFile(old_path, new_path))
235 if (!DeleteFile(old_path))
241 bool UnixFilesystem::MoveFolder(const Pathname &old_path,
243 if (!IsFolder(old_path)) {
244 ASSERT(IsFolder(old_path));
    [all...]
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;
70 // This copies a file from old_path to _new_path where "file" can be a plain
73 bool CopyFile(const Pathname& old_path, const Pathname& new_path) override;
win32filesystem.cc 231 bool Win32Filesystem::MoveFile(const Pathname &old_path,
233 if (!IsFile(old_path)) {
234 ASSERT(IsFile(old_path));
237 LOG(LS_INFO) << "Moving " << old_path.pathname()
239 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(),
243 bool Win32Filesystem::MoveFolder(const Pathname &old_path,
245 if (!IsFolder(old_path)) {
246 ASSERT(IsFolder(old_path));
249 LOG(LS_INFO) << "Moving " << old_path.pathname()
251 if (::MoveFile(ToUtf16(old_path.pathname()).c_str()
    [all...]
fileutils.cc 156 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
159 VERIFY(IsFolder(old_path));
163 old_dir.SetFolder(old_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/chromium-trace/catapult/common/py_utils/py_utils/
shell_util.py 15 old_path = _os.getcwd()
21 _os.chdir(old_path)
22 print '> cd', old_path
  /external/webrtc/tools/valgrind-webrtc/drmemory/
PRESUBMIT.py 27 old_path = sys.path
33 sys.path = old_path
  /external/ltp/testcases/kernel/fs/mongo/
mongo_slinks.c 22 char *old_path; local
40 old_path = strtok(line_buffer, "\t ");
43 if (!old_path || !new_path) /* empty lines at the end of file */
47 if (symlink(old_path, new_path) != 0) {
  /external/skia/infra/bots/
win_toolchain_utils.py 51 def abstract(win_toolchain_json, old_path):
53 _replace_in_file(win_toolchain_json, old_path, PLACEHOLDER)
  /external/pdfium/core/fpdfapi/page/
cpdf_clippath.cpp 85 const CPDF_Path& old_path = pData->m_PathAndTypeList.back().first; local
86 if (old_path.IsRect()) {
87 CFX_PointF point0 = old_path.GetPoint(0);
88 CFX_PointF point2 = old_path.GetPoint(2);
  /system/extras/simpleperf/scripts/
app_profiler.py 230 old_path = filename_dict.get(file)
232 if self._is_lib_better(path, old_path):
233 log_info('%s is better than %s' % (path, old_path))
236 log_info('%s is worse than %s' % (path, old_path))
253 def _is_lib_better(self, new_path, old_path):
255 if old_path is None:
259 result2 = old_path.find('armeabi-v7a') != -1
264 result2 = old_path.find(arch_dir) != -1
268 result2 = old_path.find('obj/') != -1
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_posixpath.py 227 old_path = abspath('.')
240 os.chdir(old_path)
251 old_path = abspath('.')
259 os.chdir(old_path)
273 old_path = abspath('.')
286 os.chdir(old_path)
297 old_path = abspath('.')
307 os.chdir(old_path)
  /frameworks/compile/mclinker/lib/MC/
MCLDDirectory.cpp 89 std::string old_path = Directory::m_Path.native(); local
92 Directory::m_Path.native() += old_path;
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_posixpath.py 252 old_path = abspath('.')
281 os.chdir(old_path)
303 old_path = abspath('.')
315 os.chdir(old_path)
326 old_path = abspath('.')
334 os.chdir(old_path)
348 old_path = abspath('.')
361 os.chdir(old_path)
372 old_path = abspath('.')
382 os.chdir(old_path)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_posixpath.py 252 old_path = abspath('.')
281 os.chdir(old_path)
303 old_path = abspath('.')
315 os.chdir(old_path)
326 old_path = abspath('.')
334 os.chdir(old_path)
348 old_path = abspath('.')
361 os.chdir(old_path)
372 old_path = abspath('.')
382 os.chdir(old_path)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_posixpath.py 252 old_path = abspath('.')
281 os.chdir(old_path)
303 old_path = abspath('.')
315 os.chdir(old_path)
326 old_path = abspath('.')
334 os.chdir(old_path)
348 old_path = abspath('.')
361 os.chdir(old_path)
372 old_path = abspath('.')
382 os.chdir(old_path)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_posixpath.py 252 old_path = abspath('.')
281 os.chdir(old_path)
303 old_path = abspath('.')
315 os.chdir(old_path)
326 old_path = abspath('.')
334 os.chdir(old_path)
348 old_path = abspath('.')
361 os.chdir(old_path)
372 old_path = abspath('.')
382 os.chdir(old_path)
    [all...]
  /external/trappy/tests/
test_results.py 59 old_path = os.path.join(self.out_dir, "results.csv")
61 os.rename(old_path, new_path)
  /external/python/cpython2/PC/VS9.0/
build_ssl.py 182 old_path = os.environ['PATH']
183 os.environ['PATH'] = os.pathsep.join([nasm_dir, old_path])

Completed in 437 milliseconds

1 2