/glibc-2.36/io/ |
D | bug-ftw3.c | 23 char *dname; in main() local 34 dname = mkdtemp (tmp); in main() 35 if (dname == NULL) in main() 46 rmdir (dname); in main() 50 if (chmod (dname, S_IWUSR|S_IWGRP|S_IWOTH) != 0) in main() 53 rmdir (dname); in main() 64 chmod (dname, S_IRWXU|S_IRWXG|S_IRWXO); in main() 66 rmdir (dname); in main()
|
/glibc-2.36/resolv/ |
D | res_mkquery.c | 99 __res_context_mkquery (struct resolv_context *ctx, int op, const char *dname, in __res_context_mkquery() argument 144 n = __ns_name_compress (dname, cp, buflen, in __res_context_mkquery() 182 int op, const char *dname, int class, int type, in libc_hidden_def() 189 (ctx, op, dname, class, type, data, buf, buflen); in libc_hidden_def() 207 ___res_nmkquery (res_state statp, int op, const char *dname, in ___res_nmkquery() argument 215 op, dname, class, type, data, buf, buflen); in ___res_nmkquery() 223 ___res_mkquery (int op, const char *dname, int class, int type, in ___res_mkquery() argument 230 op, dname, class, type, data, buf, buflen); in ___res_mkquery()
|
D | res_query.c | 423 const char *dname = __resolv_context_search_list in __res_context_search() local 425 if (dname == NULL) in __res_context_search() 438 if (dname[0] == '.') in __res_context_search() 439 dname++; in __res_context_search() 440 if (dname[0] == '\0') in __res_context_search() 444 (ctx, name, dname, class, type, in __res_context_search()
|
D | resolv-internal.h | 63 int __res_context_mkquery (struct resolv_context *, int op, const char *dname,
|
/glibc-2.36/nscd/ |
D | nscd.h | 80 char dname[PATH_MAX]; member 95 char *dname; in init_traced_file() local 103 file->dname[0] = '\0'; in init_traced_file() 104 dname = strrchr (fname, '/'); in init_traced_file() 105 if (dname != NULL) in init_traced_file() 107 size_t len = (size_t)(dname - fname); in init_traced_file() 108 if (len > sizeof (file->dname)) in init_traced_file() 110 memcpy (file->dname, file->fname, len); in init_traced_file() 111 file->dname[len] = '\0'; in init_traced_file() 114 file->sfname = &dname[1]; in init_traced_file()
|
D | connections.c | 873 finfo->dname, in install_watches() 882 finfo->dname, finfo->inotify_descr[TRACED_DIR]); in install_watches() 1890 finfo->dname, moved ? "moved" : "deleted", finfo->fname); in inotify_check_files() 1893 finfo->dname, strerror (errno)); in inotify_check_files()
|
/glibc-2.36/support/ |
D | support_format_dns_packet.c | 71 struct dname struct 77 extract_name (struct in_buffer full, struct in_buffer *in, struct dname *value) in extract_name() argument 95 const struct dname *owner, const char *typename, FILE *out) in extract_name_data() 97 struct dname name; in extract_name_data() 133 struct dname qname; in support_format_dns_packet() 157 struct dname rname; in support_format_dns_packet()
|
D | shell-container.c | 95 char *dname = argv[1]; in copy_func() local 115 dfd = open (dname, O_WRONLY | O_TRUNC | O_CREAT, 0600); in copy_func() 119 dname, strerror (errno)); in copy_func() 126 sname, dname, strerror (errno)); in copy_func() 131 chmod (dname, st.st_mode & 0777); in copy_func()
|
D | test-container.c | 440 copy_one_file (const char *sname, const char *dname) in copy_one_file() argument 453 dfd = open (dname, O_WRONLY | O_TRUNC | O_CREAT, 0600); in copy_one_file() 455 FAIL_EXIT1 ("unable to open %s for writing\n", dname); in copy_one_file() 462 if (chmod (dname, st.st_mode & 0777) < 0) in copy_one_file() 463 FAIL_EXIT1 ("chmod %s: %s\n", dname, strerror (errno)); in copy_one_file() 467 if (utime (dname, ×) < 0) in copy_one_file() 468 FAIL_EXIT1 ("utime %s: %s\n", dname, strerror (errno)); in copy_one_file()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | malloc-hugepages.c | 172 const char *dname = begin + offsetof (struct dirent64, d_name); in __malloc_hugepage_config() local 175 if (dname[0] == '.' in __malloc_hugepage_config() 176 || strncmp (dname, "hugepages-", sizeof ("hugepages-") - 1) != 0) in __malloc_hugepage_config() 180 const char *sizestr = dname + sizeof ("hugepages-") - 1; in __malloc_hugepage_config()
|
D | closefrom_fallback.c | 75 const char *dname = begin + offsetof (struct dirent64, d_name); in __closefrom_fallback() local 78 if (dname[0] == '.') in __closefrom_fallback() 82 for (const char *s = dname; (unsigned int) (*s) - '0' < 10; s++) in __closefrom_fallback()
|