Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRand.c187 int toFill = DRBG_IV_SIZE_BYTES - dfState->contents; in DfUpdate() local
188 if(size < toFill) in DfUpdate()
189 toFill = size; in DfUpdate()
191 memcpy(&dfState->buf.bytes[dfState->contents], data, toFill); in DfUpdate()
193 size -= toFill; in DfUpdate()
195 data += toFill; in DfUpdate()
197 dfState->contents += toFill; in DfUpdate()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp113 void generateData (deUint8* toFill,
139 void BasicTranscodingTestInstance::generateData (deUint8* toFill, size_t size, const VkFormat forma… in generateData() argument
179 deUint8* start = toFill; in generateData()
223 if (toFill[i] == 0x80) in generateData()
224 toFill[i] = 0x81; in generateData()
233 if (toFill[i] == 0x00 && toFill[i+1] == 0x80) in generateData()
234 toFill[i+1] = 0x81; in generateData()
245 fixFloatIfNeeded<tcu::Float16>(toFill + i); in generateData()
250 fixFloatIfNeeded<tcu::Float16>(toFill + i); in generateData()
253 fixFloatIfNeeded<tcu::Float32>(toFill + i); in generateData()
DvktImageCompressionTranscodingSupport.cpp231 void generateData (deUint8* toFill,
358 void BasicTranscodingTestInstance::generateData (deUint8* toFill, in generateData() argument
402 deUint8* start = toFill; in generateData()
443 if (toFill[i] == 0x00 && toFill[i+1] == 0x80) in generateData()
444 toFill[i+1] = 0x81; in generateData()
456 if ((toFill[i+1] & 0x7C) == 0x7C) in generateData()
457 toFill[i+1] = 0x00; in generateData()
465 if ((toFill[i+1] & 0x7C) == 0x7C) in generateData()
466 toFill[i+1] = 0x00; in generateData()
473 …if (((toFill[i+3] & 0x7F) == 0x7F && (toFill[i+2] & 0x80) == 0x80) || ((toFill[i+3] & 0x7F) == 0x0… in generateData()
[all …]
DvktImageAstcDecodeModeTests.cpp85 void generateData (deUint8* toFill,
378 void BasicComputeTestInstance::generateData (deUint8* toFill, in generateData() argument
385 deUint32* start32 = reinterpret_cast<deUint32*>(toFill); in generateData()