Home
last modified time | relevance | path

Searched refs:store_ (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/base/
Doptionsfile_unittest.cc47 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/
Dkey_value_store_unittest.cc32 if (store_.GetString(key, &value)) in GetNonemptyStringValue()
37 KeyValueStore store_; // KeyValueStore under test. member in brillo::KeyValueStoreTest
49 ASSERT_TRUE(store_.Load(temp_file_)); in TEST_F()
52 EXPECT_TRUE(store_.GetString("A", &value)); in TEST_F()
55 ASSERT_TRUE(store_.Save(saved_temp_file_)); in TEST_F()
62 EXPECT_TRUE(store_.LoadFromString( in TEST_F()
64 EXPECT_EQ("A=B\n", store_.SaveToString()); in TEST_F()
68 EXPECT_TRUE(store_.LoadFromString("")); in TEST_F()
69 EXPECT_EQ("", store_.SaveToString()); in TEST_F()
73 EXPECT_TRUE(store_.LoadFromString( in TEST_F()
[all …]
Dosrelease_reader_unittest.cc27 OsReleaseReader store_; // reader under test. member in brillo::OsReleaseReaderTest
31 store_.LoadTestingOnly(temp_dir_.GetPath()); in TEST_F()
36 store_.LoadTestingOnly(temp_dir_.GetPath()); in TEST_F()
49 store_.LoadTestingOnly(temp_dir_.GetPath()); 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_.GetPath()); in TEST_F()
88 ASSERT_TRUE(store_.GetString("HELLO", &hello_value)); in TEST_F()
[all …]
Dkey_value_store.cc76 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()
Dosrelease_reader.cc21 return store_.GetString(key, value); in GetString()
30 if (!store_.Load(osrelease)) { in Load()
50 store_.SetString(path.BaseName().value(), content); in Load()
Dosrelease_reader.h41 KeyValueStore store_;
Dkey_value_store.h69 std::map<std::string, std::string> store_;
/external/webrtc/talk/app/webrtc/
Ddtlsidentitystore_unittest.cc82 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 …]
Ddtlsidentitystore.cc61 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
Dpeerconnectionfactory.cc60 : 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::__anon58cd6df90111::DtlsIdentityStoreWrapper
/external/sfntly/cpp/src/sfntly/port/
Dmemory_output_stream.cc28 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()
Dmemory_output_stream.h46 std::vector<byte_t> store_;
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc33 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 …]
Drtp_packet_history.h87 bool store_ GUARDED_BY(critsect_);
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Dstatic-const-bitcast.ll34 %store_ = getelementptr inbounds %class.Wrapper, %class.Wrapper* %this, i32 0, i32 0
36 store i32 %call, i32* %store_, align 4
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.h247 std::vector<Tensor> store_;
Dconvert_nodes.cc880 store_.emplace_back(std::move(tensor)); in GetTempWeights()
/external/libvpx/libvpx/vpx_dsp/arm/
Dloopfilter_neon.c588 static INLINE void store_##w##x4( \
605 static INLINE void store_##w##x6( \
690 static INLINE void store_##w##x8( \
717 static INLINE void store_##w##x14( \
800 store_##w##x4(s - 2 * p, p, p1, p0, q0, q1); \
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.h463 INTRINSIC(store_##name, srcs, ARR(0, 1, 1, 1), false, 0, 0, num_indices, idx0, idx1, idx2, flags)