/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipherRSA.java | 303 final byte[] tmpBuf; in engineDoFinal() 306 tmpBuf = new byte[buffer.length]; in engineDoFinal() 307 System.arraycopy(buffer, 0, tmpBuf, buffer.length - bufferOffset, bufferOffset); in engineDoFinal() 309 tmpBuf = Arrays.copyOf(buffer, bufferOffset); in engineDoFinal() 312 tmpBuf = buffer; in engineDoFinal() 316 int resultSize = doCryptoOperation(tmpBuf, output); in engineDoFinal() 325 abstract int doCryptoOperation(final byte[] tmpBuf, byte[] output) in doCryptoOperation() argument 390 int doCryptoOperation(final byte[] tmpBuf, byte[] output) in doCryptoOperation() argument 396 tmpBuf.length, tmpBuf, output, key.getNativeRef(), padding); in doCryptoOperation() 399 tmpBuf.length, tmpBuf, output, key.getNativeRef(), padding); in doCryptoOperation() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipherRSA.java | 299 final byte[] tmpBuf; in engineDoFinal() 302 tmpBuf = new byte[buffer.length]; in engineDoFinal() 303 System.arraycopy(buffer, 0, tmpBuf, buffer.length - bufferOffset, bufferOffset); in engineDoFinal() 305 tmpBuf = Arrays.copyOf(buffer, bufferOffset); in engineDoFinal() 308 tmpBuf = buffer; in engineDoFinal() 312 int resultSize = doCryptoOperation(tmpBuf, output); in engineDoFinal() 321 abstract int doCryptoOperation(final byte[] tmpBuf, byte[] output) in doCryptoOperation() argument 383 int doCryptoOperation(final byte[] tmpBuf, byte[] output) in doCryptoOperation() argument 389 tmpBuf.length, tmpBuf, output, key.getNativeRef(), padding); in doCryptoOperation() 392 tmpBuf.length, tmpBuf, output, key.getNativeRef(), padding); in doCryptoOperation() [all …]
|
/external/deqp/execserver/ |
D | xsPosixFileReader.cpp | 68 std::vector<deUint8> tmpBuf (FILEREADER_TMP_BUFFER_SIZE); in run() local 73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run() 80 m_buf.write((int)numRead, &tmpBuf[0]); in run()
|
D | xsPosixTestProcess.cpp | 123 std::vector<deUint8> tmpBuf (FILEREADER_TMP_BUFFER_SIZE); in run() local 128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run() 135 m_buf->write((int)numRead, &tmpBuf[0]); in run()
|
D | xsWin32TestProcess.cpp | 229 std::vector<deUint8> tmpBuf (FILEREADER_TMP_BUFFER_SIZE); in run() local 243 if (!ReadFile(m_handle, &tmpBuf[0], (DWORD)tmpBuf.size(), NULL, &overlapped)) in run() 311 m_dstBuf->write((int)numBytesRead, &tmpBuf[0]); in run()
|
/external/deqp/framework/delibs/decpp/ |
D | deBlockBuffer.cpp | 72 Message tmpBuf [64]; in run() local 77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf)); in run() 78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]); in run() 82 const Message& msg = tmpBuf[ndx]; in run() 91 m_buffer.write(numRead-ndx-1, &tmpBuf[ndx+1]); in run() 139 Message tmpBuf[64]; in run() local 143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run() 145 tmpBuf[ndx] = Message(m_threadId, (deUint16)msgNdx++); in run() 147 m_buffer.write(writeSize, &tmpBuf[0]); in run()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | ByteBufTestUtils.java | 57 ByteBuf tmpBuf = getDirectBuffer(readBytes, ref); in fragmentByteBuf() local 58 tmpBuf.writeBytes(buf, readBytes); in fragmentByteBuf() 59 fragmentedBufs.add(tmpBuf); in fragmentByteBuf()
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_latm.cpp | 732 FDK_BITSTREAM tmpBuf; in transportEnc_LatmGetFrame() local 746 FDKinitBitStream(&tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in transportEnc_LatmGetFrame() 748 FDKpushFor(&tmpBuf, hAss->audioMuxLengthBytesPos); in transportEnc_LatmGetFrame() 749 FDKwriteBits(&tmpBuf, hAss->audioMuxLengthBytes, 13); in transportEnc_LatmGetFrame() 750 FDKsyncCache(&tmpBuf); in transportEnc_LatmGetFrame()
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 698 deUint8 tmpBuf[1024*16]; in runProgram() local 701 deMemset(&tmpBuf, 'a', sizeof(tmpBuf)); in runProgram() 706 …XS_CHECK(deFile_write(file, &tmpBuf[0], de::min((int)sizeof(tmpBuf), DATA_SIZE-numWritten), &numWr… in runProgram()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptRand.c | 572 DRBG_SEED tmpBuf; in CryptRandomStir() local 576 if(!DRBG_GetEntropy(sizeof(tmpBuf), (BYTE *)&tmpBuf)) in CryptRandomStir() 579 DRBG_Reseed(&drbgDefault, &tmpBuf, in CryptRandomStir()
|
/external/libjpeg-turbo/ |
D | tjbench.c | 324 unsigned char **jpegBuf = NULL, *yuvBuf = NULL, *tmpBuf = NULL, *srcPtr, in fullTest() local 337 if ((tmpBuf = (unsigned char *)malloc((size_t)pitch * h)) == NULL) in fullTest() 376 memcpy(&tmpBuf[pitch * i], &srcBuf[w * ps * i], w * ps); in fullTest() 497 if (decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest() 524 free(tmpBuf); in fullTest()
|
/external/python/cpython3/PC/ |
D | winreg.c | 1158 BYTE *tmpBuf; in winreg_EnumValue_impl() local 1205 tmpBuf = (BYTE *)PyMem_Realloc(retDataBuf, bufDataSize); in winreg_EnumValue_impl() 1206 if (tmpBuf == NULL) { in winreg_EnumValue_impl() 1211 retDataBuf = tmpBuf; in winreg_EnumValue_impl()
|
/external/python/cpython2/PC/ |
D | _winreg.c | 1197 char *tmpBuf; in PyEnumValue() local 1244 tmpBuf = (char *)PyMem_Realloc(retDataBuf, bufDataSize); in PyEnumValue() 1245 if (tmpBuf == NULL) { in PyEnumValue() 1250 retDataBuf = tmpBuf; in PyEnumValue()
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 657 tcu::TextureLevel tmpBuf; in execute() local 672 tmpBuf.setStorage(readFormat, framebufferW, framebufferH); in execute() 677 glu::readPixels(m_renderCtx, 0, 0, tmpBuf.getAccess()); in execute() 681 deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues*outVecSize*sizeof(deUint32)); in execute() 686 const deUint32* srcPtr = (const deUint32*)tmpBuf.getAccess().getDataPtr() + valNdx*4; in execute()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 1336 tcu::TextureLevel tmpBuf; in execute() local 1380 tmpBuf.setStorage(readFormat, renderSize.x(), renderSize.y()); in execute() 1385 tcu::copy(tmpBuf.getAccess(), resultAccess); in execute() 1391 … deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues * outVecSize * sizeof(deUint16)); in execute() 1396 const deUint16* srcPtr = (const deUint16*)tmpBuf.getAccess().getDataPtr() + valNdx * 4; in execute() 1406 … deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues * outVecSize * sizeof(deUint32)); in execute() 1411 const deUint32* srcPtr = (const deUint32*)tmpBuf.getAccess().getDataPtr() + valNdx * 4; in execute()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ConsoleCheckCLDR.java | 353 String tmpBuf = sb.substring(0, lastIdx); in main() 355 sb.append(tmpBuf); in main()
|