Lines Matching defs:lpi_num
317 size_t lpi_num = 0;
320 lpi_items[lpi_num].id = get_lemma_id(node->homo_idx_buf_off +
322 lpi_items[lpi_num].lma_len = 1;
323 lpi_items[lpi_num].psb =
324 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id));
325 lpi_num++;
326 if (lpi_num >= lpi_max)
330 return lpi_num;
336 size_t lpi_num = 0;
339 lpi_items[lpi_num].id = get_lemma_id(homo_buf_off + homo);
340 lpi_items[lpi_num].lma_len = lma_len;
341 lpi_items[lpi_num].psb =
342 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id));
343 lpi_num++;
344 if (lpi_num >= lpi_max)
348 return lpi_num;
368 size_t *lpi_num) {
375 return extend_dict0(from_handle, dep, lpi_items, lpi_max, lpi_num);
380 return extend_dict1(from_handle, dep, lpi_items, lpi_max, lpi_num);
383 return extend_dict2(from_handle, dep, lpi_items, lpi_max, lpi_num);
389 size_t lpi_max, size_t *lpi_num) {
391 *lpi_num = 0;
411 if (!cached && *lpi_num < lpi_max) {
417 *lpi_num += fill_lpi_buffer(lpi_items + (*lpi_num),
418 lpi_max - *lpi_num, son);
447 size_t lpi_max, size_t *lpi_num) {
474 if (*lpi_num < lpi_max) {
476 *lpi_num += fill_lpi_buffer(lpi_items + (*lpi_num),
477 lpi_max - *lpi_num, homo_buf_off, son,
524 size_t lpi_max, size_t *lpi_num) {
552 if (*lpi_num < lpi_max) {
554 *lpi_num += fill_lpi_buffer(lpi_items + (*lpi_num),
555 lpi_max - *lpi_num, homo_buf_off, son,