Home
last modified time | relevance | path

Searched refs:dataBytes (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomon.cpp70 size_t dataBytes = toEncode->size() - ecBytes; in Encode() local
71 std::vector<int32_t> infoCoefficients(dataBytes); in Encode()
72 for (size_t x = 0; x < dataBytes; x++) in Encode()
88 (*toEncode)[dataBytes + i] = 0; in Encode()
90 (*toEncode)[dataBytes + numZeroCoefficients + y] = coefficients[y]; in Encode()
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp227 std::vector<uint8_t> GenerateECBytes(pdfium::span<const uint8_t> dataBytes, in GenerateECBytes() argument
231 std::vector<int32_t> toEncode(dataBytes.size() + numEcBytesInBlock); in GenerateECBytes()
232 std::copy(dataBytes.begin(), dataBytes.end(), toEncode.begin()); in GenerateECBytes()
237 ecBytes = std::vector<uint8_t>(toEncode.begin() + dataBytes.size(), in GenerateECBytes()
368 std::vector<uint8_t> dataBytes(numDataBytesInBlock); in InterleaveWithECBytes() local
369 memcpy(dataBytes.data(), bits->GetArray() + dataBytesOffset, in InterleaveWithECBytes()
372 GenerateECBytes(dataBytes, numEcBytesInBlock); in InterleaveWithECBytes()
376 maxNumDataBytes = std::max(maxNumDataBytes, dataBytes.size()); in InterleaveWithECBytes()
378 blocks[i].data = std::move(dataBytes); in InterleaveWithECBytes()
387 const std::vector<uint8_t>& dataBytes = blocks[j].data; in InterleaveWithECBytes() local
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_generic.cpp270 size_t dataBytes = 0; in test_fill_image_generic() local
275 dataBytes = imageInfo->rowPitch; in test_fill_image_generic()
278 dataBytes = imageInfo->height * imageInfo->rowPitch; in test_fill_image_generic()
281 dataBytes = imageInfo->depth * imageInfo->slicePitch; in test_fill_image_generic()
284 dataBytes = imageInfo->arraySize * imageInfo->slicePitch; in test_fill_image_generic()
287 dataBytes = imageInfo->arraySize * imageInfo->slicePitch; in test_fill_image_generic()
291 if (dataBytes > imgData.getSize()) in test_fill_image_generic()
299 imgHost.reset(malloc(dataBytes),NULL,0,dataBytes); in test_fill_image_generic()
302 log_error( "ERROR: Unable to malloc %lu bytes for imgHost\n", dataBytes ); in test_fill_image_generic()
308 memcpy(imgHost, imgData, dataBytes); in test_fill_image_generic()
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumPlayer.kt92 val dataBytes = ByteArray(dataLen) in loadWavAsset() constant
93 dataStream.read(dataBytes, 0, dataLen) in loadWavAsset()
94 returnVal = loadWavAssetNative(dataBytes, index, pan, NUM_SAMPLE_CHANNELS) in loadWavAsset()
/external/aac/libSBRdec/src/
Dsbrdecoder.cpp1169 int dataBytes, dataBits; in sbrDecoder_Parse() local
1179 dataBytes = (dataBits + 7) >> 3; in sbrDecoder_Parse()
1188 for (; dataBytes > 0; dataBytes--) { in sbrDecoder_Parse()
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp294 void dumpBytes (std::ostream& str, const std::string& msg, const void* dataBytes, size_t size, cons… in dumpBytes() argument
296 const deUint8* data = (const deUint8*)dataBytes; in dumpBytes()
/external/google-breakpad/src/processor/
Dminidump.cc2472 size_t dataBytes = module_.misc_record.data_size - in GetMiscRecord() local
2474 Swap(data16, dataBytes); in GetMiscRecord()