Searched refs:EINVAL (Results 1 - 25 of 1120) sorted by relevance

1234567891011>>

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D30-1.c19 * sigaction returns -1 and errno is set to EINVAL if signal number is invalid
124 if (errno != EINVAL) {
126 errno, strerror(errno), EINVAL, strerror(EINVAL));
141 if (errno != EINVAL) {
143 errno, strerror(errno), EINVAL, strerror(EINVAL));
158 if (errno != EINVAL) {
160 errno, strerror(errno), EINVAL, strerror(EINVAL));
[all...]
/external/fio/lib/
H A Dgetrusage.c9 if (errno != EINVAL)
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/external/ltp/lib/tests/
H A Dtst_strerrno.c33 fprintf(stderr, "EINVAL = %s\n", tst_strerrno(EINVAL));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_destroy/
H A D4-1.c10 * [EINVAL] The value specified by 'attr' is invalid
14 * If it returns EINVAL, the test passes.
29 * It should return EINVAL */
30 if ((rc = pthread_condattr_destroy(condattr)) == EINVAL) {
35 ("Test PASSED: *NOTE: Expect %d(EINVAL), but return %d, though standard states 'may' fail\n",
36 EINVAL, rc);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_destroy/
H A D4-1.c10 * [EINVAL] The value specified by 'attr' is invalid
14 * If it returns EINVAL, the test passes.
29 * It should return EINVAL */
30 if ((rc = pthread_mutexattr_destroy(mta)) == EINVAL) {
35 ("Test PASSED: *NOTE: Expect %d(EINVAL), but return %d, though standard states 'may' fail\n",
36 EINVAL, rc);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/
H A D2-1.c24 if (result == -1 && errno == EINVAL) {
34 if (errno != EINVAL) {
35 perror("error is not EINVAL");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/
H A D2-1.c24 if (result == -1 && errno == EINVAL) {
34 if (errno != EINVAL) {
35 perror("error is not EINVAL");
/external/valgrind/memcheck/tests/solaris/
H A Dsendfilev.stdout.exp3 Received EINVAL as expected.
/external/libusb/libusb/os/
H A Dthreads_windows.c37 return EINVAL;
46 return EINVAL;
54 return EINVAL;
66 return EINVAL;
71 return EINVAL; // don't know how this would happen
78 return EINVAL;
90 return EINVAL;
97 return EINVAL; // don't know how this would happen
106 return EINVAL;
114 return EINVAL;
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/raise/
H A D7-1.c12 * 3) Verify errno is set to EINVAL.
29 if (EINVAL == errno) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/
H A D6-1.c25 if (errno == EINVAL) {
26 printf("Test PASSED: errno set to EINVAL\n");
29 printf("errno was not set to EINVAL\n");
H A D6-2.c25 if (EINVAL == errno) {
26 printf("Test PASSED: errno set to EINVAL\n");
29 printf("errno was not set to EINVAL\n");
/external/openssh/openbsd-compat/
H A Dsigact.c59 errno = EINVAL;
72 errno = EINVAL;
94 errno = EINVAL;
104 errno = EINVAL;
115 errno = EINVAL;
126 errno = EINVAL;
/external/iw/
H A Dvendor.c22 return -EINVAL;
36 return -EINVAL;
41 return -EINVAL;
59 return -EINVAL;
63 return -EINVAL;
67 return -EINVAL;
84 return -EINVAL;
/external/ltp/testcases/kernel/timers/clock_settime/
H A Dclock_settime03.c45 EINVAL, /* CLOCK_MONOTONIC */
46 EINVAL, /* MAX_CLOCKS */
47 EINVAL, /* MAX_CLOCKS + 1 */
48 EINVAL, /* Invalid timespec */
49 EINVAL, /* NSEC_PER_SEC + 1 */
51 EINVAL, /* PROCESS_CPUTIME_ID */
52 EINVAL, /* THREAD_CPUTIME_ID */
/external/syslinux/gpxe/src/hci/
H A Dwireless_errors.c36 { EINVAL | EUNIQ_01, "Packet too short" },
37 { EINVAL | EUNIQ_02, "Packet 802.11 version not supported" },
38 { EINVAL | EUNIQ_03, "Packet not a data packet" },
39 { EINVAL | EUNIQ_04, "Packet not from an Access Point" },
40 { EINVAL | EUNIQ_05, "Packet has invalid LLC header" },
41 { EINVAL | EUNIQ_06, "Packet decryption error", },
42 { EINVAL | EUNIQ_07, "Invalid active scan requested" },
/external/libdrm/libkms/
H A Dapi.c51 return -EINVAL;
88 return -EINVAL;
93 return -EINVAL;
99 return -EINVAL;
114 return -EINVAL;
/external/avb/test/
H A Davbtool_signing_helper_test.py40 return errno.EINVAL
45 return errno.EINVAL
49 return errno.EINVAL
/external/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod09.c23 * Verify that, mknod() fails with -1 and sets errno to EINVAL if the mode is
92 test_desc = "EINVAL";
107 EINVAL);
109 if (TEST_ERRNO == EINVAL) {
111 "error EINVAL errno:%d", TEST_ERRNO);
115 test_desc, TEST_ERRNO, EINVAL);
/external/ltp/testcases/kernel/syscalls/sysfs/
H A Dsysfs04.c97 if ((TEST_RETURN == -1) && (TEST_ERRNO == EINVAL)) {
99 " Got errno - EINVAL :" " Invalid option");
103 " : EINVAL and got %d", EINVAL, TEST_ERRNO);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/
H A D2-1.c64 if (ret_val != EINVAL) {
71 if (ret_val != EINVAL) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_getprioceiling/
H A D3-1.c6 * [EINVAL]
54 if (error == EINVAL) {
66 return (error == EINVAL ? PTS_PASS : PTS_FAIL);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
H A D19-5.c11 * Test that sched_setscheduler() sets errno == EINVAL when the policy value is
38 if (result == -1 && errno == EINVAL) {
58 if (result == -1 && errno == EINVAL) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpause/
H A D4-1.c8 This program verifies that sigpause() returns -1 and sets errno to EINVAL
39 if (errno == EINVAL) {
41 "set errno to EINVAL\n");
45 "to EINVAL\n");
50 if (errno == EINVAL)
52 "to EINVAL\n");

Completed in 1460 milliseconds

1234567891011>>