Lines Matching refs:lemma_size
63 return (4 + info->lemma_size + (info->lemma_count << 3)
1120 dict_info.lemma_size +
1152 while (readed < dict_info.lemma_size && !ferror(fp) && !feof(fp)) {
1153 readed += fread(lemmas + readed, 1, dict_info.lemma_size - readed, fp);
1155 if (readed < dict_info.lemma_size)
1275 int err = lseek(fd, 4 + dict_info_.lemma_size
1289 int err = lseek(fd, 4 + dict_info_.lemma_size, SEEK_SET);
1304 int err = lseek(fd, 4 + dict_info_.lemma_size
1326 err = lseek(fd, dict_info_.lemma_size - need_write, SEEK_CUR);
1329 write(fd, lemmas_ + dict_info_.lemma_size - need_write, need_write);
1343 // XXX lemma_size is handled differently in writeall
1344 // and writelemma. I update lemma_size and lemma_count in different
1349 write(fd, lemmas_, dict_info_.lemma_size);
1592 int total_size = dict_info_.lemma_size + lemma_size_left_;
1654 dict_info_.lemma_size = dst;
1655 lemma_size_left_ = total_size - dict_info_.lemma_size;
1712 dict_info_.lemma_size + (2 + (lemma_len << 2))
1934 stat->lemma_size = dict_info_.lemma_size;
2076 dict_info_.lemma_size + (2 + (lemma_len << 2))
2178 size_t offset = dict_info_.lemma_size;
2200 dict_info_.lemma_size += (2 + (lemma_len << 2));