Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/external/iperf3/src/
Diperf_error.c125 static char errstr[256]; in iperf_strerror() local
129 len = sizeof(errstr); in iperf_strerror()
130 memset(errstr, 0, len); in iperf_strerror()
134 snprintf(errstr, len, "no error"); in iperf_strerror()
137 snprintf(errstr, len, "cannot be both server and client"); in iperf_strerror()
140 snprintf(errstr, len, "must either be a client (-c) or server (-s)"); in iperf_strerror()
143 snprintf(errstr, len, "some option you are trying to set is server only"); in iperf_strerror()
146 snprintf(errstr, len, "some option you are trying to set is client only"); in iperf_strerror()
149 snprintf(errstr, len, "test duration too long (maximum = %d seconds)", MAX_TIME); in iperf_strerror()
152 … snprintf(errstr, len, "number of parallel streams too large (maximum = %d)", MAX_STREAMS); in iperf_strerror()
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dstrtonum.cpp12 const char *errstr; in main() local
16 long long l = strtonum("100", 1, 100, &errstr); in main()
17 assert(!errstr); in main()
20 l = strtonum("200", 1, 100, &errstr); in main()
21 assert(errstr); in main()
22 printf("%s\n", errstr); in main()
24 l = strtonum("300", 1000, 1001, &errstr); in main()
25 assert(errstr); in main()
26 printf("%s\n", errstr); in main()
28 l = strtonum("abc", 1000, 1001, &errstr); in main()
[all …]
/external/strace/tests-mx32/
Dptrace.c45 static const char *errstr; variable
52 errstr = sprintrc(rc); in do_ptrace()
61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
145 errstr); in test_peeksiginfo()
160 errstr); in test_peeksiginfo()
192 bad_request, (unsigned) pid, errstr); in main()
197 (unsigned) pid, bad_request, errstr); in main()
200 (unsigned) pid, bad_request, bad_data, errstr); in main()
206 (unsigned) pid, bad_request, errstr); in main()
[all …]
Dutimensat.c91 static const char *errstr; variable
100 errstr = sprintrc(rc); in k_utimensat()
122 printf("utimensat(0, %s, NULL, 0) = %s\n", qname, errstr); in main()
126 (int) bogus_fd, qname, errstr); in main()
129 printf("utimensat(" str_at_fdcwd ", %s, NULL, 0) = %s\n", qname, errstr); in main()
132 printf("utimensat(" str_at_fdcwd ", %s, NULL, 0) = %s\n", qname, errstr); in main()
136 printf("utimensat(" str_at_fdcwd ", NULL, NULL, 0) = %s\n", errstr); in main()
139 printf("utimensat(" str_at_fdcwd ", \"\", NULL, 0) = %s\n", errstr); in main()
144 printf("utimensat(" str_at_fdcwd ", %p, NULL, 0) = %s\n", fname, errstr); in main()
149 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
[all …]
Dfutimesat.c50 static const char *errstr; variable
58 errstr = sprintrc(rc); in k_futimesat()
80 printf("futimesat(0, %s, NULL) = %s\n", qname, errstr); in main()
83 printf("futimesat(%d, %s, NULL) = %s\n", (int) bogus_fd, qname, errstr); in main()
86 printf("futimesat(AT_FDCWD, %s, NULL) = %s\n", qname, errstr); in main()
89 printf("futimesat(AT_FDCWD, %s, NULL) = %s\n", qname, errstr); in main()
93 printf("futimesat(AT_FDCWD, NULL, NULL) = %s\n", errstr); in main()
96 printf("futimesat(AT_FDCWD, \"\", NULL) = %s\n", errstr); in main()
101 printf("futimesat(AT_FDCWD, %p, NULL) = %s\n", fname, errstr); in main()
106 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
[all …]
Dsetgroups.c73 const char *errstr; in main() local
103 errstr = sprintrc(rc); in main()
106 printf("]) = %s\n", errstr); in main()
115 errstr = sprintrc(rc); in main()
118 printf(", ... /* %p */]) = %s\n", g1 + 1, errstr); in main()
123 errstr = sprintrc(rc); in main()
128 printf("]) = %s\n", errstr); in main()
131 errstr = sprintrc(rc); in main()
136 printf(", ... /* %p */]) = %s\n", g2 + 2, errstr); in main()
141 errstr = sprintrc(rc); in main()
[all …]
Dso_linger.c38 static const char *errstr; variable
44 errstr = sprintrc(rc); in get_linger()
52 errstr = sprintrc(rc); in set_linger()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
92 (unsigned int) sizeof(*linger), errstr); in main()
99 (unsigned int) sizeof(*linger) + 1, errstr); in main()
104 fd, linger, errstr); in main()
109 fd, linger, (unsigned int) sizeof(linger->l_onoff), errstr); in main()
114 fd, &linger->l_linger, (unsigned int) sizeof(*linger), errstr); in main()
120 fd, linger, errstr); in main()
[all …]
Dxutimes.c57 static const char *errstr; variable
63 errstr = sprintrc(rc); in k_utimes()
79 printf("%s(NULL, NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
82 printf("%s(\"\", NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
85 printf("%s(%s, NULL) = %s\n", TEST_SYSCALL_STR, qname, errstr); in main()
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr); in main()
95 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
101 qname, tv + 1, errstr); in main()
105 qname, tv + 2, errstr); in main()
117 printf("]) = %s\n", errstr); in main()
[all …]
Dsched_xetattr.c42 static const char *errstr; variable
49 errstr = sprintrc(rc); in sys_sched_getattr()
57 errstr = sprintrc(rc); in sys_sched_setattr()
76 printf("sched_getattr(0, NULL, 0, 0) = %s\n", errstr); in main()
79 printf("sched_getattr(0, %p, 0, 0) = %s\n", attr, errstr); in main()
82 printf("sched_getattr(%d, NULL, 0, 0) = %s\n", (int) bogus_pid, errstr); in main()
92 (unsigned) bogus_size, (unsigned) bogus_flags, errstr); in main()
96 efault, (unsigned) sizeof(*attr), errstr); in main()
121 attr, (unsigned) sizeof(*attr), errstr); in main()
140 printf("sched_setattr(%d, NULL, 0) = %s\n", (int) bogus_pid, errstr); in main()
[all …]
/external/strace/tests/
Dptrace.c45 static const char *errstr; variable
52 errstr = sprintrc(rc); in do_ptrace()
61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
145 errstr); in test_peeksiginfo()
160 errstr); in test_peeksiginfo()
192 bad_request, (unsigned) pid, errstr); in main()
197 (unsigned) pid, bad_request, errstr); in main()
200 (unsigned) pid, bad_request, bad_data, errstr); in main()
206 (unsigned) pid, bad_request, errstr); in main()
[all …]
Dutimensat.c91 static const char *errstr; variable
100 errstr = sprintrc(rc); in k_utimensat()
122 printf("utimensat(0, %s, NULL, 0) = %s\n", qname, errstr); in main()
126 (int) bogus_fd, qname, errstr); in main()
129 printf("utimensat(" str_at_fdcwd ", %s, NULL, 0) = %s\n", qname, errstr); in main()
132 printf("utimensat(" str_at_fdcwd ", %s, NULL, 0) = %s\n", qname, errstr); in main()
136 printf("utimensat(" str_at_fdcwd ", NULL, NULL, 0) = %s\n", errstr); in main()
139 printf("utimensat(" str_at_fdcwd ", \"\", NULL, 0) = %s\n", errstr); in main()
144 printf("utimensat(" str_at_fdcwd ", %p, NULL, 0) = %s\n", fname, errstr); in main()
149 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
[all …]
Dfutimesat.c50 static const char *errstr; variable
58 errstr = sprintrc(rc); in k_futimesat()
80 printf("futimesat(0, %s, NULL) = %s\n", qname, errstr); in main()
83 printf("futimesat(%d, %s, NULL) = %s\n", (int) bogus_fd, qname, errstr); in main()
86 printf("futimesat(AT_FDCWD, %s, NULL) = %s\n", qname, errstr); in main()
89 printf("futimesat(AT_FDCWD, %s, NULL) = %s\n", qname, errstr); in main()
93 printf("futimesat(AT_FDCWD, NULL, NULL) = %s\n", errstr); in main()
96 printf("futimesat(AT_FDCWD, \"\", NULL) = %s\n", errstr); in main()
101 printf("futimesat(AT_FDCWD, %p, NULL) = %s\n", fname, errstr); in main()
106 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
[all …]
Dsetgroups.c73 const char *errstr; in main() local
103 errstr = sprintrc(rc); in main()
106 printf("]) = %s\n", errstr); in main()
115 errstr = sprintrc(rc); in main()
118 printf(", ... /* %p */]) = %s\n", g1 + 1, errstr); in main()
123 errstr = sprintrc(rc); in main()
128 printf("]) = %s\n", errstr); in main()
131 errstr = sprintrc(rc); in main()
136 printf(", ... /* %p */]) = %s\n", g2 + 2, errstr); in main()
141 errstr = sprintrc(rc); in main()
[all …]
Dso_linger.c38 static const char *errstr; variable
44 errstr = sprintrc(rc); in get_linger()
52 errstr = sprintrc(rc); in set_linger()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
92 (unsigned int) sizeof(*linger), errstr); in main()
99 (unsigned int) sizeof(*linger) + 1, errstr); in main()
104 fd, linger, errstr); in main()
109 fd, linger, (unsigned int) sizeof(linger->l_onoff), errstr); in main()
114 fd, &linger->l_linger, (unsigned int) sizeof(*linger), errstr); in main()
120 fd, linger, errstr); in main()
[all …]
Dxutimes.c57 static const char *errstr; variable
63 errstr = sprintrc(rc); in k_utimes()
79 printf("%s(NULL, NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
82 printf("%s(\"\", NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
85 printf("%s(%s, NULL) = %s\n", TEST_SYSCALL_STR, qname, errstr); in main()
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr); in main()
95 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
101 qname, tv + 1, errstr); in main()
105 qname, tv + 2, errstr); in main()
117 printf("]) = %s\n", errstr); in main()
[all …]
Dsched_xetattr.c42 static const char *errstr; variable
49 errstr = sprintrc(rc); in sys_sched_getattr()
57 errstr = sprintrc(rc); in sys_sched_setattr()
76 printf("sched_getattr(0, NULL, 0, 0) = %s\n", errstr); in main()
79 printf("sched_getattr(0, %p, 0, 0) = %s\n", attr, errstr); in main()
82 printf("sched_getattr(%d, NULL, 0, 0) = %s\n", (int) bogus_pid, errstr); in main()
92 (unsigned) bogus_size, (unsigned) bogus_flags, errstr); in main()
96 efault, (unsigned) sizeof(*attr), errstr); in main()
121 attr, (unsigned) sizeof(*attr), errstr); in main()
140 printf("sched_setattr(%d, NULL, 0) = %s\n", (int) bogus_pid, errstr); in main()
[all …]
/external/strace/tests-m32/
Dptrace.c45 static const char *errstr; variable
52 errstr = sprintrc(rc); in do_ptrace()
61 (unsigned) pid, bad_request, errstr); in test_peeksiginfo()
76 (unsigned) pid, psi->off, psi->nr, bad_request, errstr); in test_peeksiginfo()
145 errstr); in test_peeksiginfo()
160 errstr); in test_peeksiginfo()
192 bad_request, (unsigned) pid, errstr); in main()
197 (unsigned) pid, bad_request, errstr); in main()
200 (unsigned) pid, bad_request, bad_data, errstr); in main()
206 (unsigned) pid, bad_request, errstr); in main()
[all …]
Dutimensat.c91 static const char *errstr; variable
100 errstr = sprintrc(rc); in k_utimensat()
122 printf("utimensat(0, %s, NULL, 0) = %s\n", qname, errstr); in main()
126 (int) bogus_fd, qname, errstr); in main()
129 printf("utimensat(" str_at_fdcwd ", %s, NULL, 0) = %s\n", qname, errstr); in main()
132 printf("utimensat(" str_at_fdcwd ", %s, NULL, 0) = %s\n", qname, errstr); in main()
136 printf("utimensat(" str_at_fdcwd ", NULL, NULL, 0) = %s\n", errstr); in main()
139 printf("utimensat(" str_at_fdcwd ", \"\", NULL, 0) = %s\n", errstr); in main()
144 printf("utimensat(" str_at_fdcwd ", %p, NULL, 0) = %s\n", fname, errstr); in main()
149 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
[all …]
Dfutimesat.c50 static const char *errstr; variable
58 errstr = sprintrc(rc); in k_futimesat()
80 printf("futimesat(0, %s, NULL) = %s\n", qname, errstr); in main()
83 printf("futimesat(%d, %s, NULL) = %s\n", (int) bogus_fd, qname, errstr); in main()
86 printf("futimesat(AT_FDCWD, %s, NULL) = %s\n", qname, errstr); in main()
89 printf("futimesat(AT_FDCWD, %s, NULL) = %s\n", qname, errstr); in main()
93 printf("futimesat(AT_FDCWD, NULL, NULL) = %s\n", errstr); in main()
96 printf("futimesat(AT_FDCWD, \"\", NULL) = %s\n", errstr); in main()
101 printf("futimesat(AT_FDCWD, %p, NULL) = %s\n", fname, errstr); in main()
106 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
[all …]
Dsetgroups.c73 const char *errstr; in main() local
103 errstr = sprintrc(rc); in main()
106 printf("]) = %s\n", errstr); in main()
115 errstr = sprintrc(rc); in main()
118 printf(", ... /* %p */]) = %s\n", g1 + 1, errstr); in main()
123 errstr = sprintrc(rc); in main()
128 printf("]) = %s\n", errstr); in main()
131 errstr = sprintrc(rc); in main()
136 printf(", ... /* %p */]) = %s\n", g2 + 2, errstr); in main()
141 errstr = sprintrc(rc); in main()
[all …]
Dso_linger.c38 static const char *errstr; variable
44 errstr = sprintrc(rc); in get_linger()
52 errstr = sprintrc(rc); in set_linger()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
92 (unsigned int) sizeof(*linger), errstr); in main()
99 (unsigned int) sizeof(*linger) + 1, errstr); in main()
104 fd, linger, errstr); in main()
109 fd, linger, (unsigned int) sizeof(linger->l_onoff), errstr); in main()
114 fd, &linger->l_linger, (unsigned int) sizeof(*linger), errstr); in main()
120 fd, linger, errstr); in main()
[all …]
Dxutimes.c57 static const char *errstr; variable
63 errstr = sprintrc(rc); in k_utimes()
79 printf("%s(NULL, NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
82 printf("%s(\"\", NULL) = %s\n", TEST_SYSCALL_STR, errstr); in main()
85 printf("%s(%s, NULL) = %s\n", TEST_SYSCALL_STR, qname, errstr); in main()
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr); in main()
95 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr); in main()
101 qname, tv + 1, errstr); in main()
105 qname, tv + 2, errstr); in main()
117 printf("]) = %s\n", errstr); in main()
[all …]
Dsched_xetattr.c42 static const char *errstr; variable
49 errstr = sprintrc(rc); in sys_sched_getattr()
57 errstr = sprintrc(rc); in sys_sched_setattr()
76 printf("sched_getattr(0, NULL, 0, 0) = %s\n", errstr); in main()
79 printf("sched_getattr(0, %p, 0, 0) = %s\n", attr, errstr); in main()
82 printf("sched_getattr(%d, NULL, 0, 0) = %s\n", (int) bogus_pid, errstr); in main()
92 (unsigned) bogus_size, (unsigned) bogus_flags, errstr); in main()
96 efault, (unsigned) sizeof(*attr), errstr); in main()
121 attr, (unsigned) sizeof(*attr), errstr); in main()
140 printf("sched_setattr(%d, NULL, 0) = %s\n", (int) bogus_pid, errstr); in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Ddirect_value_access.c71 .errstr = "R1 min value is outside of the array range",
83 .errstr = "direct value offset of 4294967295 is not allowed",
107 .errstr = "invalid access to map value pointer",
131 .errstr = "invalid access to map value pointer",
143 .errstr = "direct value offset of 536870912 is not allowed",
155 .errstr = "invalid access to map value pointer, value_size=48 off=536870911",
197 .errstr = "invalid access to map value, value_size=48 off=47 size=2",
211 .errstr = "invalid access to map value, value_size=48 off=47 size=2",
223 .errstr = "R1 min value is outside of the array range",
247 .errstr = "invalid access to map value pointer",
[all …]
Dld_imm64.c12 .errstr = "invalid BPF_LD_IMM insn",
26 .errstr = "invalid BPF_LD_IMM insn",
41 .errstr = "invalid bpf_ld_imm64 insn",
50 .errstr = "invalid bpf_ld_imm64 insn",
58 .errstr = "invalid bpf_ld_imm64 insn",
87 .errstr = "uses reserved fields",
97 .errstr = "invalid bpf_ld_imm64 insn",
107 .errstr = "invalid bpf_ld_imm64 insn",
117 .errstr = "invalid bpf_ld_imm64 insn",
128 .errstr = "not pointing to valid bpf_map",
[all …]

12345678910>>...14