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

Function bytesearch_field_delim_ok

src/cut.c:305–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303 for the delimiter bytes. */
304
305static inline bool
306bytesearch_field_delim_ok (void)
307{
308 unsigned char delim_0 = delim_bytes[0];
309
310 return (delim_mcel.len == 1
311 ? (MB_CUR_MAX <= 1
312 || (is_utf8_charset ()
313 ? (delim_0 < 0x80 || delim_0 > 0xF4) : delim_0 < 0x30))
314 : is_utf8_charset () && ! delim_mcel.err);
315}
316
317
318enum field_terminator

Callers 1

mainFunction · 0.85

Calls 1

is_utf8_charsetFunction · 0.85

Tested by

no test coverage detected