Searched defs:outBuffer (Results 1 - 20 of 20) sorted by relevance

/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
H A DCountingOutputStreamTest.java33 private ByteArrayOutputStream outBuffer; field in class:CountingOutputStreamTest
58 outBuffer = new ByteArrayOutputStream();
59 stream = new CountingOutputStream(outBuffer);
76 Assert.assertArrayEquals(expected, outBuffer.toByteArray());
H A DPartiallyUncompressingPipeTest.java35 private ByteArrayOutputStream outBuffer; field in class:PartiallyUncompressingPipeTest
40 outBuffer = new ByteArrayOutputStream();
41 stream = new PartiallyUncompressingPipe(outBuffer, 32768);
48 Assert.assertArrayEquals(expectedBytes, outBuffer.toByteArray());
56 Assert.assertArrayEquals(entry.getUncompressedBinaryContent(), outBuffer.toByteArray());
73 Assert.assertArrayEquals(entry.getUncompressedBinaryContent(), outBuffer.toByteArray());
106 Assert.assertArrayEquals(expected.toByteArray(), outBuffer.toByteArray());
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
H A DPartiallyCompressingOutputStreamTest.java39 private ByteArrayOutputStream outBuffer; field in class:PartiallyCompressingOutputStreamTest
77 outBuffer = new ByteArrayOutputStream();
85 Collections.<TypedRange<JreDeflateParameters>>emptyList(), outBuffer, 32768);
90 Assert.assertArrayEquals(input, outBuffer.toByteArray());
98 Collections.<TypedRange<JreDeflateParameters>>emptyList(), outBuffer, 32768);
103 Assert.assertArrayEquals(expected, outBuffer.toByteArray());
113 new PartiallyCompressingOutputStream(Collections.singletonList(range), outBuffer, 32768);
116 Assert.assertArrayEquals(ENTRY1.getCompressedBinaryContent(), outBuffer.toByteArray());
124 Collections.singletonList(COMPRESS_RANGE_1), outBuffer, 32768);
129 Assert.assertArrayEquals(expected, outBuffer
[all...]
/external/sonic/
H A Dmain.c30 short inBuffer[BUFFER_SIZE], outBuffer[BUFFER_SIZE]; local
47 samplesWritten = sonicReadShortFromStream(stream, outBuffer,
50 writeToWaveFile(outFile, outBuffer, samplesWritten);
H A DSonic.java430 byte outBuffer[],
446 outBuffer[xSample << 1] = (byte)(sample & 0xff);
447 outBuffer[(xSample << 1) + 1] = (byte)(sample >> 8);
429 readBytesFromStream( byte outBuffer[], int maxBytes) argument
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
H A Drijndael-api-fst.c94 BYTE *input, int inputLen, BYTE *outBuffer) {
112 rijndaelEncrypt(input, outBuffer, key->keySched, key->ROUNDS);
114 outBuffer += 16;
132 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS);
136 bcopy(outBuffer, block, 16);
143 ((word32*)block)[0] = ((word32*)outBuffer)[0] ^ ((word32*)input)[0];
144 ((word32*)block)[1] = ((word32*)outBuffer)[1] ^ ((word32*)input)[1];
145 ((word32*)block)[2] = ((word32*)outBuffer)[2] ^ ((word32*)input)[2];
146 ((word32*)block)[3] = ((word32*)outBuffer)[3] ^ ((word32*)input)[3];
148 outBuffer
93 rijndael_blockEncrypt(cipherInstance *cipher, keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer) argument
207 rijndael_padEncrypt(cipherInstance *cipher, keyInstance *key, BYTE *input, int inputOctets, BYTE *outBuffer) argument
270 rijndael_blockDecrypt(cipherInstance *cipher, keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer) argument
368 rijndael_padDecrypt(cipherInstance *cipher, keyInstance *key, BYTE *input, int inputOctets, BYTE *outBuffer) argument
460 rijndael_cipherUpdateRounds(cipherInstance *cipher, keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer, int rounds) argument
[all...]
/external/skia/src/pdf/
H A DSkDeflate.cpp41 unsigned char outBuffer[SKDEFLATEWSTREAM_OUTPUT_BUFFER_SIZE]; local
44 zStream->next_out = outBuffer;
45 zStream->avail_out = sizeof(outBuffer);
49 out->write(outBuffer, sizeof(outBuffer) - zStream->avail_out);
/external/lzma/CPP/Windows/
H A 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) const argument
81 return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize, bytesReturned);
84 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const argument
87 return DeviceIoControlOut(controlCode, outBuffer, outSize, &bytesReturned);
72 DeviceIoControl(DWORD controlCode, LPVOID inBuffer, DWORD inSize, LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped = NULL) const argument
/external/webrtc/webrtc/modules/utility/source/
H A Dfile_player_impl.cc97 int16_t* outBuffer,
166 memset(outBuffer, 0, outLen * sizeof(int16_t));
171 outBuffer,
181 outBuffer[i] = (int16_t)(outBuffer[i] * _scaling);
96 Get10msAudioFromFile( int16_t* outBuffer, size_t& lengthInSamples, int frequencyInHz) argument
/external/lzma/C/
H A D7zDec.c69 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
114 outBuffer[i] = (Byte)sym;
130 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
137 state.dic = outBuffer;
178 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain)
187 state.decoder.dic = outBuffer;
226 static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) argument
237 memcpy(outBuffer, inBuf, curSize);
238 outBuffer += curSize;
327 #define CASE_BRA_CONV(isa) case k_ ## isa: isa ## _Convert(outBuffer, outSiz
68 SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) argument
129 SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) argument
177 SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) argument
329 SzFolder_Decode2(const CSzFolder *folder, const Byte *propsData, const UInt64 *unpackSizes, const UInt64 *packPositions, ILookInStream *inStream, UInt64 startPos, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain, Byte *tempBuf[]) argument
456 SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex, ILookInStream *inStream, UInt64 startPos, Byte *outBuffer, size_t outSize, ISzAlloc *allocMain) argument
[all...]
/external/lzma/C/Util/7z/
H A D7zMain.c390 UInt32 blockIndex = 0xFFFFFFFF; /* it can have any value before first call (if outBuffer = 0) */
391 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */ local
392 size_t outBufferSize = 0; /* it can have any value before first call (if outBuffer = 0) */
467 &blockIndex, &outBuffer, &outBufferSize,
506 if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProcessed)
525 IAlloc_Free(&allocImp, outBuffer);
/external/lzma/C/Util/SfxSetup/
H A DSfxSetup.c386 UInt32 blockIndex = 0xFFFFFFFF; /* it can have any value before first call (if outBuffer = 0) */
387 Byte *outBuffer = 0; /* it must be 0 before first call for each new archive. */ local
388 size_t outBufferSize = 0; /* it can have any value before first call (if outBuffer = 0) */
409 &blockIndex, &outBuffer, &outBufferSize,
468 if (File_Write(&outFile, outBuffer + offset, &processedSize) != 0 || processedSize != outSizeProcessed)
519 IAlloc_Free(&allocImp, outBuffer);
/external/lzma/CPP/7zip/Bundles/LzmaCon/
H A DLzmaAlone.cpp360 Byte *outBuffer = 0; local
368 outBuffer = (Byte *)MyAlloc((size_t)outSize);
369 if (outBuffer == 0)
374 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize,
392 outBuffer = (Byte *)MyAlloc(outSize);
393 if (outBuffer == 0)
396 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize);
402 if (WriteStream(outStream, outBuffer, outSize) != S_OK)
404 MyFree(outBuffer);
/external/libcups/cups/
H A Dtls-sspi.c1332 SecBufferDesc outBuffer; /* Array of SecBuffer structs */ local
1371 outBuffer.cBuffers = 1;
1372 outBuffer.pBuffers = outBuffers;
1373 outBuffer.ulVersion = SECBUFFER_VERSION;
1375 scRet = InitializeSecurityContext(&sspi->creds, NULL, TEXT(""), dwSSPIFlags, 0, SECURITY_NATIVE_DREP, NULL, 0, &sspi->context, &outBuffer, &dwSSPIOutFlags, &tsExpiry);
1493 outBuffer.cBuffers = 1;
1494 outBuffer.pBuffers = outBuffers;
1495 outBuffer.ulVersion = SECBUFFER_VERSION;
1501 scRet = InitializeSecurityContext(&sspi->creds, &sspi->context, NULL, dwSSPIFlags, 0, SECURITY_NATIVE_DREP, &inBuffer, 0, NULL, &outBuffer, &dwSSPIOutFlags, &tsExpiry);
2077 SecBufferDesc outBuffer; /* Arra local
[all...]
/external/aac/libAACenc/src/
H A Daacenc_lib.cpp210 UCHAR *outBuffer; /* Internal bitstream buffer */ member in struct:AACENCODER
1137 FDKmemclear(hAacEncoder->outBuffer, hAacEncoder->outBufferInBytes*sizeof(UCHAR));
1140 if ( transportEnc_Init(hAacEncoder->hTpEnc, hAacEncoder->outBuffer, hAacEncoder->outBufferInBytes, config->userTpType, &hAacEncoder->coderConfig, flags) != 0) {
1301 hAacEncoder->outBuffer = GetRam_bsOutbuffer();
1378 if (hAacEncoder->outBuffer) {
1379 FreeRam_bsOutbuffer(&hAacEncoder->outBuffer);
1665 FDKmemcpy(outBufDesc->bufs[bsIdx], hAacEncoder->outBuffer, sizeof(UCHAR)*nBsBytes);
/external/mdnsresponder/mDNSShared/
H A DDebugServices.c2034 char * outBuffer,
2060 dst = outBuffer;
2121 if( outBuffer )
2267 if( outBuffer )
2373 // Note: The "dst - outBuffer" size calculation works even if "outBuffer" is NULL because it's all relative.
2375 return( (size_t)( dst - outBuffer ) );
2022 DebugHexDump( DebugLevel inLevel, int inIndent, const char * inLabel, size_t inLabelSize, int inLabelMinWidth, const char * inType, size_t inTypeSize, const void * inDataStart, const void * inData, size_t inDataSize, DebugFlags inFlags, char * outBuffer, size_t inBufferSize ) argument
/external/mdnsresponder/mDNSWindows/SystemService/
H A DService.c1357 int outBuffer; local
1376 outBuffer = 0;
1377 err = WSAIoctl( gInterfaceListChangedSocket, SIO_ADDRESS_LIST_CHANGE, &inBuffer, 0, &outBuffer, 0, &outSize, NULL, NULL );
1633 int outBuffer; local
1660 outBuffer = 0;
1661 err = WSAIoctl( sock, SIO_ADDRESS_LIST_CHANGE, &inBuffer, 0, &outBuffer, 0, &outSize, NULL, NULL );
/external/guice/lib/build/
H A Dspring-core.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/springframework/core/ org/springframework/core/annotation/ ...
/external/robolectric/v1/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 733 milliseconds