Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dutrace.c88 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar() argument
100 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ in outputChar()
106 outBuf[*outIx] = ' '; in outputChar()
113 outBuf[*outIx] = c; in outputChar()
124 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes() argument
129 outputChar(c, outBuf, outIx, capacity, 0); in outputHexBytes()
134 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes() argument
148 outputHexBytes(*p, 2, outBuf, outIx, capacity); in outputPtrBytes()
153 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString() argument
161 outputChar(c, outBuf, outIx, capacity, indent); in outputString()
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageWrapper.java188 byte[] outBuf = new byte[4]; in intToBigEndianIntBytes()
189 outBuf[0] = (byte)((intVal >> 24) & 0xff); in intToBigEndianIntBytes()
190 outBuf[1] = (byte)((intVal >> 16) & 0xff); in intToBigEndianIntBytes()
191 outBuf[2] = (byte)((intVal >> 8) & 0xff); in intToBigEndianIntBytes()
192 outBuf[3] = (byte)(intVal & 0xff); in intToBigEndianIntBytes()
193 return outBuf; in intToBigEndianIntBytes()
212 byte[] outBuf = new byte[2]; in intToBigEndianShortBytes()
213 outBuf[0] = (byte)((intVal >> 8) & 0xff); in intToBigEndianShortBytes()
214 outBuf[1] = (byte)(intVal & 0xff); in intToBigEndianShortBytes()
215 return outBuf; in intToBigEndianShortBytes()
[all …]
/external/lzma/C/
DLzma2Enc.c74 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() argument
91 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
117outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
118 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
119 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
120 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
127 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
146 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock()
147 outBuf[destPos++] = (Byte)(u >> 8); in Lzma2EncInt_EncodeSubblock()
148 outBuf[destPos++] = (Byte)u; in Lzma2EncInt_EncodeSubblock()
[all …]
DBcj2.c40 Byte *outBuf, SizeT outSize) in Bcj2_Decode() argument
73 outBuf[outPos++] = b; in Bcj2_Decode()
121 outBuf[outPos++] = (Byte)dest; in Bcj2_Decode()
124 outBuf[outPos++] = (Byte)(dest >> 8); in Bcj2_Decode()
127 outBuf[outPos++] = (Byte)(dest >> 16); in Bcj2_Decode()
130 outBuf[outPos++] = prevByte = (Byte)(dest >> 24); in Bcj2_Decode()
DMtCoder.c116 p->outBuf = 0; in CMtThread_Construct()
142 IAlloc_Free(p->mtCoder->alloc, p->outBuf); in CMtThread_Destruct()
143 p->outBuf = 0; in CMtThread_Destruct()
159 MY_BUF_ALLOC(p->outBuf, p->outBufSize, p->mtCoder->destBlockSize) in CMtThread_Prepare()
214 p->outBuf, &destSize, p->inBuf, size, *stop)); in MtThread_Process()
222 if (p->mtCoder->outStream->Write(p->mtCoder->outStream, p->outBuf, destSize) != destSize) in MtThread_Process()
DBcj2.h30 Byte *outBuf, SizeT outSize);
DMtCoder.h54 Byte *outBuf; member
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DConverterPerformanceTest.java206 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
213 decoder.decode(srcBuf,outBuf,false);
216 outBuf.rewind();
235 ByteBuffer outBuf = ByteBuffer.allocate(encBuffer.length);
242 encoder.encode(srcBuf,outBuf,false);
245 outBuf.rewind();
264 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
271 decoder.decode(srcBuf,outBuf,false);
274 outBuf.rewind();
293 ByteBuffer outBuf = ByteBuffer.allocate(encBuffer.length);
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPoloUtil.java112 byte[] outBuf = new byte[4]; in intToBigEndianIntBytes()
113 outBuf[0] = (byte)((intVal >> 24) & 0xff); in intToBigEndianIntBytes()
114 outBuf[1] = (byte)((intVal >> 16) & 0xff); in intToBigEndianIntBytes()
115 outBuf[2] = (byte)((intVal >> 8) & 0xff); in intToBigEndianIntBytes()
116 outBuf[3] = (byte)(intVal & 0xff); in intToBigEndianIntBytes()
117 return outBuf; in intToBigEndianIntBytes()
/external/valgrind/none/tests/x86/
Dx86locked.c137 static HChar outBuf[1024]; variable
142 assert( ((unsigned int)nbytes) < sizeof(outBuf)-1); in send()
143 assert(outBuf[nbytes] == 0); in send()
144 theCRC = crcBytes( (UChar*)&outBuf[0], nbytes, theCRC ); in send()
145 if (VERBOSE) printf("SEND %08x %s", theCRC, outBuf); in send()
263 sprintf(outBuf, \
347 sprintf(outBuf, \ in GEN_do_locked_G_E()
449 sprintf(outBuf, \
609 send( sprintf(outBuf, in do_bt_G_E_tests()
645 send( sprintf(outBuf, in do_bt_G_E_tests()
[all …]
/external/svox/pico/lib/
Dpicosig.c82 picoos_uint8 outBuf[PICOSIG_OUT_BUFF_SIZE]; /* internal output buffer */ member
583 sig_subObj->outBuf[outWritePos] in sigProcess()
585 sig_subObj->outBuf[outWritePos + 1] in sigProcess()
587 sig_subObj->outBuf[outWritePos + 2] in sigProcess()
589 sig_subObj->outBuf[outWritePos + 3] in sigProcess()
591 s_data = (picoos_int16 *) &(sig_subObj->outBuf[outWritePos + 4]); in sigProcess()
1054 &(sig_subObj->outBuf[sig_subObj->outWritePos]), in sigStep()
1126 s_data = (picoos_int16 *) &(sig_subObj->outBuf[sig_subObj->outWritePos + 4]); in sigStep()
1166 sig_subObj->outBuf[sig_subObj->outWritePos] in sigStep()
1168 sig_subObj->outBuf[sig_subObj->outWritePos + 1] in sigStep()
[all …]
Dpicotok.c248 picoos_uint8 outBuf[OUT_BUF_SIZE]; /* internal output buffer */ member
490 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
491 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
492 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
493 tok->outBuf[tok->outWritePos++] = 0; in tok_putItem()
509 tok->outBuf[tok->outWritePos++] = itemType; in tok_putItem()
510 tok->outBuf[tok->outWritePos++] = info1; in tok_putItem()
511 tok->outBuf[tok->outWritePos++] = info2; in tok_putItem()
512 tok->outBuf[tok->outWritePos++] = len; in tok_putItem()
514 tok->outBuf[tok->outWritePos++] = str[i]; in tok_putItem()
[all …]
Dpicowa.c62 picoos_uint8 outBuf[PICOWA_MAXITEMSIZE]; /* internal output buffer */ member
293 wa->outBuf, wa->outBufSize, in waProcessWordgraph()
297 if (PICO_OK != picodata_set_iteminfo1(wa->outBuf, wa->outLen, in waProcessWordgraph()
331 wa->outBuf, wa->outBufSize, in waProcessWordgraph()
341 wa->outBuf, wa->outBufSize, in waProcessWordgraph()
345 if (PICO_OK != picodata_set_iteminfo1(wa->outBuf, wa->outLen, in waProcessWordgraph()
472 wa->inLen, wa->outBuf, in waStep()
539 rv = picodata_cbPutItem(this->cbOut, wa->outBuf, in waStep()
543 (picoos_uint8 *)"wana: ", wa->outBuf, in waStep()
Dpicocep.c184 picoos_uint8 outBuf[PICODATA_MAX_ITEMSIZE]; /* internal output buffer (one item) */ member
1631 cep->outBuf, cep->outBufSize, &blen); in cepStep()
1635 cep->outBuf, PICODATA_MAX_ITEMSIZE); in cepStep()
1775 cep->headx[cep->headxBottom].head.len, cep->outBuf, in cepStep()
1807 cep->outBuf[cep->outWritePos++] = cep->framehead.type; in cepStep()
1808 cep->outBuf[cep->outWritePos++] = cep->framehead.info1; in cepStep()
1809 cep->outBuf[cep->outWritePos++] = cep->framehead.info2; in cepStep()
1810 cep->outBuf[cep->outWritePos++] = cep->framehead.len; in cepStep()
1827 (void *) &cep->outBuf[cep->outWritePos], in cepStep()
1841 (void *) &cep->outBuf[cep->outWritePos], in cepStep()
[all …]
Dpicopr.c291 picoos_uint8 outBuf[OUT_BUF_SIZE]; /* internal output buffer */ member
3361 …if (picodata_cbPutItem(this->cbOut, &pr->outBuf[pr->outReadPos], pr->outWritePos - pr->outReadPos,… in prStep()
3387 pr->outBuf[pr->outWritePos++] = PICODATA_ITEM_PUNC; in prStep()
3388 pr->outBuf[pr->outWritePos++] = info1; in prStep()
3389 pr->outBuf[pr->outWritePos++] = info2; in prStep()
3390 pr->outBuf[pr->outWritePos++] = 0; in prStep()
3392 (picoos_uint8 *)"pr: ", pr->outBuf, pr->outWritePos); in prStep()
3398 pr->outBuf[pr->outWritePos++] = PICODATA_ITEM_WORDGRAPH; in prStep()
3399 pr->outBuf[pr->outWritePos++] = PICODATA_ITEMINFO1_NA; in prStep()
3400 pr->outBuf[pr->outWritePos++] = PICODATA_ITEMINFO2_NA; in prStep()
[all …]
Dpicospho.c186 … picoos_uint8 outBuf[PICODATA_BUFSIZE_DEFAULT]; /* internal output buffer to hold just one item */ member
832 spho->outBuf, spho->outBufSize, &clen); in putSideBoundToOutput()
1121 spho->outBuf, spho->outBufSize, in sphoStep()
1493 spho->outBuf, spho->outBufSize, &clen); in sphoStep()
1581 PICODATA_BUFSIZE_DEFAULT, spho->outBuf, in sphoStep()
1600 rv = picodata_cbPutItem(this->cbOut, spho->outBuf, in sphoStep()
1605 spho->outBuf, spho->outBufSize); in sphoStep()
/external/valgrind/none/tests/amd64/
Damd64locked.c137 static HChar outBuf[1024]; variable
142 assert( ((unsigned int)nbytes) < sizeof(outBuf)-1); in send()
143 assert(outBuf[nbytes] == 0); in send()
144 theCRC = crcBytes( (UChar*)&outBuf[0], nbytes, theCRC ); in send()
145 if (VERBOSE) printf("SEND %08x %s", theCRC, outBuf); in send()
278 sprintf(outBuf, \
369 sprintf(outBuf, \ in GEN_do_locked_G_E()
485 sprintf(outBuf, \
702 send( sprintf(outBuf, in do_bt_G_E_tests()
738 send( sprintf(outBuf, in do_bt_G_E_tests()
[all …]
/external/libopus/silk/
Ddecode_frame.c107 … silk_memmove( psDec->outBuf, &psDec->outBuf[ psDec->frame_length ], mv_len * sizeof(opus_int16) ); in silk_decode_frame()
108 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()
/external/libchrome/crypto/third_party/nss/
Dsha512.cc1313 unsigned char outBuf[SHA256_LENGTH]; in test256() local
1316 SHA256_Hash(outBuf, abc); in test256()
1317 dumpHash32(outBuf, sizeof outBuf); in test256()
1320 SHA256_Hash(outBuf, abcdbc); in test256()
1321 dumpHash32(outBuf, sizeof outBuf); in test256()
1340 unsigned char outBuf[SHA512_LENGTH]; in test512() local
1343 SHA512_Hash(outBuf, abc); in test512()
1344 dumpHash64(outBuf, sizeof outBuf); in test512()
1347 SHA512_Hash(outBuf, abcdef); in test512()
1348 dumpHash64(outBuf, sizeof outBuf); in test512()
[all …]
/external/icu/icu4c/source/common/unicode/
Dutrace.h317 utrace_vformat(char *outBuf, int32_t capacity,
338 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/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/lzma/C/Util/Lzma/
DLzmaUtil.c60 Byte outBuf[OUT_BUF_SIZE]; in Decode2() local
83 res = LzmaDec_DecodeToBuf(state, outBuf + outPos, &outProcessed, in Decode2()
90 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
/external/aac/libFDK/include/
DFDK_bitbuffer.h158 void FDK_Fetch (HANDLE_FDK_BITBUF hBitBuffer, UCHAR outBuf[], UINT *writeBytes);

12