• Home
  • Raw
  • Download

Lines Matching refs:ecode

57 static iwrc _default_logfn(FILE *out, locale_t locale, iwlog_lvl lvl, iwrc ecode, int errno_code, i…
61 static const char *_ecode_explained(locale_t locale, uint32_t ecode);
62 static const char *_default_ecodefn(locale_t locale, uint32_t ecode);
71 iwrc iwlog(iwlog_lvl lvl, iwrc ecode, const char *file, int line, const char *fmt, ...) { in iwlog() argument
75 rc = iwlog_va(stderr, lvl, ecode, file, line, fmt, argp); in iwlog()
80 void iwlog2(iwlog_lvl lvl, iwrc ecode, const char *file, int line, const char *fmt, ...) { in iwlog2() argument
83 iwlog_va(stderr, lvl, ecode, file, line, fmt, argp); in iwlog2()
87 iwrc iwlog_va(FILE *out, iwlog_lvl lvl, iwrc ecode, const char *file, int line, const char *fmt, va… in iwlog_va() argument
91 int werror_code = iwrc_strip_werror(&ecode); in iwlog_va()
97 int errno_code = iwrc_strip_errno(&ecode); in iwlog_va()
107 rc = logfn(out, locale, lvl, ecode, errno_code, werror_code, file, line, ts, opts, fmt, argp); in iwlog_va()
190 const char *iwlog_ecode_explained(iwrc ecode) { in iwlog_ecode_explained() argument
191 iwrc_strip_errno(&ecode); in iwlog_ecode_explained()
194 res = _ecode_explained(0, ecode); in iwlog_ecode_explained()
228 static const char *_ecode_explained(locale_t locale, uint32_t ecode) { in _ecode_explained() argument
234 ret = _ecode_functions[i](locale, ecode); in _ecode_explained()
243 static const char *_default_ecodefn(locale_t locale, uint32_t ecode) { in _default_ecodefn() argument
244 switch (ecode) { in _default_ecodefn()
295 iwrc ecode, in _default_logfn() argument
419 if (ecode) { in _default_logfn()
420 ecode_msg = _ecode_explained(locale, ecode); in _default_logfn()
445 if (ecode || errno_code || werror_code) { in _default_logfn()
447 …fprintf(out, "%s %s %s:%d %" PRIu64 "|%d|%d|%s|%s|%s: ", tbuf, cat, fname, line, ecode, errno_code, in _default_logfn()
451 fprintf(out, "%s %s %" PRIu64 "|%d|%d|%s|%s|%s: ", tbuf, cat, ecode, errno_code, werror_code, in _default_logfn()
469 if (ecode || errno_code || werror_code) { in _default_logfn()
471 …__android_log_print(alp, "IWLOG", "%s:%d %" PRIu64 "|%d|%d|%s|%s|%s: ", fname, line, ecode, errno_… in _default_logfn()
475 … __android_log_print(alp, "IWLOG", "%" PRIu64 "|%d|%d|%s|%s|%s: ", ecode, errno_code, werror_code, in _default_logfn()