Home | History | Annotate | Download | only in share

Lines Matching refs:lemma_count

63   return (4 + info->lemma_size + (info->lemma_count << 3)
65 + (info->lemma_count << 2)
207 return start_id_ + dict_info_.lemma_count - 1;
339 return dict_info_.lemma_count;
445 int32 end = dict_info_.lemma_count - 1;
532 uint32 max_off = dict_info_.lemma_count;
645 int32 end = dict_info_.lemma_count - 1;
692 int32 max_off = dict_info_.lemma_count;
762 int32 end = dict_info_.lemma_count - 1;
809 int32 end = dict_info_.lemma_count - 1;
935 for (; i < dict_info_.lemma_count; i++) {
1125 offsets = (uint32 *)malloc((dict_info.lemma_count + kUserDictPreAlloc) << 2);
1129 predicts = (uint32 *)malloc((dict_info.lemma_count + kUserDictPreAlloc) << 2);
1138 scores = (uint32 *)malloc((dict_info.lemma_count + kUserDictPreAlloc) << 2);
1141 ids = (uint32 *)malloc((dict_info.lemma_count + kUserDictPreAlloc) << 2);
1145 (dict_info.lemma_count + kUserDictPreAlloc) << 2);
1158 toread = (dict_info.lemma_count << 2);
1167 toread = (dict_info.lemma_count << 2);
1193 for (i = 0; i < dict_info.lemma_count; i++) {
1276 + (dict_info_.lemma_count << 3)
1278 + (dict_info_.lemma_count << 2)
1292 write(fd, offsets_, dict_info_.lemma_count << 2);
1294 lemma_count << 2);
1296 write(fd, scores_, dict_info_.lemma_count << 2);
1305 + (dict_info_.lemma_count << 2)
1307 + (dict_info_.lemma_count << 2)
1312 write(fd, scores_, dict_info_.lemma_count << 2);
1331 write(fd, offsets_, dict_info_.lemma_count << 2);
1333 write(fd, predicts_, dict_info_.lemma_count << 2);
1335 write(fd, scores_, dict_info_.lemma_count << 2);
1344 // and writelemma. I update lemma_size and lemma_count in different
1350 write(fd, offsets_, dict_info_.lemma_count << 2);
1352 write(fd, predicts_, dict_info_.lemma_count << 2);
1354 write(fd, scores_, dict_info_.lemma_count << 2);
1518 while (first_freed < dict_info_.lemma_count) {
1521 first_freed < dict_info_.lemma_count) {
1524 if (first_freed < dict_info_.lemma_count) {
1534 (first_inuse < dict_info_.lemma_count)) {
1540 if (first_inuse >= dict_info_.lemma_count) {
1562 while (first_freed < dict_info_.lemma_count) {
1565 first_freed < dict_info_.lemma_count) {
1568 if (first_freed >= dict_info_.lemma_count)
1573 && (first_inuse < dict_info_.lemma_count)) {
1576 if (first_inuse >= dict_info_.lemma_count) {
1587 dict_info_.lemma_count = first_freed;
1593 int total_count = dict_info_.lemma_count + lemma_count_left_;
1631 for (size_t j = 0; j < dict_info_.lemma_count; j++) {
1656 lemma_count_left_ = total_count - dict_info_.lemma_count;
1668 for (uint32 i = 0; i < dict_info_.lemma_count; i++) {
1710 dict_info_.lemma_count >= dict_info_.limit_lemma_count)
1933 stat->lemma_count = dict_info_.lemma_count;
1971 uint32 count = dict_info_.lemma_count;
1990 for (uint32 i = rc; i < dict_info_.lemma_count; i++) {
2074 dict_info_.lemma_count >= dict_info_.limit_lemma_count)
2189 uint32 off = dict_info_.lemma_count;
2199 dict_info_.lemma_count++;