Searched defs:sb (Results 1 - 14 of 14) sorted by relevance

/bind-9.11.3/unit/atf-src/atf-c/
H A Dcheck.c116 init_sb(const atf_fs_path_t *path, atf_process_stream_t *sb) argument
121 err = atf_process_stream_init_inherit(sb);
123 err = atf_process_stream_init_redirect_path(sb, path);
H A Dutils.c188 struct stat sb; local
189 ATF_REQUIRE_MSG(fstat(input, &sb) != -1,
191 ATF_REQUIRE_MSG(fchmod(output, sb.st_mode) != -1,
H A Dutils_test.c195 struct stat sb; local
196 ATF_REQUIRE(stat("dest.txt", &sb) != -1);
197 ATF_REQUIRE_EQ(0520, sb.st_mode & 0xfff);
/bind-9.11.3/bin/named/win32/
H A Dos.c182 struct stat sb; local
184 if (stat(filename, &sb) == -1) {
187 } else if ((sb.st_mode & S_IFREG) == 0)
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils_test.cpp188 struct stat sb; local
189 ATF_REQUIRE(stat("dest.txt", &sb) != -1);
190 ATF_REQUIRE_EQ(0520, sb.st_mode & 0xfff);
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_filesystem_driver.c365 struct stat sb; local
481 if (stat(tmp, &sb) == 0 ) {
483 if ((sb.st_mode & S_IFDIR) != 0) {
594 struct stat sb; local
606 if (stat(path, &sb) != 0) {
611 if ((sb.st_mode & S_IFREG) != 0) {
633 struct stat sb; local
663 if (stat(basepath, &sb) != 0) {
668 if ((sb.st_mode & S_IFDIR) == 0) {
749 struct stat sb; local
791 struct stat sb; local
[all...]
/bind-9.11.3/contrib/dlz/modules/filesystem/
H A Ddlz_filesystem_dynamic.c344 struct stat sb; local
458 if (stat(tmp, &sb) == 0 ) {
460 if ((sb.st_mode & S_IFDIR) != 0) {
558 struct stat sb; local
568 if (stat(path, &sb) != 0) {
573 if ((sb.st_mode & S_IFREG) != 0) {
592 struct stat sb; local
618 if (stat(basepath, &sb) != 0) {
623 if ((sb.st_mode & S_IFDIR) == 0) {
707 struct stat sb; local
754 struct stat sb; local
[all...]
/bind-9.11.3/lib/dns/
H A Dopenssldsa_link.c215 const unsigned char *sb; local
254 sb = sigbuf;
255 if (d2i_DSA_SIG(&dsasig, &sb, (long) siglen) == NULL) {
/bind-9.11.3/lib/isc/unix/
H A Dfile.c586 struct stat sb; local
593 result = file_stats(filename, &sb);
595 if ((sb.st_mode & S_IFREG) == 0)
H A Dsocket.c5376 struct stat sb; local
5411 if (stat(sockaddr->type.sunix.sun_path, &sb) < 0) {
5419 if (!(S_ISSOCK(sb.st_mode) || S_ISFIFO(sb.st_mode))) {
5446 if (stat(sockaddr->type.sunix.sun_path, &sb) < 0) {
5461 if (!(S_ISSOCK(sb.st_mode) || S_ISFIFO(sb.st_mode))) {
/bind-9.11.3/lib/isc/win32/
H A Dfile.c663 struct stat sb; local
670 result = file_stats(filename, &sb);
672 if ((sb.st_mode & S_IFREG) == 0)
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dprocess.c60 stream_prepare_init(stream_prepare_t *sp, const atf_process_stream_t *sb) argument
64 const int type = atf_process_stream_type(sb);
66 sp->m_sb = sb;
104 stream_is_valid(const atf_process_stream_t *sb) argument
106 return (sb->m_type == atf_process_stream_type_capture) ||
107 (sb->m_type == atf_process_stream_type_connect) ||
108 (sb->m_type == atf_process_stream_type_inherit) ||
109 (sb->m_type == atf_process_stream_type_redirect_fd) ||
110 (sb->m_type == atf_process_stream_type_redirect_path);
114 atf_process_stream_init_capture(atf_process_stream_t *sb) argument
123 atf_process_stream_init_connect(atf_process_stream_t *sb, const int src_fd, const int tgt_fd) argument
139 atf_process_stream_init_inherit(atf_process_stream_t *sb) argument
148 atf_process_stream_init_redirect_fd(atf_process_stream_t *sb, const int fd) argument
159 atf_process_stream_init_redirect_path(atf_process_stream_t *sb, const atf_fs_path_t *path) argument
170 atf_process_stream_fini(atf_process_stream_t *sb) argument
176 atf_process_stream_type(const atf_process_stream_t *sb) argument
[all...]
H A Dprocess_test.c447 atf_process_stream_t sb; local
449 RE(atf_process_stream_init_capture(&sb));
451 ATF_CHECK_EQ(atf_process_stream_type(&sb),
454 atf_process_stream_fini(&sb);
465 atf_process_stream_t sb; local
467 RE(atf_process_stream_init_connect(&sb, 1, 2));
469 ATF_CHECK_EQ(atf_process_stream_type(&sb),
472 atf_process_stream_fini(&sb);
483 atf_process_stream_t sb; local
485 RE(atf_process_stream_init_inherit(&sb));
501 atf_process_stream_t sb; local
519 atf_process_stream_t sb; local
[all...]
/bind-9.11.3/bin/named/unix/
H A Dos.c647 struct stat sb; local
649 if (stat(filename, &sb) == -1) {
652 } else if ((sb.st_mode & S_IFREG) == 0) {
707 struct stat sb; local
710 if (stat(filename, &sb) == -1) {

Completed in 50 milliseconds