Lines Matching refs:errno_code
48 FILE *out, locale_t locale, iwlog_lvl lvl, iwrc ecode, int errno_code, int werror_code,
101 int errno_code = iwrc_strip_errno(&ecode); in iwlog_va() local
109 …rc = logfn(out, locale, lvl, ecode, errno_code, werror_code, file, line, ts, opts, fmt, argp, no_v… in iwlog_va()
119 iwrc iwrc_set_errno(iwrc rc, int errno_code) { in iwrc_set_errno() argument
120 if (!errno_code) { in iwrc_set_errno()
125 ret |= (uint32_t) errno_code & 0x3fffffffU; in iwrc_set_errno()
303 int errno_code, in _default_logfn() argument
340 if (errno_code) { in _default_logfn()
342 int rci = strerror_s(ebuf, EBUF_SZ, errno_code); in _default_logfn()
347 errno_msg = strerror_r(errno_code, ebuf, EBUF_SZ); // NOLINT in _default_logfn()
349 int rci = strerror_r(errno_code, ebuf, EBUF_SZ); in _default_logfn()
464 if (ecode || errno_code || werror_code) { in _default_logfn()
466 …fprintf(out, "%s %s %s:%d %" PRIu64 "|%d|%d|%s|%s|%s: ", tbuf, cat, fname, line, ecode, errno_code, in _default_logfn()
470 fprintf(out, "%s %s %" PRIu64 "|%d|%d|%s|%s|%s: ", tbuf, cat, ecode, errno_code, werror_code, in _default_logfn()
492 if (ecode || errno_code || werror_code) { in _default_logfn()
494 …droid_log_print(alp, "IWLOG", "%s:%d %" PRIu64 "|%d|%d|%s|%s|%s: ", fname, line, ecode, errno_code, in _default_logfn()
498 … __android_log_print(alp, "IWLOG", "%" PRIu64 "|%d|%d|%s|%s|%s: ", ecode, errno_code, werror_code, in _default_logfn()