Searched refs:error (Results 1 - 25 of 151) sorted by relevance

1234567

/bionic/tools/versioner/tests/compilation_error/headers/
H A Dfoo.h0 #error foo
/bionic/libc/stdio/
H A Dfloatio.h53 #error "floating point buffers too small"
/bionic/tests/
H A Dstdio_nofortify_test.cpp11 #error "_FORTIFY_SOURCE has been redefined, fix the code to remove this redefinition."
H A Dstring_nofortify_test.cpp11 #error "_FORTIFY_SOURCE has been redefined, fix the code to remove this redefinition."
H A Dstrings_nofortify_test.cpp11 #error "_FORTIFY_SOURCE has been redefined, fix the code to remove this redefinition."
H A Dunistd_nofortify_test.cpp11 #error "_FORTIFY_SOURCE has been redefined, fix the code to remove this redefinition."
H A Derror_test.cpp31 #include <error.h>
41 TEST(error, smoke) {
43 error(0, 0, "oops");
45 error(0, ENOENT, "couldn't open file '%s'", "blah");
50 error(0, 0, "oops");
59 ASSERT_EXIT(error(22, 0, "x%c", 'y'), ::testing::ExitedWithCode(22), "xy");
63 ASSERT_EXIT(error(22, EBADF, "x%c", 'y'), ::testing::ExitedWithCode(22), ": xy: Bad file descriptor");
H A Dfile-check-cxx8 $CXX "$@" -Wno-error 2>&1 | $FILECHECK -check-prefix=$PREFIX $SOURCE
H A Dregex_test.cpp52 int error = regcomp(&re, "*", REG_EXTENDED); local
53 ASSERT_NE(0, error);
56 // how large a buffer we would need for the error message.
57 int error_length = regerror(error, &re, nullptr, 0);
/bionic/libc/malloc_debug/
H A Ddebug_disable.cpp45 int error = pthread_key_create(&g_disable_key, nullptr); local
46 if (error != 0) {
47 error_log("pthread_key_create failed: %s", strerror(error));
/bionic/libc/bionic/
H A Derror.cpp29 #include <error.h>
51 static void __error_tail(int status, int error) { argument
52 if (error != 0) {
53 fprintf(stderr, ": %s", strerror(error));
64 void error(int status, int error, const char* fmt, ...) { argument
73 __error_tail(status, error);
76 void error_at_line(int status, int error, const char* file, unsigned int line, const char* fmt, ...) { argument
95 __error_tail(status, error);
H A Dftw.cpp56 int error = 0; local
58 while (error == 0 && (cur = fts_read(fts)) != nullptr) {
90 error = -1;
93 error = -1;
102 error = nftw_fn(cur->fts_path, cur->fts_statp, fn_flag, &ftw);
104 error = ftw_fn(cur->fts_path, cur->fts_statp, fn_flag);
109 if (fts_close(fts) != 0 && error == 0) {
110 error = -1;
114 return error;
/bionic/libc/kernel/uapi/linux/
H A Dpatchkey.h20 #error "patchkey.h included directly"
34 #error "could not determine byte order"
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dpatchkey.h20 #error "patchkey.h included directly"
34 #error "could not determine byte order"
/bionic/tools/relocation_packer/src/
H A Ddebug_unittest.cc15 std::ostringstream error; local
16 Logger::SetStreams(&info, &error);
24 "ERROR: ERROR log message\n", error.str());
31 std::ostringstream error; local
32 Logger::SetStreams(&info, &error);
44 "ERROR: ERROR log message\n", error.str());
51 std::ostringstream error; local
52 Logger::SetStreams(&info, &error);
59 EXPECT_EQ("", error.str());
69 EXPECT_EQ("", error
76 std::ostringstream error; local
[all...]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfgetws.c50 goto error;
57 goto error;
60 /* EOF/error, no characters read yet. */
61 goto error;
76 error:
/bionic/libc/dns/resolv/
H A Dres_debug.h26 # define Aerror(statp, file, string, error, address) /*empty*/
27 # define Perror(statp, file, string, error) /*empty*/
/bionic/tests/libs/
H A Dbionic_tests_zipalign.cpp78 int32_t error; local
88 error = writer.StartAlignedEntry(zip_name.c_str(), flags, alignment);
89 if (error != 0) {
90 fprintf(stderr, "StartAlignedEntry failed: %s\n", ZipWriter::ErrorCodeString(error));
97 error = writer.WriteBytes(data->data(), data->size());
98 if (error != 0) {
99 fprintf(stderr, "WriteBytes failed: %s\n", ZipWriter::ErrorCodeString(error));
107 error = writer.FinishEntry();
108 if (error != 0) {
109 fprintf(stderr, "FinishEntry failed: %s\n", ZipWriter::ErrorCodeString(error));
[all...]
/bionic/libc/arch-arm/include/machine/
H A Dcpu-features.h44 # error Unknown or unsupported ARM architecture
/bionic/libc/include/
H A Derror.h40 void error(int, int, const char* _Nonnull, ...) __printflike(3, 4) __INTRODUCED_IN(23);
/bionic/libc/kernel/uapi/asm-mips/asm/
H A Dsgidefs.h22 #error Use a Linux compiler or give up .
/bionic/libc/versioner-dependencies/arm/arch-arm/machine/
H A Dcpu-features.h44 # error Unknown or unsupported ARM architecture
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-mips/asm/
H A Dsgidefs.h22 #error Use a Linux compiler or give up .
/bionic/libc/versioner-dependencies/mips/kernel_uapi_asm-mips/asm/
H A Dsgidefs.h22 #error Use a Linux compiler or give up .
/bionic/libc/versioner-dependencies/mips64/kernel_uapi_asm-mips/asm/
H A Dsgidefs.h22 #error Use a Linux compiler or give up .

Completed in 9505 milliseconds

1234567