Searched refs:new_data (Results 1 - 7 of 7) sorted by relevance

/system/nvram/messages/include/nvram/messages/
H A Dvector.h101 ElementType* new_data = nullptr; local
104 new_data = nullptr;
106 new_data = static_cast<ElementType*>(
108 if (!new_data) {
113 new_data = data_;
117 if (new_data != data_) {
120 new (&new_data[i]) ElementType(static_cast<ElementType&&>(data_[i]));
131 new (&new_data[i]) ElementType;
134 if (new_data != data_) {
137 data_ = new_data;
[all...]
/system/update_engine/payload_generator/
H A Dpayload_file_unittest.cc78 string new_data; local
79 EXPECT_TRUE(utils::ReadFile(new_blobs, &new_data));
81 EXPECT_EQ("bcdakernel", new_data);
H A Ddelta_diff_utils.cc593 bool GenerateBestFullOperation(const brillo::Blob& new_data, argument
597 if (new_data.empty())
602 new_data.begin(), new_data.end(), [](uint8_t x) { return x == 0; })) {
612 // Try compressing |new_data| with xz first.
615 if (XzCompress(new_data, &new_data_xz) && !new_data_xz.empty()) {
627 if (BzipCompress(new_data, &new_data_bz) && !new_data_bz.empty() &&
637 if (!out_blob_set || out_blob->size() >= new_data.size()) {
642 *out_blob = new_data;
684 brillo::Blob new_data; local
[all...]
H A Ddelta_diff_utils.h113 // Generates the best allowed full operation to produce |new_data|. The allowed
117 bool GenerateBestFullOperation(const brillo::Blob& new_data,
/system/bt/osi/src/
H A Darray.cc100 void* new_data = realloc(is_moving ? NULL : array->data, local
102 if (!new_data) return false;
105 memcpy(new_data, array->internal_storage,
108 array->data = static_cast<uint8_t*>(new_data);
/system/extras/tests/sdcard/
H A Dplot_sdcard.py72 new_data = []
79 new_data.append(accum / factor)
83 self.data = new_data
/system/keymaster/
H A Dauthorization_set.cpp87 uint8_t* new_data = new (std::nothrow) uint8_t[length]; local
88 if (new_data == NULL) {
92 memcpy(new_data, indirect_data_, indirect_data_size_);
97 elems_[i].blob.data = new_data + (elems_[i].blob.data - indirect_data_);
100 indirect_data_ = new_data;

Completed in 497 milliseconds