Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/icu/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/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.c72 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() argument
89 outBuf + lzHeaderSize, &packSize, LZMA2_PACK_SIZE_MAX, &unpackSize); in Lzma2EncInt_EncodeSubblock()
115outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
116 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
117 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
118 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
125 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
144 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock()
145 outBuf[destPos++] = (Byte)(u >> 8); in Lzma2EncInt_EncodeSubblock()
146 outBuf[destPos++] = (Byte)u; in Lzma2EncInt_EncodeSubblock()
[all …]
DBcj2.c38 Byte *outBuf, SizeT outSize) in Bcj2_Decode() argument
71 outBuf[outPos++] = b; in Bcj2_Decode()
119 outBuf[outPos++] = (Byte)dest; in Bcj2_Decode()
122 outBuf[outPos++] = (Byte)(dest >> 8); in Bcj2_Decode()
125 outBuf[outPos++] = (Byte)(dest >> 16); in Bcj2_Decode()
128 outBuf[outPos++] = prevByte = (Byte)(dest >> 24); in Bcj2_Decode()
DMtCoder.c114 p->outBuf = 0; in CMtThread_Construct()
140 IAlloc_Free(p->mtCoder->alloc, p->outBuf); in CMtThread_Destruct()
141 p->outBuf = 0; in CMtThread_Destruct()
157 MY_BUF_ALLOC(p->outBuf, p->outBufSize, p->mtCoder->destBlockSize) in CMtThread_Prepare()
212 p->outBuf, &destSize, p->inBuf, size, *stop)); in MtThread_Process()
220 if (p->mtCoder->outStream->Write(p->mtCoder->outStream, p->outBuf, destSize) != destSize) in MtThread_Process()
/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/chromium_org/third_party/lzma_sdk/
DBcj2.c38 Byte *outBuf, SizeT outSize) in Bcj2_Decode() argument
71 outBuf[outPos++] = b; in Bcj2_Decode()
119 outBuf[outPos++] = (Byte)dest; in Bcj2_Decode()
122 outBuf[outPos++] = (Byte)(dest >> 8); in Bcj2_Decode()
125 outBuf[outPos++] = (Byte)(dest >> 16); in Bcj2_Decode()
128 outBuf[outPos++] = prevByte = (Byte)(dest >> 24); in Bcj2_Decode()
/external/valgrind/main/none/tests/x86/
Dx86locked.c125 static HChar outBuf[1024]; variable
130 assert( ((unsigned int)nbytes) < sizeof(outBuf)-1); in send()
131 assert(outBuf[nbytes] == 0); in send()
132 theCRC = crcBytes( (UChar*)&outBuf[0], nbytes, theCRC ); in send()
133 if (VERBOSE) printf("SEND %08x %s", theCRC, outBuf); in send()
251 sprintf(outBuf, \
335 sprintf(outBuf, \ in GEN_do_locked_G_E()
437 sprintf(outBuf, \
597 send( sprintf(outBuf, in do_bt_G_E_tests()
633 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 …]
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()
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 …]
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 …]
/external/valgrind/main/none/tests/amd64/
Damd64locked.c125 static HChar outBuf[1024]; variable
130 assert( ((unsigned int)nbytes) < sizeof(outBuf)-1); in send()
131 assert(outBuf[nbytes] == 0); in send()
132 theCRC = crcBytes( (UChar*)&outBuf[0], nbytes, theCRC ); in send()
133 if (VERBOSE) printf("SEND %08x %s", theCRC, outBuf); in send()
266 sprintf(outBuf, \
357 sprintf(outBuf, \ in GEN_do_locked_G_E()
473 sprintf(outBuf, \
690 send( sprintf(outBuf, in do_bt_G_E_tests()
726 send( sprintf(outBuf, in do_bt_G_E_tests()
[all …]
/external/chromium_org/third_party/opus/src/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/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/chromium_org/third_party/icu/source/i18n/
Duspoof.cpp512 static UChar * convertFromUTF8(UChar *outBuf, int32_t outBufCapacity, int32_t *outputLength, in convertFromUTF8() argument
517 UChar *dest = outBuf; in convertFromUTF8()
765 UChar *outBuf = smallOutBuf; in uspoof_getSkeletonUTF8() local
785 outBuf, USPOOF_STACK_BUFFER_SIZE, status); in uspoof_getSkeletonUTF8()
787 outBuf = static_cast<UChar *>(uprv_malloc((skelLengthInUChars+1)*sizeof(UChar))); in uspoof_getSkeletonUTF8()
788 if (outBuf == NULL) { in uspoof_getSkeletonUTF8()
794 outBuf, skelLengthInUChars+1, status); in uspoof_getSkeletonUTF8()
798 outBuf, skelLengthInUChars, status); in uspoof_getSkeletonUTF8()
804 if (outBuf != smallOutBuf) { in uspoof_getSkeletonUTF8()
805 uprv_free(outBuf); in uspoof_getSkeletonUTF8()
/external/chromium_org/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/chromium_org/third_party/icu/source/common/unicode/
Dutrace.h316 utrace_vformat(char *outBuf, int32_t capacity,
337 utrace_format(char *outBuf, int32_t capacity,
/external/icu/icu4c/source/common/unicode/
Dutrace.h317 utrace_vformat(char *outBuf, int32_t capacity,
338 utrace_format(char *outBuf, int32_t capacity,
/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/chromium_org/third_party/webrtc/modules/audio_processing/ns/
Dnsx_core_mips.c343 int *outBuf = (int*)out; in WebRtcNsx_AnalysisUpdate_mips() local
439 [outBuf] "+r" (outBuf) in WebRtcNsx_AnalysisUpdate_mips()
502 [anaBuf] "+r" (anaBuf), [outBuf] "+r" (outBuf) in WebRtcNsx_AnalysisUpdate_mips()
/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()

123