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

12

/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.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/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.cpp174 int error = getnameinfo(addr, local
177 if (error != 0) {
178 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;
/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/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 Dpthread_create.cpp88 int error = 0; local
103 error = errno;
112 return error;
H A Dpty.cpp58 int error = ptsname_r(fd, buf, g_ptsname_tls_buffer.size()); local
59 return (error == 0) ? buf : NULL;
84 int error = ttyname_r(fd, buf, g_ttyname_tls_buffer.size()); local
85 return (error == 0) ? buf : NULL;
H A Dlocale.cpp191 char* strerror_l(int error, locale_t) { argument
192 return strerror(error);
H A Dfts.c209 int rfd, error = 0; local
236 /* Return to original directory, checking for error. */
239 error = fchdir(rfd);
245 return (error);
264 /* If finished or unrecoverable error, return NULL. */
327 * so the application will eventually get an error condition.
403 * can distinguish between error and EOF.
447 * semantics to fts using fts_set. An error return is allowed for similar
479 * an error.
602 * post-order visit to return the error
[all...]
H A Dpthread_mutex.cpp404 // owner_tid value in the value argument for __futex_wait, otherwise we may always get EAGAIN error.
433 // Do we already own this recursive or error-check mutex?
543 // Do we already own this recursive or error-check mutex?
589 // Do we already own this recursive or error-check mutex?
620 int error = __pthread_mutex_lock_with_timeout(__get_internal_mutex(mutex_interface), local
622 if (error == ETIMEDOUT) {
623 error = EBUSY;
625 return error;
/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/kernel/uapi/linux/
H A Ddm-log-userspace.h54 int32_t error; member in struct:dm_ulog_request
H A Dnbd.h64 __be32 error; member in struct:nbd_reply
H A Dblktrace_api.h120 __u16 error; member in struct:blk_io_trace
H A Dnetlink.h106 int error; member in struct:nlmsgerr
H A Dhyperv.h62 int error; member in union:hv_vss_msg::__anon379
216 int error; member in union:hv_kvp_msg::__anon382
/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/dns/net/
H A Dgetnameinfo.c37 * - RFC2553 says that we should raise error on short buffer. X/Open says
287 int error; local
289 if ((error = ip6_parsenumeric(sa, addr, host,
291 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.h105 __u64 error; member in struct:cxl_event_afu_error
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dengine.c192 int error = 0; local
241 error = REG_NOMATCH;
265 error = REG_ESPACE;
278 error = REG_ESPACE;
344 return error;
/bionic/libc/dns/resolv/
H A Dres_debug.c539 {ns_r_noerror, "NOERROR", "no error"},
540 {ns_r_formerr, "FORMERR", "format error"},
880 retval = 0; /* invalid value -- indicates error */
894 *which = 0; /* error */
1025 static const char *error = "?"; local
1050 (void) snprintf(ascii, bufsiz, "; error: unknown LOC RR version");
1114 (sizestr != NULL) ? sizestr : error,
1115 (hpstr != NULL) ? hpstr : error,
1116 (vpstr != NULL) ? vpstr : error);
H A Dres_send.c279 * -1 : format error
316 * -1 : format error
965 * All is well, or the error is fatal. Signal that the
976 /* return -1 on error (errno set), 0 on success */
1018 int n, error; local
1055 " %d retrying_select got error %d\n",sock, n);
1060 len = sizeof(error);
1061 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, &error, &len) < 0 || error) {
1062 errno = error;
1317 Aerror(const res_state statp, FILE *file, const char *string, int error, const struct sockaddr *address, int alen) argument
1339 Perror(const res_state statp, FILE *file, const char *string, int error) argument
[all...]

Completed in 334 milliseconds

12