Searched refs:labels_ (Results 1 – 14 of 14) sorted by relevance
/external/openfst/src/include/fst/ |
D | string.h | 184 for (size_t i = 0; i < labels_.size(); ++i) { in operator() 187 if (!PrintLabel(labels_[i], sstrm)) in operator() 192 output->reserve(labels_.size()); in operator() 193 for (size_t i = 0; i < labels_.size(); ++i) { in operator() 194 output->push_back(labels_[i]); in operator() 197 return LabelsToUTF8String(labels_, output); in operator() 208 labels_.clear(); in FstToLabels() 226 labels_.push_back(arc.olabel); in FstToLabels() 264 vector<Label> labels_; // Input FST labels. variable
|
D | arcfilter.h | 83 bool match = labels_.Find(label) != labels_.End(); in operator() 88 labels_.Insert(label); in AddLabel() 92 CompactSet<Label, kNoLabel> labels_;
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | trie.cc | 9 : louds_(), labels_(), terminal_flags_(), link_flags_(), links_(), in Trie() 29 temp.labels_.map(mapper); in map() 70 temp.labels_.read(reader); in read() 110 labels_.write(writer); in write() 138 return louds_.total_size() + labels_.total_size() in total_size() 151 labels_.swap(&rhs->labels_); in swap()
|
D | trie-build.cc | 109 while (node < temp.labels_.size()) { in build_trie() 136 labels_.shrink(); in build_trie() 137 progress.test_total_size(labels_.total_size()); in build_trie() 150 labels_.push_back('\0'); in build_trie() 156 labels_[link_flags_.select1(i)] = (UInt8)(next_terminals[i] % 256); in build_trie() 165 labels_.shrink(); in build_trie() 166 progress.test_total_size(labels_.total_size()); in build_trie() 178 labels_.push_back('\0'); in build_cur() 241 labels_.push_back(keys[wrange.begin()].str()[wrange.pos()]); in build_cur() 244 labels_.push_back('\0'); in build_cur()
|
D | trie-search.cc | 273 *key += labels_[node]; in restore_() 296 *key += labels_[node]; in trie_restore() 304 const UInt32 offset = (links_[link_id] * 256) + labels_[node]; in tail_restore() 307 + labels_[link_flags_.select1(link_id + 1)] - offset; in tail_restore() 331 key_buf[pos] = labels_[node]; in restore_() 355 key_buf[pos] = labels_[node]; in trie_restore() 366 const UInt32 offset = (links_[link_id] * 256) + labels_[node]; in tail_restore() 370 + labels_[link_flags_.select1(link_id + 1)] - offset; in tail_restore() 413 } else if (labels_[node] != query[pos]) { in trie_match() 434 } else if (labels_[node] != query[pos]) { in trie_match() [all …]
|
D | trie-inline.h | 172 } else if (labels_[node] == query[pos]) { in find_child() 228 } else if (labels_[node] == query[pos]) { in predict_child() 283 key += labels_[cur.node()]; in predict_callback_() 343 return (links_[link_id] * 256) + labels_[node]; in get_link()
|
D | trie.h | 197 Vector<UInt8> labels_; variable
|
/external/marisa-trie/lib/marisa/ |
D | trie.cc | 9 : louds_(), labels_(), terminal_flags_(), link_flags_(), links_(), in Trie() 29 temp.labels_.map(mapper); in map() 70 temp.labels_.read(reader); in read() 110 labels_.write(writer); in write() 138 return louds_.total_size() + labels_.total_size() in total_size() 151 labels_.swap(&rhs->labels_); in swap()
|
D | trie-build.cc | 100 while (node < temp.labels_.size()) { in build_trie() 127 labels_.shrink(); in build_trie() 128 progress.test_total_size(labels_.total_size()); in build_trie() 141 labels_.push_back('\0'); in build_trie() 147 labels_[link_flags_.select1(i)] = (UInt8)(next_terminals[i] % 256); in build_trie() 156 labels_.shrink(); in build_trie() 157 progress.test_total_size(labels_.total_size()); in build_trie() 169 labels_.push_back('\0'); in build_cur() 231 labels_.push_back(keys[wrange.begin()].str()[wrange.pos()]); in build_cur() 234 labels_.push_back('\0'); in build_cur()
|
D | trie-search.cc | 261 *key += labels_[node]; in restore_() 277 *key += labels_[node]; in trie_restore() 285 const UInt32 offset = (links_[link_id] * 256) + labels_[node]; in tail_restore() 288 + labels_[link_flags_.select1(link_id + 1)] - offset; in tail_restore() 312 key_buf[pos] = labels_[node]; in restore_() 336 key_buf[pos] = labels_[node]; in trie_restore() 347 const UInt32 offset = (links_[link_id] * 256) + labels_[node]; in tail_restore() 351 + labels_[link_flags_.select1(link_id + 1)] - offset; in tail_restore() 394 } else if (labels_[node] != query[pos]) { in trie_match() 415 } else if (labels_[node] != query[pos]) { in trie_match() [all …]
|
D | trie-inline.h | 171 } else if (labels_[node] == query[pos]) { in find_child() 223 } else if (labels_[node] == query[pos]) { in predict_child() 278 key += labels_[cur.node()]; in predict_callback_() 334 return (links_[link_id] * 256) + labels_[node]; in get_link()
|
D | trie.h | 197 Vector<UInt8> labels_; variable
|
/external/marisa-trie/ |
D | android_diff.txt | 424 - *key += labels_[node]; 438 + *key += labels_[node];
|
/external/v8/src/ |
D | ast.h | 410 ZoneList<const AstRawString*>* labels() const { return labels_; } in labels() 432 labels_(labels), in BreakableStatement() 441 ZoneList<const AstRawString*>* labels_;
|