/bind-9.11.3/lib/isc/tests/ |
H A D | symtab_test.c | 43 isc_symtab_t *st = NULL; local 53 result = isc_symtab_create(mctx, 3, undefine, NULL, ISC_FALSE, &st); 55 ATF_REQUIRE(st != NULL); 71 result = isc_symtab_define(st, key, 1, value, policy); 88 result = isc_symtab_define(st, key, 1, value, policy); 100 result = isc_symtab_lookup(st, str, 0, &value); 112 result = isc_symtab_undefine(st, str, 1); 123 result = isc_symtab_lookup(st, str, 0, &value); 127 isc_symtab_destroy(&st);
|
/bind-9.11.3/bin/tests/ |
H A D | sym_test.c | 22 isc_symtab_t *st; variable 64 case_sensitive, &st) == ISC_R_SUCCESS); 77 result = isc_symtab_undefine(st, cp, 1); 86 result = isc_symtab_lookup(st, key, 0, &value); 100 result = isc_symtab_define(st, key, 1, value, 114 isc_symtab_destroy(&st);
|
/bind-9.11.3/lib/isc/win32/ |
H A D | time.c | 271 SYSTEMTIME st; local 280 FileTimeToSystemTime(&localft, &st)) { 281 GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, "dd-MMM-yyyy", 284 TIME_FORCE24HOURFORMAT, &st, NULL, TimeBuf, 50); 287 st.wMilliseconds); 296 SYSTEMTIME st; local 306 if (FileTimeToSystemTime(&t->absolute, &st)) { 307 GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, 311 &st, "hh':'mm':'ss", TimeBuf, 50); 340 SYSTEMTIME st; local 364 SYSTEMTIME st; local [all...] |
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | fs.c | 546 atf_fs_stat_init(atf_fs_stat_t *st, const atf_fs_path_t *p) argument 551 if (lstat(pstr, &st->m_sb) == -1) { 555 int type = st->m_sb.st_mode & S_IFMT; 558 case S_IFBLK: st->m_type = atf_fs_stat_blk_type; break; 559 case S_IFCHR: st->m_type = atf_fs_stat_chr_type; break; 560 case S_IFDIR: st->m_type = atf_fs_stat_dir_type; break; 561 case S_IFIFO: st->m_type = atf_fs_stat_fifo_type; break; 562 case S_IFLNK: st->m_type = atf_fs_stat_lnk_type; break; 563 case S_IFREG: st->m_type = atf_fs_stat_reg_type; break; 564 case S_IFSOCK: st 593 atf_fs_stat_get_device(const atf_fs_stat_t *st) argument 599 atf_fs_stat_get_inode(const atf_fs_stat_t *st) argument 605 atf_fs_stat_get_mode(const atf_fs_stat_t *st) argument 611 atf_fs_stat_get_size(const atf_fs_stat_t *st) argument 617 atf_fs_stat_get_type(const atf_fs_stat_t *st) argument 623 atf_fs_stat_is_owner_readable(const atf_fs_stat_t *st) argument 629 atf_fs_stat_is_owner_writable(const atf_fs_stat_t *st) argument 635 atf_fs_stat_is_owner_executable(const atf_fs_stat_t *st) argument 641 atf_fs_stat_is_group_readable(const atf_fs_stat_t *st) argument 647 atf_fs_stat_is_group_writable(const atf_fs_stat_t *st) argument 653 atf_fs_stat_is_group_executable(const atf_fs_stat_t *st) argument 659 atf_fs_stat_is_other_readable(const atf_fs_stat_t *st) argument 665 atf_fs_stat_is_other_writable(const atf_fs_stat_t *st) argument 671 atf_fs_stat_is_other_executable(const atf_fs_stat_t *st) argument 694 struct stat st; local [all...] |
H A D | fs_test.c | 439 atf_fs_stat_t st; local 445 RE(atf_fs_stat_init(&st, &p)); 446 ATF_CHECK_EQ(0400, atf_fs_stat_get_mode(&st)); 447 atf_fs_stat_fini(&st); 451 RE(atf_fs_stat_init(&st, &p)); 452 ATF_CHECK_EQ(0644, atf_fs_stat_get_mode(&st)); 453 atf_fs_stat_fini(&st); 466 atf_fs_stat_t st; local 472 RE(atf_fs_stat_init(&st, &p)); 473 ATF_REQUIRE_EQ(atf_fs_stat_get_type(&st), atf_fs_stat_dir_typ 492 atf_fs_stat_t st; local [all...] |
/bind-9.11.3/unit/atf-src/tools/ |
H A D | fs.cpp | 89 struct stat st; local 90 if (lstat(p.c_str(), &st) == -1) 107 if (!ok && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) { 113 if (!ok && (tools::user::euid() == st.st_uid)) { 114 ok = ((mode & access_r) && (st.st_mode & S_IRUSR)) || 115 ((mode & access_w) && (st.st_mode & S_IWUSR)) || 116 ((mode & access_x) && (st.st_mode & S_IXUSR)); 118 if (!ok && tools::user::is_member_of_group(st.st_gid)) { 119 ok = ((mode & access_r) && (st.st_mode & S_IRGRP)) || 120 ((mode & access_w) && (st [all...] |
/bind-9.11.3/lib/dns/ |
H A D | rdata.c | 745 isc_buffer_t st; local 762 st = *target; 784 length = isc_buffer_usedlength(target) - isc_buffer_usedlength(&st); 795 region.base = isc_buffer_used(&st); 802 *target = st; 814 isc_buffer_t st; local 827 st = *target; 840 *target = st; 921 isc_buffer_t st; local 942 st 1170 isc_buffer_t st; local [all...] |
H A D | message.c | 1979 isc_buffer_t st; /* for rollbacks */ local 2030 st = *(msg->buffer); 2061 INSIST(st.used < 65536); 2063 (isc_uint16_t)st.used); 2064 *(msg->buffer) = st; /* rollback */ 2115 st = *(msg->buffer); 2161 INSIST(st.used < 65536); 2163 (isc_uint16_t)st.used); 2164 *(msg->buffer) = st; /* rollback */
|
/bind-9.11.3/bin/named/ |
H A D | query.c | 980 dns_rpz_st_t *st; local 1000 st = client->query.rpz_st; 1001 if ((st->popt.no_log & DNS_RPZ_ZBIT(rpz_num)) != 0) 1096 dns_rpz_st_t *st = client->query.rpz_st; local 1102 if (st->popt.no_log == 0 && 4222 rpz_match_clear(dns_rpz_st_t *st) { argument 4223 rpz_clean(&st->m.zone, &st->m.db, &st->m.node, &st 4248 dns_rpz_st_t *st = client->query.rpz_st; local 4276 dns_rpz_st_t *st; local 4395 dns_rpz_st_t *st; local 4720 rpz_save_p(dns_rpz_st_t *st, dns_rpz_zone_t *rpz, dns_rpz_type_t rpz_type, dns_rpz_policy_t policy, dns_name_t *p_name, dns_rpz_prefix_t prefix, isc_result_t result, dns_zone_t **zonep, dns_db_t **dbp, dns_dbnode_t **nodep, dns_rdataset_t **rdatasetp, dns_dbversion_t *version) argument 4762 dns_rpz_st_t *st; local 4997 dns_rpz_st_t *st; local 5059 dns_rpz_st_t *st; local 5232 dns_rpz_st_t *st; local 5267 dns_rpz_st_t *st; local 5724 rpz_add_cname(ns_client_t *client, dns_rpz_st_t *st, dns_name_t *cname, dns_name_t *fname, isc_buffer_t *dbuf) argument [all...] |