HomeSort by relevance Sort by last modified time
    Searched refs:strerror_r (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /external/compiler-rt/test/asan/TestCases/Posix/
strerror_r_test.cc 11 char *res = (char *)strerror_r(300, buf, sizeof(buf));
  /bionic/tests/
string_posix_strerror_r_test.cpp 44 ASSERT_EQ(0, strerror_r(0, buf, sizeof(buf)));
46 ASSERT_EQ(0, strerror_r(1, buf, sizeof(buf)));
50 ASSERT_EQ(0, strerror_r(-1, buf, sizeof(buf)));
52 ASSERT_EQ(0, strerror_r(1234, buf, sizeof(buf)));
58 ASSERT_EQ(-1, strerror_r(4567, buf, 2));
60 // The POSIX strerror_r sets errno to ERANGE (the GNU one doesn't).
  /frameworks/native/libs/vr/libpdx/
status.cpp 11 return strerror_r(error_code, message, sizeof(message));
  /external/valgrind/none/tests/
threadederrno.c 1 /* Make sure we use the POSIX version of strerror_r() on Linux. */
14 strerror_r(errno, errstr, sizeof(errstr));
23 strerror_r(errno, errstr, sizeof(errstr));
37 strerror_r(errno, errstr, sizeof(errstr));
  /bionic/libc/bionic/
strerror.cpp 44 strerror_r(error_number, result, sizeof(tls.strerror_buf));
strerror_r.cpp 1 /* $OpenBSD: strerror_r.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */
52 int strerror_r(int error_number, char* buf, size_t buf_len) { function
71 ErrnoRestorer errno_restorer; // The glibc strerror_r doesn't set errno if it truncates...
72 strerror_r(error_number, buf, buf_len);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
perror.c 54 * static buffer, both functions supply their own buffers to strerror_r().
70 (void)strerror_r(errno, buf, sizeof(buf));
  /external/compiler-rt/test/msan/
strerror_r-non-gnu.c 3 // strerror_r under a weird set of circumstances can be redirected to
14 int res = strerror_r(EINVAL, buf, sizeof(buf));
  /system/core/libsuspend/
autosuspend_wakeup_count.c 60 strerror_r(errno, buf, sizeof(buf));
73 strerror_r(errno, buf, sizeof(buf));
82 strerror_r(errno, buf, sizeof(buf));
99 strerror_r(errno, buf, sizeof(buf));
116 strerror_r(errno, buf, sizeof(buf));
135 strerror_r(errno, buf, sizeof(buf));
165 strerror_r(errno, buf, sizeof(buf));
172 strerror_r(errno, buf, sizeof(buf));
179 strerror_r(errno, buf, sizeof(buf));
185 strerror_r(ret, buf, sizeof(buf))
    [all...]
  /external/llvm/lib/Support/
Errno.cpp 48 // strerror_r is thread-safe.
50 // glibc defines its own incompatible version of strerror_r
52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
54 strerror_r(errnum, buffer, MaxErrStrLen - 1);
  /external/swiftshader/third_party/LLVM/lib/Support/
Errno.cpp 44 // strerror_r is thread-safe.
47 // glibc defines its own incompatible version of strerror_r
49 str = strerror_r(errnum,buffer,MaxErrStrLen-1);
51 strerror_r(errnum,buffer,MaxErrStrLen-1);
  /libcore/ojluni/src/main/native/
jni_util_md.c 47 #define strerror_r(a, b, c) __xpg_strerror_r((a), (b), (c)) macro
55 return strerror_r(err, buf, len);
  /external/bison/lib/
perror.c 41 ret = strerror_r (errno, stackbuf, sizeof stackbuf);
strerror_r.c 0 /* strerror_r.c --- POSIX compatible system error routine
41 /* The system's strerror_r function is OK, except that its third argument
51 system strerror_r has the wrong return type, and cygwin 1.7.9
52 strerror_r clobbers strerror. */
137 strerror_r (int errnum, char *buf, size_t buflen) function
138 #undef strerror_r macro
171 back to GNU strerror_r which always returns a thread-safe
173 safe_copy (buf, buflen, strerror_r (errnum, buf, buflen));
183 /* On HP-UX 11.31, strerror_r always fails when buflen < 80; it
190 ret = strerror_r (errnum, stackbuf, sizeof stackbuf)
    [all...]
  /external/linux-kselftest/tools/testing/selftests/net/
socket.c 57 strerror_r(-s->expect, err_string1, ERR_STRING_SZ);
58 strerror_r(errno, err_string2, ERR_STRING_SZ);
71 strerror_r(errno, err_string1, ERR_STRING_SZ);
  /external/ltp/testcases/kernel/sched/nptl/
nptl01.c 78 strerror_r(ret, buf, buf_len));
88 strerror_r(ret, buf, buf_len));
98 strerror_r(ret, buf, buf_len));
108 strerror_r(ret, buf, buf_len));
119 strerror_r(ret, buf, buf_len));
129 strerror_r(ret, buf, buf_len));
142 strerror_r(errno, buf, buf_len));
193 strerror_r(ret, buf, buf_len));
199 strerror_r(ret, buf, buf_len));
203 strerror_r(ret, buf, buf_len))
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/String/
Misc.c 41 strerror_r(int errnum, char *buf, size_t buflen) function
83 status = strerror_r(errnum, errorbuf, sizeof(errorbuf));
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
perror.c 55 (void)strerror_r(errno, buf, sizeof(buf));
  /device/asus/fugu/power/
power.c 49 strerror_r(errno, buf, sizeof(buf));
55 strerror_r(errno, buf, sizeof(buf));
72 strerror_r(errno, buf, sizeof(buf));
78 strerror_r(errno, buf, sizeof(buf));
  /device/huawei/angler/power/
utils.c 110 strerror_r(errno, buf, sizeof(buf));
117 strerror_r(errno, buf, sizeof(buf));
138 strerror_r(errno, buf, sizeof(buf));
145 strerror_r(errno, buf, sizeof(buf));
  /device/lge/bullhead/power/
utils.c 110 strerror_r(errno, buf, sizeof(buf));
117 strerror_r(errno, buf, sizeof(buf));
138 strerror_r(errno, buf, sizeof(buf));
145 strerror_r(errno, buf, sizeof(buf));
  /system/chre/host/common/include/chre_host/
log.h 52 strerror_r(error_code, error_string, sizeof(error_string)); \
  /device/linaro/hikey/power/
power_hikey.c 81 strerror_r(errno, buf, sizeof(buf));
88 strerror_r(errno, buf, sizeof(buf));
172 strerror_r(errno, buf, sizeof(buf));
182 strerror_r(errno, buf, sizeof(buf));
202 strerror_r(errno, buf, sizeof(buf));
263 strerror_r(errno, buf, sizeof(buf));
  /development/ndk/platforms/android-9/include/
string.h 67 extern int strerror_r(int errnum, char *buf, size_t n);
  /device/google/dragon/power/
power_dragon.cpp 83 strerror_r(errno, buf, sizeof(buf));
90 strerror_r(errno, buf, sizeof(buf));
177 strerror_r(errno, buf, sizeof(buf));
202 strerror_r(errno, buf, sizeof(buf));

Completed in 602 milliseconds

1 2 3 4 5 6 7