/system/unwinding/libunwindstack/tests/ |
D | MemoryBufferTest.cpp | 46 ASSERT_TRUE(memory_->Resize(256)); in TEST_F() 66 ASSERT_TRUE(memory_->Resize(100)); in TEST_F() 76 ASSERT_TRUE(memory_->Resize(100)); in TEST_F() 83 ASSERT_TRUE(memory_->Resize(256)); in TEST_F() 102 TEST_F(MemoryBufferTest, Resize) { in TEST_F() argument 103 ASSERT_TRUE(memory_->Resize(256)); in TEST_F() 105 ASSERT_TRUE(memory_->Resize(1024)); in TEST_F() 107 ASSERT_FALSE(memory_->Resize(SIZE_MAX)); in TEST_F()
|
D | MemoryXzTest.cpp | 36 EXPECT_TRUE(memory->Resize(data.size())); in ReadFile()
|
/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 42 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 …]
|
D | fake_storage.cpp | 59 NVRAM_CHECK(blob_.Resize(0)); in Delete() 68 NVRAM_CHECK(blob_.Resize(0)); in Clear()
|
/system/logging/logd/ |
D | CompressionEngine.cpp | 44 out.Resize(deflate_bound); in Compress() 56 out.Resize(compressed_size); in Compress() 86 out.Resize(compress_bound); in Compress() 92 out.Resize(out_size); in Compress()
|
D | SerializedLogChunk.cpp | 36 contents_.Resize(0); in FinishWriting() 46 contents_.Resize(write_offset_); in IncReaderRefCount() 56 contents_.Resize(0); in DecReaderRefCount()
|
D | SerializedData.h | 32 void Resize(size_t new_size) { in Resize() function
|
/system/nvram/messages/include/nvram/messages/ |
D | vector.h | 90 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()
|
D | blob.h | 65 bool Resize(size_t size) NVRAM_WARN_UNUSED_RESULT;
|
D | proto.hpp | 158 return blob.Resize(reader->field_size()) && in Decode() 219 return vector.Resize(vector.size() + 1) && in Decode()
|
/system/vold/fs/ |
D | Ext4.h | 34 status_t Resize(const std::string& source, unsigned long numSectors);
|
D | Ext4.cpp | 151 status_t Resize(const std::string& source, unsigned long numSectors) { in Resize() function
|
/system/unwinding/libunwindstack/ |
D | MemoryBuffer.h | 38 bool Resize(size_t size) { in Resize() function
|
D | JitDebug.cpp | 30 if (!copy->Resize(size) || !memory->ReadFully(addr, copy->GetPtr(0), size)) { in Load()
|
D | DexFile.cpp | 114 if (!copy->Resize(file_size)) { in Create()
|
/system/nvram/messages/ |
D | blob.cpp | 66 bool Blob::Resize(size_t size) { in Resize() function in nvram::Blob
|
D | io.cpp | 225 if (!blob_->Resize(max<size_t>(blob_->size() * 2, 32))) { in Advance() 234 if (!blob_->Resize(pos_ - blob_->data())) { in Truncate()
|
/system/nvram/core/ |
D | nvram_manager.cpp | 54 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/ |
D | memory_storage.cpp | 51 return blob_.Resize(0) ? Status::kSuccess : Status::kStorageError; in Delete()
|
D | fake_nvram_storage.cpp | 100 if (!blob->Resize(data_file_stat.st_size)) { in LoadFile()
|
D | nvram_device_adapter.cpp | 183 if (!create_space_request.controls.Resize(list_size)) { in device_create_space()
|
/system/nvram/messages/tests/ |
D | io_test.cpp | 321 ASSERT_TRUE(blob.Resize(1024 * 1024)); in TEST()
|
/system/chre/util/tests/ |
D | dynamic_vector_test.cc | 752 TEST(DynamicVector, Resize) { in TEST() argument
|