/frameworks/base/native/android/ |
net.c | 19 #include <errno.h> 48 errno = EINVAL; 54 errno = -rval; 63 errno = EINVAL; 69 errno = -rval; 80 errno = EINVAL;
|
/hardware/libhardware_legacy/ |
power.c | 18 #include <errno.h> 22 #include <errno.h> 59 g_error = -errno; 61 strerror(errno)); 104 return -errno; 121 return -errno;
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 31 #include <errno.h> 69 if ((result == -1) && (errno != EEXIST)) { 70 LOC_LOGE("failed: %s\n", strerror(errno)); 79 pipe_name, strerror(errno)); 85 LOC_LOGE("failed: %s\n", strerror(errno)); 210 LOC_LOGE("fcntl failure, %s\n", strerror(errno));
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 31 #include <errno.h> 69 if ((result == -1) && (errno != EEXIST)) { 70 LOC_LOGE("failed: %s\n", strerror(errno)); 79 pipe_name, strerror(errno)); 85 LOC_LOGE("failed: %s\n", strerror(errno)); 210 LOC_LOGE("fcntl failure, %s\n", strerror(errno));
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 31 #include <errno.h> 69 if ((result == -1) && (errno != EEXIST)) { 70 LOC_LOGE("failed: %s\n", strerror(errno)); 79 pipe_name, strerror(errno)); 85 LOC_LOGE("failed: %s\n", strerror(errno)); 210 LOC_LOGE("fcntl failure, %s\n", strerror(errno));
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 31 #include <errno.h> 69 if ((result == -1) && (errno != EEXIST)) { 70 LOC_LOGE("failed: %s\n", strerror(errno)); 79 pipe_name, strerror(errno)); 85 LOC_LOGE("failed: %s\n", strerror(errno)); 210 LOC_LOGE("fcntl failure, %s\n", strerror(errno));
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 31 #include <errno.h> 69 if ((result == -1) && (errno != EEXIST)) { 70 LOC_LOGE("failed: %s\n", strerror(errno)); 79 pipe_name, strerror(errno)); 85 LOC_LOGE("failed: %s\n", strerror(errno)); 210 LOC_LOGE("fcntl failure, %s\n", strerror(errno));
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 31 #include <errno.h> 69 if ((result == -1) && (errno != EEXIST)) { 70 LOC_LOGE("failed: %s\n", strerror(errno)); 79 pipe_name, strerror(errno)); 85 LOC_LOGE("failed: %s\n", strerror(errno)); 210 LOC_LOGE("fcntl failure, %s\n", strerror(errno));
|
/prebuilts/misc/common/swig/include/2.0.11/guile/ |
ports.i | 13 #include <errno.h> 35 scm_misc_error("$symname", strerror(errno), SCM_EOL); 39 scm_misc_error("$symname", strerror(errno), SCM_EOL);
|
/system/extras/tests/kernel.config/ |
sysvipc_test.cpp | 16 #include <errno.h> 39 int error = (ret == -1) ? (errno == ENOSYS) ? EOPNOTSUPP : errno : 0; 48 EXPECT_EQ(ENOSYS, errno); 52 EXPECT_EQ(ENOSYS, errno); 56 EXPECT_EQ(ENOSYS, errno);
|
/toolchain/binutils/binutils-2.27/libiberty/ |
getpwd.c | 21 #include <errno.h> 22 #ifndef errno 23 extern int errno; 65 yield 0 and set errno. */ 77 if (!p && !(errno = failure_errno)) 89 int e = errno; 95 errno = failure_errno = e;
|
/cts/tests/tests/net/src/android/net/cts/ |
MultinetworkApiTest.java | 74 int errno = runGetaddrinfoCheck(network.getNetworkHandle()); local 75 if (errno != 0) { 77 "getaddrinfo on " + mCM.getNetworkInfo(network), -errno); 91 int errno = runSetprocnetwork(network.getNetworkHandle()); local 92 if (errno != 0) { 94 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); 110 int errno = runSetprocnetwork(network.getNetworkHandle()); local 111 if (errno != 0) { 113 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); 126 int errno = runSetsocknetwork(network.getNetworkHandle()) local 136 int errno = runDatagramCheck(network.getNetworkHandle()); local [all...] |
/external/ltp/testcases/kernel/fs/stream/ |
stream05.c | 41 #include <errno.h> 79 strerror(errno)); 87 strerror(errno)); 93 strerror(errno)); 112 strerror(errno)); 138 strerror(errno)); 143 strerror(errno)); 150 strerror(errno)); 166 tst_resm(TFAIL, "clearerr failed: %s", strerror(errno)); 185 strerror(errno)); [all...] |
/external/ltp/testcases/kernel/syscalls/pread/ |
pread01.c | 51 * Print errno log and/or timing stats if options given 73 #include <errno.h> 123 "nread=%d, error:%d", nread, errno); 139 "nread=%d, error:%d", nread, errno); 152 "nread=%d, errno=%d", nread, errno); 162 "nread=%d, error:%d", nread, errno); 205 tst_brkm(TBROK, cleanup, "open() on %s failed, errno=%d : %s", 206 TEMPFILE, errno, strerror(errno)); [all...] |
/external/ltp/utils/sctp/func_tests/ |
test_1_to_1_recvmsg.c | 54 #include <errno.h> 126 if (count != -1 || errno != EBADF) 128 "descriptor count:%d, errno:%d", count, errno); 137 filename, strerror(errno)); 140 err_no = errno; 145 "count:%d, errno:%d", count, err_no); 152 if (count != -1 || errno != EFAULT) 154 "pointer count:%d, errno:%d", count, errno); [all...] |
test_tcp_style.c | 50 #include <errno.h> 136 if ((-1 != error) && (EINVAL != errno)) 138 "error:%d, errno:%d", error, errno); 145 if ((-1 != error) && (EISCONN != errno)) 147 "error:%d, errno:%d", error, errno); 161 if ((-1 != error) && (ECONNREFUSED != errno)) 163 "error:%d, errno:%d", error, errno); [all...] |
/bionic/tests/ |
fcntl_test.cpp | 19 #include <errno.h> 79 ASSERT_EQ(ENOENT, errno); 81 ASSERT_EQ(ENOENT, errno); 86 errno = 0; 89 EXPECT_EQ(0, errno); 92 EXPECT_EQ(0, errno); 95 EXPECT_EQ(0, errno); 98 EXPECT_EQ(0, errno); 107 // fallocate/fallocate64 set errno. 108 // posix_fallocate/posix_fallocate64 return an errno value [all...] |
/bionic/libc/dns/nameser/ |
ns_name.c | 35 #include <errno.h> 91 * Number of bytes written to buffer, or -1 (with errno set) 113 errno = EMSGSIZE; 118 errno = EMSGSIZE; 124 errno = EMSGSIZE; /* XXX */ 128 errno = EMSGSIZE; 136 errno = EINVAL; 141 errno = EMSGSIZE; 151 errno = EMSGSIZE; 158 errno = EMSGSIZE [all...] |
/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe04.c | 47 #include <errno.h> 71 } while (n < 0 && errno == EINTR); 103 "errno %d", errno); 115 "errno %d", errno); 128 tst_resm(TWARN, "Could not close fildes[1] - errno %d", 129 errno); 137 "errno=%d", errno); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
2-2.c | 51 #include <errno.h> 118 while ((ret == -1) && (errno == EINTR)); 120 UNRESOLVED(errno, "Failed to wait for the semaphore"); 127 while ((ret == -1) && (errno == EINTR)); 129 UNRESOLVED(errno, "Failed to post the semaphore"); 214 while ((ret == -1) && (errno == EINTR)); 216 UNRESOLVED(errno, 231 while ((ret == -1) && (errno == EINTR)); 233 if (errno == ETIMEDOUT) { 238 UNRESOLVED(errno, [all...] |
/system/bt/hci/src/ |
btsnoop_net.cc | 22 #include <errno.h> 60 strerror(errno)); 86 if (ret == -1 && errno == ECONNRESET) { 100 strerror(errno)); 107 strerror(errno)); 117 strerror(errno)); 122 LOG_ERROR(LOG_TAG, "%s unable to listen: %s", __func__, strerror(errno)); 130 if (errno == EINVAL || errno == EBADF) { 134 strerror(errno)); [all...] |
/toolchain/binutils/binutils-2.27/binutils/ |
rename.c | 59 saved = errno; 61 errno = saved; 68 saved = errno; 71 errno = saved; 75 saved = errno; 80 errno = saved; 122 non_fatal (_("%s: cannot set time: %s"), destination, strerror (errno)); 157 non_fatal (_("unable to rename '%s'; reason: %s"), to, strerror (errno)); 195 non_fatal (_("unable to rename '%s'; reason: %s"), to, strerror (errno)); 203 non_fatal (_("unable to copy file '%s'; reason: %s"), to, strerror (errno)); [all...] |
/external/libunwind/src/ptrace/ |
_UPT_access_reg.c | 61 errno = 0; 66 if (errno) 79 errno = 0; 81 if (errno) 104 errno = 0; 106 if (errno) 116 errno = 0; 119 if (errno) 128 errno = 0; 130 if (errno) [all...] |
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
breakpoint_test_arm64.c | 35 #include <errno.h> 49 strerror(errno)); 55 "raise(SIGSTOP) failed: %s\n", strerror(errno)); 62 strerror(errno)); 110 if (errno == EIO) 113 strerror(errno)); 117 strerror(errno)); 130 "fork() failed: %s\n", strerror(errno)); 139 "waitpid() failed: %s\n", strerror(errno)); 144 "child did not stop: %s\n", strerror(errno)); [all...] |
/hardware/qcom/display/msm8909/gralloc/ |
gr_ion_alloc.cpp | 38 #include <errno.h> 53 ALOGE("%s: Failed to open ion device - %s", __FUNCTION__, strerror(errno)); 83 err = -errno; 84 ALOGE("ION_IOC_ALLOC failed with error - %s", strerror(errno)); 91 err = -errno; 92 ALOGE("%s: ION_IOC_MAP failed with error - %s", __FUNCTION__, strerror(errno)); 135 err = -errno; 136 ALOGE("ion: Failed to map memory in the client: %s", strerror(errno)); 149 err = -errno; 150 ALOGE("%s: ION_IOC_IMPORT failed with error - %s", __FUNCTION__, strerror(errno)); [all...] |