Lines Matching refs:p_format
179 static android_LogPriority filterPriForTag(AndroidLogFormat* p_format, in filterPriForTag() argument
183 for (p_curFilter = p_format->filters; p_curFilter != NULL; in filterPriForTag()
187 return p_format->global_pri; in filterPriForTag()
194 return p_format->global_pri; in filterPriForTag()
201 LIBLOG_ABI_PUBLIC int android_log_shouldPrintLine(AndroidLogFormat* p_format, in android_log_shouldPrintLine() argument
204 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine()
235 LIBLOG_ABI_PUBLIC void android_log_format_free(AndroidLogFormat* p_format) { in android_log_format_free() argument
238 p_info = p_format->filters; in android_log_format_free()
247 free(p_format); in android_log_format_free()
257 LIBLOG_ABI_PUBLIC int android_log_setPrintFormat(AndroidLogFormat* p_format, in android_log_setPrintFormat() argument
261 p_format->colored_output = true; in android_log_setPrintFormat()
264 p_format->usec_time_output = true; in android_log_setPrintFormat()
267 p_format->nsec_time_output = true; in android_log_setPrintFormat()
270 p_format->printable_output = true; in android_log_setPrintFormat()
273 p_format->year_output = true; in android_log_setPrintFormat()
276 p_format->zone_output = !p_format->zone_output; in android_log_setPrintFormat()
279 p_format->epoch_output = true; in android_log_setPrintFormat()
282 p_format->monotonic_output = true; in android_log_setPrintFormat()
285 p_format->uid_output = true; in android_log_setPrintFormat()
288 p_format->descriptive_output = true; in android_log_setPrintFormat()
294 p_format->format = format; in android_log_setPrintFormat()
374 LIBLOG_ABI_PUBLIC int android_log_addFilterRule(AndroidLogFormat* p_format, in android_log_addFilterRule() argument
403 p_format->global_pri = pri; in android_log_addFilterRule()
430 p_fi->p_next = p_format->filters; in android_log_addFilterRule()
431 p_format->filters = p_fi; in android_log_addFilterRule()
470 LIBLOG_ABI_PUBLIC int android_log_addFilterString(AndroidLogFormat* p_format, in android_log_addFilterString() argument
481 err = android_log_addFilterRule(p_format, p_ret); in android_log_addFilterString()
1511 LIBLOG_ABI_PUBLIC char* android_log_formatLogLine(AndroidLogFormat* p_format, in android_log_formatLogLine() argument
1548 if (p_format->monotonic_output) { in android_log_formatLogLine()
1561 if (p_format->epoch_output || p_format->monotonic_output) { in android_log_formatLogLine()
1564 p_format->monotonic_output ? "%6lld" : "%19lld", (long long)now); in android_log_formatLogLine()
1572 &"%Y-%m-%d %H:%M:%S"[p_format->year_output ? 0 : 3], ptm); in android_log_formatLogLine()
1575 if (p_format->nsec_time_output) { in android_log_formatLogLine()
1577 } else if (p_format->usec_time_output) { in android_log_formatLogLine()
1584 if (p_format->zone_output && ptm) { in android_log_formatLogLine()
1591 if (p_format->colored_output) { in android_log_formatLogLine()
1601 if (p_format->uid_output) { in android_log_formatLogLine()
1628 switch (p_format->format) { in android_log_formatLogLine()
1737 if (p_format->printable_output) { in android_log_formatLogLine()
1762 if (p_format->printable_output) { in android_log_formatLogLine()
1782 if (p_format->printable_output) { in android_log_formatLogLine()
1808 LIBLOG_ABI_PUBLIC int android_log_printLogLine(AndroidLogFormat* p_format, in android_log_printLogLine() argument
1817 p_format, defaultBuffer, sizeof(defaultBuffer), entry, &totalLen); in android_log_printLogLine()