Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DChecksumCalculatorThreadInfo.h27 static bool writeChecksum(ChecksumCalculator* calc, void* buf, size_t bufLen, in writeChecksum() argument
29 calc->addBuffer(buf, bufLen); in writeChecksum()
30 return calc->writeChecksum(outputChecksum, outputChecksumLen); in writeChecksum()
33 static bool validate(ChecksumCalculator* calc, void* buf, size_t bufLen, void* checksum, in validate() argument
35 calc->addBuffer(buf, bufLen); in validate()
36 return calc->validate(checksum, checksumLen); in validate()
39 static void validOrDie(ChecksumCalculator* calc, void* buf, size_t bufLen, void* checksum, in validOrDie() argument
41 if (!validate(calc, buf, bufLen, checksum, checksumLen)) { in validOrDie()