Home
last modified time | relevance | path

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

/external/chromium_org/v8/src/base/platform/
Dplatform-unittest.cc54 for (size_t i = 0; i < arraysize(keys_); ++i) { in ThreadLocalStorageTest()
55 keys_[i] = Thread::CreateThreadLocalKey(); in ThreadLocalStorageTest()
59 for (size_t i = 0; i < arraysize(keys_); ++i) { in ~ThreadLocalStorageTest()
60 Thread::DeleteThreadLocalKey(keys_[i]); in ~ThreadLocalStorageTest()
65 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
66 CHECK(!Thread::HasThreadLocal(keys_[i])); in Run()
68 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
69 Thread::SetThreadLocal(keys_[i], GetValue(i)); in Run()
71 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
72 CHECK(Thread::HasThreadLocal(keys_[i])); in Run()
[all …]
/external/chromium_org/net/quic/crypto/
Dcrypto_server_config_protobuf.h51 return keys_.size(); in key_size()
55 DCHECK_GT(keys_.size(), i); in key()
56 return *keys_[i]; in key()
68 keys_.push_back(new PrivateKey); in add_key()
69 return keys_.back(); in add_key()
73 STLDeleteElements(&keys_); in clear_key()
115 std::vector<PrivateKey*> keys_;
Dcrypto_server_config_protobuf.cc18 STLDeleteElements(&keys_); in ~QuicServerConfigProtobuf()
/external/chromium_org/net/base/
Dopenssl_private_key_store_memory.cc32 for (std::vector<EVP_PKEY*>::iterator it = keys_.begin(); in ~MemoryKeyPairStore()
33 it != keys_.end(); ++it) { in ~MemoryKeyPairStore()
41 keys_.push_back(pkey); in StoreKeyPair()
47 for (std::vector<EVP_PKEY*>::iterator it = keys_.begin(); in HasPrivateKey()
48 it != keys_.end(); ++it) { in HasPrivateKey()
56 std::vector<EVP_PKEY*> keys_; member in net::__anonb65960200111::MemoryKeyPairStore
/external/openfst/src/include/fst/
Dbi-table.h150 keys_(table_size, compact_hash_func_, compact_hash_equal_) { in hash_func_()
160 keys_(table.keys_.size(), compact_hash_func_, compact_hash_equal_), in CompactHashBiTable()
162 keys_.insert(table.keys_.begin(), table.keys_.end()); in CompactHashBiTable()
172 typename KeyHashSet::const_iterator it = keys_.find(kCurrentKey);
173 if (it == keys_.end()) { // T not found
177 keys_.insert(key);
197 keys_.erase(key);
200 keys_.rehash(0);
252 KeyHashSet keys_; variable
345 keys_(0, hash_func_, hash_equal_) { in selector_()
[all …]
/external/chromium_org/third_party/leveldatabase/src/util/
Dbloom_test.cc25 std::vector<std::string> keys_; member in leveldb::BloomTest
35 keys_.clear(); in Reset()
40 keys_.push_back(s.ToString()); in Add()
45 for (size_t i = 0; i < keys_.size(); i++) { in Build()
46 key_slices.push_back(Slice(keys_[i])); in Build()
50 keys_.clear(); in Build()
70 if (!keys_.empty()) { in Matches()
/external/chromium_org/components/policy/core/common/
Dregistry_dict_win.cc150 KeyMap::iterator entry = keys_.find(name); in GetKey()
151 return entry != keys_.end() ? entry->second : NULL; in GetKey()
155 KeyMap::const_iterator entry = keys_.find(name); in GetKey()
156 return entry != keys_.end() ? entry->second : NULL; in GetKey()
166 RegistryDict*& entry = keys_[name]; in SetKey()
173 KeyMap::iterator entry = keys_.find(name); in RemoveKey()
174 if (entry != keys_.end()) { in RemoveKey()
176 keys_.erase(entry); in RemoveKey()
182 STLDeleteValues(&keys_); in ClearKeys()
222 for (KeyMap::const_iterator entry(other.keys_.begin()); in Merge()
[all …]
Dregistry_dict_win.h79 const KeyMap& keys() const { return keys_; } in keys()
83 KeyMap keys_;
/external/openfst/src/include/fst/extensions/far/
Dsttable.h123 compare_ = new Compare(&keys_); in STTableReader()
124 keys_.resize(filenames.size()); in STTableReader()
199 return keys_[current_] == key; in Find()
207 ReadType(*(streams_[current_]), &(keys_[current_])); in Next()
223 return keys_[current_]; in GetKey()
235 Compare(const vector<string> *keys) : keys_(keys) {} in Compare()
238 return (*keys_)[i] > (*keys_)[j]; in operator()
242 const vector<string> *keys_;
281 ReadType(*streams_[i], &(keys_[i])); in MakeHeap()
306 << keys_[current_] << ", file: " << sources_[current_]; in PopHeap()
[all …]
Dfar.h407 : keys_(filenames), has_stdin_(false), pos_(0), fst_(0), error_(false) { in FstFarReader()
408 sort(keys_.begin(), keys_.end()); in FstFarReader()
409 streams_.resize(keys_.size(), 0); in FstFarReader()
410 for (size_t i = 0; i < keys_.size(); ++i) { in FstFarReader()
411 if (keys_[i].empty()) { in FstFarReader()
424 keys_[i].c_str(), ifstream::in | ifstream::binary); in FstFarReader()
427 if (pos_ >= keys_.size()) return; in FstFarReader()
452 bool Done() const { return error_ || pos_ >= keys_.size(); } in Done()
460 return keys_[pos_]; in GetKey()
473 for (size_t i = 0; i < keys_.size(); ++i) in ~FstFarReader()
[all …]
/external/chromium_org/chrome/common/
Dcrash_keys_unittest.cc33 return keys_.find(key) != keys_.end(); in HasCrashKey()
37 std::map<std::string, std::string>::const_iterator it = keys_.find(key); in GetKeyValue()
38 if (it == keys_.end()) in GetKeyValue()
46 self_->keys_[key.as_string()] = value.as_string(); in SetCrashKeyValue()
50 self_->keys_.erase(key.as_string()); in ClearCrashKey()
55 std::map<std::string, std::string> keys_; member in CrashKeysTest
/external/chromium_org/third_party/leveldatabase/src/table/
Dfilter_block.cc32 start_.push_back(keys_.size()); in AddKey()
33 keys_.append(k.data(), k.size()); in AddKey()
61 start_.push_back(keys_.size()); // Simplify length computation in GenerateFilter()
64 const char* base = keys_.data() + start_[i]; in GenerateFilter()
74 keys_.clear(); in GenerateFilter()
Dfilter_block.h41 std::string keys_; // Flattened key contents variable
/external/chromium_org/extensions/common/
Dmanifest_handler_unittest.cc83 : name_(name), keys_(keys), prereqs_(prereqs), watcher_(watcher) { in TestManifestHandler()
97 std::vector<std::string> keys_; member in extensions::ManifestHandlerTest::TestManifestHandler
102 return keys_; in Keys()
141 keys_(keys) { in TestManifestValidator()
161 return keys_; in Keys()
167 std::vector<std::string> keys_; member in extensions::ManifestHandlerTest::TestManifestValidator
/external/chromium_org/v8/src/
Dscopeinfo.h40 keys_[i].data = NULL; in ContextSlotCache()
41 keys_[i].name = NULL; in ContextSlotCache()
103 Key keys_[kLength]; variable
Dscopeinfo.cc434 Key& key = keys_[index]; in Lookup()
457 Key& key = keys_[index]; in Update()
471 for (int index = 0; index < kLength; index++) keys_[index].data = NULL; in Clear()
487 Key& key = keys_[index]; in ValidateEntry()
/external/jsoncpp/src/lib_json/
Djson_internalmap.inl34 free( keys_[index] );
293 if ( strcmp( key, current->keys_[index] ) == 0 )
327 if ( strcmp( key, current->keys_[index] ) == 0 )
354 if ( strcmp( key, link->keys_[index] ) == 0 )
426 link->keys_[index] = duplicatedKey;
585 return iterator.link_->keys_[iterator.itemIndex_];
593 return iterator.link_->keys_[iterator.itemIndex_];
/external/chromium_org/v8/src/heap/
Dheap.h2270 keys_[i].map = NULL; in KeyedLookupCache()
2271 keys_[i].name = NULL; in KeyedLookupCache()
2280 Address keys_address() { return reinterpret_cast<Address>(&keys_); } in keys_address()
2291 Key keys_[kLength]; variable
2311 Key& key = keys_[index]; in Lookup()
2321 Key& key = keys_[index]; in Update()
2336 keys_[i].source = NULL; in DescriptorLookupCache()
2337 keys_[i].name = NULL; in DescriptorLookupCache()
2359 Key keys_[kLength]; variable
Dheap.cc5910 Key& key = keys_[index + i]; in Lookup()
5936 Key& key = keys_[index]; in Update()
5948 Key& key = keys_[index + i]; in Update()
5949 Key& key2 = keys_[index + i - 1]; in Update()
5955 Key& key = keys_[index]; in Update()
5963 for (int index = 0; index < kLength; index++) keys_[index].map = NULL; in Clear()
5968 for (int index = 0; index < kLength; index++) keys_[index].source = NULL; in Clear()
/external/jsoncpp/chromium-overrides/include/json/
Dvalue.h652 char *keys_[itemPerLink]; variable
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
Dvalue.h652 char *keys_[itemPerLink]; variable
/external/jsoncpp/include/json/
Dvalue.h652 char *keys_[itemPerLink]; variable