Home
last modified time | relevance | path

Searched refs:dirname (Results 1 – 25 of 1337) sorted by relevance

12345678910>>...54

/external/e2fsprogs/intl/
Dbindtextdom.c134 const char *dirname = *dirnamep; in __libc_rwlock_define() local
136 if (dirname == NULL) in __libc_rwlock_define()
138 *dirnamep = binding->dirname; in __libc_rwlock_define()
144 char *result = binding->dirname; in __libc_rwlock_define()
145 if (strcmp (dirname, result) != 0) in __libc_rwlock_define()
147 if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) in __libc_rwlock_define()
152 result = strdup (dirname); in __libc_rwlock_define()
154 size_t len = strlen (dirname) + 1; in __libc_rwlock_define()
157 memcpy (result, dirname, len); in __libc_rwlock_define()
163 if (binding->dirname != INTUSE(_nl_default_dirname)) in __libc_rwlock_define()
[all …]
Dfinddomain.c50 _nl_find_domain (const char *dirname, char *locale, in _nl_find_domain() argument
88 retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, in _nl_find_domain()
89 strlen (dirname) + 1, 0, locale, NULL, NULL, in _nl_find_domain()
143 retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, in _nl_find_domain()
144 strlen (dirname) + 1, mask, language, territory, in _nl_find_domain()
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_glob.py71 dirname, basename = self._path_module.split(pathname)
73 if not dirname:
75 elif self.has_magic(dirname):
76 path_list = self.glob(dirname)
78 path_list = [dirname]
82 for dirname in path_list:
83 if basename or self._path_module.isdir(dirname):
84 name = self._path_module.join(dirname, basename)
89 for dirname in path_list:
90 sublist = self.glob1(dirname, basename)
[all …]
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_glob.py71 dirname, basename = self._path_module.split(pathname)
73 if not dirname:
75 elif self.has_magic(dirname):
76 path_list = self.glob(dirname)
78 path_list = [dirname]
82 for dirname in path_list:
83 if basename or self._path_module.isdir(dirname):
84 name = self._path_module.join(dirname, basename)
89 for dirname in path_list:
90 sublist = self.glob1(dirname, basename)
[all …]
/external/curl/tests/libtest/
Dtest613.pl19 my $dirname = $ARGV[1];
20 mkdir $dirname || errout "$!";
21 chdir $dirname;
47 my $dirname = $ARGV[1];
51 unlink "$dirname/rofile.txt";
52 unlink "$dirname/plainfile.txt";
53 rmdir "$dirname/asubdir";
55 rmdir $dirname || die "$!";
/external/autotest/client/tools/
Dhtml_report.py1378 def make_html_file(metadata, results, tag, host, output_file_name, dirname): argument
1508 … output, '<td align="left"><A HREF=\"%s\">Debug</A></td>' % os.path.join(dirname, res['subdir'], "…
1541 def parse_result(dirname, line, results_data): argument
1589 result['log'] = get_exec_log(dirname, tag)
1700 def create_report(dirname, html_path='', output_file_name=None): argument
1712 res_dir = os.path.abspath(dirname)
1714 status_file_name = os.path.join(dirname, 'status')
1715 sysinfo_dir = os.path.join(dirname, 'sysinfo')
1727 parse_result(dirname, line, results_data)
1739 if get_kvm_version(dirname) is not None:
[all …]
/external/autotest/client/cros/
Downership.py111 dirname = os.path.dirname(__file__)
112 mock_certfile = os.path.join(dirname, constants.MOCK_OWNER_CERT)
113 mock_signedpolicyfile = os.path.join(dirname,
264 dirname = os.path.dirname(__file__)
265 mock_keyfile = os.path.join(dirname, constants.MOCK_OWNER_KEY)
266 mock_certfile = os.path.join(dirname, constants.MOCK_OWNER_CERT)
277 dirname = os.path.dirname(__file__)
278 return utils.read_file(os.path.join(dirname, constants.MOCK_OWNER_KEY))
286 dirname = os.path.dirname(__file__)
287 return cert_extract_pubkey_der(os.path.join(dirname,
/external/clang/tools/diag-build/
Ddiag-build.sh36 if [[ -x $(dirname $0)/clang ]]; then
37 CC=$(dirname $0)/clang
49 if [[ -x $(dirname $0)/clang++ ]]; then
50 CXX=$(dirname $0)/clang++
60 if [[ -x $(dirname $0)/diagtool ]]; then
61 diagtool=$(dirname $0)/diagtool
/external/ceres-solver/internal/ceres/
Dfile.cc78 string JoinPath(const string& dirname, const string& basename) { in JoinPath() argument
85 if ((!basename.empty() && basename[0] == separator) || dirname.empty()) { in JoinPath()
87 } else if (dirname[dirname.size() - 1] == separator) { in JoinPath()
88 return dirname + basename; in JoinPath()
90 return dirname + string(&separator, 1) + basename; in JoinPath()
/external/libedit/src/
Dfilecomplete.c148 static char *filename = NULL, *dirname = NULL, *dirpath = NULL; in fn_filename_completion_function() local
170 nptr = el_realloc(dirname, (len + 1) * in fn_filename_completion_function()
173 el_free(dirname); in fn_filename_completion_function()
174 dirname = NULL; in fn_filename_completion_function()
177 dirname = nptr; in fn_filename_completion_function()
178 (void)strncpy(dirname, text, len); in fn_filename_completion_function()
179 dirname[len] = '\0'; in fn_filename_completion_function()
189 el_free(dirname); in fn_filename_completion_function()
190 dirname = NULL; in fn_filename_completion_function()
202 if (dirname == NULL) { in fn_filename_completion_function()
[all …]
/external/selinux/sepolgen/src/sepolgen/
Dmodule.py52 self.dirname = None
55 return self.dirname
58 return self.dirname + "/" + self.modname + ".te"
61 return self.dirname + "/" + self.modname + ".fc"
64 return self.dirname + "/" + self.modname + ".if"
67 return self.dirname + "/" + self.modname + ".pp"
70 return self.dirname + "/Makefile"
73 self.dirname = parent_dirname + "/" + self.modname
74 os.mkdir(self.dirname)
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dpage_unittest.py48 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
59 base_dir = os.path.dirname(__file__)
61 os.path.dirname(base_dir), 'otherdir', 'file.html')
70 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
80 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
90 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
100 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
110 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
121 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
131 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
[all …]
/external/autotest/client/cros/cellular/wardmodem/
Dcommon.py7 dirname = os.path.dirname(sys.modules[__name__].__file__) variable
8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir,
10 package_root_dir = os.path.abspath(dirname)
/external/autotest/client/cros/cellular/wardmodem/state_machines/
Dcommon.py7 dirname = os.path.dirname(sys.modules[__name__].__file__) variable
8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir,
10 package_root_dir = os.path.abspath(os.path.join(dirname, os.pardir))
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
Dconf.py18 os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
30 os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
Dconf.py18 os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
31 os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
/external/bison/build-aux/
Dylwrap101 dirname=ylwrap$$
102 do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret'
107 mkdir $dirname || exit 1
109 cd $dirname
214 rm -rf $dirname
/external/dbus/tools/
Ddbus-cleanup-sockets.c398 const char *dirname; in main() local
401 dirname = NULL; in main()
422 if (dirname != NULL) in main()
428 dirname = arg; in main()
435 if (dirname == NULL) in main()
436 dirname = DBUS_SESSION_SOCKET_DIR; in main()
439 clean_dir (dirname); in main()
442 cleaned_count, dirname, alive_count, unhandled_count); in main()
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/
Drun_tests.py106 for dirname, dirs, files in shell.walk(basedir):
114 if not _os.path.isdir(_os.path.join(basedir, dirname, 'out')):
116 term.yellow("---> %s" % (dirname[strip:],))
120 _os.path.join(dirname, filename),
121 _os.path.join(dirname, 'out', filename[:-4] + '.out'),
123 term.yellow("<--- %s" % (dirname[strip:],))
/external/dbus/bus/
Dconfig-loader-libxml.c150 DBusString dirname, data; in bus_config_load() local
159 if (!_dbus_string_init (&dirname)) in bus_config_load()
168 _dbus_string_free (&dirname); in bus_config_load()
183 if (!_dbus_string_get_dirname (file, &dirname)) in bus_config_load()
189 parser = bus_config_parser_new (&dirname, is_toplevel, parent); in bus_config_load()
307 _dbus_string_free (&dirname); in bus_config_load()
316 _dbus_string_free (&dirname); in bus_config_load()
/external/chromium-trace/catapult/third_party/vinn/vinn/
D_vinn.py19 os.path.join(os.path.dirname(__file__), os.path.pardir, 'third_party',
23 os.path.join(os.path.dirname(__file__), os.path.pardir, 'third_party',
28 os.path.join(os.path.dirname(__file__), 'd8_bootstrap.js'))
31 os.path.join(os.path.dirname(__file__), 'base64_compat.js'))
34 os.path.join(os.path.dirname(__file__), 'path_utils.js'))
37 os.path.join(os.path.dirname(__file__), 'html_imports_loader.js'))
40 os.path.join(os.path.dirname(__file__), 'html_to_js_generator.js'))
158 source_paths = [os.path.dirname(file_path)]
274 args.source_paths = [os.path.abspath(os.path.dirname(args.file_name))]
/external/icu/icu4c/source/tools/genrb/
Drbutil.c28 get_dirname(char *dirname, in get_dirname() argument
34 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname()
35 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname()
37 *dirname = '\0'; in get_dirname()
/external/pdfium/testing/tools/
Dcommon.py71 self.my_dir = os.path.dirname(os.path.realpath(__file__))
72 self.testing_dir = os.path.dirname(self.my_dir)
76 self.pdfium_dir = os.path.dirname(self.testing_dir)
84 one_up_dir = os.path.dirname(self.base_dir)
85 two_up_dir = os.path.dirname(one_up_dir)
/external/compiler-rt/cmake/Modules/
DCompilerRTCompile.cmake84 " if [ -d $(dirname $(dirname $(xcrun -f clang)))/include/c++ ]"
86 …" echo ' cp -r' $(dirname $(dirname $(xcrun -f clang)))/include/c++ '${LLVM_BINARY_DIR}/includ…
87 " elif [ -d $(dirname $(dirname $(xcrun -f clang)))/lib/c++ ]"
89 … " echo ' cp -r' $(dirname $(dirname $(xcrun -f clang)))/lib/c++ '${LLVM_BINARY_DIR}/include/'"
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dresource.py36 dirname = os.path.dirname(relative_path)
39 if len(dirname):
40 name = dirname.replace(os.path.sep, '.') + '.' + modname

12345678910>>...54