Searched defs:error (Results 1 - 25 of 53) sorted by relevance

123

/bionic/tests/headers/posix/
H A Derrno_h.c34 int error = errno; local
/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/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/tests/
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);
H A Difaddrs_test.cpp176 int error = getnameinfo(addr, local
179 if (error != 0) {
180 printf("%d getnameinfo() failed: %s\n", family, gai_strerror(error));
H A Dthread_local_test.cpp57 int error = pthread_create(&t, nullptr, foo, &data); local
58 if (!error)
59 error = pthread_join(t, nullptr);
60 return error ? error : data;
H A Dutils.h146 std::string error; local
148 error_msg = &error;
/bionic/libc/bionic/
H A Dstring_l.cpp36 char* strerror_l(int error, locale_t) { argument
37 return strerror(error);
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;
H A Dpty.cpp57 int error = ptsname_r(fd, buf, sizeof(tls.ptsname_buf)); local
58 return (error == 0) ? buf : NULL;
84 int error = ttyname_r(fd, buf, sizeof(tls.ttyname_buf)); local
85 return (error == 0) ? buf : NULL;
H A Dfts.c210 int rfd, error = 0; local
237 /* Return to original directory, checking for error. */
240 error = fchdir(rfd);
246 return (error);
265 /* If finished or unrecoverable error, return NULL. */
328 * so the application will eventually get an error condition.
404 * can distinguish between error and EOF.
448 * semantics to fts using fts_set. An error return is allowed for similar
480 * an error.
603 * post-order visit to return the error
[all...]
/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/kernel/uapi/linux/
H A Ddm-log-userspace.h48 __s32 error; member in struct:dm_ulog_request
H A Dnbd.h59 __be32 error; member in struct:nbd_reply
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dmktemp.c159 int error; local
161 error = mktemp_internal(path, 0, MKTEMP_DIR, 0);
162 return(error ? NULL : path);
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Ddm-log-userspace.h48 __s32 error; member in struct:dm_ulog_request
H A Dnbd.h59 __be32 error; member in struct:nbd_reply
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Ddm-log-userspace.h48 __s32 error; member in struct:dm_ulog_request
H A Dnbd.h59 __be32 error; member in struct:nbd_reply
/bionic/libc/dns/net/
H A Dgetnameinfo.c37 * - RFC2553 says that we should raise error on short buffer. X/Open says
284 int error; local
286 if ((error = ip6_parsenumeric(sa, addr, host,
288 return(error);
332 int error; local
334 if ((error = ip6_parsenumeric(sa, addr, host,
337 return(error);
/bionic/libc/kernel/uapi/misc/
H A Dcxl.h107 __u64 error; member in struct:cxl_event_afu_error
/bionic/libc/versioner-dependencies/common/kernel_uapi/misc/
H A Dcxl.h107 __u64 error; member in struct:cxl_event_afu_error
/bionic/tools/versioner/dependencies/common/kernel_uapi/misc/
H A Dcxl.h107 __u64 error; member in struct:cxl_event_afu_error
/bionic/tools/versioner/src/
H A DDeclarationDatabase.cpp276 #define check_avail(expr) error |= (!this->expr.empty() && this->expr != other.expr);
277 bool error = false; local
292 return !error;

Completed in 329 milliseconds

123