Home
last modified time | relevance | path

Searched refs:index_iter (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/containers/
Dmru_cache.h97 typename KeyIndex::iterator index_iter = index_.find(key); in Put() local
98 if (index_iter != index_.end()) { in Put()
101 Erase(index_iter->second); in Put()
117 typename KeyIndex::iterator index_iter = index_.find(key); in Get() local
118 if (index_iter == index_.end()) in Get()
120 typename PayloadList::iterator iter = index_iter->second; in Get()
130 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() local
131 if (index_iter == index_.end()) in Peek()
133 return index_iter->second; in Peek()
137 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() local
[all …]
/external/angle/src/common/third_party/base/anglebase/containers/
Dmru_cache.h97 typename KeyIndex::iterator index_iter = index_.find(key); in Put() local
98 if (index_iter != index_.end()) in Put()
102 Erase(index_iter->second); in Put()
121 typename KeyIndex::iterator index_iter = index_.find(key); in Get() local
122 if (index_iter == index_.end()) in Get()
124 typename PayloadList::iterator iter = index_iter->second; in Get()
135 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() local
136 if (index_iter == index_.end()) in Peek()
138 return index_iter->second; in Peek()
143 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() local
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dtwo_level_iterator.cc32 TwoLevelIterator(Iterator* index_iter, BlockFunction block_function,
82 TwoLevelIterator::TwoLevelIterator(Iterator* index_iter, in TwoLevelIterator() argument
86 index_iter_(index_iter), in TwoLevelIterator()
153 Iterator* NewTwoLevelIterator(Iterator* index_iter, in NewTwoLevelIterator() argument
155 return new TwoLevelIterator(index_iter, block_function, arg); in NewTwoLevelIterator()
Dtable.cc183 Iterator* index_iter = rep_->index_block->NewIterator(); in ApproximateOffsetOf() local
184 index_iter->Seek(key); in ApproximateOffsetOf()
186 if (index_iter->Valid()) { in ApproximateOffsetOf()
188 StringPiece input = index_iter->value(); in ApproximateOffsetOf()
204 delete index_iter; in ApproximateOffsetOf()
Dtwo_level_iterator.h34 Iterator* index_iter,
/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/
Dlayer_norm.cc176 std::vector<int> index_iter(input->dims->size, 0); in FlexibleLayerNorm() local
183 &index_iter[0], nullptr, 0); in FlexibleLayerNorm()
187 &index_iter[0], &axis[0], num_axis); in FlexibleLayerNorm()
191 } while (ValidIndex(input->dims->data, input->dims->size, &index_iter[0])); in FlexibleLayerNorm()
209 std::fill(index_iter.begin(), index_iter.end(), 0); in FlexibleLayerNorm()
216 &index_iter[0], nullptr, 0); in FlexibleLayerNorm()
220 &index_iter[0], &axis[0], num_axis); in FlexibleLayerNorm()
227 } while (ValidIndex(input->dims->data, input->dims->size, &index_iter[0])); in FlexibleLayerNorm()