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

/bind-9.6-ESV-R11/bin/rndc/win32/
H A Dos.c48 struct stat sb; local
50 if (stat(filename, &sb) == -1) {
53 } else if ((sb.st_mode & S_IFREG) == 0) {
/bind-9.6-ESV-R11/bin/rndc/unix/
H A Dos.c50 struct stat sb; local
53 if (stat(filename, &sb) == -1) {
57 } else if ((sb.st_mode & S_IFREG) == 0) {
/bind-9.6-ESV-R11/bin/named/win32/
H A Dos.c181 struct stat sb; local
183 if (stat(filename, &sb) == -1) {
186 } else if ((sb.st_mode & S_IFREG) == 0)
/bind-9.6-ESV-R11/lib/dns/
H A Dopenssldsa_link.c144 const unsigned char *sb; local
183 sb = sigbuf;
184 if (d2i_DSA_SIG(&dsasig, &sb, (long) siglen) == NULL) {
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dcheck.c120 init_sb(const atf_fs_path_t *path, atf_process_stream_t *sb) argument
125 err = atf_process_stream_init_inherit(sb);
127 err = atf_process_stream_init_redirect_path(sb, path);
H A Dutils.c164 struct stat sb; local
165 ATF_REQUIRE_MSG(fstat(input, &sb) != -1,
167 ATF_REQUIRE_MSG(fchmod(output, sb.st_mode) != -1,
H A Dutils_test.c198 struct stat sb; local
199 ATF_REQUIRE(stat("dest.txt", &sb) != -1);
200 ATF_REQUIRE_EQ(0520, sb.st_mode & 0xfff);
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils_test.cpp192 struct stat sb; local
193 ATF_REQUIRE(stat("dest.txt", &sb) != -1);
194 ATF_REQUIRE_EQ(0520, sb.st_mode & 0xfff);
/bind-9.6-ESV-R11/bin/named/unix/
H A Dos.c639 struct stat sb; local
641 if (stat(filename, &sb) == -1) {
644 } else if ((sb.st_mode & S_IFREG) == 0) {
680 struct stat sb; local
683 if (stat(filename, &sb) == -1) {
/bind-9.6-ESV-R11/bin/tests/dst/
H A Dt_dst.c565 struct stat sb; local
575 rval = fstat(fd, &sb);
582 buf = (char *) malloc((sb.st_size + 1) * sizeof(char));
590 len = sb.st_size;
608 len = sb.st_size;
648 struct stat sb; local
669 rval = fstat(fd, &sb);
677 data = (unsigned char *) malloc(sb.st_size * sizeof(unsigned char));
686 len = sb.st_size;
720 isc_buffer_init(&databuf, data, sb
[all...]
/bind-9.6-ESV-R11/contrib/dlz/drivers/
H A Ddlz_filesystem_driver.c374 struct stat sb; local
490 if (stat(tmp, &sb) == 0 ) {
492 if ((sb.st_mode & S_IFDIR) != 0) {
603 struct stat sb; local
615 if (stat(path, &sb) != 0) {
620 if ((sb.st_mode & S_IFREG) != 0) {
642 struct stat sb; local
672 if (stat(basepath, &sb) != 0) {
677 if ((sb.st_mode & S_IFDIR) == 0) {
757 struct stat sb; local
796 struct stat sb; local
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dprocess.c64 stream_prepare_init(stream_prepare_t *sp, const atf_process_stream_t *sb) argument
68 const int type = atf_process_stream_type(sb);
70 sp->m_sb = sb;
108 stream_is_valid(const atf_process_stream_t *sb) argument
110 return (sb->m_type == atf_process_stream_type_capture) ||
111 (sb->m_type == atf_process_stream_type_connect) ||
112 (sb->m_type == atf_process_stream_type_inherit) ||
113 (sb->m_type == atf_process_stream_type_redirect_fd) ||
114 (sb->m_type == atf_process_stream_type_redirect_path);
118 atf_process_stream_init_capture(atf_process_stream_t *sb) argument
127 atf_process_stream_init_connect(atf_process_stream_t *sb, const int src_fd, const int tgt_fd) argument
143 atf_process_stream_init_inherit(atf_process_stream_t *sb) argument
152 atf_process_stream_init_redirect_fd(atf_process_stream_t *sb, const int fd) argument
163 atf_process_stream_init_redirect_path(atf_process_stream_t *sb, const atf_fs_path_t *path) argument
174 atf_process_stream_fini(atf_process_stream_t *sb) argument
180 atf_process_stream_type(const atf_process_stream_t *sb) argument
[all...]
H A Dprocess_test.c451 atf_process_stream_t sb; local
453 RE(atf_process_stream_init_capture(&sb));
455 ATF_CHECK_EQ(atf_process_stream_type(&sb),
458 atf_process_stream_fini(&sb);
469 atf_process_stream_t sb; local
471 RE(atf_process_stream_init_connect(&sb, 1, 2));
473 ATF_CHECK_EQ(atf_process_stream_type(&sb),
476 atf_process_stream_fini(&sb);
487 atf_process_stream_t sb; local
489 RE(atf_process_stream_init_inherit(&sb));
505 atf_process_stream_t sb; local
523 atf_process_stream_t sb; local
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dsocket.c4564 struct stat sb; local
4599 if (stat(sockaddr->type.sunix.sun_path, &sb) < 0) {
4607 if (!(S_ISSOCK(sb.st_mode) || S_ISFIFO(sb.st_mode))) {
4634 if (stat(sockaddr->type.sunix.sun_path, &sb) < 0) {
4649 if (!(S_ISSOCK(sb.st_mode) || S_ISFIFO(sb.st_mode))) {

Completed in 71 milliseconds