Searched defs:err (Results 1 - 25 of 63) sorted by relevance

123

/bind-9.11.3/lib/isc/unix/
H A Derrno.c19 isc_errno_toresult(int err) { argument
20 return (isc___errno2result(err, ISC_FALSE, 0, 0));
/bind-9.11.3/lib/isc/win32/
H A Derrno.c16 isc_errno_toresult(int err) { argument
17 return (isc__errno2resultx(err, ISC_FALSE, 0, 0));
H A Dentropy.c238 BOOL err; local
250 err = CryptAcquireContext(&hcryptprov, NULL, NULL, PROV_RSA_FULL,
252 if (!err){
H A Dstrerror.c34 NTstrerror(int err, BOOL *bfreebuf);
104 NTstrerror(int err, BOOL *bfreebuf) { argument
108 DWORD errval = err;
/bind-9.11.3/lib/lwres/win32/
H A Dsocket.c20 int err; local
24 err = WSAStartup( wVersionRequested, &wsaData );
25 if (err != 0) {
26 fprintf(stderr, "WSAStartup() failed: %d\n", err);
/bind-9.11.3/unit/atf-src/tools/
H A Dgenerate-revision.sh44 # 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.11.3/unit/atf-src/admin/
H A Dcheck-style.sh35 # err message
37 err() { function
144 err=0
146 awk -f ${topdir}/admin/check-style-${format}.awk ${1} || err=1
149 return ${err}
160 err "Could not locate the project's top directory"
175 err "Could not open ${file}"
/bind-9.11.3/lib/isc/tests/
H A Derrno_test.c20 int err; member in struct:__anon277
89 result = isc_errno_toresult(testpair[i].err);
/bind-9.11.3/lib/lwres/
H A Dherror.c44 gievn by err. The values of the error codes and messages are as
105 lwres_hstrerror(int err) { argument
106 if (err < 0)
108 else if (err < h_nerr)
109 return (h_errlist[err]);
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Denv.c66 atf_error_t err; local
70 err = atf_libc_error(errno, "Cannot set environment variable "
73 err = atf_no_error();
77 err = atf_text_format(&buf, "%s=%s", name, val);
78 if (!atf_is_error(err)) {
80 err = atf_libc_error(errno, "Cannot set environment variable "
88 return err;
94 atf_error_t err; local
98 err = atf_no_error();
102 err
[all...]
H A Dtext.c42 atf_error_t err; local
47 err = atf_no_memory_error();
51 err = atf_no_error();
53 while (str2 != NULL && !atf_is_error(err)) {
54 err = func(str2, data);
60 return err;
66 atf_error_t err; local
70 err = atf_text_format_ap(dest, fmt, ap);
73 return err;
79 atf_error_t err; local
95 atf_error_t err; local
142 atf_error_t err; local
164 atf_error_t err; local
[all...]
H A Ddynstr_test.c161 atf_error_t err = atf_dynstr_init_raw(&str, "NULL", SIZE_MAX - 1); local
162 ATF_REQUIRE(atf_is_error(err));
163 ATF_REQUIRE(atf_error_is(err, "no_memory"));
164 atf_error_free(err);
200 atf_error_t err; local
202 err = atf_dynstr_init_rep(&str, SIZE_MAX, 'a');
203 ATF_REQUIRE(atf_is_error(err));
204 ATF_REQUIRE(atf_error_is(err, "no_memory"));
205 atf_error_free(err);
207 err
413 atf_error_t err; local
525 atf_error_t err; local
[all...]
H A Dmap_test.c108 atf_error_t err = atf_map_init_charpp(&map, array); local
109 ATF_REQUIRE(atf_is_error(err));
110 ATF_REQUIRE(atf_error_is(err, "libc"));
H A Dtext_test.c43 atf_error_t err = exp; \
44 ATF_REQUIRE(atf_is_error(err)); \
45 atf_error_free(err); \
116 atf_error_t err; local
119 err = atf_no_memory_error(); /* Just a random error. */
122 err = atf_no_error();
125 return err;
175 atf_error_t err = atf_text_for_each_word("a b c d e", " ", local
177 ATF_REQUIRE(atf_is_error(err));
178 ATF_REQUIRE(atf_error_is(err, "no_memor
193 atf_error_t err; local
206 atf_error_t err; local
[all...]
/bind-9.11.3/bin/tests/system/
H A Dfeature-test.c82 int err; local
85 err = WSAStartup( wVersionRequested, &wsaData );
86 if (err != 0) {
87 fprintf(stderr, "WSAStartup() failed: %d\n", err);
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Denv.cpp64 atf_error_t err = atf_env_set(name.c_str(), val.c_str()); local
65 if (atf_is_error(err))
66 throw_atf_error(err);
72 atf_error_t err = atf_env_unset(name.c_str()); local
73 if (atf_is_error(err))
74 throw_atf_error(err);
H A Dexceptions_test.cpp52 test_format(const atf_error_t err, char *buf, size_t buflen) argument
56 PRE(atf_error_is(err, "test"));
58 data = static_cast< const test_error_data_t * >(atf_error_data(err));
66 atf_error_t err; local
71 err = atf_error_new("test", &data, sizeof(data), test_format);
73 return err;
H A Dexceptions.cpp91 throw_libc_error(atf_error_t err) argument
93 PRE(atf_error_is(err, "libc"));
95 const int ecode = atf_libc_error_code(err);
96 const std::string msg = atf_libc_error_msg(err);
97 atf_error_free(err);
103 throw_no_memory_error(atf_error_t err) argument
105 PRE(atf_error_is(err, "no_memory"));
107 atf_error_free(err);
113 throw_unknown_error(atf_error_t err) argument
115 PRE(atf_is_error(err));
124 throw_atf_error(atf_error_t err) argument
[all...]
H A Dtext.cpp126 atf_error_t err = atf_text_to_bool(str.c_str(), &b); local
127 if (atf_is_error(err))
128 throw_atf_error(err);
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dbuild.cpp81 atf_error_t err = atf_build_c_o(sfile.c_str(), ofile.c_str(), local
83 if (atf_is_error(err))
84 throw_atf_error(err);
95 atf_error_t err = atf_build_cpp(sfile.c_str(), ofile.c_str(), local
97 if (atf_is_error(err))
98 throw_atf_error(err);
109 atf_error_t err = atf_build_cxx_o(sfile.c_str(), ofile.c_str(), local
111 if (atf_is_error(err))
112 throw_atf_error(err);
H A Dcheck.cpp108 atf_error_t err = atf_check_build_c_o(sfile.c_str(), ofile.c_str(), local
110 if (atf_is_error(err))
111 throw_atf_error(err);
122 atf_error_t err = atf_check_build_cpp(sfile.c_str(), ofile.c_str(), local
124 if (atf_is_error(err))
125 throw_atf_error(err);
136 atf_error_t err = atf_check_build_cxx_o(sfile.c_str(), ofile.c_str(), local
138 if (atf_is_error(err))
139 throw_atf_error(err);
149 atf_error_t err local
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dbuild.c44 atf_error_t err; local
47 err = atf_text_split(atf_env_get_with_default(var, default_value),
49 if (atf_is_error(err))
55 return err;
69 atf_error_t err; local
71 err = append_arg1(flag, argv);
72 if (!atf_is_error(err))
73 err = append_arg1(arg, argv);
75 return err;
82 atf_error_t err; local
97 atf_error_t err; local
117 atf_error_t err; local
151 atf_error_t err; local
197 atf_error_t err; local
243 atf_error_t err; local
[all...]
H A Derror_test.c43 test_format(const atf_error_t err ATF_DEFS_ATTRIBUTE_UNUSED,
61 atf_error_t err; local
64 err = atf_error_new("test_error", NULL, 0, NULL);
65 ATF_REQUIRE(atf_error_is(err, "test_error"));
66 ATF_REQUIRE(!atf_error_is(err, "unknown_error"));
67 ATF_REQUIRE(atf_error_data(err) == NULL);
68 atf_error_free(err);
71 err = atf_error_new("test_data_error", &data, sizeof(data), NULL);
72 ATF_REQUIRE(atf_error_is(err, "test_data_error"));
73 ATF_REQUIRE(!atf_error_is(err, "unknown_erro
89 atf_error_t err; local
108 atf_error_t err; local
122 atf_error_t err; local
140 atf_error_t err; local
169 atf_error_t err; local
191 atf_error_t err; local
225 atf_error_t err; local
241 atf_error_t err; local
260 atf_error_t err = atf_no_memory_error(); local
267 atf_error_t err = atf_no_memory_error(); local
[all...]
H A Dtp.c78 atf_error_t err; local
86 err = atf_list_init(&tp->pimpl->m_tcs);
87 if (atf_is_error(err))
90 err = atf_map_init_charpp(&tp->pimpl->m_config, config);
91 if (atf_is_error(err)) {
96 INV(!atf_is_error(err));
98 return err;
178 atf_error_t err; local
182 err = atf_list_append(&tp->pimpl->m_tcs, tc, false);
186 return err;
[all...]
H A Derror.c51 error_format(const atf_error_t err, char *buf, size_t buflen) argument
53 PRE(err != NULL);
54 snprintf(buf, buflen, "Error '%s'", err->m_type);
59 error_init(atf_error_t err, const char *type, void *data, size_t datalen, argument
67 err->m_free = false;
68 err->m_type = type;
69 err->m_format = (format == NULL) ? error_format : format;
73 err->m_data = NULL;
75 err->m_data = malloc(datalen);
76 if (err
93 atf_error_t err; local
118 atf_error_free(atf_error_t err) argument
143 atf_is_error(const atf_error_t err) argument
149 atf_error_is(const atf_error_t err, const char *type) argument
157 atf_error_data(const atf_error_t err) argument
165 atf_error_format(const atf_error_t err, char *buf, size_t buflen) argument
187 libc_format(const atf_error_t err, char *buf, size_t buflen) argument
200 atf_error_t err; local
215 atf_libc_error_code(const atf_error_t err) argument
227 atf_libc_error_msg(const atf_error_t err) argument
246 no_memory_format(const atf_error_t err, char *buf, size_t buflen) argument
[all...]

Completed in 46 milliseconds

123