/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/libmojo/ |
D | build_mojom.mk | 31 mojom_bindings_generator_flags += --typemap $$(abspath $$(mojom_type_mappings)) 40 python $$(abspath $$(MOJOM_BINDINGS_GENERATOR)) \ 43 -I $$(abspath $$(PRIVATE_MOJO_ROOT)):$$(abspath $$(PRIVATE_MOJO_ROOT)) \ 44 -o $$(abspath $$(PRIVATE_TARGET)) \ 45 --bytecode_path $$(abspath $$(generated_templates_dir)) \
|
/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/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/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/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/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/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/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 | 65 return os.path.abspath(output_file_name) 67 systrace_dir = os.path.abspath(os.path.dirname(__file__)) 80 systrace_dir = os.path.abspath(os.path.dirname(__file__)) 106 final_path = os.path.abspath(output_file_name) 135 final_path = os.path.abspath(output_file_name)
|
/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/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)
|
/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))
|
D | test__osx_support.py | 22 self.temp_path_dir = os.path.abspath(os.getcwd()) 42 self.env['PATH'] = self.env['PATH'] + os.path.abspath(self.temp_path_dir) 55 self.env['PATH'] = self.env['PATH'] + os.path.abspath(self.temp_path_dir) 145 self.env['PATH'] = os.path.abspath(self.temp_path_dir) + suffix 200 self.env['PATH'] = os.path.abspath(self.temp_path_dir) + suffix
|
/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/protobuf/gtest/test/ |
D | run_tests_util_test.py | 72 path = self.abspath(path) 100 name_list = self.abspath(path).split(self.path_separator) 115 def abspath(self, path): member in FakePath 119 return self.PathElement(self.abspath(path)) == 1 122 return type(self.PathElement(self.abspath(path))) == type(dict()) 191 current_dir=os.path.abspath(os.path.dirname(run_tests_util.__file__)), 423 current_dir=os.path.abspath(os.path.dirname(run_tests_util.__file__)), 443 current_dir=os.path.abspath('/a/b/c'), 498 current_dir=os.path.abspath(os.path.dirname(run_tests_util.__file__)), 529 current_dir=os.path.abspath(os.path.dirname(run_tests_util.__file__)),
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat01.c | 45 static char abspath[1024]; variable 57 {&dir_fd, abspath, 0, 0}, 95 sprintf(abspath, "%s/mkdiratrelpath%d_%d_2", tmpdir, getpid(), i); in setup_iteration()
|
/external/skia/infra/bots/assets/ |
D | asset_utils.py | 20 INFRA_BOTS_DIR = os.path.abspath(os.path.realpath(os.path.join( 21 os.path.dirname(os.path.abspath(__file__)), os.pardir))) 28 SKIA_DIR = os.path.abspath(os.path.join(INFRA_BOTS_DIR, os.pardir, os.pardir)) 132 target_dir = os.path.abspath(target_dir) 152 gsutil = os.path.abspath(gsutil) 183 target_dir = os.path.abspath(target_dir) 195 target_dir = os.path.abspath(target_dir)
|
/external/python/cpython2/Doc/tools/ |
D | rstlint.py | 18 from os.path import join, splitext, abspath, exists 157 ignore.append(abspath(val)) 180 if abspath(root) in ignore: 190 if abspath(fn) in ignore:
|