Home
last modified time | relevance | path

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

123456789

/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/grub/stage2/
Dfilesys.h27 int ffs_dir (char *dirname);
37 int ufs2_dir (char *dirname);
47 int fat_dir (char *dirname);
56 int ext2fs_dir (char *dirname);
65 int minix_dir (char *dirname);
74 int reiserfs_dir (char *dirname);
84 int vstafs_dir (char *dirname);
93 int jfs_dir (char *dirname);
103 int xfs_dir (char *dirname);
112 int tftp_dir (char *dirname);
[all …]
Dfsys_minix.c297 minix_dir (char *dirname) in minix_dir() argument
334 printf ("inode %d, dirname %s\n", current_ino, dirname); in minix_dir()
362 printf ("S_ISLNK (%s)\n", dirname); in minix_dir()
367 while (dirname[len] && !isspace (dirname[len])) in minix_dir()
382 memmove (linkbuf + filemax, dirname, len); in minix_dir()
396 dirname = linkbuf; in minix_dir()
397 if (*dirname == '/') in minix_dir()
414 if (!*dirname || isspace (*dirname)) in minix_dir()
430 while (*dirname == '/') in minix_dir()
431 dirname++; in minix_dir()
[all …]
Dfsys_ffs.c183 ffs_dir (char *dirname) in ffs_dir() argument
202 if (!*dirname || isspace (*dirname)) in ffs_dir()
219 while (*dirname == '/') in ffs_dir()
220 dirname++; in ffs_dir()
228 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in ffs_dir()
271 && (!*dirname || substring (dirname, dp->d_name) <= 0)) in ffs_dir()
280 while (!dp->d_ino || (substring (dirname, dp->d_name) != 0 in ffs_dir()
286 *(dirname = rest) = ch; in ffs_dir()
Dfsys_vstafs.c118 vstafs_dir (char *dirname) in vstafs_dir() argument
138 while (*dirname == '/') dirname++; in vstafs_dir()
139 fn = dirname; in vstafs_dir()
150 && (! *dirname || strcmp (dirname, d->name) <= 0)) in vstafs_dir()
158 if (! grub_strcmp (dirname, d->name)) in vstafs_dir()
168 *(dirname = fn) = ch; in vstafs_dir()
181 while (*dirname && ! isspace (ch)); in vstafs_dir()
Dfsys_ufs2.c207 ufs2_dir (char *dirname) in ufs2_dir() argument
227 if (!*dirname || isspace (*dirname)) in ufs2_dir()
244 while (*dirname == '/') in ufs2_dir()
245 dirname++; in ufs2_dir()
253 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in ufs2_dir()
292 && (!*dirname || substring (dirname, dp->d_name) <= 0)) in ufs2_dir()
301 while (!dp->d_ino || (substring (dirname, dp->d_name) != 0 in ufs2_dir()
307 *(dirname = rest) = ch; in ufs2_dir()
Dfsys_iso9660.c136 iso9660_dir (char *dirname) in iso9660_dir() argument
153 while (*dirname == '/') /* skip leading slashes */ in iso9660_dir()
154 dirname++; in iso9660_dir()
157 dirname[pathlen] in iso9660_dir()
158 && !isspace(dirname[pathlen]) && dirname[pathlen] != '/' ; in iso9660_dir()
347 && !memcmp(name, dirname, pathlen)) in iso9660_dir()
349 if (dirname[pathlen] == '/' || !print_possibilities) in iso9660_dir()
357 if (dirname[pathlen] == '/') in iso9660_dir()
393 if (dirname[pathlen] == '/' || print_possibilities >= 0) in iso9660_dir()
400 dirname += pathlen; in iso9660_dir()
[all …]
Dfsys_ext2fs.c498 ext2fs_dir (char *dirname) in ext2fs_dir() argument
535 printf ("dirname=%s\n", dirname); in ext2fs_dir()
613 while (dirname[len] && !isspace (dirname[len])) in ext2fs_dir()
628 memmove (linkbuf + filemax, dirname, len); in ext2fs_dir()
652 dirname = linkbuf; in ext2fs_dir()
653 if (*dirname == '/') in ext2fs_dir()
670 if (!*dirname || isspace (*dirname)) in ext2fs_dir()
686 while (*dirname == '/') in ext2fs_dir()
687 dirname++; in ext2fs_dir()
697 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; in ext2fs_dir()
[all …]
Dfsys_fat.c292 fat_dir (char *dirname) in fat_dir() argument
319 if (!*dirname || isspace (*dirname)) in fat_dir()
332 while (*dirname == '/') in fat_dir()
333 dirname++; in fat_dir()
343 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in fat_dir()
435 if (substring (dirname, filename) == 0) in fat_dir()
462 if (substring (dirname, filename) <= 0) in fat_dir()
472 if (substring (dirname, filename) == 0) in fat_dir()
476 *(dirname = rest) = ch; in fat_dir()
Dfsys_jfs.c273 jfs_dir (char *dirname) in jfs_dir() argument
309 while (n < (JFS_PATH_MAX - 1) && (linkbuf[n++] = *dirname++)); in jfs_dir()
311 dirname = linkbuf; in jfs_dir()
315 if (!*dirname || isspace (*dirname)) { in jfs_dir()
330 for (; *dirname == '/'; dirname++); in jfs_dir()
332 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in jfs_dir()
358 cmp = (!*dirname) ? -1 : substring (dirname, namebuf); in jfs_dir()
370 *(dirname = rest) = ch; in jfs_dir()
/external/bluetooth/glib/tests/
Ddirname-test.c61 gchar *dirname; in main() member
109 gchar *dirname; in main() local
111 dirname = g_path_get_dirname (dirname_checks[i].filename); in main()
112 if (strcmp (dirname, dirname_checks[i].dirname) != 0) in main()
114 dirname_checks[i].filename, dirname, in main()
115 dirname_checks[i].dirname); in main()
116 g_free (dirname); in main()
/external/bluetooth/glib/gio/inotify/
Dinotify-sub.c36 dup_dirname (const gchar *dirname) in dup_dirname() argument
38 gchar *d_dirname = g_strdup (dirname); in dup_dirname()
48 _ih_sub_new (const gchar *dirname, in _ih_sub_new() argument
55 sub->dirname = dup_dirname (dirname); in _ih_sub_new()
59 IS_W ("new subscription for %s being setup\n", sub->dirname); in _ih_sub_new()
67 g_free (sub->dirname); in _ih_sub_free()
Dinotify-missing.c63 IM_W ("asked to add %s to missing list but it's already on the list!\n", sub->dirname); in _im_add()
67 IM_W ("adding %s to missing list\n", sub->dirname); in _im_add()
88 IM_W ("asked to remove %s from missing list but it isn't on the list!\n", sub->dirname); in _im_rm()
92 IM_W ("removing %s from missing list\n", sub->dirname); in _im_rm()
117 g_assert (sub->dirname); in im_scan_missing()
123 IM_W ("removed %s from missing list\n", sub->dirname); in im_scan_missing()
164 g_io_channel_write_chars (ioc, sub->dirname, -1, NULL, NULL); in _im_diag_dump()
Dinotify-helper.c130 IH_W ("cancelling %s\n", sub->dirname); in _ih_sub_cancel()
152 parent = g_file_new_for_path (sub->dirname); in ih_event_callback()
154 fullpath = g_strdup_printf ("%s/%s", sub->dirname, event->name); in ih_event_callback()
156 fullpath = g_strdup_printf ("%s/", sub->dirname); in ih_event_callback()
177 parent = g_file_new_for_path (sub->dirname); in ih_not_missing_callback()
181 fullpath = g_strdup_printf ("%s/%s", sub->dirname, sub->filename); in ih_not_missing_callback()
192 fullpath = g_strdup_printf ("%s", sub->dirname); in ih_not_missing_callback()
Dginotifyfilemonitor.c40 gchar *dirname; member
72 if (inotify_monitor->dirname) in g_inotify_file_monitor_finalize()
74 g_free (inotify_monitor->dirname); in g_inotify_file_monitor_finalize()
75 inotify_monitor->dirname = NULL; in g_inotify_file_monitor_finalize()
107 inotify_monitor->dirname = g_path_get_dirname (filename); in g_inotify_file_monitor_constructor()
113 sub = _ih_sub_new (inotify_monitor->dirname, inotify_monitor->filename, inotify_monitor); in g_inotify_file_monitor_constructor()
Dginotifydirectorymonitor.c77 const gchar *dirname = NULL; in g_inotify_directory_monitor_constructor() local
88 dirname = G_LOCAL_DIRECTORY_MONITOR (obj)->dirname; in g_inotify_directory_monitor_constructor()
89 g_assert (dirname != NULL); in g_inotify_directory_monitor_constructor()
95 sub = _ih_sub_new (dirname, NULL, inotify_monitor); in g_inotify_directory_monitor_constructor()
/external/bison/m4/
Ddirname.m41 # dirname.m4 serial 5
9 AC_LIBSOURCES([dirname.c, dirname.h])
10 AC_LIBOBJ([dirname])
12 dnl Prerequisites of lib/dirname.h.
15 dnl No prerequisites of lib/basename.c, lib/dirname.c, lib/stripslash.c.
/external/bluetooth/glib/gio/
Dglocaldirectorymonitor.c54 g_free (local_monitor->dirname); in G_DEFINE_ABSTRACT_TYPE()
92 const gchar *dirname = NULL; in g_local_directory_monitor_constructor() local
108 dirname = g_value_get_string (construct_properties[i].value); in g_local_directory_monitor_constructor()
113 local_monitor->dirname = g_strdup (dirname); in g_local_directory_monitor_constructor()
125 mount = g_unix_mount_at (local_monitor->dirname, NULL); in g_local_directory_monitor_constructor()
186 mount = g_unix_mount_at (local_monitor->dirname, NULL); in mounts_changed()
198 file = g_file_new_for_path (local_monitor->dirname); in mounts_changed()
256 _g_local_directory_monitor_new (const char *dirname, in _g_local_directory_monitor_new() argument
271 monitor = G_FILE_MONITOR (g_object_new (type, "dirname", dirname, NULL)); in _g_local_directory_monitor_new()
/external/bluetooth/glib/gio/fen/
Dgfendirectorymonitor.c62 fen_remove (G_LOCAL_DIRECTORY_MONITOR (self)->dirname, self->sub, TRUE); in g_fen_directory_monitor_finalize()
80 const gchar *dirname = NULL; in g_fen_directory_monitor_constructor() local
90 dirname = G_LOCAL_DIRECTORY_MONITOR (self)->dirname; in g_fen_directory_monitor_constructor()
91 g_assert (dirname != NULL); in g_fen_directory_monitor_constructor()
103 fen_add (dirname, self->sub, TRUE); in g_fen_directory_monitor_constructor()
140 fen_remove (G_LOCAL_DIRECTORY_MONITOR (self)->dirname, self->sub, TRUE); in g_fen_directory_monitor_cancel()
/external/elfutils/src/
Dylwrap68 dirname=ylwrap$$
69 trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
70 mkdir $dirname || exit 1
72 cd $dirname
152 rm -rf $dirname
/external/dbus/tools/
Ddbus-cleanup-sockets.c381 const char *dirname; in main() local
384 dirname = NULL; in main()
405 if (dirname != NULL) in main()
411 dirname = arg; in main()
418 if (dirname == NULL) in main()
419 dirname = DBUS_SESSION_SOCKET_DIR; in main()
422 clean_dir (dirname); in main()
425 cleaned_count, dirname, alive_count, unhandled_count); in main()
/external/bison/build-aux/
Dylwrap103 dirname=ylwrap$$
104 trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
105 mkdir $dirname || exit 1
107 cd $dirname
212 rm -rf $dirname
/external/bluetooth/glib/gio/fam/
Dgfamdirectorymonitor.c69 const gchar *dirname = NULL; in g_fam_directory_monitor_constructor() local
80 dirname = G_LOCAL_DIRECTORY_MONITOR (obj)->dirname; in g_fam_directory_monitor_constructor()
81 g_assert (dirname != NULL); in g_fam_directory_monitor_constructor()
83 sub = _fam_sub_add (dirname, TRUE, fam_monitor); in g_fam_directory_monitor_constructor()
/external/dbus/bus/
Dconfig-loader-libxml.c147 DBusString dirname, data; in bus_config_load() local
156 if (!_dbus_string_init (&dirname)) in bus_config_load()
165 _dbus_string_free (&dirname); in bus_config_load()
180 if (!_dbus_string_get_dirname (file, &dirname)) in bus_config_load()
186 parser = bus_config_parser_new (&dirname, is_toplevel, parent); in bus_config_load()
304 _dbus_string_free (&dirname); in bus_config_load()
313 _dbus_string_free (&dirname); in bus_config_load()

123456789