Home
last modified time | relevance | path

Searched refs:store_ (Results 1 – 18 of 18) 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
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 …]
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::__anon3e53266d0111::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/v8/src/crankshaft/
Dtyping.cc30 store_(zone), in AstTyper()
69 store_.Seq(parameter_index(-1), ObservedOnStack(frame->receiver())); in ObserveTypesAtOsrEntry()
71 store_.Seq(parameter_index(i), ObservedOnStack(frame->GetParameter(i))); in ObserveTypesAtOsrEntry()
75 store_.Seq(stack_local_index(i), ObservedOnStack(frame->GetExpression(i))); in ObserveTypesAtOsrEntry()
81 store_.LookupBounds(parameter_index(-1)).lower); in ObserveTypesAtOsrEntry()
85 store_.LookupBounds(parameter_index(i)).lower); in ObserveTypesAtOsrEntry()
93 store_.LookupBounds(stack_local_index(local_index)).lower); in ObserveTypesAtOsrEntry()
128 store_.Forget(); // Control may transfer here via 'break l'. in VisitBlock()
163 store_.Seq(then_effects); in VisitIfStatement()
233 store_.Forget(); // Reached this in unknown state. in VisitSwitchStatement()
[all …]
Dtyping.h48 Store store_; variable
62 store_ = store_.Push(); in EnterEffects()
63 return store_.Top(); in EnterEffects()
65 void ExitEffects() { store_ = store_.Pop(); } in ExitEffects()
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.h428 INTRINSIC(store_##name, srcs, ARR(0, 1, 1, 1), false, 0, 0, num_indices, idx0, idx1, idx2, flags)
/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); \