/bootable/recovery/minzip/ |
DirUtil.c | 23 #include <errno.h> 44 errno = ENOTDIR; 46 } else if (errno != ENOENT) { 66 errno = ENOENT; 76 errno = ENOMEM; 91 errno = ENOENT; 207 errno = 0; 219 errno = 0; 222 if (fail || errno < 0) { 223 int save = errno; [all...] |
/external/qemu/android/ |
sync-utils.c | 23 #include "errno.h" 70 if (errno == EINPROGRESS || errno == EAGAIN || errno == EWOULDBLOCK) { 82 } else if (errno != EINTR) { 128 errno = EINVAL; 139 errno = EINVAL; 150 errno = EINVAL; 161 errno = EINVAL; 177 errno = EINVAL [all...] |
/bionic/libc/private/ |
ErrnoRestorer.h | 20 #include <errno.h> 24 explicit ErrnoRestorer() : saved_errno_(errno) { 28 errno = saved_errno_;
|
/external/bison/lib/ |
dup2.c | 25 #include <errno.h> 55 errno = EBADF; 65 errno = EBADF; 75 errno = EBADF; 105 /* Correct an errno value on FreeBSD 6.1 and Cygwin 1.5.x. */ 106 if (result == -1 && errno == EMFILE) 107 errno = EBADF; 129 int e = errno; 131 errno = e; 153 if (result == -1 && (errno == EMFILE || errno == EINVAL) [all...] |
fd-safer-flag.c | 26 #include <errno.h> 32 semantics. On failure to duplicate, close FD, set errno, and 33 return -1. Preserve errno if FD is negative, so that the caller 34 can always inspect errno when the returned value is negative. 45 int e = errno; 47 errno = e;
|
fd-safer.c | 24 #include <errno.h> 29 failure to duplicate, close FD, set errno, and return -1. Preserve 30 errno if FD is negative, so that the caller can always inspect 31 errno when the returned value is negative. 42 int e = errno; 44 errno = e;
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
signal_test.cc | 5 #include <errno.h> 18 EXPECT_EQ(errno, EFAULT); 19 EXPECT_EQ(errno, 0x2211);
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/ |
glob.cc | 8 #include <errno.h> 20 printf("%d %s\n", errno, strerror(errno));
|
/external/e2fsprogs/lib/e2p/ |
getversion.c | 20 #include <errno.h> 35 extern int errno; 36 errno = EOPNOTSUPP;
|
setversion.c | 20 #include <errno.h> 34 extern int errno; 35 errno = EOPNOTSUPP;
|
/external/libselinux/src/ |
fgetfilecon.c | 5 #include <errno.h> 23 if (ret < 0 && errno == ERANGE) { 42 errno = EOPNOTSUPP;
|
getfilecon.c | 6 #include <errno.h> 23 if (ret < 0 && errno == ERANGE) { 42 errno = EOPNOTSUPP;
|
lgetfilecon.c | 5 #include <errno.h> 23 if (ret < 0 && errno == ERANGE) { 42 errno = EOPNOTSUPP;
|
policyvers.c | 5 #include <errno.h> 21 errno = ENOENT; 28 if (errno == ENOENT)
|
/external/libsepol/utils/ |
chkcon.c | 7 #include <errno.h> 27 argv[1], strerror(errno)); 32 argv[1], strerror(errno));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/hotshot/ |
stones.py | 1 import errno namespace 22 if e.errno != errno.EPIPE:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/hotshot/ |
stones.py | 1 import errno namespace 22 if e.errno != errno.EPIPE:
|
/system/core/toolbox/ |
smd.c | 5 #include <errno.h> 24 strerror(errno)); 32 r, strerror(errno));
|
/system/extras/libpagemap/ |
pm_kernel.c | 18 #include <errno.h> 37 return errno; 41 error = errno; 48 error = errno; 71 return errno; 76 return errno; 87 error = errno; 105 error = errno; 124 return errno; 127 return errno; [all...] |
/external/clang/test/CodeGen/ |
libcall-declarations.c | 2 // RUN: %clang_cc1 -triple x86_64-linux-gnu -S -o - -emit-llvm -fmath-errno %s | FileCheck %s -check-prefix=CHECK-ERRNO 162 // CHECK-ERRNO: declare double @ceil(double) [[NUW:#[0-9]+]] 163 // CHECK-ERRNO: declare x86_fp80 @ceill(x86_fp80) [[NUW]] 164 // CHECK-ERRNO: declare float @ceilf(float) [[NUW]] 165 // CHECK-ERRNO: declare double @copysign(double, double) [[NUW]] 166 // CHECK-ERRNO: declare x86_fp80 @copysignl(x86_fp80, x86_fp80) [[NUW]] 167 // CHECK-ERRNO: declare float @copysignf(float, float) [[NUW]] 168 // CHECK-ERRNO: declare double @fabs(double) [[NUW]] 169 // CHECK-ERRNO: declare x86_fp80 @fabsl(x86_fp80) [[NUW] [all...] |
/development/ndk/platforms/android-3/include/ |
errno.h | 32 #include <linux/errno.h> 43 /* internal function returning the address of the thread-specific errno */ 46 /* a macro expanding to the errno l-value */ 47 #define errno (*__errno()) macro 50 /* use errno = xxxx instead in C code */ 53 errno = n;
|
/external/openssh/openbsd-compat/ |
strtonum.c | 27 #include <errno.h> 50 ev[0].err = errno; 51 errno = 0; 58 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) 60 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) 65 errno = ev[error].err;
|
/external/valgrind/main/none/tests/ |
rlimit64_nofile.c | 4 #include <errno.h> 30 if (errno != EINVAL) { 31 fprintf(stderr, "setrlimit64 exceeding hardlimit must set errno=EINVAL\n"); 45 if (errno != EPERM) { 46 fprintf(stderr, "setrlimit64 changing hardlimit must set errno=EPERM\n"); 99 else if (errno != EMFILE)
|
rlimit_nofile.c | 1 #include <errno.h> 27 if (errno != EINVAL) { 28 fprintf(stderr, "setrlimit exceeding hardlimit must set errno=EINVAL\n"); 42 if (errno != EPERM) { 43 fprintf(stderr, "setrlimit changing hardlimit must set errno=EPERM\n"); 96 else if (errno != EMFILE)
|
/prebuilts/ndk/9/platforms/android-14/arch-arm/usr/include/ |
errno.h | 32 #include <linux/errno.h> 43 /* internal function returning the address of the thread-specific errno */ 46 /* a macro expanding to the errno l-value */ 47 #define errno (*__errno()) macro 50 /* use errno = xxxx instead in C code */ 53 errno = n;
|