/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/ |
errno.h | 26 # pragma message("eMbedded Visual C++ 3 and .NET don't have a errno.h header; STLport won't include native errno.h here") 29 # ifndef errno 33 # include_next <errno.h> 35 # include _STLP_NATIVE_C_HEADER(errno.h) 42 # endif /* errno */ 45 /* If errno has been defined before inclusion of native errno.h including it from STLport errno.h 47 * #define errno fo [all...] |
/libcore/luni/src/main/java/libcore/io/ |
ErrnoException.java | 24 * errno value, for comparison against the constants in {@link OsConstants}, should sophisticated 29 public final int errno; field in class:ErrnoException 31 public ErrnoException(String functionName, int errno) { 33 this.errno = errno; 36 public ErrnoException(String functionName, int errno, Throwable cause) { 39 this.errno = errno; 43 * Converts the stashed function name and errno value to a human-readable string. 48 String errnoName = OsConstants.errnoName(errno); [all...] |
/external/valgrind/main/memcheck/tests/ |
writev1.c | 5 #include <errno.h> 36 fprintf(stderr, "open(2) failed: fname = %s, errno = %d\n", 37 f_name, errno); 40 fprintf(stderr, "write(2) failed: nbytes = %d, errno = %d\n", 41 nbytes, errno); 45 fprintf(stderr, "close failed: errno = %d\n", errno); 50 fprintf(stderr, "open failed: fname = %s, errno = %d\n", 51 f_name, errno); 57 if (errno == EFAULT) [all...] |
/external/chromium_org/tools/android/forwarder2/ |
common.cc | 7 #include <errno.h> 17 LOG(ERROR) << msg << ": " << safe_strerror(errno); 21 const int errno_copy = errno; 24 errno = errno_copy;
|
/external/kernel-headers/original/linux/ |
unistd.h | 5 extern int errno;
|
/external/libselinux/src/ |
freecon.c | 4 #include <errno.h>
|
/bionic/tests/ |
getcwd_test.cpp | 19 #include <errno.h> 25 errno = 0; 28 ASSERT_EQ(0, errno); 35 errno = 0; 38 ASSERT_EQ(0, errno); 45 errno = 0; 48 ASSERT_EQ(ERANGE, errno); 53 errno = 0; 56 ASSERT_EQ(ENOMEM, errno); 62 errno = 0 [all...] |
signal_test.cpp | 19 #include <errno.h> 26 errno = 0; 28 ASSERT_EQ(EINVAL, errno); 32 errno = 0; 34 ASSERT_EQ(0, errno); 41 errno = 0; 43 ASSERT_EQ(EINVAL, errno); 62 errno = 0; 64 ASSERT_EQ(EINVAL, errno); 67 errno = 0 [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
tcdrain.c | 5 #include <errno.h> 11 errno = ENOSYS;
|
tcflow.c | 5 #include <errno.h> 11 errno = ENOSYS;
|
tcsendbreak.c | 5 #include <errno.h> 11 errno = ENOSYS;
|
/system/vold/ |
ResponseCode.cpp | 18 #include <errno.h> 28 if (errno == ENODEV) { 30 } else if (errno == ENODATA) { 32 } else if (errno == EIO) { 34 } else if (errno == EBUSY) { 36 } else if (errno == ENOENT) { 40 SLOGW("Returning OperationFailed - no handler for errno %d", errno);
|
/external/oprofile/libutil/ |
op_deviceio.c | 20 #include <errno.h> 36 if (count < 0 && errno != EINTR && errno != EAGAIN) {
|
/system/core/toolbox/ |
runcon.c | 5 #include <errno.h> 19 fprintf(stderr, "Could not set context to %s: %s\n", argv[1], strerror(errno)); 26 fprintf(stderr, "Could not exec %s: %s\n", argv[0], strerror(errno));
|
getenforce.c | 4 #include <errno.h> 20 strerror(errno));
|
rmdir.c | 4 #include <errno.h> 23 fprintf(stderr, "rmdir failed for %s, %s\n", argv[0], strerror(errno));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_proxy.cc | 8 #include <errno.h> 85 rtn = errno; 91 rtn = errno; 99 rtn = errno; 104 rtn = errno; 109 rtn = errno; 154 errno = error; 164 errno = error; 172 errno = error; 185 errno = error [all...] |
kernel_wrap_newlib.cc | 14 #include <errno.h> 93 return (ki_close(fd) < 0) ? errno : 0; 98 return (*newfd < 0) ? errno : 0; 103 return (newfd < 0) ? errno : 0; 109 return (signed_nread < 0) ? errno : 0; 115 return (signed_nwrote < 0) ? errno : 0; 120 return (*new_offset < 0) ? errno : 0; 124 return (ki_fstat(fd, buf) < 0) ? errno : 0; 130 return errno; 136 return (ki_fchdir(fd) < 0) ? errno : 0 [all...] |
/external/chromium_org/native_client_sdk/src/libraries/gtest/ |
nacl_gtest_dummy_sys.cc | 6 #include <errno.h> 21 errno = ERANGE; 29 errno = ENOSYS; 34 errno = ENOSYS;
|
/external/clang/test/CodeGen/ |
libcalls-d.c | 3 // -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not. 4 // RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -O0 -o - | grep {call.*exp2\\.f64} 5 // RUN: %clang_cc1 %s -emit-llvm -fmath-errno -O0 -o - | grep {call.*exp2}
|
/external/valgrind/main/none/tests/ |
fdleak_socketpair.c | 4 #include <sys/errno.h>
|
/system/core/libcutils/ |
fs.c | 31 #include <errno.h> 44 if (errno == ENOENT) { 47 ALOGE("Failed to lstat(%s): %s", path, strerror(errno)); 65 if (errno != EEXIST) { 66 ALOGE("Failed to mkdir(%s): %s", path, strerror(errno)); 73 ALOGE("Failed to chmod(%s, %d): %s", path, mode, strerror(errno)); 77 ALOGE("Failed to chown(%s, %d, %d): %s", path, uid, gid, strerror(errno)); 87 ALOGE("Failed to read %s: %s", path, strerror(errno)); 93 ALOGE("Failed to read %s: %s", path, strerror(errno)); 97 ALOGE("Failed to parse %s: %s", path, strerror(errno)); [all...] |
/system/core/libsysutils/src/ |
FrameworkClient.cpp | 2 #include <errno.h> 19 errno = EHOSTUNREACH; 26 SLOGW("Unable to send msg '%s' (%s)", msg, strerror(errno)); 36 errno = -ENOMEM;
|
/system/extras/tests/bionic/libc/other/ |
test_system.c | 4 #include <errno.h> 16 fprintf(stderr, "Error calling system(): %d\n", errno);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
socket_test.cc | 6 #include <errno.h> 54 EXPECT_EQ(errno, EFAULT); 56 EXPECT_EQ(errno, EFAULT); 58 EXPECT_EQ(errno, EFAULT); 60 EXPECT_EQ(errno, EBADF); 62 EXPECT_EQ(errno, ENOTSOCK); 70 EXPECT_EQ(errno, EFAULT); 72 EXPECT_EQ(errno, EBADF); 74 EXPECT_EQ(errno, ENOTSOCK); 82 EXPECT_EQ(errno, EFAULT) [all...] |