Home
last modified time | relevance | path

Searched refs:zeros (Results 1 – 12 of 12) 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.cpp38 UniquePtr<uint8_t[]> zeros(new(std::nothrow) uint8_t[digest_size_]); in GenerateKey() local
39 if (zeros.get() == nullptr) in GenerateKey()
42 memset(zeros.get(), 0, digest_size_); in GenerateKey()
43 result = prk_hmac.Init(zeros.get(), digest_size_); in GenerateKey()
/system/update_engine/payload_generator/
Dpayload_properties_unittest.cc79 string zeros(size, '\0'); in SetUp() local
80 EXPECT_TRUE(utils::WriteFile(path, zeros.c_str(), zeros.size())); in SetUp()
/system/core/fs_mgr/libsnapshot/
Dutility.cpp110 std::vector<uint8_t> zeros(kDmSnapZeroFillSize, 0); in InitializeCow() local
118 if (!android::base::WriteFully(fd, zeros.data(), kDmSnapZeroFillSize)) { in InitializeCow()
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/
Ddelta_performer_integration_test.cc413 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local
414 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile()
417 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile()
418 zeros.size())); in GenerateDeltaFile()
464 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local
465 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile()
467 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile()
468 zeros.size())); in GenerateDeltaFile()
Ddelta_performer.cc1043 brillo::Blob zeros; in PerformZeroOrDiscardOperation() local
1054 zeros.resize(16 * block_size_); in PerformZeroOrDiscardOperation()
1055 for (uint64_t offset = 0; offset < length; offset += zeros.size()) { in PerformZeroOrDiscardOperation()
1057 min(length - offset, static_cast<uint64_t>(zeros.size())); in PerformZeroOrDiscardOperation()
1059 target_fd_, zeros.data(), chunk_length, start + offset)); in PerformZeroOrDiscardOperation()
/system/bt/gd/security/
Dpairing_handler_le_secure_connections.cc218 Octet16 zeros{0}; in SecureConnectionsOutOfBand() local
219 …t16 localR = (remote_oob_flag == OobDataFlag::PRESENT && i.my_oob_data) ? i.my_oob_data->r : zeros; in SecureConnectionsOutOfBand()
225 remoteR = zeros; in SecureConnectionsOutOfBand()
/system/update_engine/
Ddynamic_partition_control_android.cc529 brillo::Blob zeros(write_size); in Erase() local
530 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()
Dupdate_metadata.proto79 // - ZERO: Write zeros to the destination dst_extents.
184 ZERO = 6; // Write zeros in the destination.
/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/update_engine/
Dupdate_metadata.proto79 // - ZERO: Write zeros to the destination dst_extents.
184 ZERO = 6; // Write zeros in the destination.