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

1 2 3

  /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 $ */
53 int strerror_r(int error_number, char* buf, size_t buf_len) { function
72 ErrnoRestorer errno_restorer; // The glibc strerror_r doesn't set errno if it truncates...
73 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));
  /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);
  /external/swiftshader/third_party/llvm-subzero/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);
  /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/linux-kselftest/tools/testing/selftests/net/
socket.c 58 strerror_r(-s->expect, err_string1, ERR_STRING_SZ);
59 strerror_r(errno, err_string2, ERR_STRING_SZ);
72 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 43 strerror_r(int errnum, char *buf, size_t buflen) function
85 status = strerror_r(errnum, errorbuf, sizeof(errorbuf));
  /system/chre/host/common/include/chre_host/
log.h 62 strerror_r(error_code, error_string, sizeof(error_string)); \
  /device/google/marlin/power/
utils.c 124 strerror_r(errno, buf, sizeof(buf));
131 strerror_r(errno, buf, sizeof(buf));
152 strerror_r(errno, buf, sizeof(buf));
159 strerror_r(errno, buf, sizeof(buf));
  /external/libchrome/base/posix/
safe_strerror.cc 6 // Post-L versions of bionic define the GNU-specific strerror_r if _GNU_SOURCE
39 // glibc has two strerror_r functions: a historical GNU-specific one that
60 // Wrapper for strerror_r functions that implement the POSIX interface. POSIX
63 // it will only be used on Linux if the POSIX strerror_r implementation is
96 // Either the error from strerror_r was the same as the previous value, or
115 // appropriate overloaded function based on the function type of strerror_r.
118 wrap_posix_strerror_r(&strerror_r, err, buf, len);
  /device/linaro/hikey/power/
power_hikey.c 109 strerror_r(errno, buf, sizeof(buf));
116 strerror_r(errno, buf, sizeof(buf));
194 strerror_r(errno, buf, sizeof(buf));
204 strerror_r(errno, buf, sizeof(buf));
261 strerror_r(errno, buf, sizeof(buf));
323 strerror_r(errno, buf, sizeof(buf));
  /external/stressapptest/src/
sattypes.h 184 return string(strerror_r(error_num, buf, sizeof buf));
186 if (strerror_r(error_num, buf, sizeof buf))
  /bionic/tests/headers/posix/
string_h.c 56 FUNCTION(strerror_r, int (*f)(int, char*, size_t));
  /external/conscrypt/common/src/jni/main/include/conscrypt/
compat.h 21 // We want the XSI-compliant strerror_r (it's more portable across NDK versions,
54 #define strerror_r(errnum, buf, buflen) strerror_s(buf, buflen, errnum) macro
  /external/elfutils/libdwfl/
dwfl_error.c 157 return strerror_r (error & 0xffff, "bad", 0);
  /device/linaro/bootloader/edk2/StdLib/Include/
string.h 68 int strerror_r (int, char *, size_t);
461 int strerror_r(int, char *, size_t);
  /external/libnl/src/lib/
utils.c 83 fprintf(stderr, "%s\n", strerror_r(err, buf, sizeof(buf)));

Completed in 1099 milliseconds

1 2 3