Home
last modified time | relevance | path

Searched refs:abspath (Results 1 – 25 of 631) sorted by relevance

12345678910>>...26

/external/e2fsprogs/util/
Dsymlinks.c121 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/
Dbuild_mojom.mk31 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/
Dbuild_tkinter.py13 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/
Dpatchcheck.py108 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/
Dfunctions.mk29 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/
DSConscript17 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath])
18 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
DSConscript.nir22 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/
Drun_bindings_generator.py11 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/
Dnode_util.py16 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/
Ddir_util.py46 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/
Dtest_install_out_of_build_tree.sh35 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")"
Dtest_out_of_build_tree.sh36 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/
Ddelete_job_results3 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/
Dreadlinkat01.c52 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/
Doutput_generator.py65 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/
Drun_py_devicetests9 _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/
Dgyp_environment.py16 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/
Dcustom.py109 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/
Dtest_unicode_file.py48 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))
Dtest__osx_support.py22 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/
Dtest_discovery.py59 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/
Drun_tests_util_test.py72 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/
Dmkdirat01.c45 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/
Dasset_utils.py20 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/
Drstlint.py18 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:

12345678910>>...26