Searched defs:mode (Results 1 - 18 of 18) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/unix/
H A Dfsaccess.c38 mode_t mode; local
58 mode = 0;
62 mode |= modebit; \
89 if (chmod(path, mode) < 0)
H A Dstdio.c31 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
34 f = fopen(filename, mode);
H A Dfile.c250 int mode; local
268 mode = S_IWUSR|S_IRUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
270 while ((fd = open(templet, O_RDWR|O_CREAT|O_EXCL, mode)) == -1) {
H A Difiter_ioctl.c56 int mode; member in struct:isc_interfaceiter
278 iter->mode = 6;
303 iter->mode = 4;
790 if (iter->mode == 6) {
872 if (iter->mode == 6) {
/bind-9.6-ESV-R11/lib/dns/
H A Ddbiterator.c139 dns_dbiterator_setcleanmode(dns_dbiterator_t *iterator, isc_boolean_t mode) { argument
142 iterator->cleaning = mode;
H A Dorder.c41 unsigned int mode; member in struct:dns_order_ent
85 unsigned int mode)
90 REQUIRE(mode == DNS_RDATASETATTR_RANDOMIZE ||
91 mode == DNS_RDATASETATTR_FIXEDORDER ||
92 mode == 0 /* DNS_RDATASETATTR_CYCLIC */ );
103 ent->mode = mode;
133 return (ent->mode);
83 dns_order_add(dns_order_t *order, dns_name_t *name, dns_rdatatype_t rdtype, dns_rdataclass_t rdclass, unsigned int mode) argument
H A Dopenssl_link.c116 lock_callback(int mode, int type, const char *file, int line) { argument
119 if ((mode & CRYPTO_LOCK) != 0)
H A Dmaster.c625 char mode[2]; local
648 &delta, &width, mode);
658 "%%0%u%c", width, mode[0]);
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dtkey_249.h32 isc_uint16_t mode; member in struct:dns_rdata_tkey
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dstdio.c30 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
33 f = fopen(filename, mode);
H A Dfile.c321 openuniquemode(char *templet, int mode, isc_boolean_t binary, FILE **fp) { argument
338 UNUSED(mode);
340 (void)fchmod(fd, mode);
356 int mode = _S_IREAD | _S_IWRITE; local
357 return (openuniquemode(templet, mode, ISC_FALSE, fp));
362 int mode = _S_IREAD | _S_IWRITE; local
363 return (openuniquemode(templet, mode, ISC_TRUE, fp));
H A Dfsaccess.c115 int mode; local
121 mode = 0;
125 mode |= modebit; \
147 if (_chmod(path, mode) < 0)
/bind-9.6-ESV-R11/bin/named/unix/
H A Dos.c677 unsigned int mode; local
692 mode = S_IRUSR | S_IWUSR | S_IXUSR; /* u=rwx */
693 mode |= S_IRGRP | S_IXGRP; /* g=rx */
694 mode |= S_IROTH | S_IXOTH; /* o=rx */
695 if (mkdir(filename, mode) == -1) {
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dfs.cpp80 safe_access(const impl::path& p, int mode, int experr) argument
84 atf_error_t err = atf_fs_eaccess(p.c_path(), mode);
/bind-9.6-ESV-R11/bin/named/
H A Dzoneconf.c200 const cfg_obj_t *mode = cfg_tuple_get(stmt, "mode"); local
213 str = cfg_obj_asstring(mode);
H A Dserver.c722 unsigned int mode = 0; local
756 mode = DNS_RDATASETATTR_FIXEDORDER;
758 mode = DNS_RDATASETATTR_RANDOMIZE;
760 mode = 0;
771 rdtype, rdclass, mode);
777 rdtype, rdclass, mode));
3578 * used if we're in lwresd mode. This way is easier.
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dfs.c695 atf_fs_eaccess(const atf_fs_path_t *p, int mode) argument
701 PRE(mode & atf_fs_access_f || mode & atf_fs_access_r ||
702 mode & atf_fs_access_w || mode & atf_fs_access_x);
714 if (mode & atf_fs_access_f)
719 if (!ok && !(mode & atf_fs_access_x)) {
731 ok = ((mode & atf_fs_access_r) && (st.st_mode & S_IRUSR)) ||
732 ((mode & atf_fs_access_w) && (st.st_mode & S_IWUSR)) ||
733 ((mode
[all...]
H A Dfs_test.c52 create_dir(const char *p, int mode) argument
56 ret = mkdir(p, mode);
63 create_file(const char *p, int mode) argument
67 fd = open(p, O_CREAT | O_WRONLY | O_TRUNC, mode);
686 printf("File mode : %04o\n", (unsigned int)t->fmode);
687 printf("Access mode : 0x%02x\n", t->amode);

Completed in 78 milliseconds