/external/clang/test/Analysis/ |
global-region-invalidation.c | 38 // Test errno gets invalidated by a system call. 43 if (errno == 0) { 44 fscanf(stdin, "%d", &i); // errno gets invalidated here. 45 return 5 / errno; // no-warning 48 errno = 0; 49 fscanf(stdin, "%d", &i); // errno gets invalidated here. 50 return 5 / errno; // no-warning 53 // Test that errno gets invalidated by internal calls. 58 if (errno == 0) { 59 foo(); // errno gets invalidated here [all...] |
/system/core/libsuspend/ |
autosuspend_wakeup_count.c | 17 #include <errno.h> 54 strerror_r(errno, buf, sizeof(buf)); 67 strerror_r(errno, buf, sizeof(buf)); 75 strerror_r(errno, buf, sizeof(buf)); 81 strerror_r(errno, buf, sizeof(buf)); 89 strerror_r(errno, buf, sizeof(buf)); 106 strerror_r(errno, buf, sizeof(buf)); 125 strerror_r(errno, buf, sizeof(buf)); 146 strerror_r(errno, buf, sizeof(buf)); 153 strerror_r(errno, buf, sizeof(buf)) [all...] |
/system/extras/tests/bionic/libc/common/ |
test_libgen.c | 3 #include <errno.h> 21 errno = 0; 29 } else if (errno != _errno) { 32 _input, errno, _errno); 41 _input, errno); 61 errno = 0; 71 if (errno != _errno) { 73 "KO: basename_r(\"%s\", <buff>, %d) returned -1 with errno=%d (expected %d)\n", 74 _input, _bufflen, errno, _errno); 94 errno = 0 [all...] |
/system/vold/ |
Devmapper.cpp | 21 #include <errno.h> 45 SLOGE("Error allocating memory (%s)", strerror(errno)); 52 SLOGE("Error allocating memory (%s)", strerror(errno)); 59 SLOGE("Error opening devmapper (%s)", strerror(errno)); 69 SLOGE("DM_LIST_DEVICES ioctl failed (%s)", strerror(errno)); 92 if (errno != ENXIO) { 93 SLOGE("DM_DEV_STATUS ioctl failed (%s)", strerror(errno)); 136 SLOGE("Error allocating memory (%s)", strerror(errno)); 142 SLOGE("Error opening devmapper (%s)", strerror(errno)); 151 if (errno != ENXIO) [all...] |
VolumeManager.cpp | 20 #include <errno.h> 87 errno = ESPIPE; 91 errno = ESPIPE; 96 errno = ESPIPE; 175 errno = ENOENT; 180 errno = EBUSY; 190 SLOGE("Hash of '%s' failed (%s)", sourceFile, strerror(errno)); 197 errno = EINVAL; 202 errno = ENOENT; 214 errno = EINVAL [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
copy-acl.c | 38 Return -2 and set errno for an error relating to the source file. 39 Return -1 and set errno for an error relating to the destination file. */ 60 if (ACL_NOT_WELL_SUPPORTED (errno)) 72 int saved_errno = errno; 74 if (ACL_NOT_WELL_SUPPORTED (errno) && !acl_access_nontrivial (acl)) 83 errno = saved_errno; 107 int saved_errno = errno; 110 errno = saved_errno; 147 if (ACL_NOT_WELL_SUPPORTED (errno)) 159 int saved_errno = errno; [all...] |
/bionic/libc/bionic/ |
__set_errno.cpp | 29 #include <errno.h> 32 // C/C++ code should just assign 'errno' instead. 34 // TODO: this should be __LIBC_HIDDEN__ but was exposed in <errno.h> in the NDK. 36 errno = n;
|
/bionic/libstdc++/include/ |
cerrno | 34 * Standard C++ Library wrapper around the C errno.h header file. 36 #include <errno.h> 38 // errno is a macro, so we can't define std::errno
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
errno.h | 15 #include <asm-generic/errno.h>
|
/development/ndk/platforms/android-3/include/linux/ |
errno.h | 15 #include <asm/errno.h>
|
/external/bison/lib/ |
pipe-safer.c | 24 #include <errno.h> 42 int e = errno; 44 errno = e; 52 errno = ENOSYS;
|
/external/chromium_org/base/posix/ |
eintr_wrapper.h | 23 #include <errno.h> 31 } while (eintr_wrapper_result == -1 && errno == EINTR); \ 42 } while (eintr_wrapper_result == -1 && errno == EINTR && \ 53 if (eintr_wrapper_result == -1 && errno == EINTR) { \
|
/external/chromium_org/content/browser/download/ |
base_file_posix.cc | 23 return LogSystemError("WriteFile", errno); 28 LogSystemError("stat", errno); 33 return LogSystemError("Move", errno); 39 LogSystemError("chmod", errno);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
inet_ntop.cc | 8 #include <errno.h> 23 errno = ENOSPC; 35 errno = ENOSPC; 51 errno = EAFNOSUPPORT;
|
/external/clang/test/CodeGen/ |
libcalls-ld.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\\..*f} 5 // RUN: %clang_cc1 %s -emit-llvm -fmath-errno -O0 -o - | grep {call.*exp2l}
|
/external/clang/test/Sema/ |
format-string-percentm.c | 4 // PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
|
/external/compiler-rt/lib/tsan/lit_tests/ |
signal_errno.cc | 8 #include <errno.h> 14 errno = 1; 40 // CHECK: WARNING: ThreadSanitizer: signal handler spoils errno 42 // CHECK: SUMMARY: ThreadSanitizer: signal handler spoils errno{{.*}}MyHandler
|
/external/libselinux/src/ |
fsetfilecon.c | 5 #include <errno.h>
|
lsetfilecon.c | 5 #include <errno.h>
|
setfilecon.c | 5 #include <errno.h>
|
/external/openssh/openbsd-compat/ |
port-solaris.c | 28 #include <errno.h> 57 "contract: %s", __func__, strerror(errno)); 62 "status: %s", __func__, strerror(errno)); 67 __func__, strerror(errno)); 82 CT_TEMPLATE, strerror(errno)); 92 "(pgrponly): %s", __func__, strerror(errno)); 97 "fatal events: %s", __func__, strerror(errno)); 102 "critical events: %s", __func__, strerror(errno)); 107 "informative events: %s", __func__, strerror(errno)); 114 "template: %s", __func__, strerror(errno)); [all...] |
/external/stlport/stlport/ |
cerrno | 32 # include <errno.h> 36 #ifndef errno /* errno is not a macro */ 40 using _STLP_VENDOR_CSTD::errno;
|
/external/stlport/test/unit/ |
errno_header_test.c | 8 #include <errno.h>
|
/frameworks/base/core/java/com/android/server/ |
NetworkManagementSocketTagger.java | 80 final int errno = native_tagSocketFd(fd, tag, uid); local 81 if (errno < 0) { 84 + uid + ") failed with errno" + errno); 102 final int errno = native_untagSocketFd(fd); local 103 if (errno < 0) { 104 Log.w(TAG, "untagSocket(" + fd.getInt$() + ") failed with errno " + errno); 116 final int errno = native_setCounterSet(counterSet, uid); local 117 if (errno < 0) 126 int errno = native_deleteTagData(0, uid); local [all...] |
/ndk/sources/android/support/src/musl-locale/ |
intl.c | 4 #include <errno.h> 41 errno = EINVAL; 54 errno = EINVAL; 64 errno = EINVAL;
|