Searched refs:new_data (Results 1 – 8 of 8) sorted by relevance
/system/nvram/messages/include/nvram/messages/ |
D | vector.h | 101 ElementType* new_data = nullptr; in Resize() local 104 new_data = nullptr; in Resize() 106 new_data = static_cast<ElementType*>( in Resize() 108 if (!new_data) { in Resize() 113 new_data = data_; in Resize() 117 if (new_data != data_) { in Resize() 120 new (&new_data[i]) ElementType(static_cast<ElementType&&>(data_[i])); in Resize() 131 new (&new_data[i]) ElementType; in Resize() 134 if (new_data != data_) { in Resize() 137 data_ = new_data; in Resize()
|
/system/core/logd/ |
D | SerializedData.h | 40 std::unique_ptr<uint8_t[]> new_data(new uint8_t[new_size]); in Resize() 42 memcpy(new_data.get(), data_.get(), copy_size); in Resize() 43 data_.swap(new_data); in Resize()
|
/system/bt/osi/src/ |
D | array.cc | 100 void* new_data = realloc(is_moving ? NULL : array->data, in grow() local 102 if (!new_data) return false; in grow() 105 memcpy(new_data, array->internal_storage, in grow() 108 array->data = static_cast<uint8_t*>(new_data); in grow()
|
/system/update_engine/payload_generator/ |
D | payload_file_unittest.cc | 71 string new_data; in TEST_F() local 72 EXPECT_TRUE(utils::ReadFile(new_blobs.path(), &new_data)); in TEST_F() 74 EXPECT_EQ("bcdakernel", new_data); in TEST_F()
|
D | delta_diff_utils.cc | 637 bool GenerateBestFullOperation(const brillo::Blob& new_data, in GenerateBestFullOperation() argument 641 if (new_data.empty()) in GenerateBestFullOperation() 646 new_data.begin(), new_data.end(), [](uint8_t x) { return x == 0; })) { in GenerateBestFullOperation() 659 if (XzCompress(new_data, &new_data_xz) && !new_data_xz.empty()) { in GenerateBestFullOperation() 671 if (BzipCompress(new_data, &new_data_bz) && !new_data_bz.empty() && in GenerateBestFullOperation() 681 if (!out_blob_set || out_blob->size() >= new_data.size()) { in GenerateBestFullOperation() 686 *out_blob = new_data; in GenerateBestFullOperation() 729 brillo::Blob new_data; in ReadExtentsToDiff() local 732 &new_data, in ReadExtentsToDiff() 735 TEST_AND_RETURN_FALSE(!new_data.empty()); in ReadExtentsToDiff() [all …]
|
D | delta_diff_utils.h | 119 bool GenerateBestFullOperation(const brillo::Blob& new_data,
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 87 uint8_t* new_data = new (std::nothrow) uint8_t[length]; in reserve_indirect() local 88 if (new_data == nullptr) { in reserve_indirect() 92 memcpy(new_data, indirect_data_, indirect_data_size_); in reserve_indirect() 97 elems_[i].blob.data = new_data + (elems_[i].blob.data - indirect_data_); in reserve_indirect() 100 indirect_data_ = new_data; in reserve_indirect()
|
/system/core/fs_mgr/liblp/ |
D | io_test.cpp | 465 std::unique_ptr<char[]> new_data = std::make_unique<char[]>(blob.size()); in operator ()() local 466 memset(new_data.get(), 0xe5, blob.size()); in operator ()() 467 EXPECT_TRUE(android::base::WriteFully(fd, new_data.get(), blob.size())); in operator ()()
|