/glibc-2.36/intl/ |
D | bindtextdom.c | 113 const char *dirname = *dirnamep; in gl_rwlock_define() local 115 if (dirname == NULL) in gl_rwlock_define() 117 *dirnamep = binding->dirname; in gl_rwlock_define() 123 char *result = binding->dirname; in gl_rwlock_define() 124 if (strcmp (dirname, result) != 0) in gl_rwlock_define() 126 if (strcmp (dirname, _nl_default_dirname) == 0) in gl_rwlock_define() 131 result = strdup (dirname); in gl_rwlock_define() 133 size_t len = strlen (dirname) + 1; in gl_rwlock_define() 136 memcpy (result, dirname, len); in gl_rwlock_define() 142 if (binding->dirname != _nl_default_dirname) in gl_rwlock_define() [all …]
|
D | finddomain.c | 58 _nl_find_domain (const char *dirname, char *locale, in _nl_find_domain() argument 90 retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, in _nl_find_domain() 91 strlen (dirname) + 1, 0, locale, NULL, NULL, in _nl_find_domain() 147 retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, in _nl_find_domain() 148 strlen (dirname) + 1, mask, language, territory, in _nl_find_domain()
|
D | dcigettext.c | 493 const char *dirname; in gl_dcigettext() local 599 dirname = bindtextdomain (domainname, NULL); in gl_dcigettext() 616 dirname = _nl_default_dirname; in gl_dcigettext() 619 dirname = binding->dirname; in gl_dcigettext() 621 if (!IS_ABSOLUTE_PATH (dirname)) in gl_dcigettext() 630 int ret = __asprintf (&xdirname, "%s/%s", cwd, dirname); in gl_dcigettext() 634 dirname = xdirname; in gl_dcigettext() 702 domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); in gl_dcigettext() 1682 if (oldp->dirname != _nl_default_dirname) in libc_freeres_fn() 1684 free (oldp->dirname); in libc_freeres_fn()
|
/glibc-2.36/posix/ |
D | glob.c | 306 char *dirname = NULL; in __glob() local 507 dirname = (char *) pattern; in __glob() 524 dirname = (char *) "."; in __glob() 533 dirname = (char *) "/"; in __glob() 570 dirname = newp; in __glob() 575 && (dirname[dirlen - 1] == ':' in __glob() 576 || (dirlen > 2 && dirname[dirlen - 2] == ':' in __glob() 577 && dirname[dirlen - 1] == '/'))); in __glob() 586 if (!(flags & GLOB_NOESCAPE) && dirname[dirlen - 1] == '\\') in __glob() 590 char *p = (char *) &dirname[dirlen - 1]; in __glob() [all …]
|
D | tst-execlp2.c | 55 bindir = canonicalize_file_name (dirname (bindir)); in do_test()
|
D | tst-execvp2.c | 58 bindir = canonicalize_file_name (dirname (bindir)); in do_test()
|
/glibc-2.36/nis/ |
D | nis_ping.c | 25 nis_ping (const_nis_name dirname, unsigned int utime, in nis_ping() argument 33 if (dirname == NULL && dirobj == NULL) in nis_ping() 38 res = nis_lookup (dirname, MASTER_ONLY); in nis_ping() 56 if (dirname == NULL) in nis_ping() 59 args.dir = (char *) dirname; in nis_ping()
|
D | nis_checkpoint.c | 26 nis_checkpoint (const_nis_name dirname) in nis_checkpoint() argument 34 if (dirname != NULL) in nis_checkpoint() 39 res2 = nis_lookup (dirname, EXPAND_NAME); in nis_checkpoint() 62 (caddr_t) &dirname, (xdrproc_t) _xdr_cp_result, in nis_checkpoint()
|
/glibc-2.36/hurd/ |
D | hurdlookup.c | 134 char dirname[lastslash - file_name + 1]; in weak_alias() local 135 memcpy (dirname, file_name, lastslash - file_name); in weak_alias() 136 dirname[lastslash - file_name] = '\0'; in weak_alias() 140 dirname, 0, 0, dir); in weak_alias() 199 char dirname[lastslash - file_name + 1]; in weak_alias() local 200 memcpy (dirname, file_name, lastslash - file_name); in weak_alias() 201 dirname[lastslash - file_name] = '\0'; in weak_alias() 205 dirname, 0, 0, dir); in weak_alias()
|
/glibc-2.36/dirent/ |
D | tst-scandir.c | 65 verify_empty (const char *dirname) in verify_empty() argument 67 DIR *dir = opendir (dirname); in verify_empty() 70 printf ("opendir (%s): %s\n", dirname, strerror (errno)); in verify_empty() 86 make_file (const char *dirname, const char *filename) in make_file() argument 89 if (asprintf (&name, "%s/%s", dirname, filename) < 0) in make_file() 107 remove_file (const char *dirname, const char *filename) in remove_file() argument 110 if (asprintf (&name, "%s/%s", dirname, filename) < 0) in remove_file()
|
/glibc-2.36/support/ |
D | support_capture_subprocess.c | 114 char *dirname = xasprintf ("%s/tst-tunables-setuid.%jd", in copy_and_spawn_sgid() local 116 char *execname = xasprintf ("%s/bin", dirname); in copy_and_spawn_sgid() 121 TEST_VERIFY (mkdir (dirname, 0700) == 0); in copy_and_spawn_sgid() 189 if (dirname != NULL) in copy_and_spawn_sgid() 191 rmdir (dirname); in copy_and_spawn_sgid() 192 free (dirname); in copy_and_spawn_sgid()
|
/glibc-2.36/rt/ |
D | shm_unlink.c | 29 struct shmdir_name dirname; in __shm_unlink() local 30 if (__shm_get_name (&dirname, name, false) != 0) in __shm_unlink() 36 int result = __unlink (dirname.name); in __shm_unlink()
|
D | shm_open.c | 31 struct shmdir_name dirname; in __shm_open() local 32 if (__shm_get_name (&dirname, name, false) != 0) in __shm_open() 40 int fd = __open64_nocancel (dirname.name, oflag, mode); in __shm_open()
|
/glibc-2.36/sysdeps/pthread/ |
D | sem_unlink.c | 34 struct shmdir_name dirname; in __sem_unlink() local 35 if (__shm_get_name (&dirname, name, true) != 0) in __sem_unlink() 42 int ret = __unlink (dirname.name); in __sem_unlink()
|
D | sem_open.c | 49 struct shmdir_name dirname; in __sem_open() local 50 if (__shm_get_name (&dirname, name, true) != 0) in __sem_open() 67 fd = __open (dirname.name, in __sem_open() 167 if (__link (tmpfname, dirname.name) != 0) in __sem_open()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | tmpfile.c | 40 const char *dirname = __libc_secure_getenv ("TMPDIR") ?: P_tmpdir; in __tmpfile() local 41 file_t dir = __file_name_lookup (dirname, 0, 0); in __tmpfile()
|
/glibc-2.36/elf/ |
D | neededtest4.c | 67 extern char *dirname (const char *__filename); 76 const char *dir = dirname (argv [0]); in main()
|
D | dl-load.c | 510 if (dirp->dirnamelen == len && memcmp (cp, dirp->dirname, len) == 0) in fillin_rpath() 538 dirp->dirname = ((char *) dirp + sizeof (*dirp) in fillin_rpath() 540 *((char *) __mempcpy ((char *) dirp->dirname, cp, len)) = '\0'; in fillin_rpath() 761 pelem->dirname = strp; in _dl_init_paths() 766 assert (pelem->dirname[0] == '/'); in _dl_init_paths() 1539 char *endp = __mempcpy (buf, (*list)->dirname, (*list)->dirnamelen); in print_search_path() 1831 edp = (char *) __mempcpy (buf, this_dir->dirname, this_dir->dirnamelen); in open_path() 2288 r->dirname, r->dirnamelen - 1); in add_path()
|
/glibc-2.36/io/ |
D | tst-fts.c | 39 make_dir (const char *dirname) in make_dir() argument 42 if (asprintf (&name, "%s/%s", fts_test_dir, dirname) < 0) in make_dir()
|
/glibc-2.36/ |
D | Makefile | 618 test -d `dirname $(objpfx)testroot.pristine$$dso` || \ 619 mkdir -p `dirname $(objpfx)testroot.pristine$$dso` ;\ 627 test -d `dirname $(objpfx)testroot.pristine$$dso` || \ 628 mkdir -p `dirname $(objpfx)testroot.pristine$$dso` ;\
|
/glibc-2.36/misc/ |
D | libgen.h | 26 extern char *dirname (char *__path) __THROW;
|
D | dirname.c | 24 dirname (char *path) in dirname() function
|
D | tst-dirname.c | 31 cp = dirname (cp); in test()
|
/glibc-2.36/conform/data/ |
D | libgen.h-data | 3 function {char*} dirname (char*)
|
/glibc-2.36/iconv/ |
D | tst-gconv-init-failure.c | 40 char *test_program_directory = dirname (xstrdup ((const char *) ptr)); in activate_test_gconv_modules()
|