Home | History | Annotate | Download | only in src

Lines Matching full:stem_arr

57 	stem_t *stem_arr;
89 /* find the stem of a file spec, returns the index into stem_arr for a new
100 if (stem_len == data->stem_arr[i].len
101 && !strncmp(buf, data->stem_arr[i].buf, stem_len))
107 tmp_arr = realloc(data->stem_arr,
111 data->stem_arr = tmp_arr;
113 data->stem_arr[num].len = stem_len;
114 data->stem_arr[num].buf = malloc(stem_len + 1);
115 if (!data->stem_arr[num].buf)
117 memcpy(data->stem_arr[num].buf, buf, stem_len);
118 data->stem_arr[num].buf[stem_len] = '\0';
124 /* find the stem of a file name, returns the index into stem_arr (or -1 if
135 if (stem_len == data->stem_arr[i].len
136 && !strncmp(*buf, data->stem_arr[i].buf, stem_len)) {
227 stem_t *stem_arr = data->stem_arr;
239 reg_buf += stem_arr[spec->stem_id].len;
548 stem = &data->stem_arr[i];
554 if (data->stem_arr)
555 free(data->stem_arr);