Lines Matching defs:line
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);
125 p = _bcs_skip_nonws_len(line, &len);
126 if (p == line)
128 snprintf(key1, sizeof(key1), "%.*s", (int)(p - line), line);
131 line = _bcs_skip_ws_len(p, &len);
134 p = _bcs_skip_nonws_len(line, &len);
135 if (p == line)
137 snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line);
140 line = _bcs_skip_ws_len(p, &len);
141 _bcs_trunc_rws_len(line, &len);
142 snprintf(data, sizeof(data), "%.*s", (int)len, line);
204 char *line;
210 while ((line = fgetln(in, &size)) != NULL)
211 if ((ret = convert_line(&sh, line, size))) {