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

12

/bind-9.11.3/lib/isc/unix/
H A Dfsaccess.c29 mode_t mode; local
49 mode = 0;
53 mode |= modebit; \
80 if (chmod(path, mode) < 0)
H A Dstdio.c23 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
26 f = fopen(filename, mode);
H A Difiter_ioctl.c49 int mode; member in struct:isc_interfaceiter
271 iter->mode = 6;
296 iter->mode = 4;
784 if (iter->mode == 6) {
866 if (iter->mode == 6) {
H A Dfile.c301 int mode = S_IWUSR|S_IRUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; local
302 return (isc_file_openuniquemode(templet, mode, fp));
307 int mode = S_IWUSR|S_IRUSR; local
308 return (isc_file_openuniquemode(templet, mode, fp));
312 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
338 while ((fd = open(templet, O_RDWR|O_CREAT|O_EXCL, mode)) == -1) {
371 int mode = S_IWUSR|S_IRUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; local
372 return (isc_file_openuniquemode(templet, mode, fp));
377 int mode = S_IWUSR|S_IRUSR; local
378 return (isc_file_openuniquemode(templet, mode, f
382 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp) argument
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dtkey_249.h23 isc_uint16_t mode; member in struct:dns_rdata_tkey
/bind-9.11.3/lib/dns/
H A Ddbiterator.c130 dns_dbiterator_setcleanmode(dns_dbiterator_t *iterator, isc_boolean_t mode) { argument
133 iterator->cleaning = mode;
H A Dorder.c32 unsigned int mode; member in struct:dns_order_ent
76 unsigned int mode)
81 REQUIRE(mode == DNS_RDATASETATTR_RANDOMIZE ||
82 mode == DNS_RDATASETATTR_FIXEDORDER ||
83 mode == 0 /* DNS_RDATASETATTR_CYCLIC */ );
94 ent->mode = mode;
124 return (ent->mode);
74 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.c108 lock_callback(int mode, int type, const char *file, int line) { argument
111 if ((mode & CRYPTO_LOCK) != 0)
H A Ddst_parse.c687 mode_t mode; local
703 result = isc_file_mode(filename, &mode);
704 if (result == ISC_R_SUCCESS && mode != 0600) {
720 filename, (unsigned int)mode);
H A Ddnstap.c89 dns_dtmode_t mode; member in struct:dns_dthandle
106 dns_dtmode_t mode; member in struct:dns_dtenv
173 dns_dt_create(isc_mem_t *mctx, dns_dtmode_t mode, const char *path, argument
216 if (mode == dns_dtmode_file) {
222 } else if (mode == dns_dtmode_unix) {
243 env->mode = mode;
302 if (env->mode == dns_dtmode_file) {
308 } else if (env->mode == dns_dtmode_unix) {
335 if (env->mode
843 dns_dt_open(const char *filename, dns_dtmode_t mode, isc_mem_t *mctx, dns_dthandle_t **handlep) argument
[all...]
H A Djournal.c691 dns_journal_open(isc_mem_t *mctx, const char *filename, unsigned int mode, argument
699 create = ISC_TF(mode & DNS_JOURNAL_CREATE);
700 writable = ISC_TF(mode & (DNS_JOURNAL_WRITE|DNS_JOURNAL_CREATE));
H A Dmaster.c640 nibbles(char *numbuf, size_t length, unsigned int width, char mode, int value) { argument
651 char val = hex[(value & 0x0f) + ((mode == 'n') ? 0 : 16)];
685 char mode[2]; local
710 &delta, &width, mode);
719 if (mode[0] == 'n' || mode[0] == 'N')
722 "%%0%u%c", width, mode[0]);
735 mode[0], it + delta);
/bind-9.11.3/lib/isc/win32/
H A Dstdio.c25 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
28 f = fopen(filename, mode);
H A Dfsaccess.c104 int mode; local
110 mode = 0;
114 mode |= modebit; \
136 if (_chmod(path, mode) < 0)
H A Dfile.c377 openuniquemode(char *templet, int mode, isc_boolean_t binary, FILE **fp) { argument
394 UNUSED(mode);
396 (void)fchmod(fd, mode);
412 int mode = _S_IREAD | _S_IWRITE; local
413 return (openuniquemode(templet, mode, ISC_FALSE, fp));
418 int mode = _S_IREAD | _S_IWRITE; local
419 return (openuniquemode(templet, mode, ISC_FALSE, fp));
423 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
424 return (openuniquemode(templet, mode, ISC_FALSE, fp));
429 int mode local
435 int mode = _S_IREAD | _S_IWRITE; local
440 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp) argument
[all...]
H A Dpk11_api.c37 DWORD cc, mode; local
45 GetConsoleMode(h, &mode);
58 SetConsoleMode(h, mode);
/bind-9.11.3/lib/isc/include/isc/
H A Dtask.h105 isc_taskmgrmode_t mode);
106 isc_taskmgrmode_t (*mode)(isc_taskmgr_t *manager); member in struct:isc_taskmgrmethods
473 * moves into a "shutting down" mode which prevents further calls
631 * but when the task manager has been set to privileged execution mode via
635 * return to normal execution mode and nonprivileged task can resume.
703 isc_taskmgr_setmode(isc_taskmgr_t *manager, isc_taskmgrmode_t mode);
708 * Set/get the current operating mode of the task manager. Valid modes are:
713 * In privileged execution mode, only tasks that have had the "privilege"
715 * tasks are complete, the manager automatically returns to normal mode
718 * queue *before* setting the manager into privileged execution mode,
[all...]
/bind-9.11.3/bin/named/win32/
H A Dos.c180 safe_open(const char *filename, int mode, isc_boolean_t append) { argument
191 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND, mode);
194 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode);
225 ns_os_openfile(const char *filename, int mode, isc_boolean_t switch_user) { argument
231 fd = safe_open(filename, mode, ISC_FALSE);
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dfs.cpp76 safe_access(const impl::path& p, int mode, int experr) argument
80 atf_error_t err = atf_fs_eaccess(p.c_path(), mode);
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dfs.c691 atf_fs_eaccess(const atf_fs_path_t *p, int mode) argument
697 PRE(mode & atf_fs_access_f || mode & atf_fs_access_r ||
698 mode & atf_fs_access_w || mode & atf_fs_access_x);
710 if (mode & atf_fs_access_f)
715 if (!ok && !(mode & atf_fs_access_x)) {
727 ok = ((mode & atf_fs_access_r) && (st.st_mode & S_IRUSR)) ||
728 ((mode & atf_fs_access_w) && (st.st_mode & S_IWUSR)) ||
729 ((mode
[all...]
H A Dfs_test.c49 create_dir(const char *p, int mode) argument
53 ret = mkdir(p, mode);
60 create_file(const char *p, int mode) argument
64 fd = open(p, O_CREAT | O_WRONLY | O_TRUNC, mode);
683 printf("File mode : %04o\n", (unsigned int)t->fmode);
684 printf("Access mode : 0x%02x\n", t->amode);
/bind-9.11.3/bin/named/unix/
H A Dos.c645 safe_open(const char *filename, mode_t mode, isc_boolean_t append) { argument
658 fd = open(filename, O_WRONLY|O_CREAT|O_APPEND, mode);
662 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, mode);
704 unsigned int mode; local
728 mode = S_IRUSR | S_IWUSR | S_IXUSR; /* u=rwx */
729 mode |= S_IRGRP | S_IXGRP; /* g=rx */
730 mode |= S_IROTH | S_IXOTH; /* o=rx */
731 if (mkdir(filename, mode) == -1) {
797 ns_os_openfile(const char *filename, mode_t mode, isc_boolean_t switch_user) { argument
825 fd = safe_open(filename, mode, ISC_FALS
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dfs.cpp84 eaccess(const tools::fs::path& p, int mode) argument
86 assert(mode & access_f || mode & access_r ||
87 mode & access_w || mode & access_x);
97 if (mode & access_f)
102 if (!ok && !(mode & access_x)) {
114 ok = ((mode & access_r) && (st.st_mode & S_IRUSR)) ||
115 ((mode & access_w) && (st.st_mode & S_IWUSR)) ||
116 ((mode
145 safe_access(const impl::path& p, int mode, int experr) argument
[all...]
/bind-9.11.3/bin/named/
H A Dzoneconf.c210 const cfg_obj_t *mode = cfg_tuple_get(stmt, "mode"); local
224 str = cfg_obj_asstring(mode);
1557 result = cfg_map_get(zoptions, "dnssec-update-mode", &obj);
/bind-9.11.3/lib/isc/
H A Dtask.c143 isc_taskmgrmode_t mode; member in struct:isc__taskmgr
242 isc__taskmgr_setmode(isc_taskmgr_t *manager0, isc_taskmgrmode_t mode);
475 if (manager->mode == isc_taskmgrmode_normal || has_privilege)
942 * the manager is currently in normal or privileged execution mode.
950 if (manager->mode == isc_taskmgrmode_normal)
970 if (manager->mode == isc_taskmgrmode_normal)
1276 * If we are in privileged execution mode and there are no
1282 manager->mode = isc_taskmgrmode_normal;
1295 manager->mode = isc_taskmgrmode_normal;
1384 manager->mode
1604 isc__taskmgr_setmode(isc_taskmgr_t *manager0, isc_taskmgrmode_t mode) argument
1615 isc_taskmgrmode_t mode; local
2107 isc_taskmgr_setmode(isc_taskmgr_t *manager, isc_taskmgrmode_t mode) argument
[all...]

Completed in 67 milliseconds

12