/bind-9.6-ESV-R11/lib/lwres/win32/ |
H A D | socket.c | 27 int err; local 31 err = WSAStartup( wVersionRequested, &wsaData ); 32 if (err != 0) { 33 fprintf(stderr, "WSAStartup() failed: %d\n", err);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-version/ |
H A D | generate-revision.sh | 44 # err message 46 err() { function 122 err "Unknown option ${arg}" 127 err "Must specify the top-level source directory with -r" 129 err "Must specify an output file with -o" 131 err "Must specify a version number with -v"
|
/bind-9.6-ESV-R11/unit/atf-src/admin/ |
H A D | check-style.sh | 39 # err message 41 err() { function 147 err=0 149 awk -f ${topdir}/admin/check-style-${format}.awk ${1} || err=1 152 return ${err} 163 err "Could not locate the project's top directory" 178 err "Could not open ${file}"
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | herror.c | 53 gievn by err. The values of the error codes and messages are as 112 lwres_hstrerror(int err) { argument 113 if (err < 0) 115 else if (err < h_nerr) 116 return (h_errlist[err]);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/ |
H A D | env.c | 60 atf_error_t err; local 64 err = atf_libc_error(errno, "Cannot set environment variable " 67 err = atf_no_error(); 71 err = atf_text_format(&buf, "%s=%s", name, val); 72 if (!atf_is_error(err)) { 74 err = atf_libc_error(errno, "Cannot set environment variable " 82 return err; 88 atf_error_t err; local 92 err = atf_no_error(); 96 err [all...] |
H A D | text.c | 46 atf_error_t err; local 51 err = atf_no_memory_error(); 55 err = atf_no_error(); 57 while (str2 != NULL && !atf_is_error(err)) { 58 err = func(str2, data); 64 return err; 70 atf_error_t err; local 74 err = atf_text_format_ap(dest, fmt, ap); 77 return err; 83 atf_error_t err; local 99 atf_error_t err; local 146 atf_error_t err; local 168 atf_error_t err; local [all...] |
H A D | dynstr_test.c | 164 atf_error_t err = atf_dynstr_init_raw(&str, "NULL", SIZE_MAX - 1); local 165 ATF_REQUIRE(atf_is_error(err)); 166 ATF_REQUIRE(atf_error_is(err, "no_memory")); 167 atf_error_free(err); 203 atf_error_t err; local 205 err = atf_dynstr_init_rep(&str, SIZE_MAX, 'a'); 206 ATF_REQUIRE(atf_is_error(err)); 207 ATF_REQUIRE(atf_error_is(err, "no_memory")); 208 atf_error_free(err); 210 err 416 atf_error_t err; local 528 atf_error_t err; local [all...] |
H A D | map_test.c | 112 atf_error_t err = atf_map_init_charpp(&map, array); local 113 ATF_REQUIRE(atf_is_error(err)); 114 ATF_REQUIRE(atf_error_is(err, "libc"));
|
H A D | text_test.c | 46 atf_error_t err = exp; \ 47 ATF_REQUIRE(atf_is_error(err)); \ 48 atf_error_free(err); \ 119 atf_error_t err; local 122 err = atf_no_memory_error(); /* Just a random error. */ 125 err = atf_no_error(); 128 return err; 178 atf_error_t err = atf_text_for_each_word("a b c d e", " ", local 180 ATF_REQUIRE(atf_is_error(err)); 181 ATF_REQUIRE(atf_error_is(err, "no_memor 196 atf_error_t err; local 209 atf_error_t err; local [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | env.cpp | 62 atf_error_t err = atf_env_set(name.c_str(), val.c_str()); local 63 if (atf_is_error(err)) 64 throw_atf_error(err); 70 atf_error_t err = atf_env_unset(name.c_str()); local 71 if (atf_is_error(err)) 72 throw_atf_error(err);
|
H A D | exceptions_test.cpp | 55 test_format(const atf_error_t err, char *buf, size_t buflen) argument 59 PRE(atf_error_is(err, "test")); 61 data = static_cast< const test_error_data_t * >(atf_error_data(err)); 69 atf_error_t err; local 74 err = atf_error_new("test", &data, sizeof(data), test_format); 76 return err;
|
H A D | exceptions.cpp | 94 throw_libc_error(atf_error_t err) argument 96 PRE(atf_error_is(err, "libc")); 98 const int ecode = atf_libc_error_code(err); 99 const std::string msg = atf_libc_error_msg(err); 100 atf_error_free(err); 106 throw_no_memory_error(atf_error_t err) argument 108 PRE(atf_error_is(err, "no_memory")); 110 atf_error_free(err); 116 throw_unknown_error(atf_error_t err) argument 118 PRE(atf_is_error(err)); 127 throw_atf_error(atf_error_t err) argument [all...] |
H A D | text.cpp | 130 atf_error_t err = atf_text_to_bool(str.c_str(), &b); local 131 if (atf_is_error(err)) 132 throw_atf_error(err);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/ |
H A D | build.cpp | 85 atf_error_t err = atf_build_c_o(sfile.c_str(), ofile.c_str(), local 87 if (atf_is_error(err)) 88 throw_atf_error(err); 99 atf_error_t err = atf_build_cpp(sfile.c_str(), ofile.c_str(), local 101 if (atf_is_error(err)) 102 throw_atf_error(err); 113 atf_error_t err = atf_build_cxx_o(sfile.c_str(), ofile.c_str(), local 115 if (atf_is_error(err)) 116 throw_atf_error(err);
|
H A D | check.cpp | 112 atf_error_t err = atf_check_build_c_o(sfile.c_str(), ofile.c_str(), local 114 if (atf_is_error(err)) 115 throw_atf_error(err); 126 atf_error_t err = atf_check_build_cpp(sfile.c_str(), ofile.c_str(), local 128 if (atf_is_error(err)) 129 throw_atf_error(err); 140 atf_error_t err = atf_check_build_cxx_o(sfile.c_str(), ofile.c_str(), local 142 if (atf_is_error(err)) 143 throw_atf_error(err); 153 atf_error_t err local [all...] |
H A D | check_test.cpp | 257 std::auto_ptr< atf::fs::path > err; local 263 err.reset(new atf::fs::path(r->stderr_path())); 265 ATF_REQUIRE(atf::fs::exists(*err.get())); 268 ATF_REQUIRE(!atf::fs::exists(*err.get()));
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | entropy.c | 245 BOOL err; local 257 err = CryptAcquireContext(&hcryptprov, NULL, NULL, PROV_RSA_FULL, 259 if (!err){
|
H A D | strerror.c | 43 NTstrerror(int err, BOOL *bfreebuf); 113 NTstrerror(int err, BOOL *bfreebuf) { argument 117 DWORD errval = err;
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/ |
H A D | build.c | 48 atf_error_t err; local 51 err = atf_text_split(atf_config_get(var), " ", &words); 52 if (atf_is_error(err)) 58 return err; 72 atf_error_t err; local 74 err = append_arg1(flag, argv); 75 if (!atf_is_error(err)) 76 err = append_arg1(arg, argv); 78 return err; 85 atf_error_t err; local 100 atf_error_t err; local 120 atf_error_t err; local 154 atf_error_t err; local 199 atf_error_t err; local 244 atf_error_t err; local [all...] |
H A D | error_test.c | 48 test_format(const atf_error_t err ATF_DEFS_ATTRIBUTE_UNUSED, 66 atf_error_t err; local 69 err = atf_error_new("test_error", NULL, 0, NULL); 70 ATF_REQUIRE(atf_error_is(err, "test_error")); 71 ATF_REQUIRE(!atf_error_is(err, "unknown_error")); 72 ATF_REQUIRE(atf_error_data(err) == NULL); 73 atf_error_free(err); 76 err = atf_error_new("test_data_error", &data, sizeof(data), NULL); 77 ATF_REQUIRE(atf_error_is(err, "test_data_error")); 78 ATF_REQUIRE(!atf_error_is(err, "unknown_erro 94 atf_error_t err; local 113 atf_error_t err; local 127 atf_error_t err; local 145 atf_error_t err; local 174 atf_error_t err; local 196 atf_error_t err; local 230 atf_error_t err; local 246 atf_error_t err; local 265 atf_error_t err = atf_no_memory_error(); local 272 atf_error_t err = atf_no_memory_error(); local [all...] |
H A D | tp.c | 82 atf_error_t err; local 90 err = atf_list_init(&tp->pimpl->m_tcs); 91 if (atf_is_error(err)) 94 err = atf_map_init_charpp(&tp->pimpl->m_config, config); 95 if (atf_is_error(err)) { 100 INV(!atf_is_error(err)); 102 return err; 182 atf_error_t err; local 186 err = atf_list_append(&tp->pimpl->m_tcs, tc, false); 190 return err; [all...] |
H A D | error.c | 55 error_format(const atf_error_t err, char *buf, size_t buflen) argument 57 PRE(err != NULL); 58 snprintf(buf, buflen, "Error '%s'", err->m_type); 63 error_init(atf_error_t err, const char *type, void *data, size_t datalen, argument 71 err->m_free = false; 72 err->m_type = type; 73 err->m_format = (format == NULL) ? error_format : format; 77 err->m_data = NULL; 79 err->m_data = malloc(datalen); 80 if (err 97 atf_error_t err; local 122 atf_error_free(atf_error_t err) argument 147 atf_is_error(const atf_error_t err) argument 153 atf_error_is(const atf_error_t err, const char *type) argument 161 atf_error_data(const atf_error_t err) argument 169 atf_error_format(const atf_error_t err, char *buf, size_t buflen) argument 191 libc_format(const atf_error_t err, char *buf, size_t buflen) argument 204 atf_error_t err; local 219 atf_libc_error_code(const atf_error_t err) argument 231 atf_libc_error_msg(const atf_error_t err) argument 250 no_memory_format(const atf_error_t err, char *buf, size_t buflen) argument [all...] |
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | soaserial.c | 232 const char *inc_errstr (int err) argument 234 switch ( err ) 250 int err; local 259 if ( (err = inc_serial (argv[1], 0)) <= 0 ) 261 error ("can't change serial errno=%d\n", err);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | gssapi_link.c | 194 char err[1024]; local 229 gss_error_tostring(gret, minor, err, sizeof(err)));
|
/bind-9.6-ESV-R11/lib/isc/pthreads/ |
H A D | mutex.c | 91 int i, err; local 93 err = pthread_mutex_init(&mp->mutex, NULL); 94 if (err == ENOMEM) 96 if (err != 0) 232 int err; local 242 err = pthread_mutex_init(mp, &attr) != 0) 244 if (err == ENOMEM) 246 return ((err == 0) ? ISC_R_SUCCESS : ISC_R_UNEXPECTED); 262 int err; local 264 err [all...] |