/system/update_engine/payload_consumer/ |
D | xor_extent_writer_unittest.cc | 112 auto zeros = utils::GetReadonlyZeroBlock(kBlockSize * 10); in TEST_F() local 114 AddRawBlocks(455, zeros->data() + 2 * kBlockSize, kBlockSize)) in TEST_F() 115 .With(Args<1, 2>(BytesEqual(zeros->data(), kBlockSize))) in TEST_F() 118 AddRawBlocks(320, zeros->data() + 5 * kBlockSize, kBlockSize)) in TEST_F() 119 .With(Args<1, 2>(BytesEqual(zeros->data(), kBlockSize))) in TEST_F() 122 AddRawBlocks(323, zeros->data() + 8 * kBlockSize, kBlockSize)) in TEST_F() 123 .With(Args<1, 2>(BytesEqual(zeros->data(), kBlockSize))) in TEST_F() 134 ASSERT_TRUE(writer_.Write(zeros->data(), 9 * kBlockSize)); in TEST_F() 164 auto zeros = utils::GetReadonlyZeroBlock(kBlockSize * 7); in TEST_F() local 166 AddRawBlocks(420, zeros->data() + 3 * kBlockSize, kBlockSize * 3)) in TEST_F() [all …]
|
D | vabc_partition_writer_unittest.cc | 211 auto zeros = GetReadonlyZeroBlock(data_size); in GetNoopBSDIFF() local 213 int error = bsdiff::bsdiff(reinterpret_cast<const uint8_t*>(zeros->data()), in GetNoopBSDIFF() 214 zeros->size(), in GetNoopBSDIFF() 215 reinterpret_cast<const uint8_t*>(zeros->data()), in GetNoopBSDIFF() 216 zeros->size(), in GetNoopBSDIFF() 238 auto zeros = GetReadonlyZeroBlock(kBlockSize * 5); in TEST_F() local 241 HashCalculator::RawHashOfBytes(zeros->data(), zeros->size(), &expected_hash); in TEST_F()
|
D | delta_performer_integration_test.cc | 422 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local 423 ASSERT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile() 426 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile() 427 zeros.size())); in GenerateDeltaFile() 478 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local 479 ASSERT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile() 481 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile() 482 zeros.size())); in GenerateDeltaFile()
|
/system/media/camera/docs/ |
D | plots.py | 146 redMap = np.dstack( (redMap, np.zeros(shadingMapSize), np.zeros(shadingMapSize) ) ) 147 greenEMap = np.dstack( (np.zeros(shadingMapSize), greenEMap, np.zeros(shadingMapSize) ) ) 148 greenOMap = np.dstack( (np.zeros(shadingMapSize), greenOMap, np.zeros(shadingMapSize) ) ) 149 blueMap = np.dstack( (np.zeros(shadingMapSize), np.zeros(shadingMapSize), blueMap ) )
|
/system/keymaster/km_openssl/ |
D | hkdf.cpp | 36 UniquePtr<uint8_t[]> zeros(new (std::nothrow) uint8_t[digest_size_]); in GenerateKey() local 37 if (zeros.get() == nullptr) return false; in GenerateKey() 39 memset(zeros.get(), 0, digest_size_); in GenerateKey() 40 result = prk_hmac.Init(zeros.get(), digest_size_); in GenerateKey()
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 68 string zeros(size, '\0'); in SetUp() local 69 EXPECT_TRUE(utils::WriteFile(path, zeros.c_str(), zeros.size())); in SetUp()
|
/system/chre/chpp/test/ |
D | wwan_convert_test.cpp | 343 uint8_t zeros[sizePastEnd]; in TEST() local 344 memset(zeros, 0, sizePastEnd); in TEST() 345 EXPECT_EQ(memcmp(pastEnd, zeros, sizeof(zeros)), 0); in TEST()
|
/system/core/fs_mgr/libsnapshot/ |
D | utility.cpp | 116 std::vector<uint8_t> zeros(kDmSnapZeroFillSize, 0); in InitializeKernelCow() local 124 if (!android::base::WriteFully(fd, zeros.data(), kDmSnapZeroFillSize)) { in InitializeKernelCow()
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 53 sudo dd if=/dev/zero of="${mntdir}"/regular-32k-zeros bs=1024 count=16 \
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android.cc | 632 brillo::Blob zeros(write_size); in Erase() local 633 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 79 // - ZERO: Write zeros to the destination dst_extents. 164 ZERO = 6; // Write zeros in the destination.
|
/system/update_engine/ |
D | update_metadata.proto | 79 // - ZERO: Write zeros to the destination dst_extents. 164 ZERO = 6; // Write zeros in the destination.
|