Searched refs:stem_arr (Results 1 – 3 of 3) sorted by relevance
86 struct stem *stem_arr; member266 if (stem_len == data->stem_arr[i].len && in find_stem()267 !strncmp(buf, data->stem_arr[i].buf, stem_len)) in find_stem()282 tmp_arr = realloc(data->stem_arr, in store_stem()289 data->stem_arr = tmp_arr; in store_stem()291 data->stem_arr[num].len = stem_len; in store_stem()292 data->stem_arr[num].buf = buf; in store_stem()293 data->stem_arr[num].from_mmap = 0; in store_stem()
51 if (stem_len == data->stem_arr[i].len in find_stem_from_file()52 && !strncmp(key, data->stem_arr[i].buf, stem_len)) { in find_stem_from_file()282 data->stem_arr[newid].from_mmap = 1; in load_mmap()874 stem = &data->stem_arr[i]; in closef()882 if (data->stem_arr) in closef()883 free(data->stem_arr); in closef()1145 struct stem *stem_arr1 = data1->stem_arr, *stem_arr2 = data2->stem_arr; in cmp()
156 char *stem = data->stem_arr[i].buf; in write_binary_file()157 uint32_t stem_len = data->stem_arr[i].len; in write_binary_file()263 free(data->stem_arr[i].buf); in free_specs()264 free(data->stem_arr); in free_specs()