Home
last modified time | relevance | path

Searched refs:dataBytes (Results 1 – 6 of 6) 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.cpp280 size_t dataBytes = 0; in test_fill_image_generic() local
285 dataBytes = imageInfo->rowPitch; in test_fill_image_generic()
288 dataBytes = imageInfo->height * imageInfo->rowPitch; in test_fill_image_generic()
291 dataBytes = imageInfo->depth * imageInfo->slicePitch; in test_fill_image_generic()
294 dataBytes = imageInfo->arraySize * imageInfo->slicePitch; in test_fill_image_generic()
297 dataBytes = imageInfo->arraySize * imageInfo->slicePitch; in test_fill_image_generic()
301 if (dataBytes > imgData.getSize()) in test_fill_image_generic()
309 imgHost.reset(malloc(dataBytes),NULL,0,dataBytes); in test_fill_image_generic()
312 log_error( "ERROR: Unable to malloc %lu bytes for imgHost\n", dataBytes ); in test_fill_image_generic()
318 memcpy(imgHost, imgData, dataBytes); in test_fill_image_generic()
/external/aac/libSBRdec/src/
Dsbrdecoder.cpp1167 int dataBytes, dataBits; in sbrDecoder_Parse() local
1177 dataBytes = (dataBits + 7) >> 3; in sbrDecoder_Parse()
1186 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.cc2255 unsigned int dataBytes = module_.misc_record.data_size - in GetMiscRecord() local
2257 Swap(data16, dataBytes); in GetMiscRecord()