/external/e2fsprogs/intl/ |
D | bindtextdom.c | 134 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 …]
|
D | finddomain.c | 50 _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()
|
D | dcigettext.c | 437 char *dirname, *xdomainname; in DCIGETTEXT() local 525 dirname = (char *) INTUSE(_nl_default_dirname); in DCIGETTEXT() 526 else if (IS_ABSOLUTE_PATH (binding->dirname)) in DCIGETTEXT() 527 dirname = binding->dirname; in DCIGETTEXT() 531 size_t dirname_len = strlen (binding->dirname) + 1; in DCIGETTEXT() 540 dirname = (char *) alloca (path_max + dirname_len); in DCIGETTEXT() 541 ADD_BLOCK (block_list, dirname); in DCIGETTEXT() 544 ret = getcwd (dirname, path_max); in DCIGETTEXT() 557 stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); in DCIGETTEXT() 616 domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); in DCIGETTEXT() [all …]
|
/external/grub/stage2/ |
D | filesys.h | 27 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 …]
|
D | fsys_minix.c | 297 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 …]
|
D | fsys_ffs.c | 183 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()
|
D | fsys_vstafs.c | 118 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()
|
D | fsys_ufs2.c | 207 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()
|
D | fsys_iso9660.c | 136 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 …]
|
D | fsys_ext2fs.c | 498 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 …]
|
D | fsys_fat.c | 292 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()
|
D | fsys_jfs.c | 273 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()
|
D | fsys_xfs.c | 537 xfs_dir (char *dirname) in xfs_dir() argument 568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++)); in xfs_dir() 570 dirname = linkbuf; in xfs_dir() 574 if (!*dirname || isspace (*dirname)) { in xfs_dir() 589 for (; *dirname == '/'; dirname++); in xfs_dir() 591 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in xfs_dir() 596 cmp = (!*dirname) ? -1 : substring (dirname, name); in xfs_dir() 608 *(dirname = rest) = ch; in xfs_dir()
|
/external/bison/m4/ |
D | dirname.m4 | 1 # 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/elfutils/src/ |
D | ylwrap | 68 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/ |
D | dbus-cleanup-sockets.c | 381 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/ |
D | ylwrap | 103 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/bluez/utils/ |
D | ylwrap | 103 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/dbus/bus/ |
D | config-loader-libxml.c | 147 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()
|
D | config-loader-expat.c | 175 DBusString dirname; in bus_config_load() local 192 if (!_dbus_string_init (&dirname)) in bus_config_load() 206 if (!_dbus_string_get_dirname (file, &dirname)) in bus_config_load() 212 parser = bus_config_parser_new (&dirname, is_toplevel, parent); in bus_config_load() 277 _dbus_string_free (&dirname); in bus_config_load() 287 _dbus_string_free (&dirname); in bus_config_load()
|
/external/icu4c/tools/genrb/ |
D | rbutil.c | 26 get_dirname(char *dirname, in get_dirname() argument 32 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 33 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 35 *dirname = '\0'; in get_dirname()
|
D | genrb.c | 424 char *dirname; in make_res_filename() local 439 basename = dirname = resName = 0; in make_res_filename() 450 dirname = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(filename) + 1)); in make_res_filename() 451 if(dirname == 0) { in make_res_filename() 456 get_dirname(dirname, filename); in make_res_filename() 460 resName = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(dirname) in make_res_filename() 469 uprv_strcpy(resName, dirname); in make_res_filename() 508 uprv_free(dirname); in make_res_filename()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-util-unix.c | 740 DBusString *dirname) in _dbus_string_get_dirname() argument 744 _dbus_assert (filename != dirname); in _dbus_string_get_dirname() 746 _dbus_assert (dirname != NULL); in _dbus_string_get_dirname() 751 return _dbus_string_append (dirname, "."); /* empty string passed in */ in _dbus_string_get_dirname() 759 return _dbus_string_append (dirname, "/"); in _dbus_string_get_dirname() 764 return _dbus_string_append (dirname, "."); in _dbus_string_get_dirname() 774 return _dbus_string_append (dirname, "/"); in _dbus_string_get_dirname() 777 dirname, _dbus_string_get_length (dirname)); in _dbus_string_get_dirname()
|
/external/webkit/WebKitTools/Scripts/ |
D | svn-create-patch | 414 for (my $parent = dirname($path); $parent ne '.'; $parent = dirname($parent)) { 431 my $dirname = dirname($path) . $pathSeparator; 432 $dirname = "" if $dirname eq "." . $pathSeparator; 434 return ($dirname, basename($path));
|
/external/zlib/contrib/minizip/ |
D | miniunz.c | 90 int mymkdir(dirname) in mymkdir() argument 91 const char* dirname; in mymkdir() 95 ret = mkdir(dirname); 98 ret = mkdir (dirname,0775); 478 const char *dirname=NULL; local 511 dirname=argv[i+1]; 570 if (opt_extractdir && chdir(dirname)) 572 printf("Error changing into %s, aborting\n", dirname);
|