Home
last modified time | relevance | path

Searched refs:labels_ (Results 1 – 14 of 14) sorted by relevance

/external/openfst/src/include/fst/
Dstring.h184 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
Darcfilter.h83 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/
Dtrie.cc9 : 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()
Dtrie-build.cc109 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()
Dtrie-search.cc273 *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 …]
Dtrie-inline.h172 } 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()
Dtrie.h197 Vector<UInt8> labels_; variable
/external/marisa-trie/lib/marisa/
Dtrie.cc9 : 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()
Dtrie-build.cc100 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()
Dtrie-search.cc261 *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 …]
Dtrie-inline.h171 } 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()
Dtrie.h197 Vector<UInt8> labels_; variable
/external/marisa-trie/
Dandroid_diff.txt424 - *key += labels_[node];
438 + *key += labels_[node];
/external/v8/src/
Dast.h410 ZoneList<const AstRawString*>* labels() const { return labels_; } in labels()
432 labels_(labels), in BreakableStatement()
441 ZoneList<const AstRawString*>* labels_;