/external/webrtc/webrtc/base/ |
D | optionsfile_unittest.cc | 47 store_.reset(new OptionsFile(test_file_)); in OpenStore() 50 rtc::scoped_ptr<OptionsFile> store_; member in rtc::OptionsFileTest 58 EXPECT_TRUE(store_->Save()); in TEST_F() 60 EXPECT_FALSE(store_->GetStringValue(kTestOptionA, &out1)); in TEST_F() 61 EXPECT_FALSE(store_->GetStringValue(kTestOptionB, &out2)); in TEST_F() 62 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1)); in TEST_F() 63 EXPECT_TRUE(store_->Save()); in TEST_F() 64 EXPECT_TRUE(store_->Load()); in TEST_F() 65 EXPECT_TRUE(store_->SetStringValue(kTestOptionB, kTestString2)); in TEST_F() 66 EXPECT_TRUE(store_->Save()); in TEST_F() [all …]
|
/external/libbrillo/brillo/ |
D | key_value_store_unittest.cc | 32 if (store_.GetString(key, &value)) in GetNonemptyStringValue() 37 KeyValueStore store_; // KeyValueStore under test. member in brillo::KeyValueStoreTest 48 ASSERT_TRUE(store_.Load(temp_file_)); in TEST_F() 51 EXPECT_TRUE(store_.GetString("A", &value)); in TEST_F() 54 ASSERT_TRUE(store_.Save(saved_temp_file_)); in TEST_F() 61 EXPECT_TRUE(store_.LoadFromString( in TEST_F() 63 EXPECT_EQ("A=B\n", store_.SaveToString()); in TEST_F() 67 EXPECT_TRUE(store_.LoadFromString("")); in TEST_F() 68 EXPECT_EQ("", store_.SaveToString()); in TEST_F() 72 EXPECT_TRUE(store_.LoadFromString( in TEST_F() [all …]
|
D | osrelease_reader_unittest.cc | 27 OsReleaseReader store_; // reader under test. member in brillo::OsReleaseReaderTest 31 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F() 36 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F() 49 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F() 52 ASSERT_TRUE(store_.GetString("TEST_KEY", &test_key_value)); in TEST_F() 55 ASSERT_TRUE(store_.GetString("GREETINGS", &greetings_value)); in TEST_F() 58 ASSERT_TRUE(store_.GetString("NAME", &name_value)); in TEST_F() 62 ASSERT_FALSE(store_.GetString("DOES_NOT_EXIST", &nonexistent_value)); in TEST_F() 83 store_.LoadTestingOnly(temp_dir_.path()); in TEST_F() 88 ASSERT_TRUE(store_.GetString("HELLO", &hello_value)); in TEST_F() [all …]
|
D | key_value_store.cc | 76 store_[key] = value; in LoadFromString() 87 for (const auto& key_value : store_) in SaveToString() 93 const auto key_value = store_.find(TrimKey(key)); in GetString() 94 if (key_value == store_.end()) in GetString() 101 store_[TrimKey(key)] = value; in SetString() 124 return GetMapKeysAsVector(store_); in GetKeys()
|
D | osrelease_reader.cc | 21 return store_.GetString(key, value); in GetString() 30 if (!store_.Load(osrelease)) { in Load() 51 store_.SetString(path.BaseName().value(), content); in Load()
|
D | osrelease_reader.h | 41 KeyValueStore store_;
|
D | key_value_store.h | 69 std::map<std::string, std::string> store_;
|
/external/webrtc/talk/app/webrtc/ |
D | dtlsidentitystore_unittest.cc | 82 store_(new DtlsIdentityStoreImpl(rtc::Thread::Current(), in DtlsIdentityStoreTest() 98 rtc::scoped_ptr<DtlsIdentityStoreImpl> store_; member in DtlsIdentityStoreTest 103 EXPECT_TRUE_WAIT(store_->HasFreeIdentityForTesting(rtc::KT_RSA), kTimeoutMs); in TEST_F() 105 store_->RequestIdentity(rtc::KT_RSA, observer_.get()); in TEST_F() 108 EXPECT_TRUE_WAIT(store_->HasFreeIdentityForTesting(rtc::KT_RSA), kTimeoutMs); in TEST_F() 113 store_->RequestIdentity(rtc::KT_RSA, observer_.get()); in TEST_F() 122 store_->RequestIdentity(rtc::KT_ECDSA, observer_.get()); in TEST_F() 128 store_->RequestIdentity(rtc::KT_ECDSA, observer_.get()); in TEST_F() 134 EXPECT_FALSE(store_->HasFreeIdentityForTesting(rtc::KT_RSA)); in TEST_F() 136 store_->RequestIdentity(rtc::KT_RSA, observer_.get()); in TEST_F() [all …]
|
D | dtlsidentitystore.cc | 61 store_(store), in WorkerTask() 63 store_->SignalDestroyed.connect(this, &WorkerTask::OnStoreDestroyed); in WorkerTask() 96 if (store_) { in OnMessage() 97 store_->OnIdentityGenerated(pdata->data()->key_type_, in OnMessage() 114 store_ = nullptr; in OnStoreDestroyed() 118 DtlsIdentityStoreImpl* store_; // Only touched on |signaling_thread_|. member in webrtc::DtlsIdentityStoreImpl::WorkerTask
|
D | peerconnectionfactory.cc | 60 : store_(store) { in DtlsIdentityStoreWrapper() 61 RTC_DCHECK(store_); in DtlsIdentityStoreWrapper() 68 store_->RequestIdentity(key_type, observer); in RequestIdentity() 72 rtc::scoped_refptr<RefCountedDtlsIdentityStore> store_; member in webrtc::__anon7780b6310111::DtlsIdentityStoreWrapper
|
/external/sfntly/cpp/src/sfntly/port/ |
D | memory_output_stream.cc | 28 store_.insert(store_.end(), buffer->begin(), buffer->end()); in Write() 36 store_.insert(store_.end(), in Write() 49 store_.insert(store_.end(), buffer + offset, buffer + offset + length); in Write() 58 store_.push_back(b); in Write() 62 if (store_.empty()) { in Get() 65 return &(store_[0]); in Get() 69 return store_.size(); in Size()
|
D | memory_output_stream.h | 46 std::vector<byte_t> store_;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_packet_history.cc | 33 store_(false), in RTPPacketHistory() 43 if (store_) { in SetStorePacketsStatus() 47 assert(!store_); in SetStorePacketsStatus() 57 store_ = true; in Allocate() 62 if (!store_) { in Free() 68 store_ = false; in Free() 74 return store_; in StorePackets() 82 if (!store_) { in PutRTPPacket() 135 if (!store_) { in HasRTPPacket() 154 if (!store_) { in SetSent() [all …]
|
D | rtp_packet_history.h | 87 bool store_ GUARDED_BY(critsect_);
|
/external/v8/src/crankshaft/ |
D | typing.h | 44 Store store_; variable 58 store_ = store_.Push(); in EnterEffects() 59 return store_.Top(); in EnterEffects() 61 void ExitEffects() { store_ = store_.Pop(); } in ExitEffects()
|
D | typing.cc | 29 store_(zone), in AstTyper() 68 store_.Seq(parameter_index(-1), ObservedOnStack(frame->receiver())); in ObserveTypesAtOsrEntry() 70 store_.Seq(parameter_index(i), ObservedOnStack(frame->GetParameter(i))); in ObserveTypesAtOsrEntry() 74 store_.Seq(stack_local_index(i), ObservedOnStack(frame->GetExpression(i))); in ObserveTypesAtOsrEntry() 80 store_.LookupBounds(parameter_index(-1)).lower); in ObserveTypesAtOsrEntry() 84 store_.LookupBounds(parameter_index(i)).lower); in ObserveTypesAtOsrEntry() 95 store_.LookupBounds(stack_local_index(i)).lower); in ObserveTypesAtOsrEntry() 128 store_.Forget(); // Control may transfer here via 'break l'. in VisitBlock() 163 store_.Seq(then_effects); in VisitIfStatement() 232 store_.Forget(); // Reached this in unknown state. in VisitSwitchStatement() [all …]
|
/external/libweave/src/ |
D | access_black_list_manager_impl.cc | 28 : capacity_{capacity}, clock_{clock}, store_{store} { in AccessBlackListManagerImpl() 33 if (!store_) in Load() 36 base::JSONReader::Read(store_->LoadSettings(kConfigFileName)))) { in Load() 60 if (!store_) { in Save() 77 store_->SaveSettings(kConfigFileName, json, callback); in Save()
|
D | access_black_list_manager_impl.h | 49 provider::ConfigStore* store_{nullptr};
|