Lines Matching defs:idx
127 int idx, dot_idx;
146 for(idx = 0, dot_idx = -1; *s && d < dlimit; s++, d++) {
154 if(idx == 0 && (s[1] == '/' || (s[1] == '.' && s[2] == '/'))) {
161 else if(idx == 0)
165 d[dot_idx - idx] = '_'; /* replace previous dot */
175 dot_idx = idx;
178 if(idx - 2 == dot_idx) { /* .c++, .h++ etc. */
188 idx++;
196 idx = 0;
200 idx++;