Home
last modified time | relevance | path

Searched refs:outBuffer (Results 1 – 25 of 36) sorted by relevance

12

/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c94 BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockEncrypt() argument
112 rijndaelEncrypt(input, outBuffer, key->keySched, key->ROUNDS); in rijndael_blockEncrypt()
114 outBuffer += 16; in rijndael_blockEncrypt()
132 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS); in rijndael_blockEncrypt()
136 bcopy(outBuffer, block, 16); in rijndael_blockEncrypt()
143 ((word32*)block)[0] = ((word32*)outBuffer)[0] ^ ((word32*)input)[0]; in rijndael_blockEncrypt()
144 ((word32*)block)[1] = ((word32*)outBuffer)[1] ^ ((word32*)input)[1]; in rijndael_blockEncrypt()
145 ((word32*)block)[2] = ((word32*)outBuffer)[2] ^ ((word32*)input)[2]; in rijndael_blockEncrypt()
146 ((word32*)block)[3] = ((word32*)outBuffer)[3] ^ ((word32*)input)[3]; in rijndael_blockEncrypt()
148 outBuffer += 16; in rijndael_blockEncrypt()
[all …]
Drijndael-api-fst.h89 u_int8_t *input, int inputLen, u_int8_t *outBuffer);
92 u_int8_t *input, int inputOctets, u_int8_t *outBuffer);
95 u_int8_t *input, int inputLen, u_int8_t *outBuffer);
98 u_int8_t *input, int inputOctets, u_int8_t *outBuffer);
102 u_int8_t *input, int inputLen, u_int8_t *outBuffer, int Rounds);
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DPartiallyCompressingOutputStreamTest.java39 private ByteArrayOutputStream outBuffer; field in PartiallyCompressingOutputStreamTest
77 outBuffer = new ByteArrayOutputStream(); in setup()
85 Collections.<TypedRange<JreDeflateParameters>>emptyList(), outBuffer, 32768); in testWrite_Nothing()
90 Assert.assertArrayEquals(input, outBuffer.toByteArray()); in testWrite_Nothing()
98 Collections.<TypedRange<JreDeflateParameters>>emptyList(), outBuffer, 32768); in testWrite_NoneCompressed()
103 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testWrite_NoneCompressed()
113 new PartiallyCompressingOutputStream(Collections.singletonList(range), outBuffer, 32768); in testWrite_AllCompressed()
116 Assert.assertArrayEquals(ENTRY1.getCompressedBinaryContent(), outBuffer.toByteArray()); in testWrite_AllCompressed()
124 Collections.singletonList(COMPRESS_RANGE_1), outBuffer, 32768); in testWrite_GapAndCompression()
129 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testWrite_GapAndCompression()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DStatisticalSummaryValues.java172 StringBuilder outBuffer = new StringBuilder(); in toString() local
174 outBuffer.append("StatisticalSummaryValues:").append(endl); in toString()
175 outBuffer.append("n: ").append(getN()).append(endl); in toString()
176 outBuffer.append("min: ").append(getMin()).append(endl); in toString()
177 outBuffer.append("max: ").append(getMax()).append(endl); in toString()
178 outBuffer.append("mean: ").append(getMean()).append(endl); in toString()
179 outBuffer.append("std dev: ").append(getStandardDeviation()) in toString()
181 outBuffer.append("variance: ").append(getVariance()).append(endl); in toString()
182 outBuffer.append("sum: ").append(getSum()).append(endl); in toString()
183 return outBuffer.toString(); in toString()
DMultivariateSummaryStatistics.java310 StringBuilder outBuffer = new StringBuilder(); in toString() local
311 outBuffer.append("MultivariateSummaryStatistics:" + suffix); in toString()
312 outBuffer.append("n: " + getN() + suffix); in toString()
313 append(outBuffer, getMin(), "min: ", separator, suffix); in toString()
314 append(outBuffer, getMax(), "max: ", separator, suffix); in toString()
315 append(outBuffer, getMean(), "mean: ", separator, suffix); in toString()
316 append(outBuffer, getGeometricMean(), "geometric mean: ", separator, suffix); in toString()
317 append(outBuffer, getSumSq(), "sum of squares: ", separator, suffix); in toString()
318 append(outBuffer, getSumLog(), "sum of logarithms: ", separator, suffix); in toString()
319 append(outBuffer, getStandardDeviation(), "standard deviation: ", separator, suffix); in toString()
[all …]
DDescriptiveStatistics.java426 StringBuilder outBuffer = new StringBuilder(); in toString() local
428 outBuffer.append("DescriptiveStatistics:").append(endl); in toString()
429 outBuffer.append("n: ").append(getN()).append(endl); in toString()
430 outBuffer.append("min: ").append(getMin()).append(endl); in toString()
431 outBuffer.append("max: ").append(getMax()).append(endl); in toString()
432 outBuffer.append("mean: ").append(getMean()).append(endl); in toString()
433 outBuffer.append("std dev: ").append(getStandardDeviation()) in toString()
435 outBuffer.append("median: ").append(getPercentile(50)).append(endl); in toString()
436 outBuffer.append("skewness: ").append(getSkewness()).append(endl); in toString()
437 outBuffer.append("kurtosis: ").append(getKurtosis()).append(endl); in toString()
[all …]
DSummaryStatistics.java312 StringBuilder outBuffer = new StringBuilder(); in toString() local
314 outBuffer.append("SummaryStatistics:").append(endl); in toString()
315 outBuffer.append("n: ").append(getN()).append(endl); in toString()
316 outBuffer.append("min: ").append(getMin()).append(endl); in toString()
317 outBuffer.append("max: ").append(getMax()).append(endl); in toString()
318 outBuffer.append("mean: ").append(getMean()).append(endl); in toString()
319 outBuffer.append("geometric mean: ").append(getGeometricMean()) in toString()
321 outBuffer.append("variance: ").append(getVariance()).append(endl); in toString()
322 outBuffer.append("sum of squares: ").append(getSumsq()).append(endl); in toString()
323 outBuffer.append("standard deviation: ").append(getStandardDeviation()) in toString()
[all …]
/external/lzma/C/
D7zDec.c74 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodePpmd() argument
119 outBuffer[i] = (Byte)sym; in SzDecodePpmd()
135 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma() argument
142 state.dic = outBuffer; in SzDecodeLzma()
195 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma2() argument
204 state.decoder.dic = outBuffer; in SzDecodeLzma2()
253 static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) in SzDecodeCopy() argument
264 memcpy(outBuffer, inBuf, curSize); in SzDecodeCopy()
265 outBuffer += curSize; in SzDecodeCopy()
368 #define CASE_BRA_CONV(isa) case k_ ## isa: isa ## _Convert(outBuffer, outSize, 0, 0); break;
[all …]
D7z.h100 Byte *outBuffer, size_t outSize,
178 Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DPartiallyUncompressingPipeTest.java35 private ByteArrayOutputStream outBuffer; field in PartiallyUncompressingPipeTest
40 outBuffer = new ByteArrayOutputStream(); in setup()
41 stream = new PartiallyUncompressingPipe(outBuffer, 32768); in setup()
48 Assert.assertArrayEquals(expectedBytes, outBuffer.toByteArray()); in testWriteAll_Uncompressed()
56 Assert.assertArrayEquals(entry.getUncompressedBinaryContent(), outBuffer.toByteArray()); in testWriteAll_Compressed_NoWrapTrue()
73 Assert.assertArrayEquals(entry.getUncompressedBinaryContent(), outBuffer.toByteArray()); in testWriteAll_Compressed_NoWrapFalse()
106 Assert.assertArrayEquals(expected.toByteArray(), outBuffer.toByteArray()); in testWriteAll_Multiple()
DCountingOutputStreamTest.java33 private ByteArrayOutputStream outBuffer; field in CountingOutputStreamTest
58 outBuffer = new ByteArrayOutputStream(); in setup()
59 stream = new CountingOutputStream(outBuffer); in setup()
76 Assert.assertArrayEquals(expected, outBuffer.toByteArray()); in testGetNumBytesWritten_FewBytes()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DFrequency.java83 StringBuilder outBuffer = new StringBuilder(); in toString() local
84 outBuffer.append("Value \t Freq. \t Pct. \t Cum Pct. \n"); in toString()
88 outBuffer.append(value); in toString()
89 outBuffer.append('\t'); in toString()
90 outBuffer.append(getCount(value)); in toString()
91 outBuffer.append('\t'); in toString()
92 outBuffer.append(nf.format(getPct(value))); in toString()
93 outBuffer.append('\t'); in toString()
94 outBuffer.append(nf.format(getCumPct(value))); in toString()
95 outBuffer.append('\n'); in toString()
[all …]
/external/skqp/src/pdf/
DSkDeflate.cpp43 unsigned char outBuffer[SKDEFLATEWSTREAM_OUTPUT_BUFFER_SIZE]; in do_deflate() local
46 zStream->next_out = outBuffer; in do_deflate()
47 zStream->avail_out = sizeof(outBuffer); in do_deflate()
51 out->write(outBuffer, sizeof(outBuffer) - zStream->avail_out); in do_deflate()
/external/skia/src/pdf/
DSkDeflate.cpp43 unsigned char outBuffer[SKDEFLATEWSTREAM_OUTPUT_BUFFER_SIZE]; in do_deflate() local
46 zStream->next_out = outBuffer; in do_deflate()
47 zStream->avail_out = sizeof(outBuffer); in do_deflate()
51 out->write(outBuffer, sizeof(outBuffer) - zStream->avail_out); in do_deflate()
/external/lzma/CPP/Windows/
DFileIO.h79 LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped = NULL) const
82 outBuffer, outSize, bytesReturned, overlapped));
85 …bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned)… in DeviceIoControlOut() argument
87 return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize, bytesReturned); in DeviceIoControlOut()
90 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const in DeviceIoControlOut() argument
93 return DeviceIoControlOut(controlCode, outBuffer, outSize, &bytesReturned); in DeviceIoControlOut()
/external/lzma/DOC/
D7zC.txt125 Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
127 size_t *offset, /* offset of stream for required file in *outBuffer */
128 size_t *outSizeProcessed, /* size of file in *outBuffer */
134 outBuffer,
136 You can consider "outBuffer" as cache of solid block. If your archive is solid,
139 After decompressing you must free "outBuffer":
140 allocImp.Free(outBuffer);
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.cc97 int16_t* outBuffer, in Get10msAudioFromFile() argument
166 memset(outBuffer, 0, outLen * sizeof(int16_t)); in Get10msAudioFromFile()
171 outBuffer, in Get10msAudioFromFile()
181 outBuffer[i] = (int16_t)(outBuffer[i] * _scaling); in Get10msAudioFromFile()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp554 Byte *outBuffer = NULL; in main2() local
569 outBuffer = (Byte *)MyAlloc((size_t)outSize); in main2()
570 if (!outBuffer) in main2()
574 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2()
595 outBuffer = (Byte *)MyAlloc(outSize); in main2()
596 if (!outBuffer) in main2()
600 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize); in main2()
611 if (WriteStream(outStream, outBuffer, outSize) != S_OK) in main2()
614 MyFree(outBuffer); in main2()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsChannelCrypter.java103 ByteBuffer outBuffer = out.internalNioBuffer(out.writerIndex(), out.writableBytes()); in decrypt() local
110 int outPosition = outBuffer.position(); in decrypt()
111 aeadCrypter.decrypt(outBuffer, ciphertextAndTagBuffer, counter); in decrypt()
112 int bytesWritten = outBuffer.position() - outPosition; in decrypt()
/external/sonic/
DMain.java35 byte outBuffer[] = new byte[bufferSize]; in runSonic()
52 numWritten = sonic.readBytesFromStream(outBuffer, bufferSize); in runSonic()
54 line.write(outBuffer, 0, numWritten); in runSonic()
Dmain.c30 short inBuffer[BUFFER_SIZE], outBuffer[BUFFER_SIZE]; in runSonic() local
47 samplesWritten = sonicReadShortFromStream(stream, outBuffer, in runSonic()
50 writeToWaveFile(outFile, outBuffer, samplesWritten); in runSonic()
/external/libese/apps/weaver/card/src/com/android/weaver/core/
DCoreSlots.java145 public byte read(byte[] keyBuffer, short keyOffset, byte[] outBuffer, short outOffset) { in read() argument
151 sRemainingBackoff, (short) 0, outBuffer, outOffset, (byte) 4); in read()
181 Util.arrayCopyNonAtomic(data, (short) 0, outBuffer, outOffset, Consts.SLOT_VALUE_BYTES); in read()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomDataImpl.java162 StringBuilder outBuffer = new StringBuilder(); in nextHexString() local
183 outBuffer.append(hex); in nextHexString()
185 return outBuffer.toString().substring(0, len); in nextHexString()
268 StringBuilder outBuffer = new StringBuilder(); in nextSecureHexString() local
292 outBuffer.append(hex); in nextSecureHexString()
295 return outBuffer.toString().substring(0, len); in nextSecureHexString()
/external/libcups/cups/
Dtls-sspi.c1338 SecBufferDesc outBuffer; /* Array of SecBuffer structs */ in http_sspi_client() local
1377 outBuffer.cBuffers = 1; in http_sspi_client()
1378 outBuffer.pBuffers = outBuffers; in http_sspi_client()
1379 outBuffer.ulVersion = SECBUFFER_VERSION; in http_sspi_client()
1381 …XT(""), dwSSPIFlags, 0, SECURITY_NATIVE_DREP, NULL, 0, &sspi->context, &outBuffer, &dwSSPIOutFlags… in http_sspi_client()
1499 outBuffer.cBuffers = 1; in http_sspi_client()
1500 outBuffer.pBuffers = outBuffers; in http_sspi_client()
1501 outBuffer.ulVersion = SECBUFFER_VERSION; in http_sspi_client()
1507 …ntext, NULL, dwSSPIFlags, 0, SECURITY_NATIVE_DREP, &inBuffer, 0, NULL, &outBuffer, &dwSSPIOutFlags… in http_sspi_client()
2087 SecBufferDesc outBuffer; /* Array of SecBuffer structs */ in http_sspi_server() local
[all …]
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c406 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */ in main() local
426 &blockIndex, &outBuffer, &outBufferSize, in main()
485 …if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProce… in main()
536 ISzAlloc_Free(&allocImp, outBuffer); in main()

12