Home
last modified time | relevance | path

Searched refs:root_ (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dspellingtrie.cpp65 root_ = NULL; in SpellingTrie()
93 if (NULL != root_) { in ~SpellingTrie()
94 free_son_trie(root_); in ~SpellingTrie()
95 delete root_; in ~SpellingTrie()
243 if (NULL == root_ || half_id >= kFullSplIdStart) in half2full_num()
249 if (NULL == spl_id_start || NULL == root_ || half_id >= kFullSplIdStart) in half_to_full()
257 if (NULL == root_ || full_id < kFullSplIdStart || in full_to_half()
322 root_ = new SpellingNode(); in construct()
323 memset(root_, 0, sizeof(SpellingNode)); in construct()
335 root_->first_son = construct_spellings_subset(0, spelling_num_, 0, root_); in construct()
[all …]
H A Ddicttrie.cpp31 root_ = NULL; in DictTrie()
52 if (NULL != root_) in free_resource()
53 free(root_); in free_resource()
54 root_ = NULL; in free_resource()
128 if (fwrite(root_, sizeof(LmaNodeLE0), lma_node_num_le0_, fp) in save_dict()
147 if (NULL == root_ || NULL == dict_list_) in save_dict()
186 root_ = static_cast<LmaNodeLE0*> in load_dict()
202 if (NULL == root_ || NULL == nodes_ge1_ || NULL == lma_idx_buf_ || in load_dict()
209 if (fread(root_, sizeof(LmaNodeLE0), lma_node_num_le0_, fp) in load_dict()
225 for (uint16 splid = last_splid; splid < root_[i].spl_idx; splid++) in load_dict()
[all …]
H A Dsplparser.cpp41 const SpellingNode *node_this = spl_trie_->root_; in splstr_to_idxs()
65 node_this = spl_trie_->root_; in splstr_to_idxs()
118 node_this = spl_trie_->root_; in splstr_to_idxs()
170 const SpellingNode *node_this = spl_trie_->root_; in splstr16_to_idxs()
194 node_this = spl_trie_->root_; in splstr16_to_idxs()
247 node_this = spl_trie_->root_; in splstr16_to_idxs()
H A Ddictbuilder.cpp598 dict_trie->root_ = new LmaNodeLE0[lma_nds_used_num_le0_]; in build_dict()
602 assert(NULL != dict_trie->root_); in build_dict()
609 memcpy(dict_trie->root_, lma_nodes_le0_, in build_dict()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dkmeans_index.h348 : dataset_(inputData), index_params_(params), root_(NULL), indices_(NULL), distance_(d) in dataset_()
390 if (root_ != NULL) { in ~KMeansIndex()
391 free_centers(root_); in ~KMeansIndex()
443 root_ = pool_.allocate<KMeansNode>(); in buildIndex()
444 std::memset(root_, 0, sizeof(KMeansNode)); in buildIndex()
446 computeNodeStatistics(root_, indices_, (int)size_); in buildIndex()
447 computeClustering(root_, indices_, (int)size_, branching_,0); in buildIndex()
459 save_tree(stream, root_); in saveIndex()
475 if (root_!=NULL) { in loadIndex()
476 free_centers(root_); in loadIndex()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/internal/
H A Dregex.h90 …states_(allocator, 256), ranges_(allocator, 256), root_(kRegexInvalidState), stateCount_(), rangeC… in RAPIDJSON_DIAG_OFF()
103 return root_ != kRegexInvalidState; in RAPIDJSON_DIAG_OFF()
319 root_ = e->start; in RAPIDJSON_DIAG_OFF()
322 printf("root: %d\n", root_); in RAPIDJSON_DIAG_OFF()
616 bool matched = AddState(*current, root_); in RAPIDJSON_DIAG_OFF()
633 AddState(*next, root_); in RAPIDJSON_DIAG_OFF()
674 SizeType root_; in RAPIDJSON_DIAG_OFF() local
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/
H A Dasset_file_source.cpp23 Impl(ActorRef<Impl>, std::string root_) in Impl() argument
24 : root(std::move(root_)) { in Impl()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Dschema.h1345 root_(),
1354 CreateSchemaRecursive(&root_, PointerType(), document, document);
1371 RAPIDJSON_ASSERT(root_ != 0);
1382 root_(rhs.root_),
1401 const SchemaType& GetRoot() const { return *root_; }
1524 const SchemaType* root_; //!< Root schema.
1577 root_(schemaDocument.GetRoot()),
1605 root_(schemaDocument.GetRoot()),
1793 root_(root),
1814 PushSchema(root_);
[all …]
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Dspellingtrie.h93 SpellingNode* root_; variable
H A Ddicttrie.h62 LmaNodeLE0* root_; // Nodes for root and the first layer. variable
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Dspellingtrie.h93 SpellingNode* root_; variable
H A Ddicttrie.h62 LmaNodeLE0* root_; // Nodes for root and the first layer. variable