Home
last modified time | relevance | path

Searched refs:realpath (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/external/python/cpython2/Lib/test/
Dtest_posixpath.py8 from posixpath import realpath, abspath, dirname, basename
305 self.assertEqual(realpath('.'), os.getcwd())
306 self.assertEqual(realpath('./.'), os.getcwd())
307 self.assertEqual(realpath('/'.join(['.'] * 100)), os.getcwd())
311 self.assertEqual(realpath('..'), dirname(os.getcwd()))
312 self.assertEqual(realpath('../..'), dirname(dirname(os.getcwd())))
313 self.assertEqual(realpath('/'.join(['..'] * 100)), '/')
320 self.assertEqual(realpath(ABSTFN), ABSTFN+"1")
329 self.assertEqual(realpath(ABSTFN), ABSTFN)
333 self.assertEqual(realpath(ABSTFN+"1"), ABSTFN+"1")
[all …]
/external/python/cpython3/Lib/test/
Dtest_posixpath.py5 from posixpath import realpath, abspath, dirname, basename
298 self.assertEqual(realpath('.'), os.getcwd())
299 self.assertEqual(realpath('./.'), os.getcwd())
300 self.assertEqual(realpath('/'.join(['.'] * 100)), os.getcwd())
302 self.assertEqual(realpath(b'.'), os.getcwdb())
303 self.assertEqual(realpath(b'./.'), os.getcwdb())
304 self.assertEqual(realpath(b'/'.join([b'.'] * 100)), os.getcwdb())
308 self.assertEqual(realpath('..'), dirname(os.getcwd()))
309 self.assertEqual(realpath('../..'), dirname(dirname(os.getcwd())))
310 self.assertEqual(realpath('/'.join(['..'] * 100)), '/')
[all …]
/external/autotest/site_utils/
Dtest_droid.py30 os.path.dirname(os.path.dirname(os.path.realpath(__file__))),
111 os.path.realpath(__file__)))
113 realpath = os.path.realpath(__file__)
114 site_utils_path = os.path.realpath(site_utils_path)
Dtest_that.py284 realpath = os.path.realpath(__file__)
285 site_utils_path = os.path.realpath(site_utils_path)
290 if os.path.dirname(realpath) != site_utils_path:
314 autotest_path = os.path.realpath(os.path.join(
315 os.path.dirname(os.path.realpath(__file__)),
/external/toolchain-utils/android_bench_suite/
Dapply_patches.py27 os.path.dirname(os.path.realpath(__file__)), 'skia_aosp.diff')
44 os.path.dirname(os.path.realpath(__file__)), 'autotest.diff')
63 os.path.dirname(os.path.realpath(__file__)), 'panorama.diff')
85 os.path.dirname(os.path.realpath(__file__)), 'synthmark.diff')
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_linux.py67 bus, dev = os.path.basename(os.path.realpath(sysfs_path)).split('-')
80 base = os.path.basename(os.path.realpath(sysfs_path))
107 sys_usb = os.path.dirname(os.path.dirname(os.path.realpath(sys_dev_path)))
117 product_name_file = os.path.dirname(os.path.realpath(sys_dev_path)) + "/product"
134 sys_usb = os.path.dirname(os.path.dirname(os.path.realpath(sys_dev_path)))
/external/flatbuffers/android/jni/
Dinclude.mk41 realpath-portable = $(join $(filter %:,$(subst :,: ,$1)),\
42 $(realpath $(filter-out %:,$(subst :,: ,$1))))
57 $(call realpath-portable,$(dir $(lastword $(MAKEFILE_LIST)))/../..)
81 $(call realpath-portable,$(LOCAL_PATH)/../../../../../../prebuilts/cmake)
186 realpath-portable,$(LOCAL_PATH)/$1))
/external/autotest/bin/
Dpython_venv31 realpath() { function
40 local create_venv=$(realpath "${p}/bin/create_venv")
58 readonly extra_imports_dir=$(realpath ../venv)
/external/autotest/skylab_migration/bin/
Dpython_venv32 realpath() { function
41 local create_venv=$(realpath "${p}/bin/create_venv")
59 readonly extra_imports_dir=$(realpath ../venv)
/external/syslinux/core/fs/
Dchdir.c18 realpath(dst, src, FILENAME_MAX); in pm_realpath()
58 __export size_t realpath(char *dst, const char *src, size_t bufsize) in realpath() function
66 if (this_fs->fs_ops->realpath) { in realpath()
67 s = this_fs->fs_ops->realpath(this_fs, dst, src, bufsize); in realpath()
/external/ltp/android/tools/
Dgen_android_build.sh18 TOOLS_DIR=$(realpath $(dirname $0))
19 LTP_ANDROID_DIR=$(realpath $TOOLS_DIR/..)
20 LTP_ROOT=$(realpath $LTP_ANDROID_DIR/..)
Ddump_make_dryrun.sh18 TOOLS_DIR=$(realpath $(dirname $0))
19 LTP_ROOT=$(realpath $TOOLS_DIR/../..)
/external/skia/infra/bots/assets/skp/
Dcreate.py28 browser_executable = os.path.realpath(browser_executable)
29 chrome_src_path = os.path.realpath(chrome_src_path)
30 target_dir = os.path.realpath(target_dir)
/external/skqp/infra/bots/assets/skp/
Dcreate.py28 browser_executable = os.path.realpath(browser_executable)
29 chrome_src_path = os.path.realpath(chrome_src_path)
30 target_dir = os.path.realpath(target_dir)
/external/swiftshader/third_party/LLVM/
DMakefile.config.in42 # The macro below is expanded when 'realpath' is not built-in.
43 # Built-in 'realpath' is available on GNU Make 3.81.
44 realpath = $(shell cd $(1); $(PWD))
46 PROJ_OBJ_DIR := $(call realpath, .)
47 PROJ_OBJ_ROOT := $(call realpath, $(PROJ_OBJ_DIR)/$(LEVEL))
50 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@)
51 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@)
53 PROJ_SRC_DIR := $(call realpath, $(LLVM_SRC_ROOT)/$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR)…
73 PROJ_SRC_DIR := $(call realpath, $(PROJ_SRC_ROOT)/$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR)))
/external/v8/tools/clang/scripts/
Dapply_edits.py28 script_dir = os.path.dirname(os.path.realpath(__file__))
54 return [os.path.realpath(p) for p in output.splitlines()]
76 resolved_path = os.path.realpath(os.path.join(build_directory, path))
217 if os.path.realpath(k) in filenames})
Dtest_tool.py107 tools_clang_scripts_directory = os.path.dirname(os.path.realpath(__file__))
121 os.path.realpath(os.path.join(tools_clang_directory, '../..')))
125 os.path.realpath(os.path.join(tools_clang_directory,
129 os.path.realpath(os.path.join(tools_clang_directory,
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dtest_user_ops.sh130 OP_KERNEL_CC=$(realpath "${OP_KERNEL_CC}")
169 OP_KERNEL_CU=$(realpath "${OP_KERNEL_CU}")
175 OP_KERNEL_CC=$(realpath "${OP_KERNEL_CC}")
/external/valgrind/none/tests/darwin/
Dapple-main-arg.c26 realpath(argv[0], pargv); in main()
27 realpath(apple[0], pappl); in main()
/external/toolchain-utils/
Dtc_enter_chroot.py28 self.external_dir = os.path.realpath(external_dir)
29 self.mount_dir = os.path.realpath(mount_dir)
171 version_dir = os.path.realpath(os.path.expanduser(os.path.dirname(__file__)))
298 if os.path.realpath(real_from_file) != os.path.realpath(link_name):
/external/libcxx/
Drun_tests.py26 THIS_DIR = os.path.dirname(os.path.realpath(__file__))
27 ANDROID_DIR = os.path.realpath(os.path.join(THIS_DIR, '../..'))
131 real_path = os.path.realpath(arg)
/external/valgrind/
Dexp-sgcheck.supp10 glibc realpath false positive
12 fun:realpath
/external/deqp/scripts/
Dcppcheck.py136 fullDstFile = os.path.realpath(dstFile)
159 srcDir = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")))
/external/python/cpython2/Lib/unittest/
Dloader.py259 realpath = os.path.splitext(os.path.realpath(mod_file))[0]
260 fullpath_noext = os.path.splitext(os.path.realpath(full_path))[0]
261 if realpath.lower() != fullpath_noext.lower():
262 module_dir = os.path.dirname(realpath)
/external/v8/gypfiles/
Dgyp_v843 script_dir = os.path.dirname(os.path.realpath(__file__))
85 specified_includes.add(os.path.realpath(arg[2:]))
89 if os.path.realpath(path) not in specified_includes:

12345678910>>...19