Home
last modified time | relevance | path

Searched refs:keys_ (Results 1 – 25 of 28) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/
Dmap_data_view.h25 : keys_(data ? data->keys.Get() : nullptr, context), in MapDataView()
29 DCHECK_EQ(keys_.is_null(), values_.is_null()); in is_null()
30 return keys_.is_null(); in is_null()
34 DCHECK_EQ(keys_.size(), values_.size()); in size()
35 return keys_.size(); in size()
38 ArrayDataView<K>& keys() { return keys_; } in keys()
39 const ArrayDataView<K>& keys() const { return keys_; } in keys()
43 return internal::Deserialize<ArrayDataView<K>>(keys_.data_, output, in ReadKeys()
44 keys_.context_); in ReadKeys()
57 ArrayDataView<K> keys_;
/external/libchrome/components/policy/core/common/
Dregistry_dict.cc159 KeyMap::iterator entry = keys_.find(name); in GetKey()
160 return entry != keys_.end() ? entry->second.get() : nullptr; in GetKey()
164 KeyMap::const_iterator entry = keys_.find(name); in GetKey()
165 return entry != keys_.end() ? entry->second.get() : nullptr; in GetKey()
175 keys_[name] = std::move(dict); in SetKey()
180 KeyMap::iterator entry = keys_.find(name); in RemoveKey()
181 if (entry != keys_.end()) { in RemoveKey()
183 keys_.erase(entry); in RemoveKey()
189 keys_.clear(); in ClearKeys()
228 for (KeyMap::const_iterator entry(other.keys_.begin()); in Merge()
[all …]
Dregistry_dict.h91 const KeyMap& keys() const { return keys_; } in keys()
95 KeyMap keys_;
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h78 keys_.push_front(key); in emplace()
87 std::list<key_type> keys_; variable
100 auto rank = std::find(keys_.begin(), keys_.end(), key); in TouchNoCheck()
101 if (rank != keys_.begin()) { in TouchNoCheck()
102 keys_.erase(rank); in TouchNoCheck()
103 keys_.push_front(key); in TouchNoCheck()
112 key_type discard_key = keys_.back();
113 keys_.pop_back();
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dranden.h53 RandenHwAes::Generate(keys_, state); in Generate()
55 RandenSlow::Generate(keys_, state); in Generate()
59 RandenHwAes::Generate(keys_, state); in Generate()
62 RandenSlow::Generate(keys_, state); in Generate()
92 const void* keys_;
Dranden.cc83 keys_ = tmp.keys; in Randen()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dranden.h53 RandenHwAes::Generate(keys_, state); in Generate()
55 RandenSlow::Generate(keys_, state); in Generate()
59 RandenHwAes::Generate(keys_, state); in Generate()
62 RandenSlow::Generate(keys_, state); in Generate()
92 const void* keys_;
Dranden.cc83 keys_ = tmp.keys; in Randen()
/external/abseil-cpp/absl/random/internal/
Dranden.h53 RandenHwAes::Generate(keys_, state); in Generate()
55 RandenSlow::Generate(keys_, state); in Generate()
59 RandenHwAes::Generate(keys_, state); in Generate()
62 RandenSlow::Generate(keys_, state); in Generate()
92 const void* keys_;
Dranden.cc83 keys_ = tmp.keys; in Randen()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dranden.h53 RandenHwAes::Generate(keys_, state); in Generate()
55 RandenSlow::Generate(keys_, state); in Generate()
59 RandenHwAes::Generate(keys_, state); in Generate()
62 RandenSlow::Generate(keys_, state); in Generate()
92 const void* keys_;
Dranden.cc83 keys_ = tmp.keys; in Randen()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dranden.h53 RandenHwAes::Generate(keys_, state); in Generate()
55 RandenSlow::Generate(keys_, state); in Generate()
59 RandenHwAes::Generate(keys_, state); in Generate()
62 RandenSlow::Generate(keys_, state); in Generate()
92 const void* keys_;
Dranden.cc83 keys_ = tmp.keys; in Randen()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dranden.h53 RandenHwAes::Generate(keys_, state); in Generate()
55 RandenSlow::Generate(keys_, state); in Generate()
59 RandenHwAes::Generate(keys_, state); in Generate()
62 RandenSlow::Generate(keys_, state); in Generate()
92 const void* keys_;
Dranden.cc83 keys_ = tmp.keys; in Randen()
/external/llvm-project/compiler-rt/test/tsan/
Dpthread_key.cpp11 pthread_key_t keys_[N]; in thr() local
13 int err = pthread_key_create(&keys_[i], 0); in thr()
20 pthread_setspecific(keys_[i], (void*)(long)i); in thr()
22 pthread_key_delete(keys_[i]); in thr()
/external/compiler-rt/test/tsan/
Dpthread_key.cc11 pthread_key_t keys_[N]; in thr() local
13 int err = pthread_key_create(&keys_[i], 0); in thr()
20 pthread_setspecific(keys_[i], (void*)(long)i); in thr()
22 pthread_key_delete(keys_[i]); in thr()
/external/tensorflow/tensorflow/core/kernels/
Dinitializable_lookup_table.h178 : keys_(keys), values_(values), valid_(true), status_(Status::OK()) { in KeyValueTensorIterator()
179 TensorShape key_shape = keys_->shape(); in KeyValueTensorIterator()
200 const Tensor& keys() const override { return *keys_; } in keys()
207 return keys_ == nullptr ? -1 : keys_->NumElements(); in total_size()
213 const Tensor* keys_; // Doesn't own it. variable
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dgroup_by_reducer_dataset_op.cc265 keys_.resize(states_.size()); in GetNextInternal()
268 keys_[idx] = it->first; in GetNextInternal()
273 if (keys_index_ == keys_.size()) { in GetNextInternal()
278 ctx, states_[keys_[keys_index_++]], out_tensors, model_node())); in GetNextInternal()
334 if (!keys_.empty()) { in SaveInternal()
336 writer->WriteScalar(full_name("keys_size"), keys_.size())); in SaveInternal()
337 for (int idx = 0; idx < keys_.size(); ++idx) { in SaveInternal()
339 full_name(strings::StrCat("keys[", idx, "]")), keys_[idx])); in SaveInternal()
390 keys_.resize(size); in RestoreInternal()
395 keys_[idx] = key; in RestoreInternal()
[all …]
/external/tensorflow/tensorflow/python/util/
Dutil.cc399 : dict_(dict), keys_(PyDict_Keys(dict)) { in DictValueIterator()
400 if (PyList_Sort(keys_.get()) == -1) { in DictValueIterator()
403 iter_.reset(PyObject_GetIter(keys_.get())); in DictValueIterator()
426 Safe_PyObjectPtr keys_; member in tensorflow::swig::__anon31ed0eec0211::DictValueIterator
434 : mapping_(mapping), keys_(MappingKeys(mapping)) { in MappingValueIterator()
435 if (!keys_ || PyList_Sort(keys_.get()) == -1) { in MappingValueIterator()
438 iter_.reset(PyObject_GetIter(keys_.get())); in MappingValueIterator()
460 Safe_PyObjectPtr keys_; member in tensorflow::swig::__anon31ed0eec0211::MappingValueIterator
/external/tensorflow/tensorflow/lite/kernels/hashtable/
Dhashtable_ops_test.cc258 keys_ = std::vector<KeyType>(keys); in SetTable()
363 {static_cast<int>(keys_.size())}, in AddTensors()
429 SetTensorData(interpreter_.get(), kKeyTensorId, keys_); in AllocateTensors()
485 std::vector<KeyType> keys_; member in tflite::__anon861f49270111::HashtableGraph
768 auto key_tensor = interpreter_->tensor(keys_); in CreateHashtableResource()
789 int keys_; member in tflite::__anon861f49270111::BaseHashtableOpModel
885 keys_ = AddInput({key_type, {initdata_size}}); in HashtableImportOpModel()
891 {GetShape(resource_id_), GetShape(keys_), GetShape(values_)}); in HashtableImportOpModel()
895 PopulateTensor(keys_, data); in SetKeys()
899 PopulateStringTensor(keys_, data); in SetStringKeys()
/external/google-breakpad/src/processor/
Dstatic_map-inl.h55 keys_ = reinterpret_cast<const Key*>( in StaticMap()
171 return keys_[index]; in GetKeyAtIndex()
Dstatic_map_iterator-inl.h52 keys_ = reinterpret_cast<const Key*>( in StaticMapIterator()
111 return &(keys_[index_]); in GetKeyPtr()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_utils.cc345 for (auto& keys : keys_) { in MaybeFlush()
348 for (size_t i = 0; i < keys_[name].size(); ++i) { in MaybeFlush()
349 strings::StrAppend(&metadata, kDelimiter, keys_[name][i]); in MaybeFlush()
359 keys_.clear(); in Reset()
424 if (keys_.count(name) == 0) { in WriteTensorInternal()
425 keys_[name] = std::vector<string>(); in WriteTensorInternal()
427 keys_[name].push_back(string(key)); in WriteTensorInternal()

12