Searched refs:stem_arr (Results 1 – 1 of 1) sorted by relevance
57 stem_t *stem_arr; member100 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()[all …]