Home
last modified time | relevance | path

Searched refs:num_nodes (Results 1 – 23 of 23) sorted by relevance

/external/marisa-trie/tests/
Dtrie-test.cc60 ASSERT(trie.num_nodes() == 0); in TestTrie()
67 ASSERT(trie.num_nodes() == 1); in TestTrie()
80 ASSERT(trie.num_nodes() == 11); in TestTrie()
104 ASSERT(trie.num_nodes() == 0); in TestTrie()
111 ASSERT(trie.num_nodes() == 11); in TestTrie()
197 ASSERT(trie.num_nodes() == 7); in TestPrefixTrie()
228 ASSERT(trie.num_nodes() == 16); in TestPrefixTrie()
257 ASSERT(trie.num_nodes() == 14); in TestPrefixTrie()
276 ASSERT(trie.num_nodes() == 14); in TestPrefixTrie()
294 ASSERT(trie.num_nodes() == 14); in TestPrefixTrie()
[all …]
/external/marisa-trie/v0_1_5/tests/
Dtrie-test.cc60 ASSERT(trie.num_nodes() == 0); in TestTrie()
67 ASSERT(trie.num_nodes() == 1); in TestTrie()
81 ASSERT(trie.num_nodes() == 11); in TestTrie()
105 ASSERT(trie.num_nodes() == 0); in TestTrie()
113 ASSERT(trie.num_nodes() == 11); in TestTrie()
199 ASSERT(trie.num_nodes() == 7); in TestPrefixTrie()
230 ASSERT(trie.num_nodes() == 16); in TestPrefixTrie()
259 ASSERT(trie.num_nodes() == 14); in TestPrefixTrie()
278 ASSERT(trie.num_nodes() == 14); in TestPrefixTrie()
296 ASSERT(trie.num_nodes() == 14); in TestPrefixTrie()
[all …]
/external/freetype/src/cache/
Dftcglyph.c37 family->num_nodes++; in FTC_GNode_Init()
49 if ( family && --family->num_nodes == 0 ) in FTC_GNode_UnselectFamily()
113 family->num_nodes = 0; in FTC_Family_Init()
206 family->num_nodes++; in FTC_GCache_Lookup()
210 if ( --family->num_nodes == 0 ) in FTC_GCache_Lookup()
Dftcmru.c175 list->num_nodes = 0; in FTC_MruList_Init()
190 FT_ASSERT( list->num_nodes == 0 ); in FTC_MruList_Reset()
245 if ( list->num_nodes >= list->max_nodes && list->max_nodes > 0 ) in FTC_MruList_New()
261 list->num_nodes--; in FTC_MruList_New()
274 list->num_nodes++; in FTC_MruList_New()
312 list->num_nodes--; in FTC_MruList_Remove()
Dftcglyph.h138 FT_UInt num_nodes; /* current number of nodes in this family */ member
299 _gqfamily->num_nodes++; \
303 if ( --_gqfamily->num_nodes == 0 ) \
Dftccache.c57 manager->num_nodes++; in ftc_node_mru_link()
71 manager->num_nodes--; in ftc_node_mru_unlink()
311 if ( manager->num_nodes == 0 ) in ftc_node_destroy()
313 manager->num_nodes )); in ftc_node_destroy()
Dftcmanag.c464 FTC_Manager_FlushN( manager, manager->num_nodes ); in FTC_Manager_Reset()
520 if ( count != manager->num_nodes ) in FTC_Manager_Check()
523 manager->num_nodes, count )); in FTC_Manager_Check()
552 manager->num_nodes )); in FTC_Manager_Compress()
Dftccache.h338 _try_count > _try_manager->num_nodes ) \
339 _try_count = _try_manager->num_nodes; \
Dftcmanag.h99 FT_UInt num_nodes; member
Dftcmru.h120 FT_UInt num_nodes; member
/external/marisa-trie/lib/marisa/
Dtrie.cc126 std::size_t Trie::num_nodes() const { in num_nodes() function in marisa::Trie
130 std::size_t num_nodes = (louds_.size() / 2) - 1; in num_nodes() local
132 num_nodes += trie_->num_nodes(); in num_nodes()
134 return num_nodes; in num_nodes()
Dtrie-c.cc328 return (h != NULL) ? h->trie.num_nodes() : 0; in marisa_get_num_nodes()
Dtrie.h186 std::size_t num_nodes() const;
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie.cc126 std::size_t Trie::num_nodes() const { in num_nodes() function in marisa_alpha::Trie
130 std::size_t num_nodes = (louds_.size() / 2) - 1; in num_nodes() local
132 num_nodes += trie_->num_nodes(); in num_nodes()
134 return num_nodes; in num_nodes()
Dtrie-c.cc365 return (h != NULL) ? h->trie.num_nodes() : 0; in marisa_alpha_get_num_nodes()
Dtrie.h186 std::size_t num_nodes() const;
/external/google-breakpad/src/processor/
Dstatic_map-inl.h127 int32_t num_nodes = *(reinterpret_cast<const int32_t*>(raw_data_)); in ValidateInMemoryStructure() local
128 if (num_nodes < 0) { in ValidateInMemoryStructure()
/external/webp/src/utils/
Dhuffman.c58 static int HuffmanTreeAllocate(HuffmanTree* const tree, int num_nodes) { in HuffmanTreeAllocate() argument
61 (HuffmanTreeNode*)WebPSafeMalloc(num_nodes, sizeof(*tree->root_)); in HuffmanTreeAllocate()
/external/marisa-trie/v0_1_5/tools/
Dmarisa_alpha-build.cc89 std::cerr << "#nodes: " << trie.num_nodes() << std::endl; in build()
Dmarisa_alpha-benchmark.cc178 std::printf(" %9lu", (unsigned long)trie->num_nodes()); in benchmark_build()
/external/marisa-trie/tools/
Dmarisa-build.cc89 std::cerr << "#nodes: " << trie.num_nodes() << std::endl; in build()
Dmarisa-benchmark.cc178 std::printf(" %9lu", (unsigned long)trie->num_nodes()); in benchmark_build()
/external/lldb/source/Expression/
DIRForTarget.cpp389 unsigned num_nodes = named_metadata->getNumOperands(); in DeclForGlobal() local
393 node_index < num_nodes; in DeclForGlobal()