Home
last modified time | relevance | path

Searched refs:outBuf (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/icu4c/source/common/
Dutrace.cpp93 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar() argument
105 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ in outputChar()
111 outBuf[*outIx] = ' '; in outputChar()
118 outBuf[*outIx] = c; in outputChar()
129 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes() argument
134 outputChar(c, outBuf, outIx, capacity, 0); in outputHexBytes()
139 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes() argument
153 outputHexBytes(*p, 2, outBuf, outIx, capacity); in outputPtrBytes()
158 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString() argument
166 outputChar(c, outBuf, outIx, capacity, indent); in outputString()
[all …]
/external/lzma/C/
DLzma2Enc.c129 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() argument
146 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
173outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
174 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
175 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
176 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
184 if (ISeqOutStream_Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
205 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock()
206 outBuf[destPos++] = (Byte)(u >> 8); in Lzma2EncInt_EncodeSubblock()
207 outBuf[destPos++] = (Byte)u; in Lzma2EncInt_EncodeSubblock()
[all …]
DXzDec.c408 static SRes Lzma2State_SetFromMethod(IStateCoder *p, Byte *outBuf, size_t outBufSize, ISzAllocPtr a… in Lzma2State_SetFromMethod() argument
425 if (outBuf) in Lzma2State_SetFromMethod()
428 spec->decoder.decoder.dic = outBuf; in Lzma2State_SetFromMethod()
435 static SRes Lzma2State_ResetOutBuf(IStateCoder *p, Byte *outBuf, size_t outBufSize) in Lzma2State_ResetOutBuf() argument
438 if ((spec->outBufMode && !outBuf) || (!spec->outBufMode && outBuf)) in Lzma2State_ResetOutBuf()
440 if (outBuf) in Lzma2State_ResetOutBuf()
442 spec->decoder.decoder.dic = outBuf; in Lzma2State_ResetOutBuf()
458 p->outBuf = NULL; in MixCoder_Construct()
508 static SRes MixCoder_SetFromMethod(CMixCoder *p, unsigned coderIndex, UInt64 methodId, Byte *outBuf in MixCoder_SetFromMethod() argument
514 case XZ_ID_LZMA2: return Lzma2State_SetFromMethod(sc, outBuf, outBufSize, p->alloc); in MixCoder_SetFromMethod()
[all …]
DLzma2DecMt.c61 Byte *outBuf; member
153 t->outBuf = NULL; in Lzma2DecMt_Create()
171 if (t->outBuf) in Lzma2DecMt_FreeOutBufs()
173 ISzAlloc_Free(p->allocMid, t->outBuf); in Lzma2DecMt_FreeOutBufs()
174 t->outBuf = NULL; in Lzma2DecMt_FreeOutBufs()
419 Byte *dest = t->outBuf; in Lzma2DecMt_MtCallback_PreCode()
432 t->outBuf = NULL; in Lzma2DecMt_MtCallback_PreCode()
442 t->outBuf = dest; in Lzma2DecMt_MtCallback_PreCode()
536 const Byte *data = t->outBuf; in Lzma2DecMt_MtCallback_Write()
DXzEnc.c289 Byte *outBuf; member
303 memcpy(p->outBuf + (size_t)p->processed, data, size); in SeqSizeOutStream_Write()
768 seqSizeOutStream.outBuf = outBufData; in Xz_CompressBlock()
815 Byte *outBuf = NULL; in Xz_CompressBlock() local
828 outBuf = seqSizeOutStream.outBuf; // + (size_t)seqSizeOutStream.processed; in Xz_CompressBlock()
833 outBuf ? NULL : &seqSizeOutStream.vt, in Xz_CompressBlock()
834 outBuf, in Xz_CompressBlock()
835 outBuf ? &outSize : NULL, in Xz_CompressBlock()
851 if (outBuf) in Xz_CompressBlock()
874 seqSizeOutStream.outBuf = outBufHeader; in Xz_CompressBlock()
DXz.h186 Byte *outBuf; member
249 Byte *outBuf; member
260 void XzUnpacker_SetOutBuf(CXzUnpacker *p, Byte *outBuf, size_t outBufSize);
DLzma2Enc.h48 Byte *outBuf, size_t *outBufSize,
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsChannelCrypter.java59 public void encrypt(ByteBuf outBuf, List<ByteBuf> plainBufs) throws GeneralSecurityException { in encrypt() argument
60 checkArgument(outBuf.nioBufferCount() == 1); in encrypt()
62 ByteBuf plainBuf = outBuf.slice(outBuf.writerIndex(), outBuf.writableBytes()); in encrypt()
68 verify(outBuf.writableBytes() == plainBuf.readableBytes() + TAG_LENGTH); in encrypt()
69 ByteBuffer out = outBuf.internalNioBuffer(outBuf.writerIndex(), outBuf.writableBytes()); in encrypt()
77 outBuf.writerIndex(outBuf.writerIndex() + bytesWritten); in encrypt()
78 verify(!outBuf.isWritable()); in encrypt()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DConverterPerformanceTest.java208 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
215 decoder.decode(srcBuf,outBuf,false);
218 outBuf.rewind();
237 ByteBuffer outBuf = ByteBuffer.allocate(encBuffer.length);
244 encoder.encode(srcBuf,outBuf,false);
247 outBuf.rewind();
266 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
273 decoder.decode(srcBuf,outBuf,false);
276 outBuf.rewind();
295 ByteBuffer outBuf = ByteBuffer.allocate(encBuffer.length);
[all …]
/external/epid-sdk/example/util/src/
Dstrutil.c27 int vsnprintf(char* outBuf, size_t size, const char* format, va_list ap) { in vsnprintf() argument
31 count = _vsnprintf_s(outBuf, size, _TRUNCATE, format, ap); in vsnprintf()
43 int snprintf(char* outBuf, size_t size, const char* format, ...) { in snprintf() argument
48 count = vsnprintf(outBuf, size, format, ap); in snprintf()
/external/deqp-deps/glslang/Test/
Dspv.multiStruct.comp17 } outBuf;
42 outBuf.b = t;
44 outBuf.b = t;
/external/boringssl/src/util/
Dall_tests.go170 var outBuf bytes.Buffer
171 cmd.Stdout = &outBuf
172 cmd.Stderr = &outBuf
191 fmt.Print(string(outBuf.Bytes()))
195 fmt.Print(string(outBuf.Bytes()))
200 stdout := bytes.Replace(outBuf.Bytes(), []byte("\r\n"), []byte("\n"), -1)
214 fmt.Print(string(outBuf.Bytes()))
/external/deqp-deps/glslang/Test/baseResults/
Dspv.multiStruct.comp.out25 Name 41 "outBuf"
57 Decorate 41(outBuf) DescriptorSet 0
58 Decorate 41(outBuf) Binding 1
105 41(outBuf): 40(ptr) Variable Uniform
154 43: 22(ptr) AccessChain 41(outBuf) 21
182 75: 22(ptr) AccessChain 41(outBuf) 21
/external/libopus/silk/
Ddecode_frame.c109 … silk_memmove( psDec->outBuf, &psDec->outBuf[ psDec->frame_length ], mv_len * sizeof(opus_int16) ); in silk_decode_frame()
110 silk_memcpy( &psDec->outBuf[ mv_len ], pOut, psDec->frame_length * sizeof( opus_int16 ) ); in silk_decode_frame()
Ddecoder_set_fs.c95 silk_memset( psDec->outBuf, 0, sizeof(psDec->outBuf)); in silk_decoder_set_fs()
Ddecode_core.c147 …silk_memcpy( &psDec->outBuf[ psDec->ltp_mem_length ], xq, 2 * psDec->subfr_length * sizeof( opus_i… in silk_decode_core()
150 …silk_LPC_analysis_filter( &sLTP[ start_idx ], &psDec->outBuf[ start_idx + k * psDec->subfr_length … in silk_decode_core()
/external/epid-sdk/example/util/
Dstrutil.h29 int vsnprintf(char* outBuf, size_t size, const char* format, va_list ap);
30 int snprintf(char* outBuf, size_t size, const char* format, ...);
/external/icu/libandroidicu/include/unicode/
Dutrace.h337 utrace_vformat(char *outBuf, int32_t capacity,
358 utrace_format(char *outBuf, int32_t capacity,
/external/icu/icu4c/source/common/unicode/
Dutrace.h337 utrace_vformat(char *outBuf, int32_t capacity,
358 utrace_format(char *outBuf, int32_t capacity,
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_mips.c338 int *outBuf = (int*)out; in WebRtcNsx_AnalysisUpdate_mips() local
433 [outBuf] "+r" (outBuf) in WebRtcNsx_AnalysisUpdate_mips()
496 [anaBuf] "+r" (anaBuf), [outBuf] "+r" (outBuf) in WebRtcNsx_AnalysisUpdate_mips()
/external/lzma/C/Util/Lzma/
DLzmaUtil.c61 Byte outBuf[OUT_BUF_SIZE]; in Decode2() local
84 res = LzmaDec_DecodeToBuf(state, outBuf + outPos, &outProcessed, in Decode2()
91 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DFileDeferredOutputStream.java29 byte[] outBuf = output.getBuffer(); in writeTo()
41 dest.write(outBuf, 0, count); in writeTo()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothSocketConnFacade.java507 byte[] outBuf = new byte[bufferSize]; in bluetoothConnectionThroughputSend()
511 outBuf[i++] = mTxPktIndex; in bluetoothConnectionThroughputSend()
513 outBuf[i] = outChar; in bluetoothConnectionThroughputSend()
521 outBuf[0] = mTxPktIndex++; in bluetoothConnectionThroughputSend()
522 conn.write(outBuf); in bluetoothConnectionThroughputSend()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1860 ByteBuffer outBuf = ByteBuffer.allocate(in.length*2+2); in TestUTF16Bom() local
1862 encoder.encode(inBuf, outBuf, true); in TestUTF16Bom()
1863 outBuf.rewind(); in TestUTF16Bom()
1864 if(outBuf.get(0)!= (byte)0xFE && outBuf.get(1)!= (byte)0xFF){ in TestUTF16Bom()
1865 errln("The UTF16 encoder did not appended bom. Length returned: " + outBuf.remaining()); in TestUTF16Bom()
1867 while(outBuf.hasRemaining()){ in TestUTF16Bom()
1868 logln("0x"+hex(outBuf.get())); in TestUTF16Bom()
1871 outBuf.rewind(); in TestUTF16Bom()
1873 CoderResult cr = decoder.decode(outBuf, rt, true); in TestUTF16Bom()
1880 outBuf.rewind(); in TestUTF16Bom()
[all …]
/external/aac/libFDK/include/
DFDK_bitbuffer.h171 void FDK_Fetch(HANDLE_FDK_BITBUF hBitBuffer, UCHAR outBuf[], UINT *writeBytes);

12