Home
last modified time | relevance | path

Searched refs:LmaNodeGE1 (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Ddicttrie.cpp86 inline size_t DictTrie::get_son_offset(const LmaNodeGE1 *node) { in get_son_offset()
90 inline size_t DictTrie::get_homo_idx_buf_offset(const LmaNodeGE1 *node) { in get_homo_idx_buf_offset()
132 if (fwrite(nodes_ge1_, sizeof(LmaNodeGE1), lma_node_num_ge1_, fp) in save_dict()
188 nodes_ge1_ = static_cast<LmaNodeGE1*> in load_dict()
189 (malloc(lma_node_num_ge1_ * sizeof(LmaNodeGE1))); in load_dict()
213 if (fread(nodes_ge1_, sizeof(LmaNodeGE1), lma_node_num_ge1_, fp) in load_dict()
333 size_t homo_buf_off, LmaNodeGE1 *node, in fill_lpi_buffer()
470 LmaNodeGE1 *son = nodes_ge1_ + node->son_1st_off + son_pos; in extend_dict1()
542 LmaNodeGE1 *node = nodes_ge1_ + p_mark.node_offset + ext_pos; in extend_dict2()
548 LmaNodeGE1 *son = nodes_ge1_ + get_son_offset(node) + son_pos; in extend_dict2()
[all …]
H A Ddictbuilder.cpp197 lma_nodes_ge1_ = new LmaNodeGE1[lemma_num_]; in alloc_resource()
214 memset(lma_nodes_ge1_, 0, sizeof(LmaNodeGE1) * lemma_num_); in alloc_resource()
599 dict_trie->nodes_ge1_ = new LmaNodeGE1[lma_nds_used_num_ge1_]; in build_dict()
612 sizeof(LmaNodeGE1) * lma_nds_used_num_ge1_); in build_dict()
647 void DictBuilder::set_son_offset(LmaNodeGE1 *node, size_t offset) { in set_son_offset()
652 void DictBuilder:: set_homo_id_buf_offset(LmaNodeGE1 *node, size_t offset) { in set_homo_id_buf_offset()
816 LmaNodeGE1 *son_1st_ge1 = NULL; // only one of le0 or ge1 is used. in construct_subset()
836 set_son_offset((static_cast<LmaNodeGE1*>(parent)), in construct_subset()
842 (static_cast<LmaNodeGE1*>(parent))->num_of_son = in construct_subset()
868 LmaNodeGE1 *node_cur_ge1 = NULL; in construct_subset()
[all …]
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Ddicttrie.h63 LmaNodeGE1* nodes_ge1_; // Nodes for other layers.
98 inline size_t get_son_offset(const LmaNodeGE1 *node);
101 inline size_t get_homo_idx_buf_offset(const LmaNodeGE1 *node);
121 size_t homo_buf_off, LmaNodeGE1 *node,
H A Ddictbuilder.h52 LmaNodeGE1 *lma_nodes_ge1_;
109 void set_son_offset(LmaNodeGE1 *node, size_t offset);
112 void set_homo_id_buf_offset(LmaNodeGE1 *node, size_t offset);
H A Ddictdef.h123 struct LmaNodeGE1 { struct
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Ddicttrie.h63 LmaNodeGE1* nodes_ge1_; // Nodes for other layers.
98 inline size_t get_son_offset(const LmaNodeGE1 *node);
101 inline size_t get_homo_idx_buf_offset(const LmaNodeGE1 *node);
121 size_t homo_buf_off, LmaNodeGE1 *node,
H A Ddictbuilder.h52 LmaNodeGE1 *lma_nodes_ge1_;
109 void set_son_offset(LmaNodeGE1 *node, size_t offset);
112 void set_homo_id_buf_offset(LmaNodeGE1 *node, size_t offset);
H A Ddictdef.h123 struct LmaNodeGE1 { struct