MCPcopy Create free account
hub / github.com/coreutils/coreutils / scan_mb_field

Function scan_mb_field

src/cut.c:561–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561static inline enum field_terminator
562scan_mb_field (mbbuf_t *mbbuf, struct mbfield_parser *parser,
563 bool *have_pending_line, bool write_field, idx_t *n_bytes)
564{
565 return (parser->whitespace_delimited
566 ? scan_mb_blank_field (mbbuf, parser, have_pending_line,
567 write_field, n_bytes)
568 : scan_mb_delim_field (mbbuf, have_pending_line, write_field,
569 n_bytes));
570}
571
572/* Return a pointer to the next field delimiter in BUF, searching LEN bytes.
573 Return NULL if none is found. DELIM_BYTES must be a single byte or

Callers 1

cut_fields_mb_anyFunction · 0.85

Calls 2

scan_mb_blank_fieldFunction · 0.85
scan_mb_delim_fieldFunction · 0.85

Tested by

no test coverage detected