Home
last modified time | relevance | path

Searched refs:zeros (Results 1 – 15 of 15) sorted by relevance

/system/media/camera/docs/
Dplots.py146 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/
Dhkdf.cpp36 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/
Dpayload_properties_unittest.cc68 string zeros(size, '\0'); in SetUp() local
69 EXPECT_TRUE(utils::WriteFile(path, zeros.c_str(), zeros.size())); in SetUp()
/system/core/fs_mgr/libsnapshot/
Dutility.cpp111 std::vector<uint8_t> zeros(kDmSnapZeroFillSize, 0); in InitializeKernelCow() local
119 if (!android::base::WriteFully(fd, zeros.data(), kDmSnapZeroFillSize)) { in InitializeKernelCow()
Dsnapshot_fuzz_utils.cpp373 std::string zeros(size, '\0'); in CheckZeroFill() local
374 PCHECK(WriteStringToFile(zeros, file)) << "Cannot write zeros to " << file; in CheckZeroFill()
/system/update_engine/payload_consumer/
Dpartition_writer.cc346 brillo::Blob zeros; in PerformZeroOrDiscardOperation() local
357 zeros.resize(16 * block_size_); in PerformZeroOrDiscardOperation()
358 for (uint64_t offset = 0; offset < length; offset += zeros.size()) { in PerformZeroOrDiscardOperation()
360 std::min(length - offset, static_cast<uint64_t>(zeros.size())); in PerformZeroOrDiscardOperation()
362 target_fd_, zeros.data(), chunk_length, start + offset)); in PerformZeroOrDiscardOperation()
Ddelta_performer_integration_test.cc430 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local
431 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile()
434 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile()
435 zeros.size())); in GenerateDeltaFile()
486 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local
487 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile()
489 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile()
490 zeros.size())); in GenerateDeltaFile()
/system/chre/chpp/test/
Dwwan_convert_test.cpp343 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/bt/gd/security/
Dpairing_handler_le_secure_connections.cc223 Octet16 zeros{0}; in SecureConnectionsOutOfBand() local
224 …t16 localR = (remote_oob_flag == OobDataFlag::PRESENT && i.my_oob_data) ? i.my_oob_data->r : zeros; in SecureConnectionsOutOfBand()
230 remoteR = zeros; in SecureConnectionsOutOfBand()
/system/tools/mkbootimg/tests/
Dmkbootimg_test.py241 zeros = '\x00' * BOOT_IMAGE_V4_SIGNATURE_SIZE
242 self.assertEqual(f.read(), zeros)
/system/update_engine/sample_images/
Dgenerate_images.sh53 sudo dd if=/dev/zero of="${mntdir}"/regular-32k-zeros bs=1024 count=16 \
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc603 brillo::Blob zeros(write_size); in Erase() local
604 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()
/system/tools/mkbootimg/
Dmkbootimg.py582 zeros = b'\x00' * BOOT_IMAGE_V4_SIGNATURE_SIZE
583 args.output.write(zeros)
/system/update_engine/
Dupdate_metadata.proto79 // - ZERO: Write zeros to the destination dst_extents.
184 ZERO = 6; // Write zeros in the destination.
/system/update_engine/update_engine/
Dupdate_metadata.proto79 // - ZERO: Write zeros to the destination dst_extents.
184 ZERO = 6; // Write zeros in the destination.