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

12345

/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfloatio.h53 #error "floating point buffers too small"
H A Dfgetws.c50 goto error;
57 goto error;
60 /* EOF/error, no characters read yet. */
61 goto error;
76 error:
H A Dgetdelim.c57 goto error;
70 goto error;
71 /* No error, so EOF. */
85 goto error;
108 goto error;
130 error:
/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.cpp46 int error = pthread_key_create(&g_disable_key, nullptr); local
47 if (error != 0) {
48 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);
/bionic/libc/include/
H A Derror.h36 void error(int, int, const char*, ...) __printflike(3, 4);
/bionic/libc/kernel/uapi/linux/
H A Dpatchkey.h20 #error "patchkey.h included directly"
34 #error "could not determine byte order"
/bionic/libc/upstream-netbsd/lib/libc/gen/
H A Dftw.c45 int fnflag, error, sverrno; local
56 error = 0;
84 error = -1;
87 error = fn(cur->fts_path, cur->fts_statp, fnflag);
88 if (error != 0)
93 if (fts_close(ftsp) != 0 && error == 0)
94 error = -1;
97 return (error);
H A Dnftw.c47 int ftsflags, fnflag, error, postorder, sverrno; local
66 error = 0;
100 error = -1;
105 error = fn(cur->fts_path, cur->fts_statp, fnflag, &f);
106 if (error != 0)
113 return (error);
/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/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.cpp76 int32_t error; local
86 error = writer.StartAlignedEntry(zip_name.c_str(), flags, alignment);
87 if (error != 0) {
88 fprintf(stderr, "StartAlignedEntry failed: %s\n", ZipWriter::ErrorCodeString(error));
95 error = writer.WriteBytes(data->data(), data->size());
96 if (error != 0) {
97 fprintf(stderr, "WriteBytes failed: %s\n", ZipWriter::ErrorCodeString(error));
105 error = writer.FinishEntry();
106 if (error != 0) {
107 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/kernel/uapi/asm-mips/asm/
H A Dsgidefs.h22 #error Use a Linux compiler or give up .
/bionic/tools/bionicbb/
H A Dtasks.py63 logging.error("%s", ex)
67 logging.error('Gerrit error (%d): %s %s', ex.code, change_id, ex.url)
79 # API exceptions), process_changes catches the error and returns normally.
88 except socket.error:
96 logging.error('Could not retrieve Gmail labels')
100 logging.error('Could not find gerrit label')
108 logging.error('API Client HTTP error: %s', ex)
/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_atanhl.c41 #error "Unsupported long double format"
46 #error "Unsupported long double format"
H A Ds_rintl.c37 #error "Unsupported long double format"
49 #error "Unsupported long double format"
/bionic/libc/private/
H A D__get_tls.h50 #error unsupported architecture

Completed in 630 milliseconds

12345