Searched refs:LmaNodeLE0 (Results 1 – 8 of 8) sorted by relevance
128 if (fwrite(root_, sizeof(LmaNodeLE0), lma_node_num_le0_, fp) in save_dict()186 root_ = static_cast<LmaNodeLE0*> in load_dict()187 (malloc(lma_node_num_le0_ * sizeof(LmaNodeLE0))); in load_dict()209 if (fread(root_, sizeof(LmaNodeLE0), lma_node_num_le0_, fp) in load_dict()315 LmaNodeLE0 *node) { in fill_lpi_buffer()402 LmaNodeLE0 *node = root_; in extend_dict0()407 LmaNodeLE0 *son = root_ + son_pos; in extend_dict0()465 LmaNodeLE0 *node = root_ + p_mark.node_offset + ext_pos; in extend_dict1()606 LmaNodeLE0 *node_le0 = reinterpret_cast<LmaNodeLE0*>(node); in try_extend()640 LmaNodeLE0* node_le0 = reinterpret_cast<LmaNodeLE0*>(node); in try_extend()[all …]
193 lma_nodes_le0_ = new LmaNodeLE0[kMaxSpellingNum + 1]; in alloc_resource()213 memset(lma_nodes_le0_, 0, sizeof(LmaNodeLE0) * (kMaxSpellingNum + 1)); in alloc_resource()598 dict_trie->root_ = new LmaNodeLE0[lma_nds_used_num_le0_]; in build_dict()610 sizeof(LmaNodeLE0) * lma_nds_used_num_le0_); in build_dict()815 LmaNodeLE0 *son_1st_le0 = NULL; // only one of le0 or ge1 is used in construct_subset()818 (static_cast<LmaNodeLE0*>(parent))->son_1st_off = in construct_subset()824 (static_cast<LmaNodeLE0*>(parent))->num_of_son = in construct_subset()827 (static_cast<LmaNodeLE0*>(parent))->son_1st_off = in construct_subset()833 (static_cast<LmaNodeLE0*>(parent))->num_of_son = in construct_subset()867 LmaNodeLE0 *node_cur_le0 = NULL; // only one of them is valid in construct_subset()[all …]
62 LmaNodeLE0* root_; // Nodes for root and the first layer.114 LmaNodeLE0 *node);
111 struct LmaNodeLE0 { struct
49 LmaNodeLE0 *lma_nodes_le0_;