Home
last modified time | relevance | path

Searched refs:outBuf (Results 1 – 25 of 44) 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/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DGeometryBatchFactory.java25 …private static void doTransformVerts(FloatBuffer inBuf, int offset, FloatBuffer outBuf, Matrix4f t… in doTransformVerts() argument
39 outBuf.put(offset + i * 3 + 0, pos.x); in doTransformVerts()
40 outBuf.put(offset + i * 3 + 1, pos.y); in doTransformVerts()
41 outBuf.put(offset + i * 3 + 2, pos.z); in doTransformVerts()
45 …private static void doTransformNorms(FloatBuffer inBuf, int offset, FloatBuffer outBuf, Matrix4f t… in doTransformNorms() argument
59 outBuf.put(offset + i * 3 + 0, norm.x); in doTransformNorms()
60 outBuf.put(offset + i * 3 + 1, norm.y); in doTransformNorms()
61 outBuf.put(offset + i * 3 + 2, norm.z); in doTransformNorms()
65 …sformTangents(FloatBuffer inBuf, int offset, int components, FloatBuffer outBuf, Matrix4f transfor… in doTransformTangents() argument
79 outBuf.put(offset + i * components + 0, tan.x); in doTransformTangents()
[all …]
DTextureAtlas.java433 VertexBuffer outBuf = outMesh.getBuffer(Type.TexCoord); in applyCoords() local
435 if (inBuf == null || outBuf == null) { in applyCoords()
448 FloatBuffer outPos = (FloatBuffer) outBuf.getData(); in applyCoords()
531 VertexBuffer outBuf = outMesh.getBuffer(Type.TexCoord); in applyAtlasCoords() local
533 if (inBuf == null || outBuf == null) { in applyAtlasCoords()
653 public void transformTextureCoords(FloatBuffer inBuf, int offset, FloatBuffer outBuf) { in transformTextureCoords() argument
665 outBuf.put(offset + i * 2 + 0, location.x); in transformTextureCoords()
666 outBuf.put(offset + i * 2 + 1, location.y); in transformTextureCoords()
/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()
DBcj2.h32 Byte *outBuf, SizeT outSize);
/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/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DWrappedIndexBuffer.java59 IndexBuffer outBuf = IndexBuffer.createIndexBuffer(mesh.getVertexCount(), in convertToList() local
63 outBuf.put(i, inBuf.get(i)); in convertToList()
79 if (outBuf instanceof IndexIntBuffer){ in convertToList()
80 mesh.setBuffer(Type.Index, 3, (IntBuffer)outBuf.getBuffer()); in convertToList()
82 mesh.setBuffer(Type.Index, 3, (ShortBuffer)outBuf.getBuffer()); in convertToList()
/external/valgrind/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 …]
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 …]
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DScreenshotAppState.java30 private ByteBuffer outBuf; field in ScreenshotAppState
69 outBuf = BufferUtils.createByteBuffer(w*h*4); in reshape()
84 renderer.readFrameBuffer(out, outBuf); in postFrame()
85 Screenshots.convertScreenShot(outBuf, awtImage); in postFrame()
/external/valgrind/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/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/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java465 VertexBuffer outBuf = outMesh.getBuffer(VertexBuffer.Type.values()[bufType]); in mergeGeometries() local
467 if (outBuf == null) { in mergeGeometries()
485 FloatBuffer outPos = (FloatBuffer) outBuf.getData(); in mergeGeometries()
489 FloatBuffer outPos = (FloatBuffer) outBuf.getData(); in mergeGeometries()
495 inBuf.copyElements(0, outBuf, globalVertIndex, geomVertCount); in mergeGeometries()
621 … private void doCopyBuffer(FloatBuffer inBuf, int offset, FloatBuffer outBuf, int componentSize) { in doCopyBuffer() argument
634 outBuf.put(offset + i * componentSize + 0, pos.x); in doCopyBuffer()
635 outBuf.put(offset + i * componentSize + 1, pos.y); in doCopyBuffer()
636 outBuf.put(offset + i * componentSize + 2, pos.z); in doCopyBuffer()
/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/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/webrtc/src/modules/audio_processing/aecm/
Daecm_core_neon.c146 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_0) : "r"(&aecm->outBuf[i])); in InverseFFTAndWindowNeon()
165 __asm__("vst1.16 %P0, [%1, :64]" : : "w"(tmp16x4_0), "r"(&aecm->outBuf[i])); in InverseFFTAndWindowNeon()

12