Searched refs:dataBytes (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/fxbarcode/common/reedsolomon/ |
D | BC_ReedSolomon.cpp | 70 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/ |
D | BC_QRCoderEncoder.cpp | 227 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/ |
D | test_fill_generic.cpp | 270 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/ |
D | DrumPlayer.kt | 92 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/ |
D | sbrdecoder.cpp | 1169 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/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 294 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/ |
D | minidump.cc | 2472 size_t dataBytes = module_.misc_record.data_size - in GetMiscRecord() local 2474 Swap(data16, dataBytes); in GetMiscRecord()
|