Home
last modified time | relevance | path

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

/external/strace/tests-m32/
Derror_msg.c38 int err_no = errno; in perror_msg_and_fail() local
43 if (err_no) in perror_msg_and_fail()
44 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_fail()
75 int err_no = errno; in perror_msg_and_skip() local
80 if (err_no) in perror_msg_and_skip()
81 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_skip()
/external/strace/tests/
Derror_msg.c38 int err_no = errno; in perror_msg_and_fail() local
43 if (err_no) in perror_msg_and_fail()
44 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_fail()
75 int err_no = errno; in perror_msg_and_skip() local
80 if (err_no) in perror_msg_and_skip()
81 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_skip()
/external/strace/tests-mx32/
Derror_msg.c38 int err_no = errno; in perror_msg_and_fail() local
43 if (err_no) in perror_msg_and_fail()
44 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_fail()
75 int err_no = errno; in perror_msg_and_skip() local
80 if (err_no) in perror_msg_and_skip()
81 fprintf(stderr, ": %s\n", strerror(err_no)); in perror_msg_and_skip()
/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_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_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_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/strace/
Dstrace.c176 strerror(int err_no) in strerror() argument
180 if (err_no < 1 || err_no >= sys_nerr) { in strerror()
181 sprintf(buf, "Unknown error %d", err_no); in strerror()
184 return sys_errlist[err_no]; in strerror()
287 static void verror_msg(int err_no, const char *fmt, va_list p) in verror_msg() argument
299 if (err_no) in verror_msg()
300 fprintf(stderr, "%s: %s: %s\n", progname, msg, strerror(err_no)); in verror_msg()
308 if (err_no) in verror_msg()
309 fprintf(stderr, ": %s\n", strerror(err_no)); in verror_msg()
DChangeLog32353 * strace.c (strerror): Rename parameter errno to err_no
/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/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()