Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dkey_value_store_test.cc33 if (store_.GetString(key, &value)) in GetNonemptyStringValue()
38 KeyValueStore store_; // KeyValueStore under test. member in brillo::KeyValueStoreTest
42 store_.SetBoolean("a_boolean", true); in TEST_F()
43 store_.SetString("a_string", "a_value"); in TEST_F()
45 KeyValueStore moved_to(std::move(store_)); in TEST_F()
56 store_.SetBoolean("a_boolean", true); in TEST_F()
57 store_.SetString("a_string", "a_value"); in TEST_F()
60 moved_to = std::move(store_); in TEST_F()
79 ASSERT_TRUE(store_.Load(temp_file_)); in TEST_F()
82 EXPECT_TRUE(store_.GetString("A", &value)); in TEST_F()
[all …]
Dosrelease_reader_test.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.cc79 store_[key] = value; in LoadFromString()
90 for (const auto& key_value : store_) in SaveToString()
96 store_.clear(); in Clear()
100 const auto key_value = store_.find(TrimKey(key)); in GetString()
101 if (key_value == store_.end()) in GetString()
108 store_[TrimKey(key)] = value; in SetString()
131 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()
57 return store_.GetKeys(); in GetKeys()
Dosrelease_reader.h45 KeyValueStore store_;
Dkey_value_store.h83 std::map<std::string, std::string> store_;
/external/openscreen/cast/common/certificate/
Dcast_trust_store.cc34 if (!store_) { in GetInstance()
35 store_ = new CastTrustStore(); in GetInstance()
37 return store_; in GetInstance()
42 delete store_; in ResetInstance()
43 store_ = nullptr; in ResetInstance()
49 OSP_DCHECK(!store_); in CreateInstanceForTest()
50 store_ = new CastTrustStore(trust_anchor_der); in CreateInstanceForTest()
51 return store_; in CreateInstanceForTest()
57 OSP_DCHECK(!store_); in CreateInstanceFromPemFile()
59 store_ = new CastTrustStore(); in CreateInstanceFromPemFile()
[all …]
Dcast_trust_store.h36 static CastTrustStore* store_;
/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<uint8_t> store_;
/external/pigweed/pw_blob_store/public/pw_blob_store/
Dblob_store.h58 constexpr BlobWriter(BlobStore& store) : store_(store), open_(false) {} in BlobWriter()
76 Status status = store_.OpenWrite(); in Open()
93 return store_.CloseWrite(); in Close()
107 return store_.Erase(); in Erase()
117 return store_.Invalidate(); in Discard()
126 return store_.WriteBytesRemaining(); in ConservativeWriteLimit()
131 return store_.write_address_; in CurrentSizeBytes()
137 return store_.Write(data); in DoWrite()
140 BlobStore& store_; variable
161 return store_.Flush(); in Flush()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dcertificate_provider_store.h70 store_(std::move(store)), in CertificateProviderWrapper()
74 store_->ReleaseCertificateProvider(key_, this); in ~CertificateProviderWrapper()
90 RefCountedPtr<CertificateProviderStore> store_; variable
/external/llvm-project/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/fmtlib/include/fmt/
Dformat.h656 T store_[SIZE];
664 if (data != store_) alloc_.deallocate(data, this->capacity()); in deallocate()
676 this->set(store_, SIZE); in alloc_()
686 if (data == other.store_) { in move()
687 this->set(store_, capacity); in move()
688 std::uninitialized_copy(other.store_, other.store_ + size, in move()
689 detail::make_checked(store_, capacity)); in move()
694 other.set(other.store_, 0); in move()
758 if (old_data != store_) alloc_.deallocate(old_data, old_capacity); in grow()
/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/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.h255 std::vector<Tensor> store_;
Dconvert_nodes.cc1097 store_.emplace_back(std::move(tensor)); in GetTempWeights()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td419 def store_#as : PatFrag<(ops node:$val, node:$ptr),
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td412 def store_#as : PatFrag<(ops node:$val, node:$ptr),
/external/mesa3d/src/compiler/nir/
Dnir_opt_load_store_vectorize.c73 #define STORE(mode, op, res, base, deref, val) INFO(mode, store_##op, false, res, base, deref, val) in get_info()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dglobal-saddr-store.ll5 ; Test using saddr addressing mode of global_*store_* flat instructions.
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscalls_netbsd.inc2478 PRE_SYSCALL(uuidgen)(void *store_, long long count_) { /* Nothing to do */ }
2479 POST_SYSCALL(uuidgen)(long long res, void *store_, long long count_) {