Lines Matching refs:len
105 convert_line(struct src_head *sh, const char *line, size_t len)
117 p = memchr(line, T_COMM, len);
119 len = p - line;
122 line = _bcs_skip_ws_len(line, &len);
123 if (len == 0)
125 p = _bcs_skip_nonws_len(line, &len);
131 line = _bcs_skip_ws_len(p, &len);
132 if (len == 0)
134 p = _bcs_skip_nonws_len(line, &len);
140 line = _bcs_skip_ws_len(p, &len);
141 _bcs_trunc_rws_len(line, &len);
142 snprintf(data, sizeof(data), "%.*s", (int)len, line);