/external/e2fsprogs/util/ |
D | symlinks.c | 121 static int shorten_path (char *path, char *abspath) in shorten_path() argument 128 while (abspath && strlen(abspath) > 1 && (p = strstr(path,"../"))) { in shorten_path() 147 a = abspath + strlen(abspath) - 1; in shorten_path() 149 if (a <= abspath) in shorten_path() 152 if (a <= abspath) in shorten_path() 168 static char lpath[PATH_MAX], new[PATH_MAX], abspath[PATH_MAX]; in fix_symlink() local 180 abspath[0] = '\0'; in fix_symlink() 182 strcat(abspath,path); in fix_symlink() 183 c = strlen(abspath); in fix_symlink() 184 if ((c > 0) && (abspath[c-1] == '/')) in fix_symlink() [all …]
|
/external/python/cpython2/PC/VC6/ |
D | build_tkinter.py | 13 def abspath(name): function 15 return os.path.abspath(os.path.join(__file__, par, par, par, par, name)) 17 TCL_DIR = abspath("tcl%d.%d.%d" % (TCL_MAJOR, TCL_MINOR, TCL_PATCH)) 18 TK_DIR = abspath("tk%d.%d.%d" % (TCL_MAJOR, TCL_MINOR, TCL_PATCH)) 19 TIX_DIR = abspath("tix%d.%d.%d" % (TIX_MAJOR, TIX_MINOR, TIX_PATCH)) 20 OUT_DIR = abspath("tcltk")
|
/external/python/cpython2/Tools/scripts/ |
D | patchcheck.py | 108 abspath = os.path.join(SRCDIR, path) 109 with open(abspath, 'r') as f: 112 untabify.process(abspath, 8, verbose=False) 123 abspath = os.path.join(SRCDIR, path) 125 with open(abspath, 'rb') as f: 129 shutil.copyfile(abspath, abspath + '.bak') 130 with open(abspath, 'wb') as f:
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 2 from os.path import abspath 81 top_level = os.path.abspath('/foo') 127 top_level = os.path.abspath('/foo') 295 self.addCleanup(sys.path.remove, abspath('/foo')) 308 vfs = {abspath('/foo'): ['my_package'], 309 abspath('/foo/my_package'): ['__init__.py', 'test_module.py']} 346 loader._top_level_dir = abspath('/foo') 349 suite = list(loader._find_tests(abspath('/foo'), 'test*.py')) 382 full_path = os.path.abspath(os.path.normpath('/foo')) 405 top_level_dir = os.path.abspath('/foo/bar') [all …]
|
/external/python/cpython3/Tools/scripts/ |
D | patchcheck.py | 104 abspath = os.path.join(SRCDIR, path) 105 with open(abspath, 'r') as f: 108 untabify.process(abspath, 8, verbose=False) 119 abspath = os.path.join(SRCDIR, path) 121 with open(abspath, 'rb') as f: 125 shutil.copyfile(abspath, abspath + '.bak') 126 with open(abspath, 'wb') as f:
|
/external/python/cpython3/Lib/test/ |
D | test_dtrace.py | 12 def abspath(filename): function 13 return os.path.abspath(findfile(filename, subdir="dtracedata")) 48 script_file=abspath(name + self.EXTENSION), 49 python_file=abspath(name + ".py"), 52 with open(abspath(name + self.EXTENSION + ".expected")) as f: 80 output = self.trace(abspath("assert_usable" + self.EXTENSION)) 125 with open(abspath("call_stack.py")) as f:
|
D | regrtest.py | 29 mydir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0]))) 32 if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: 41 __file__ = os.path.abspath(__file__) 44 assert __file__ == os.path.abspath(sys.argv[0])
|
D | test_unicode_file.py | 33 self.assertTrue(os.path.exists(os.path.abspath(filename))) 34 self.assertTrue(os.path.isfile(os.path.abspath(filename))) 35 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK)) 43 os.path.abspath(filename)==os.path.abspath(glob.glob(filename)[0])) 45 path, base = os.path.split(os.path.abspath(filename))
|
/external/ltp/include/mk/ |
D | functions.mk | 29 MAKE_3_80_abspath = $(shell $(top_srcdir)/scripts/abspath.sh '$(subst $(SQUOTE),\\$(SQUOTE),$(1))') 62 INSTALL_FILES += $$(abspath $$(DESTDIR)/$(3)/$(1)) 64 $$(abspath $$(DESTDIR)/$(3)/$(1)): \ 65 $$(abspath $$(dir $$(DESTDIR)/$(3)/$(1)))
|
/external/mesa3d/src/compiler/ |
D | SConscript | 17 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath]) 18 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
|
D | SConscript.nir | 22 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath]) 23 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/support/ |
D | run_bindings_generator.py | 11 out_dir = os.path.abspath(out_dir) 12 root_dir = os.path.abspath(root_dir) 13 mojom_file = os.path.abspath(mojom_file) 22 this_dir = os.path.dirname(os.path.abspath(__file__))
|
/external/python/cpython3/Lib/distutils/ |
D | dir_util.py | 44 if _path_created.get(os.path.abspath(name)): 60 abs_head = os.path.abspath(head) 196 abspath = os.path.abspath(cmd[1]) 197 if abspath in _path_created: 198 del _path_created[abspath]
|
/external/python/cpython2/Lib/distutils/ |
D | dir_util.py | 46 if _path_created.get(os.path.abspath(name)): 62 abs_head = os.path.abspath(head) 200 abspath = os.path.abspath(cmd[1]) 201 if abspath in _path_created: 202 del _path_created[abspath]
|
/external/chromium-trace/catapult/common/node_runner/node_runner/ |
D | node_util.py | 16 os.path.dirname(os.path.abspath(__file__)), 'node_binaries.json')) 35 old_dir = os.path.abspath(os.curdir) 36 os.chdir(os.path.join(os.path.abspath( 55 path = os.path.abspath(os.path.join(os.path.dirname(__file__),
|
/external/ltp/testscripts/build/ |
D | test_install_out_of_build_tree.sh | 35 clean_is_sane "$srcdir" "$srcdir" "$("$abspath" "$tmp_destdir/$tmp_prefix")" 44 test_ltp "$("$abspath" "$tmp_destdir/$tmp_prefix")" 48 clean_is_sane "$srcdir" "$srcdir" "$("$abspath" "$tmp_destdir/$tmp_prefix")"
|
D | test_out_of_build_tree.sh | 36 clean_is_sane "$srcdir" "$tmp_builddir" "$("$abspath" "$tmp_destdir/$tmp_prefix")" 45 test_ltp "$("$abspath" "$tmp_destdir/$tmp_prefix")" 50 clean_is_sane "$srcdir" "$tmp_builddir" "$("$abspath" "$tmp_destdir/$tmp_prefix")"
|
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
D | readlinkat01.c | 52 static char abspath[1024]; variable 62 {&dir_fd, abspath, TEST_FILE, sizeof(TEST_FILE)-1, 0}, 124 snprintf(abspath, sizeof(abspath), "%s/" TEST_SYMLINK, tmpdir); in setup()
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator.py | 66 return os.path.abspath(output_file_name) 68 systrace_dir = os.path.abspath(os.path.dirname(__file__)) 81 systrace_dir = os.path.abspath(os.path.dirname(__file__)) 107 final_path = os.path.abspath(output_file_name) 136 final_path = os.path.abspath(output_file_name)
|
/external/autotest/tko/ |
D | delete_job_results | 3 thisdir = os.path.dirname(os.path.abspath(sys.argv[0])) 4 sys.path.insert(0, os.path.abspath(os.path.join(thisdir, '../tko'))) 13 resultsdir = os.path.abspath(os.path.join(thisdir, '../results', tag))
|
/external/chromium-trace/catapult/devil/bin/ |
D | run_py_devicetests | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 11 _DEVIL_PATH = os.path.abspath(os.path.join( 13 _TYP_PATH = os.path.abspath(os.path.join(_CATAPULT_PATH, 'third_party', 'typ'))
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_discovery.py | 59 top_level = os.path.abspath('/foo') 150 full_path = os.path.abspath(os.path.normpath('/foo')) 173 top_level_dir = os.path.abspath('/foo/bar') 174 start_dir = os.path.abspath('/foo/bar/baz') 322 full_path = os.path.abspath('foo') 351 mod_dir = os.path.abspath('bar') 352 expected_dir = os.path.abspath('foo') 366 mod_dir = os.path.abspath('bar') 367 expected_dir = os.path.abspath('foo') 385 expectedPath = os.path.abspath(os.path.dirname(unittest.test.__file__))
|
/external/mesa3d/scons/ |
D | custom.py | 109 source_dir = node.get_dir().abspath 110 GLAPI = env.Dir('#src/mapi/glapi/gen').abspath 114 finder.run_script(node.abspath) 244 cur_srcdir = env.Dir('.').srcnode().abspath 245 top_srcdir = env.Dir('#').abspath 257 sym_table = parser.parse(src.abspath)
|
/external/python/cpython2/Lib/test/ |
D | test_unicode_file.py | 48 self.assertTrue(os.path.exists(os.path.abspath(filename))) 49 self.assertTrue(os.path.isfile(os.path.abspath(filename))) 50 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK)) 58 os.path.abspath(filename)==os.path.abspath(glob.glob(filename)[0])) 60 path, base = os.path.split(os.path.abspath(filename))
|
/external/v8/gypfiles/ |
D | gyp_environment.py | 16 V8_ROOT = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) 29 e.filename = os.path.abspath(file_path) 42 var, os.path.abspath(file_path)
|