Home
last modified time | relevance | path

Searched refs:Resize (Results 1 – 18 of 18) sorted by relevance

/system/nvram/core/tests/
Dnvram_manager_test.cpp42 ASSERT_TRUE(header.allocated_indices.Resize(1)); in SetupHeader()
84 ASSERT_TRUE(space.contents.Resize(10)); in TEST_F()
88 ASSERT_TRUE(space_blob.Resize(space_blob.size() + 10)); in TEST_F()
94 ASSERT_TRUE(header.allocated_indices.Resize(1)); in TEST_F()
99 ASSERT_TRUE(header_blob.Resize(header_blob.size() + 10)); in TEST_F()
124 ASSERT_TRUE(space.contents.Resize(10)); in TEST_F()
126 ASSERT_TRUE(space.contents.Resize(20)); in TEST_F()
133 ASSERT_TRUE(header.allocated_indices.Resize(3)); in TEST_F()
169 ASSERT_TRUE(space.contents.Resize(10)); in TEST_F()
179 ASSERT_TRUE(header.allocated_indices.Resize(2)); in TEST_F()
[all …]
Dfake_storage.cpp59 NVRAM_CHECK(blob_.Resize(0)); in Delete()
68 NVRAM_CHECK(blob_.Resize(0)); in Clear()
/system/core/libunwindstack/tests/
DMemoryBufferTest.cpp45 memory_->Resize(256); in TEST_F()
65 memory_->Resize(100); in TEST_F()
75 memory_->Resize(100); in TEST_F()
82 memory_->Resize(256); in TEST_F()
/system/nvram/messages/include/nvram/messages/
Dvector.h90 bool Resize(size_t size) NVRAM_WARN_UNUSED_RESULT { in Resize() function
145 if (!Resize(size_ + 1)) { in Append()
154 if (!Resize(size_ + 1)) { in Append()
Dblob.h65 bool Resize(size_t size) NVRAM_WARN_UNUSED_RESULT;
Dproto.hpp158 return blob.Resize(reader->field_size()) && in Decode()
219 return vector.Resize(vector.size() + 1) && in Decode()
/system/vold/fs/
DExt4.h34 status_t Resize(const std::string& source, unsigned long numSectors);
DExt4.cpp151 status_t Resize(const std::string& source, unsigned long numSectors) { in Resize() function
/system/nvram/messages/
Dblob.cpp66 bool Blob::Resize(size_t size) { in Resize() function in nvram::Blob
Dio.cpp225 if (!blob_->Resize(max<size_t>(blob_->size() * 2, 32))) { in Advance()
234 if (!blob_->Resize(pos_ - blob_->data())) { in Truncate()
/system/nvram/core/
Dnvram_manager.cpp54 if (!controls->Resize(controls->size() + 1)) { in GetControlsVector()
180 if (!space_list.Resize(num_spaces_)) { in GetInfo()
267 if (!space.contents.Resize(request.size)) { in CreateSpace()
416 if (!sha256_input.Resize(contents.size() + request.buffer.size())) { in WriteSpace()
825 if (!header.allocated_indices.Resize(num_spaces_)) { in WriteHeader()
/system/nvram/hal/
Dmemory_storage.cpp51 return blob_.Resize(0) ? Status::kSuccess : Status::kStorageError; in Delete()
Dfake_nvram_storage.cpp100 if (!blob->Resize(data_file_stat.st_size)) { in LoadFile()
Dnvram_device_adapter.cpp183 if (!create_space_request.controls.Resize(list_size)) { in device_create_space()
/system/core/libunwindstack/
DElfInterface.cpp100 dst->Resize(5 * gnu_debugdata_size_); in CreateGnuDebugdataMemory()
105 dst->Resize(dst->Size() + 2 * gnu_debugdata_size_); in CreateGnuDebugdataMemory()
121 dst->Resize(dst_offset); in CreateGnuDebugdataMemory()
/system/core/libunwindstack/include/unwindstack/
DMemory.h85 void Resize(size_t size) { raw_.resize(size); } in Resize() function
/system/nvram/messages/tests/
Dio_test.cpp321 ASSERT_TRUE(blob.Resize(1024 * 1024)); in TEST()
/system/chre/util/tests/
Ddynamic_vector_test.cc747 TEST(DynamicVector, Resize) { in TEST() argument