/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/ |
CipherInputStream.java | 28 private byte[] inBuf; 49 inBuf = new byte[INPUT_BUF_SIZE]; 61 inBuf = new byte[INPUT_BUF_SIZE]; 79 if (available > inBuf.length) 81 available = super.read(inBuf, 0, inBuf.length); 85 available = super.read(inBuf, 0, available); 128 maxBuf = bufferedBlockCipher.processBytes(inBuf, 0, available, buf, 0); 132 streamCipher.processBytes(inBuf, 0, available, buf, 0);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
WrappedIndexBuffer.java | 58 IndexBuffer inBuf = mesh.getIndicesAsList(); 60 inBuf.size()); 62 for (int i = 0; i < inBuf.size(); i++){ 63 outBuf.put(i, inBuf.get(i));
|
/frameworks/base/media/jni/ |
android_media_AmrInputStream.cpp | 75 jbyte inBuf[BYTES_PER_FRAME]; 78 env->GetByteArrayRegion(pcm, pcmOffset, sizeof(inBuf), inBuf); 82 (int16_t *) inBuf,
|
/external/svox/pico/lib/ |
picowa.c | 58 picoos_uint8 inBuf[PICOWA_MAXITEMSIZE]; /* internal input buffer */ 60 picoos_uint16 inLen; /* length of item in inBuf, 0 for empty buf */ 292 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, 340 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, 395 * internal inBuf 401 rv = picodata_cbGetItem(this->cbIn, wa->inBuf, 436 /* process state: process item in internal inBuf and put 441 /* ensure there is an item in inBuf and it is valid */ 442 if ((wa->inLen > 0) && picodata_is_valid_item(wa->inBuf, 448 rv = picodata_get_iteminfo(wa->inBuf, wa->inLen, &ihead [all...] |
picosig.c | 74 picoos_uint8 inBuf[PICOSIG_IN_BUFF_SIZE]; /* internal input buffer */ 76 picoos_uint16 inReadPos, inWritePos; /* next pos to read/write from/to inBuf*/ 433 picoos_mem_copy((void *) &sig_subObj->inBuf[inReadPos 442 picoos_mem_copy((void *) &(sig_subObj->inBuf[inReadPos 461 picoos_mem_copy((void *) &(sig_subObj->inBuf[inReadPos 474 picoos_mem_copy((void *) &(sig_subObj->inBuf[inReadPos 495 picoos_mem_copy((void *) &(sig_subObj->inBuf[offset + i 503 if (sig_subObj->inBuf[inReadPos+ 3] > sig_subObj->inBuf[inReadPos+ 2]*2 + 8) { 506 picoos_mem_copy((void *) &(sig_subObj->inBuf[offset + sig_subObj->pdfmgc->ceporde [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 34 unsigned char inBuf[READ_SIZE]; 146 int *info=(int*)inBuf; 220 inData.Buffer = inBuf; 261 nRead = ReadFile2Buf(infile, inBuf,READ_SIZE); 263 inData.Buffer = inBuf;
|
/external/chromium_org/third_party/lzma_sdk/ |
7zDec.c | 141 Byte *inBuf = NULL; 145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); 152 res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); 191 Byte *inBuf = NULL; 195 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); 202 res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); 228 void *inBuf; 232 RINOK(inStream->Look((void *)inStream, (const void **)&inBuf, &curSize)); 235 memcpy(outBuffer, inBuf, curSize);
|
/external/lzma/C/ |
7zDec.c | 141 Byte *inBuf = NULL;
145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
152 res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
191 Byte *inBuf = NULL;
195 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
202 res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
228 void *inBuf;
232 RINOK(inStream->Look((void *)inStream, (const void **)&inBuf, &curSize));
235 memcpy(outBuffer, inBuf, curSize);
|
MtCoder.h | 56 Byte *inBuf;
|
/external/lzma/C/Util/Lzma/ |
LzmaUtil.c | 59 Byte inBuf[IN_BUF_SIZE];
68 RINOK(inStream->Read(inStream, inBuf, &inSize));
84 inBuf + inPos, &inProcessed, finishMode, &status);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
AMRWB_E_SAMPLE.c | 97 unsigned char *inBuf = InputBuf; 199 inData.Buffer = (unsigned char *)inBuf; 237 inBuf = InputBuf;
|
/build/tools/zipalign/ |
ZipFile.cpp | 748 unsigned char* inBuf = NULL; 758 inBuf = new unsigned char[kBufSize]; 760 if (inBuf == NULL || outBuf == NULL) { 805 memcpy(inBuf, data, getSize); 809 getSize = fread(inBuf, 1, kBufSize, srcFp); 821 crc = crc32(crc, inBuf, getSize); 823 zstream.next_in = inBuf; 865 delete[] inBuf; [all...] |
/external/chromium/crypto/third_party/nss/ |
sha512.cc | 400 unsigned int inBuf = ctx->sizeLo & 0x3f; 409 if (inBuf) { 410 unsigned int todo = SHA256_BLOCK_LENGTH - inBuf; 413 memcpy(B + inBuf, input, todo); 416 if (inBuf + todo == SHA256_BLOCK_LENGTH) 436 unsigned int inBuf = ctx->sizeLo & 0x3f; 437 unsigned int padLen = (inBuf < 56) ? (56 - inBuf) : (56 + 64 - inBuf); 1047 unsigned int inBuf; [all...] |
/external/chromium_org/crypto/third_party/nss/ |
sha512.cc | 400 unsigned int inBuf = ctx->sizeLo & 0x3f; 409 if (inBuf) { 410 unsigned int todo = SHA256_BLOCK_LENGTH - inBuf; 413 memcpy(B + inBuf, input, todo); 416 if (inBuf + todo == SHA256_BLOCK_LENGTH) 436 unsigned int inBuf = ctx->sizeLo & 0x3f; 437 unsigned int padLen = (inBuf < 56) ? (56 - inBuf) : (56 + 64 - inBuf); 1047 unsigned int inBuf; [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
putiltst.c | 537 const char *inBuf; 564 const char *input = STRNULL(testCases[i].inBuf); 567 result = STRNULL(findBasename(testCases[i].inBuf)); 581 const char *inBuf; 670 const char *input = STRNULL(testCases[i].inBuf); 676 result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status));
|
/external/icu4c/samples/ucnv/ |
convsamp.cpp | 292 char inBuf[BUFFERSIZE]; 323 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) ) 326 source = inBuf; 327 sourceLimit = inBuf + count; 392 char inBuf[BUFFERSIZE]; 438 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) ) 441 source = inBuf; 442 sourceLimit = inBuf + count; 873 char inBuf[BUFFERSIZE]; 911 ((count=fread(inBuf, 1, BUFFERSIZE , f)) > 0) [all...] |
/external/icu4c/test/cintltst/ |
putiltst.c | 548 const char *inBuf; 575 const char *input = STRNULL(testCases[i].inBuf); 578 result = STRNULL(findBasename(testCases[i].inBuf)); 592 const char *inBuf; 669 const char *input = STRNULL(testCases[i].inBuf); 675 result = STRNULL(findDirname(testCases[i].inBuf, toolutil_testBuf, testCases[i].outBufLen, &status));
|
/frameworks/base/tools/aapt/ |
ZipFile.cpp | 748 unsigned char* inBuf = NULL; 758 inBuf = new unsigned char[kBufSize]; 760 if (inBuf == NULL || outBuf == NULL) { 805 memcpy(inBuf, data, getSize); 809 getSize = fread(inBuf, 1, kBufSize, srcFp); 821 crc = crc32(crc, inBuf, getSize); 823 zstream.next_in = inBuf; 865 delete[] inBuf; [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
SimpleCharStream.java | 44 protected int inBuf = 0; 197 if (inBuf > 0) 199 --inBuf; 252 inBuf += amount; 295 tokenBegin = inBuf = maxNextCharInd = 0; 416 len = bufpos - tokenBegin + inBuf + 1; 420 len = bufsize - tokenBegin + bufpos + 1 + inBuf;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
SimpleCharStream.java | 44 protected int inBuf = 0; 197 if (inBuf > 0) 199 --inBuf; 252 inBuf += amount; 295 tokenBegin = inBuf = maxNextCharInd = 0; 416 len = bufpos - tokenBegin + inBuf + 1; 420 len = bufsize - tokenBegin + bufpos + 1 + inBuf;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
SimpleCharStream.java | 44 protected int inBuf = 0; 197 if (inBuf > 0) 199 --inBuf; 252 inBuf += amount; 295 tokenBegin = inBuf = maxNextCharInd = 0; 416 len = bufpos - tokenBegin + inBuf + 1; 420 len = bufsize - tokenBegin + bufpos + 1 + inBuf;
|
/external/chromium_org/third_party/icu/source/i18n/ |
uspoof.cpp | 763 UChar *inBuf = smallInBuf; 771 u_strFromUTF8(inBuf, USPOOF_STACK_BUFFER_SIZE, &lengthInUChars, 774 inBuf = static_cast<UChar *>(uprv_malloc((lengthInUChars+1)*sizeof(UChar))); 775 if (inBuf == NULL) { 780 u_strFromUTF8(inBuf, lengthInUChars+1, &lengthInUChars, 784 skelLengthInUChars = uspoof_getSkeleton(sc, type, inBuf, lengthInUChars, 793 skelLengthInUChars = uspoof_getSkeleton(sc, type, inBuf, lengthInUChars, 801 if (inBuf != smallInBuf) { 802 uprv_free(inBuf);
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
GeometryBatchFactory.java | 25 private static void doTransformVerts(FloatBuffer inBuf, int offset, FloatBuffer outBuf, Matrix4f transform) { 32 for (int i = 0; i < inBuf.capacity() / 3; i++) { 33 pos.x = inBuf.get(i * 3 + 0); 34 pos.y = inBuf.get(i * 3 + 1); 35 pos.z = inBuf.get(i * 3 + 2); 45 private static void doTransformNorms(FloatBuffer inBuf, int offset, FloatBuffer outBuf, Matrix4f transform) { 52 for (int i = 0; i < inBuf.capacity() / 3; i++) { 53 norm.x = inBuf.get(i * 3 + 0); 54 norm.y = inBuf.get(i * 3 + 1); 55 norm.z = inBuf.get(i * 3 + 2) [all...] |
TextureAtlas.java | 432 VertexBuffer inBuf = inMesh.getBuffer(Type.TexCoord); 435 if (inBuf == null || outBuf == null) { 447 FloatBuffer inPos = (FloatBuffer) inBuf.getData(); 530 VertexBuffer inBuf = inMesh.getBuffer(Type.TexCoord); 533 if (inBuf == null || outBuf == null) { 649 * @param inBuf The input texture buffer. 653 public void transformTextureCoords(FloatBuffer inBuf, int offset, FloatBuffer outBuf) { 660 for (int i = 0; i < inBuf.capacity() / 2; i++) { 661 tex.x = inBuf.get(i * 2 + 0); 662 tex.y = inBuf.get(i * 2 + 1) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
BatchNode.java | 463 VertexBuffer inBuf = inMesh.getBuffer(VertexBuffer.Type.values()[bufType]); 484 FloatBuffer inPos = (FloatBuffer) inBuf.getData(); 488 FloatBuffer inPos = (FloatBuffer) inBuf.getData(); 495 inBuf.copyElements(0, outBuf, globalVertIndex, geomVertCount); 498 // inBuf.copyElement(vert, outBuf, curGlobalVertIndex); 621 private void doCopyBuffer(FloatBuffer inBuf, int offset, FloatBuffer outBuf, int componentSize) { 629 for (int i = 0; i < inBuf.capacity() / componentSize; i++) { 630 pos.x = inBuf.get(i * componentSize + 0); 631 pos.y = inBuf.get(i * componentSize + 1); 632 pos.z = inBuf.get(i * componentSize + 2) [all...] |