Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DGeometryBatchFactory.java25 …private static void doTransformVerts(FloatBuffer inBuf, int offset, FloatBuffer outBuf, Matrix4f t… in doTransformVerts() argument
32 for (int i = 0; i < inBuf.capacity() / 3; i++) { in doTransformVerts()
33 pos.x = inBuf.get(i * 3 + 0); in doTransformVerts()
34 pos.y = inBuf.get(i * 3 + 1); in doTransformVerts()
35 pos.z = inBuf.get(i * 3 + 2); in doTransformVerts()
45 …private static void doTransformNorms(FloatBuffer inBuf, int offset, FloatBuffer outBuf, Matrix4f t… in doTransformNorms() argument
52 for (int i = 0; i < inBuf.capacity() / 3; i++) { in doTransformNorms()
53 norm.x = inBuf.get(i * 3 + 0); in doTransformNorms()
54 norm.y = inBuf.get(i * 3 + 1); in doTransformNorms()
55 norm.z = inBuf.get(i * 3 + 2); in doTransformNorms()
[all …]
DTextureAtlas.java432 VertexBuffer inBuf = inMesh.getBuffer(Type.TexCoord); in applyCoords() local
435 if (inBuf == null || outBuf == null) { in applyCoords()
447 FloatBuffer inPos = (FloatBuffer) inBuf.getData(); in applyCoords()
530 VertexBuffer inBuf = inMesh.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
660 for (int i = 0; i < inBuf.capacity() / 2; i++) { in transformTextureCoords()
661 tex.x = inBuf.get(i * 2 + 0); in transformTextureCoords()
662 tex.y = inBuf.get(i * 2 + 1); in transformTextureCoords()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCFBBlockCipher.java19 private byte[] inBuf; field in CFBBlockCipher
45 this.inBuf = new byte[blockSize]; in CFBBlockCipher()
130 inBuf[byteCount++] = rv; in encryptByte()
137 System.arraycopy(inBuf, 0, cfbV, cfbV.length - blockSize, blockSize); in encryptByte()
150 inBuf[byteCount] = in; in decryptByte()
158 System.arraycopy(inBuf, 0, cfbV, cfbV.length - blockSize, blockSize); in decryptByte()
264 Arrays.fill(inBuf, (byte)0); in reset()
/external/svox/pico/lib/
Dpicosig.c74 picoos_uint8 inBuf[PICOSIG_IN_BUFF_SIZE]; /* internal input buffer */ member
433 picoos_mem_copy((void *) &sig_subObj->inBuf[inReadPos in sigProcess()
442 picoos_mem_copy((void *) &(sig_subObj->inBuf[inReadPos in sigProcess()
461 picoos_mem_copy((void *) &(sig_subObj->inBuf[inReadPos in sigProcess()
474 picoos_mem_copy((void *) &(sig_subObj->inBuf[inReadPos in sigProcess()
495 picoos_mem_copy((void *) &(sig_subObj->inBuf[offset + i in sigProcess()
503 if (sig_subObj->inBuf[inReadPos+ 3] > sig_subObj->inBuf[inReadPos+ 2]*2 + 8) { in sigProcess()
506 picoos_mem_copy((void *) &(sig_subObj->inBuf[offset + sig_subObj->pdfmgc->ceporder in sigProcess()
774 &(sig_subObj->inBuf[sig_subObj->inWritePos]), in sigStep()
786 &(sig_subObj->inBuf[sig_subObj->inWritePos]), blen); in sigStep()
[all …]
Dpicowa.c58 picoos_uint8 inBuf[PICOWA_MAXITEMSIZE]; /* internal input buffer */ member
292 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph()
340 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph()
401 rv = picodata_cbGetItem(this->cbIn, wa->inBuf, in waStep()
442 if ((wa->inLen > 0) && picodata_is_valid_item(wa->inBuf, in waStep()
448 rv = picodata_get_iteminfo(wa->inBuf, wa->inLen, &ihead, in waStep()
471 rvP = picodata_copy_item(wa->inBuf, in waStep()
Dpicocep.c169 picoos_uint8 inBuf[PICODATA_MAX_ITEMSIZE]; /* internal input buffer */ member
1401 frames = get_pi_uint16(cep->inBuf, &pos); in treat_phone()
1414 indlfz = get_pi_uint16(cep->inBuf, &pos); /* lfz index */ in treat_phone()
1416 indmgc = get_pi_uint16(cep->inBuf, &pos); /* mgc index */ in treat_phone()
1439 frames = get_pi_uint16(cep->inBuf, &pos); in treat_phone()
1513 &(cep->inBuf[cep->inWritePos]), cep->inBufSize in cepStep()
1551 if (!picodata_is_valid_item(cep->inBuf + cep->inReadPos, in cepStep()
1555 cep->inBuf + cep->inReadPos, cep->inWritePos in cepStep()
1561 sResult = picodata_get_iteminfo(cep->inBuf + cep->inReadPos, in cepStep()
1629 picodata_copy_item(cep->inBuf + cep->inReadPos, in cepStep()
[all …]
Dpicopam.c155 picoos_uint8 inBuf[PICOPAM_IN_BUFF_SIZE]; /* internal input buffer */ member
2350 &(pam->inBuf[pam->inWritePos]), pam->inBufSize in pam_step()
2365 &(pam->inBuf[pam->inWritePos]), blen); in pam_step()
2373 … }PICODBG_DEBUG(("pam_step -- item is not valid, type: %d",pam->inBuf[pam->inWritePos])); in pam_step()
2393 if (is_pam_play_command(&(pam->inBuf[pam->inReadPos])) == TRUE) { in pam_step()
2395 pam->inReadPos += pam->inBuf[pam->inReadPos + 3] in pam_step()
2405 if (pam_check_immediate(this, &(pam->inBuf[pam->inReadPos]))) { in pam_step()
2410 if (pamCheckResourceLimits(this, &(pam->inBuf[pam->inReadPos]))) { in pam_step()
2417 if (pam_deal_with(&(pam->inBuf[pam->inReadPos]))) { in pam_step()
2423 if (pam_hastobe_queued(this, &(pam->inBuf[pam->inReadPos]))) { in pam_step()
[all …]
Dpicopr.c288 picoos_uint8 inBuf[IN_BUF_SIZE+PICODATA_ITEM_HEADSIZE]; /* internal input buffer */ member
3487 pr_newItem(this, pr_DynMem, &it, pr->inBuf[0], pr->inBuf[3], /*inItem*/TRUE); in prStep()
3489 it->head.type = pr->inBuf[0]; in prStep()
3490 it->head.info1 = pr->inBuf[1]; in prStep()
3491 it->head.info2 = pr->inBuf[2]; in prStep()
3492 it->head.len = pr->inBuf[3]; in prStep()
3493 for (i=0; i<pr->inBuf[3]; i++) { in prStep()
3494 it->data[i] = pr->inBuf[4+i]; in prStep()
3496 it->data[pr->inBuf[3]] = 0; in prStep()
3497 …if ((pr->inBuf[0] == PICODATA_ITEM_TOKEN) && ((pr->inBuf[1] == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)))… in prStep()
[all …]
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp292 char inBuf[BUFFERSIZE]; in convsample_05() local
323 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) ) in convsample_05()
326 source = inBuf; in convsample_05()
327 sourceLimit = inBuf + count; in convsample_05()
392 char inBuf[BUFFERSIZE]; in convsample_06() local
438 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) ) in convsample_06()
441 source = inBuf; in convsample_06()
442 sourceLimit = inBuf + count; in convsample_06()
872 char inBuf[BUFFERSIZE]; in convsample_40() local
910 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) ) in convsample_40()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DWrappedIndexBuffer.java58 IndexBuffer inBuf = mesh.getIndicesAsList(); in convertToList() local
60 inBuf.size()); in convertToList()
62 for (int i = 0; i < inBuf.size(); i++){ in convertToList()
63 outBuf.put(i, inBuf.get(i)); in convertToList()
/external/lzma/C/
D7zDec.c141 Byte *inBuf = NULL; in SzDecodeLzma() local
145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma()
152 res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma()
191 Byte *inBuf = NULL; in SzDecodeLzma2() local
195 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma2()
202 res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); in SzDecodeLzma2()
228 void *inBuf; in SzDecodeCopy() local
232 RINOK(inStream->Look((void *)inStream, (const void **)&inBuf, &curSize)); in SzDecodeCopy()
235 memcpy(outBuffer, inBuf, curSize); in SzDecodeCopy()
DMtCoder.c115 p->inBuf = 0; in CMtThread_Construct()
144 IAlloc_Free(p->mtCoder->alloc, p->inBuf); in CMtThread_Destruct()
145 p->inBuf = 0; in CMtThread_Destruct()
156 MY_BUF_ALLOC(p->inBuf, p->inBufSize, p->mtCoder->blockSize) in CMtThread_Prepare()
206 RINOK(FullRead(p->mtCoder->inStream, p->inBuf, &size)); in MtThread_Process()
212 p->outBuf, &destSize, p->inBuf, size, *stop)); in MtThread_Process()
DMtCoder.h56 Byte *inBuf; member
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java463 VertexBuffer inBuf = inMesh.getBuffer(VertexBuffer.Type.values()[bufType]); in mergeGeometries() local
484 FloatBuffer inPos = (FloatBuffer) inBuf.getData(); in mergeGeometries()
488 FloatBuffer inPos = (FloatBuffer) inBuf.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
629 for (int i = 0; i < inBuf.capacity() / componentSize; i++) { in doCopyBuffer()
630 pos.x = inBuf.get(i * componentSize + 0); in doCopyBuffer()
631 pos.y = inBuf.get(i * componentSize + 1); in doCopyBuffer()
632 pos.z = inBuf.get(i * componentSize + 2); in doCopyBuffer()
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c548 const char *inBuf; in toolutil_findBasename() member
575 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename()
578 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename()
592 const char *inBuf; in toolutil_findDirname() member
669 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findDirname()
675 …result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status… in toolutil_findDirname()
/external/lzma/C/Util/Lzma/
DLzmaUtil.c59 Byte inBuf[IN_BUF_SIZE]; in Decode2() local
68 RINOK(inStream->Read(inStream, inBuf, &inSize)); in Decode2()
84 inBuf + inPos, &inProcessed, finishMode, &status); in Decode2()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNARef.java107 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode() local
126 StringBuffer out = IDNAReference.convertToUnicode(inBuf,options); in doTestToUnicode()
164 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode() local
182 StringBuffer out = IDNAReference.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
219 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII() local
238 StringBuffer out = IDNAReference.convertToASCII(inBuf,options); in doTestToASCII()
275 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToASCII() local
293 StringBuffer out = IDNAReference.convertIDNtoASCII(inBuf,options); in doTestIDNToASCII()
DTestIDNA.java77 StringBuffer inBuf = new StringBuffer(src); in doTestToUnicode() local
96 StringBuffer out = IDNA.convertToUnicode(inBuf,options); in doTestToUnicode()
128 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToUnicode() local
146 StringBuffer out = IDNA.convertIDNToUnicode(inBuf,options); in doTestIDNToUnicode()
177 StringBuffer inBuf = new StringBuffer(src); in doTestToASCII() local
196 StringBuffer out = IDNA.convertToASCII(inBuf,options); in doTestToASCII()
227 StringBuffer inBuf = new StringBuffer(src); in doTestIDNToASCII() local
245 StringBuffer out = IDNA.convertIDNToASCII(inBuf,options); in doTestIDNToASCII()
/external/ppp/pppd/
Dmd5.h61 void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
Dmd5.c122 void MD5_Update (mdContext, inBuf, inLen) in MD5_Update() argument
124 unsigned char *inBuf;
142 mdContext->in[mdi++] = *inBuf++;
/external/icu/icu4c/source/test/iotest/
Dfiletst.c923 uint8_t inBuf[200]; in TestCodepageFlush()
946 inLen = fread(inBuf, 1, 200, myCFile); in TestCodepageFlush()
956 if(inBuf[i]==0x0E) { /* SO */ in TestCodepageFlush()
958 } else if(inBuf[i]==0x0F) { /* SI */ in TestCodepageFlush()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1818 CharBuffer inBuf = CharBuffer.allocate(in.length); in TestUTF16Bom() local
1819 inBuf.put(in); in TestUTF16Bom()
1822 inBuf.rewind(); in TestUTF16Bom()
1823 encoder.encode(inBuf, outBuf, true); in TestUTF16Bom()
2588 CharBuffer inBuf = CharBuffer.allocate(in.length); in TestUTF32BOM() local
2589 inBuf.put(in); in TestUTF32BOM()
2592 inBuf.rewind(); in TestUTF32BOM()
2593 encoder.encode(inBuf, outBuf, true); in TestUTF32BOM()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java3956 StringBuffer inBuf = new StringBuffer(testData); in run() local
3960 String in = inBuf.toString(); in run()
3967 inBuf.append(testData); in run()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.el_1.0.0.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.help.base_3.5.2.v201011171123.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...