Lines Matching refs:scratch
207 static int _logger_parse_text(logentry *e, char *scratch) { in _logger_parse_text() argument
208 return snprintf(scratch, LOGGER_PARSE_SCRATCH, "ts=%lld.%d gid=%llu %s\n", in _logger_parse_text()
213 static int _logger_parse_ise(logentry *e, char *scratch) { in _logger_parse_ise() argument
227 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_ise()
235 static int _logger_parse_ige(logentry *e, char *scratch) { in _logger_parse_ige() argument
243 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_ige()
251 static int _logger_parse_ee(logentry *e, char *scratch) { in _logger_parse_ee() argument
256 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_ee()
266 static int _logger_parse_ide(logentry *e, char *scratch) { in _logger_parse_ide() argument
278 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_ide()
287 static int _logger_parse_extw(logentry *e, char *scratch) { in _logger_parse_extw() argument
292 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_extw()
302 static int _logger_parse_cne(logentry *e, char *scratch) { in _logger_parse_cne() argument
311 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_cne()
319 static int _logger_parse_cce(logentry *e, char *scratch) { in _logger_parse_cce() argument
329 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_cce()
394 static int _logger_parse_prx_req(logentry *e, char *scratch) { in _logger_parse_prx_req() argument
398 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_prx_req()
453 static int _logger_parse_prx_errbe(logentry *e, char *scratch) { in _logger_parse_prx_errbe() argument
470 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_prx_errbe()
476 total = snprintf(scratch, LOGGER_PARSE_SCRATCH, in _logger_parse_prx_errbe()
643 char *scratch, int *scratch_len) { in logger_thread_parse_entry() argument
647 total = d->parse_cb(e, scratch); in logger_thread_parse_entry()
661 char *scratch, int scratch_len) { in logger_thread_write_entry() argument
700 bipbuf_offer(w->buf, (unsigned char *) scratch, scratch_len); in logger_thread_write_entry()
727 char scratch[LOGGER_PARSE_SCRATCH]; in logger_thread_read() local
743 ret = logger_thread_parse_entry(e, ls, scratch, &scratch_len); in logger_thread_read()
748 logger_thread_write_entry(e, ls, scratch, scratch_len); in logger_thread_read()