/external/lzma/CS/7zip/Common/ |
OutBuffer.cs | 0 // OutBuffer.cs
5 public class OutBuffer
13 public OutBuffer(uint bufferSize)
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-api-fst.c | 94 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 += 16 [all...] |
rijndael-api-fst.h | 89 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);
|
/frameworks/av/media/libstagefright/filters/ |
ZeroFilter.cpp | 41 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) { 45 uint32_t* dest = (uint32_t*)outBuffer->data(); 50 memcpy(outBuffer->data(), srcBuffer->data(), srcBuffer->size()); 52 outBuffer->setRange(0, srcBuffer->size());
|
/external/lzma/C/ |
7z.h | 115 Byte *outBuffer, size_t outSize,
121 *outBuffer must be 0 before first call for each new archive.
127 *outBuffer,
129 You can consider "*outBuffer" as cache of solid block. If your archive is solid,
133 (blockIndex, outBuffer, outBufferSize) as static in that external function.
135 Free *outBuffer and set *outBuffer to 0, if you want to flush cache.
192 Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
194 size_t *offset, /* offset of stream for required file in *outBuffer */
195 size_t *outSizeProcessed, /* size of file in *outBuffer */
[all...] |
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderAVC.h | 38 virtual Encode_Status getExtFormatOutput(VideoEncOutputBuffer *outBuffer); 45 Encode_Status outputCodecData(VideoEncOutputBuffer *outBuffer); 46 Encode_Status outputOneNALU(VideoEncOutputBuffer *outBuffer, bool startCode); 47 Encode_Status outputLengthPrefixed(VideoEncOutputBuffer *outBuffer); 48 Encode_Status outputNaluLengthsPrefixed(VideoEncOutputBuffer *outBuffer);
|
VideoEncoderMP4.cpp | 62 VideoEncOutputBuffer *outBuffer) { 71 outBuffer->dataSize = 0; 76 if (headerSize <= outBuffer->bufferSize) { 77 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, headerSize); 80 outBuffer->dataSize = headerSize; 81 outBuffer->remainingSize = 0; 82 outBuffer->flag |= ENCODE_BUFFERFLAG_ENDOFFRAME; 83 outBuffer->flag |= ENCODE_BUFFERFLAG_CODECCONFIG; 84 outBuffer->flag |= ENCODE_BUFFERFLAG_SYNCFRAME; 87 outBuffer->dataSize = 0 [all...] |
VideoEncoderMP4.h | 30 // Encode_Status getOutput(VideoEncOutputBuffer *outBuffer); 46 virtual Encode_Status getExtFormatOutput(VideoEncOutputBuffer *outBuffer); 52 Encode_Status outputConfigData(VideoEncOutputBuffer *outBuffer);
|
PVSoftMPEG4Encoder.cpp | 452 Encode_Status PVSoftMPEG4Encoder::getOutput(VideoEncOutputBuffer *outBuffer, uint32_t timeout) 457 uint8_t *outPtr = outBuffer->data; 458 int32_t dataLength = outBuffer->bufferSize; 459 outBuffer->flag = 0; 462 (outBuffer->format == OUTPUT_CODEC_DATA)) { 465 outBuffer->flag |= ENCODE_BUFFERFLAG_CODECCONFIG; 466 outBuffer->flag |= ENCODE_BUFFERFLAG_ENDOFFRAME; 467 outBuffer->flag |= ENCODE_BUFFERFLAG_SYNCFRAME; 468 outBuffer->dataSize = mVolHeaderLength; 469 outBuffer->remainingSize = 0 [all...] |
VideoEncoderAVC.cpp | 303 Encode_Status VideoEncoderAVC::getExtFormatOutput(VideoEncOutputBuffer *outBuffer) { 309 switch (outBuffer->format) { 312 ret = outputCodecData(outBuffer); 319 ret = outputOneNALU(outBuffer, true); 325 ret = outputOneNALU(outBuffer, false); 332 ret = outputLengthPrefixed(outBuffer); 339 ret = outputNaluLengthsPrefixed(outBuffer); 350 LOG_V("out size is = %d\n", outBuffer->dataSize); 498 VideoEncOutputBuffer *outBuffer) { 507 outBuffer->dataSize = 0 [all...] |
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/ |
PartiallyCompressingOutputStreamTest.java | 39 private ByteArrayOutputStream outBuffer; 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.toByteArray()) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 44 CharBuffer outBuffer = CharBuffer.allocate(arr.length); 46 CoderResult coderResult = decoder.decode(inBuffer, outBuffer, true); 48 decoder.flush(outBuffer); 49 outBuffer.flip(); 50 assertEquals("Android", outBuffer.toString().trim()); 60 CharBuffer outBuffer = CharBuffer.allocate(arr.length - offset); 62 CoderResult coderResult = decoder.decode(inBuffer, outBuffer, true); 64 decoder.flush(outBuffer); 65 outBuffer.flip(); 66 assertEquals("Android", outBuffer.toString().trim()) [all...] |
/external/libjpeg-turbo/ |
jdatadst-tj.c | 39 unsigned char ** outbuffer; /* target buffer */ member in struct:__anon15213 132 if(dest->alloc) *dest->outbuffer = dest->buffer; 150 unsigned char ** outbuffer, unsigned long * outsize, 156 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 175 if (dest->buffer == *outbuffer && *outbuffer != NULL && alloc) 177 dest->outbuffer = outbuffer; 181 if (*outbuffer == NULL || *outsize == 0) { 184 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE) [all...] |
jdatadst.c | 51 unsigned char ** outbuffer; /* target buffer */ member in struct:__anon15215 193 *dest->outbuffer = dest->buffer; 244 unsigned char ** outbuffer, unsigned long * outsize) 248 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 264 dest->outbuffer = outbuffer; 268 if (*outbuffer == NULL || *outsize == 0) { 270 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE); 276 dest->pub.next_output_byte = dest->buffer = *outbuffer;
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
PartiallyUncompressingPipeTest.java | 35 private ByteArrayOutputStream outBuffer; 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());
|
/frameworks/native/libs/gui/tests/ |
SRGB_test.cpp | 309 ANativeWindow_Buffer outBuffer; 312 mOutputSurface->lock(&outBuffer, &inOutDirtyBounds); 313 uint8_t* bytePointer = reinterpret_cast<uint8_t*>(outBuffer.bits); 314 for (int y = 0; y < outBuffer.height; ++y) { 315 int rowOffset = y * outBuffer.stride; // pixels 316 for (int x = 0; x < outBuffer.width; ++x) { 333 ANativeWindow_Buffer outBuffer; 335 mOutputSurface->lock(&outBuffer, &outBufferBounds); 336 ASSERT_EQ(mLockedBuffer.width, static_cast<uint32_t>(outBuffer.width)); 337 ASSERT_EQ(mLockedBuffer.height, static_cast<uint32_t>(outBuffer.height)) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
StatisticalSummaryValues.java | 172 StringBuilder outBuffer = new StringBuilder(); 174 outBuffer.append("StatisticalSummaryValues:").append(endl); 175 outBuffer.append("n: ").append(getN()).append(endl); 176 outBuffer.append("min: ").append(getMin()).append(endl); 177 outBuffer.append("max: ").append(getMax()).append(endl); 178 outBuffer.append("mean: ").append(getMean()).append(endl); 179 outBuffer.append("std dev: ").append(getStandardDeviation()) 181 outBuffer.append("variance: ").append(getVariance()).append(endl); 182 outBuffer.append("sum: ").append(getSum()).append(endl); 183 return outBuffer.toString() [all...] |
/external/lzma/CPP/Windows/ |
FileIO.h | 73 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
81 return DeviceIoControl(controlCode, NULL, 0, outBuffer, outSize, bytesReturned);
84 bool DeviceIoControlOut(DWORD controlCode, LPVOID outBuffer, DWORD outSize) const
87 return DeviceIoControlOut(controlCode, outBuffer, outSize, &bytesReturned);
|
/frameworks/base/tools/aapt2/util/ |
BigBuffer.cpp | 29 void* outBuffer = block.buffer.get() + block.size; 32 return outBuffer;
|
/external/skia/src/pdf/ |
SkDeflate.cpp | 45 unsigned char outBuffer[SKDEFLATEWSTREAM_OUTPUT_BUFFER_SIZE]; 48 zStream->next_out = outBuffer; 49 zStream->avail_out = sizeof(outBuffer); 53 out->write(outBuffer, sizeof(outBuffer) - zStream->avail_out);
|
/frameworks/av/cmds/stagefright/ |
sf2.cpp | 450 sp<ABuffer> outBuffer; 451 CHECK(msg->findBuffer("buffer", &outBuffer)); 454 outBuffer = mCSD.editItemAt(mCSDIndex++); 455 outBuffer->meta()->setInt64("timeUs", 0); 457 size_t sizeLeft = outBuffer->capacity(); 458 outBuffer->setRange(0, 0); 492 if (outBuffer->size() == 0) { 496 CHECK_GT(outBuffer->size(), 0u); 504 if (outBuffer->size() == 0) { 508 outBuffer->meta()->setInt64("timeUs", timeUs) [all...] |
/external/apache-http/src/org/apache/http/impl/entity/ |
EntitySerializer.java | 76 final SessionOutputBuffer outbuffer, 80 return new ChunkedOutputStream(outbuffer); 82 return new IdentityOutputStream(outbuffer); 84 return new ContentLengthOutputStream(outbuffer, len); 89 final SessionOutputBuffer outbuffer, 92 if (outbuffer == null) { 101 OutputStream outstream = doSerialize(outbuffer, message);
|
/external/apache-http/src/org/apache/http/impl/ |
AbstractHttpClientConnection.java | 78 private SessionOutputBuffer outbuffer = null; field in class:AbstractHttpClientConnection 122 final SessionOutputBuffer outbuffer, 127 if (outbuffer == null) { 131 this.outbuffer = outbuffer; 137 outbuffer, params); 140 outbuffer.getMetrics()); 168 this.outbuffer, 174 this.outbuffer.flush();
|
AbstractHttpServerConnection.java | 77 private SessionOutputBuffer outbuffer = null; field in class:AbstractHttpServerConnection 122 final SessionOutputBuffer outbuffer, 127 if (outbuffer == null) { 131 this.outbuffer = outbuffer; 137 outbuffer, params); 140 outbuffer.getMetrics()); 162 this.outbuffer.flush(); 188 this.outbuffer,
|
/external/opencv3/3rdparty/libjpeg/ |
jdatadst.c | 48 unsigned char ** outbuffer; /* target buffer */ member in struct:__anon20332 184 *dest->outbuffer = dest->buffer; 236 unsigned char ** outbuffer, unsigned long * outsize) 240 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 256 dest->outbuffer = outbuffer; 260 if (*outbuffer == NULL || *outsize == 0) { 262 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE); 268 dest->pub.next_output_byte = dest->buffer = *outbuffer;
|