Lines Matching refs:stem_arr
57 stem_t *stem_arr; member
100 if (stem_len == data->stem_arr[i].len in find_stem_from_spec()
101 && !strncmp(buf, data->stem_arr[i].buf, stem_len)) in find_stem_from_spec()
107 tmp_arr = realloc(data->stem_arr, in find_stem_from_spec()
111 data->stem_arr = tmp_arr; in find_stem_from_spec()
113 data->stem_arr[num].len = stem_len; in find_stem_from_spec()
114 data->stem_arr[num].buf = malloc(stem_len + 1); in find_stem_from_spec()
115 if (!data->stem_arr[num].buf) in find_stem_from_spec()
117 memcpy(data->stem_arr[num].buf, buf, stem_len); in find_stem_from_spec()
118 data->stem_arr[num].buf[stem_len] = '\0'; in find_stem_from_spec()
135 if (stem_len == data->stem_arr[i].len in find_stem_from_file()
136 && !strncmp(*buf, data->stem_arr[i].buf, stem_len)) { in find_stem_from_file()
227 stem_t *stem_arr = data->stem_arr; in compile_regex() local
239 reg_buf += stem_arr[spec->stem_id].len; in compile_regex()
549 stem = &data->stem_arr[i]; in closef()
555 if (data->stem_arr) in closef()
556 free(data->stem_arr); in closef()