Home
last modified time | relevance | path

Searched refs:err_no (Results 1 – 22 of 22) sorted by relevance

/external/strace/tests/
Derror_msg.c42 int err_no = errno; in perror_msg_and_fail() local
47 if (err_no) in perror_msg_and_fail()
48 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_fail()
79 int err_no = errno; in perror_msg_and_skip() local
84 if (err_no) in perror_msg_and_skip()
85 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_skip()
/external/strace/tests-m32/
Derror_msg.c42 int err_no = errno; in perror_msg_and_fail() local
47 if (err_no) in perror_msg_and_fail()
48 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_fail()
79 int err_no = errno; in perror_msg_and_skip() local
84 if (err_no) in perror_msg_and_skip()
85 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_skip()
/external/strace/tests-mx32/
Derror_msg.c42 int err_no = errno; in perror_msg_and_fail() local
47 if (err_no) in perror_msg_and_fail()
48 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_fail()
79 int err_no = errno; in perror_msg_and_skip() local
84 if (err_no) in perror_msg_and_skip()
85 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_skip()
/external/strace/
Derror_prints.c45 verror_msg(int err_no, const char *fmt, va_list p) in verror_msg() argument
57 if (err_no) in verror_msg()
59 program_invocation_name, msg, strerror(err_no)); in verror_msg()
68 if (err_no) in verror_msg()
69 fprintf(stderr, ": %s\n", strerror(err_no)); in verror_msg()
Dstrace.c198 strerror(int err_no) in strerror() argument
202 if (err_no < 1 || err_no >= sys_nerr) { in strerror()
203 xsprintf(buf, "Unknown error %d", err_no); in strerror()
206 return sys_errlist[err_no]; in strerror()
DChangeLog51543 * strace.c (strerror): Rename parameter errno to err_no
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_socket_bind_listen.c88 int fd, err_no = 0; in main() local
153 err_no = errno; in main()
156 if (error != -1 || err_no != ENOTSOCK) in main()
158 "descriptor error:%d, errno:%d", error, err_no); in main()
268 err_no = errno; in main()
271 if (error != -1 || err_no != ENOTSOCK) in main()
273 "error:%d, errno:%d", error, err_no); in main()
Dtest_getname.c69 int fd, err_no = 0; in main() local
220 err_no = errno; in main()
223 if (error != -1 || err_no != ENOTSOCK) in main()
225 "error:%d errno:%d", error, err_no); in main()
255 err_no = errno; in main()
258 if (error != -1 || err_no != ENOTSOCK) in main()
260 "error:%d errno:%d", error, err_no); in main()
Dtest_1_to_1_addrs.c95 int fd, err_no = 0; in main() local
188 err_no = errno; in main()
191 if (error != -1 || err_no != ENOTSOCK) in main()
193 "error:%d, errno:%d", error, err_no); in main()
246 err_no = errno; in main()
249 if (error != -1 || err_no != ENOTSOCK) in main()
251 "error:%d, errno:%d", error, err_no); in main()
Dtest_1_to_1_sockopt.c101 int fd, err_no = 0; in main() local
130 err_no = errno; in main()
133 if (error != -1 || err_no != ENOTSOCK) in main()
135 "error:%d, errno:%d", error, err_no); in main()
180 err_no = errno; in main()
183 if (error != -1 || err_no != ENOTSOCK) in main()
185 "error:%d, errno:%d", error, err_no); in main()
Dtest_1_to_1_recvfrom.c72 int fd, err_no = 0; in main() local
135 err_no = errno; in main()
138 if (count != -1 || err_no != ENOTSOCK) in main()
140 "count:%d, errno:%d", count, err_no); in main()
Dtest_1_to_1_recvmsg.c70 int fd, err_no = 0; in main() local
140 err_no = errno; in main()
143 if (count != -1 || err_no != ENOTSOCK) in main()
145 "count:%d, errno:%d", count, err_no); in main()
Dtest_1_to_1_connect.c75 int fd, err_no = 0; in main() local
132 err_no = errno; in main()
135 if (error != -1 || err_no != ENOTSOCK) in main()
137 "error:%d, errno:%d", error, err_no); in main()
Dtest_1_to_1_shutdown.c73 int fd, err_no = 0; in main() local
124 err_no = errno; in main()
127 if (error != -1 || err_no != ENOTSOCK) in main()
129 "error:%d, errno:%d", error, err_no); in main()
Dtest_1_to_1_accept_close.c81 int fd, err_no = 0; in main() local
146 err_no = errno; in main()
149 if (error != -1 || err_no != ENOTSOCK) in main()
151 "error:%d, errno:%d", error, err_no); in main()
Dtest_1_to_1_send.c72 int fd, err_no = 0; in main() local
130 err_no = errno; in main()
133 if (count != -1 || err_no != ENOTSOCK) in main()
135 "count:%d, errno:%d", count, err_no); in main()
Dtest_1_to_1_sendmsg.c89 int fd, err_no = 0; in main() local
163 err_no = errno; in main()
166 if (count != -1 || err_no != ENOTSOCK) in main()
168 "count:%d, errno:%d", count, err_no); in main()
/external/libxml2/os400/dlfcn/
Ddlfcn.c278 dlseterror_from_errno(unsigned int err_no) in dlseterror_from_errno() argument
288 strcpy(p->str, strerror(err_no)); in dlseterror_from_errno()
/external/bcc/src/python/bcc/
D__init__.py664 err_no = ct.get_errno()
665 if err_no == errno.EBADMSG:
669 errstr = os.strerror(err_no)
/external/libxml2/
Drngparser.c171 xmlCRNGErr(xmlCRelaxNGParserCtxtPtr ctxt, int err_no, const char *err_msg) { in xmlCRNGErr() argument
182 } else if (err_no != 0) in xmlCRNGErr()
183 fprintf(stderr, "error %d\n", err_no); in xmlCRNGErr()
/external/python/cpython2/Modules/
Dsocketmodule.c523 int err_no = WSAGetLastError(); in set_error() local
527 if (err_no) in set_error()
528 return PyErr_SetExcFromWindowsErr(socket_error, err_no); in set_error()
/external/python/cpython3/Modules/
Dsocketmodule.c595 int err_no = WSAGetLastError(); in set_error() local
599 if (err_no) in set_error()
600 return PyErr_SetExcFromWindowsErr(PyExc_OSError, err_no); in set_error()