• Home
  • Raw
  • Download

Lines Matching refs:p_format

178 static android_LogPriority filterPriForTag(AndroidLogFormat* p_format, const char* tag) {  in filterPriForTag()  argument
181 for (p_curFilter = p_format->filters; p_curFilter != NULL; p_curFilter = p_curFilter->p_next) { in filterPriForTag()
184 return p_format->global_pri; in filterPriForTag()
191 return p_format->global_pri; in filterPriForTag()
198 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag, in android_log_shouldPrintLine() argument
200 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine()
231 void android_log_format_free(AndroidLogFormat* p_format) { in android_log_format_free() argument
234 p_info = p_format->filters; in android_log_format_free()
243 free(p_format); in android_log_format_free()
254 int android_log_setPrintFormat(AndroidLogFormat* p_format, AndroidLogPrintFormat format) { in android_log_setPrintFormat() argument
257 p_format->colored_output = true; in android_log_setPrintFormat()
260 p_format->usec_time_output = true; in android_log_setPrintFormat()
263 p_format->nsec_time_output = true; in android_log_setPrintFormat()
266 p_format->printable_output = true; in android_log_setPrintFormat()
269 p_format->year_output = true; in android_log_setPrintFormat()
272 p_format->zone_output = !p_format->zone_output; in android_log_setPrintFormat()
275 p_format->epoch_output = true; in android_log_setPrintFormat()
278 p_format->monotonic_output = true; in android_log_setPrintFormat()
281 p_format->uid_output = true; in android_log_setPrintFormat()
284 p_format->descriptive_output = true; in android_log_setPrintFormat()
290 p_format->format = format; in android_log_setPrintFormat()
369 int android_log_addFilterRule(AndroidLogFormat* p_format, const char* filterExpression) { in android_log_addFilterRule() argument
397 p_format->global_pri = pri; in android_log_addFilterRule()
424 p_fi->p_next = p_format->filters; in android_log_addFilterRule()
425 p_format->filters = p_fi; in android_log_addFilterRule()
464 int android_log_addFilterString(AndroidLogFormat* p_format, const char* filterString) { in android_log_addFilterString() argument
474 err = android_log_addFilterRule(p_format, p_ret); in android_log_addFilterString()
1524 char* android_log_formatLogLine(AndroidLogFormat* p_format, char* defaultBuffer, in android_log_formatLogLine() argument
1559 if (p_format->monotonic_output) { in android_log_formatLogLine()
1572 if (p_format->epoch_output || p_format->monotonic_output) { in android_log_formatLogLine()
1574 snprintf(timeBuf, sizeof(timeBuf), p_format->monotonic_output ? "%6lld" : "%19lld", in android_log_formatLogLine()
1582 strftime(timeBuf, sizeof(timeBuf), &"%Y-%m-%d %H:%M:%S"[p_format->year_output ? 0 : 3], ptm); in android_log_formatLogLine()
1585 if (p_format->nsec_time_output) { in android_log_formatLogLine()
1587 } else if (p_format->usec_time_output) { in android_log_formatLogLine()
1592 if (p_format->zone_output && ptm) { in android_log_formatLogLine()
1599 if (p_format->colored_output) { in android_log_formatLogLine()
1611 if (p_format->uid_output) { in android_log_formatLogLine()
1637 switch (p_format->format) { in android_log_formatLogLine()
1746 if (p_format->printable_output) { in android_log_formatLogLine()
1771 if (p_format->printable_output) { in android_log_formatLogLine()
1791 if (p_format->printable_output) { in android_log_formatLogLine()
1817 int android_log_printLogLine(AndroidLogFormat* p_format, int fd, const AndroidLogEntry* entry) { in android_log_printLogLine() argument
1824 android_log_formatLogLine(p_format, defaultBuffer, sizeof(defaultBuffer), entry, &totalLen); in android_log_printLogLine()