Home
last modified time | relevance | path

Searched refs:outBuffer (Results 1 – 25 of 32) 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/libgdx/gdx/src/com/badlogic/gdx/utils/
DPropertiesUtils.java255 …private static void dumpString (StringBuilder outBuffer, String string, boolean escapeSpace, boole… in dumpString() argument
261 outBuffer.append(ch == '\\' ? "\\\\" : ch); in dumpString()
266 if (i == 0 || escapeSpace) outBuffer.append("\\ "); in dumpString()
269 outBuffer.append("\\n"); in dumpString()
272 outBuffer.append("\\r"); in dumpString()
275 outBuffer.append("\\t"); in dumpString()
278 outBuffer.append("\\f"); in dumpString()
284 outBuffer.append('\\').append(ch); in dumpString()
289 outBuffer.append("\\u"); in dumpString()
291 outBuffer.append('0'); in dumpString()
[all …]
/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/lzma/C/
D7zDec.c69 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodePpmd() argument
114 outBuffer[i] = (Byte)sym; in SzDecodePpmd()
130 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma() argument
137 state.dic = outBuffer; in SzDecodeLzma()
178 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma2() argument
187 state.decoder.dic = outBuffer; in SzDecodeLzma2()
226 static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) in SzDecodeCopy() argument
237 memcpy(outBuffer, inBuf, curSize); in SzDecodeCopy()
238 outBuffer += curSize; in SzDecodeCopy()
327 #define CASE_BRA_CONV(isa) case k_ ## isa: isa ## _Convert(outBuffer, outSize, 0, 0); break;
[all …]
D7z.h115 Byte *outBuffer, size_t outSize,
192 Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
/external/skia/src/pdf/
DSkDeflate.cpp45 unsigned char outBuffer[SKDEFLATEWSTREAM_OUTPUT_BUFFER_SIZE]; in do_deflate() local
48 zStream->next_out = outBuffer; in do_deflate()
49 zStream->avail_out = sizeof(outBuffer); in do_deflate()
53 out->write(outBuffer, sizeof(outBuffer) - zStream->avail_out); in do_deflate()
/external/lzma/CPP/Windows/
DFileIO.h73 LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped = NULL) const
76 outBuffer, outSize, bytesReturned, overlapped));
79 …bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned)… in DeviceIoControlOut() argument
81 return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize, bytesReturned); in DeviceIoControlOut()
84 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const in DeviceIoControlOut() argument
87 return DeviceIoControlOut(controlCode, outBuffer, outSize, &bytesReturned); in DeviceIoControlOut()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp360 Byte *outBuffer = 0; in main2() local
368 outBuffer = (Byte *)MyAlloc((size_t)outSize); in main2()
369 if (outBuffer == 0) in main2()
374 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2()
392 outBuffer = (Byte *)MyAlloc(outSize); in main2()
393 if (outBuffer == 0) in main2()
396 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize); in main2()
402 if (WriteStream(outStream, outBuffer, outSize) != S_OK) in main2()
404 MyFree(outBuffer); in main2()
/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()
Dfile_player_impl.h33 int16_t* outBuffer,
/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/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/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/lzma/C/Util/7z/
D7zMain.c391 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */ in main() local
467 &blockIndex, &outBuffer, &outBufferSize, in main()
506 …if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProce… in main()
525 IAlloc_Free(&allocImp, outBuffer); in main()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c387 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */ in main() local
409 &blockIndex, &outBuffer, &outBufferSize, in main()
468 …if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProce… in main()
519 IAlloc_Free(&allocImp, outBuffer); in main()
/external/webrtc/webrtc/modules/utility/include/
Dfile_player.h40 int16_t* outBuffer,

12