Home
last modified time | relevance | path

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

12

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/
DBase64Encoder.java59 int outPos = outOff; in encode() local
67 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
68 outBuf[outPos++] = encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3F]; in encode()
69 outBuf[outPos++] = encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3F]; in encode()
70 outBuf[outPos++] = encodingTable[a3 & 0x3F]; in encode()
79 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
80 outBuf[outPos++] = encodingTable[(a1 << 4) & 0x3F]; in encode()
81 outBuf[outPos++] = padding; in encode()
82 outBuf[outPos++] = padding; in encode()
90 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
[all …]
DHexEncoder.java54 int outPos = outOff; in encode() local
60 outBuf[outPos++] = encodingTable[b >>> 4]; in encode()
61 outBuf[outPos++] = encodingTable[b & 0xF]; in encode()
64 return outPos - outOff; in encode()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/encoders/
DBase64Encoder.java59 int outPos = outOff; in encode() local
67 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
68 outBuf[outPos++] = encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3F]; in encode()
69 outBuf[outPos++] = encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3F]; in encode()
70 outBuf[outPos++] = encodingTable[a3 & 0x3F]; in encode()
79 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
80 outBuf[outPos++] = encodingTable[(a1 << 4) & 0x3F]; in encode()
81 outBuf[outPos++] = padding; in encode()
82 outBuf[outPos++] = padding; in encode()
90 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
[all …]
DHexEncoder.java54 int outPos = outOff; in encode() local
60 outBuf[outPos++] = encodingTable[b >>> 4]; in encode()
61 outBuf[outPos++] = encodingTable[b & 0xF]; in encode()
64 return outPos - outOff; in encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java57 int outPos = outOff; in encode() local
65 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
66 outBuf[outPos++] = encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3F]; in encode()
67 outBuf[outPos++] = encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3F]; in encode()
68 outBuf[outPos++] = encodingTable[a3 & 0x3F]; in encode()
77 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
78 outBuf[outPos++] = encodingTable[(a1 << 4) & 0x3F]; in encode()
79 outBuf[outPos++] = padding; in encode()
80 outBuf[outPos++] = padding; in encode()
88 outBuf[outPos++] = encodingTable[(a1 >>> 2) & 0x3F]; in encode()
[all …]
DHexEncoder.java52 int outPos = outOff; in encode() local
58 outBuf[outPos++] = encodingTable[b >>> 4]; in encode()
59 outBuf[outPos++] = encodingTable[b & 0xF]; in encode()
62 return outPos - outOff; in encode()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_msaa.c44 GLfloat *outPos) in st_GetSamplePosition() argument
53 index, outPos); in st_GetSamplePosition()
55 outPos[0] = outPos[1] = 0.5f; in st_GetSamplePosition()
/external/deqp/framework/delibs/destream/
DdeRingbuffer.c43 deInt32 outPos; member
85 ringbuffer->outPos = 0; in deRingbuffer_create()
211 if (ringbuffer->outPos == 0) in consumerStream_read()
237 …writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read()
238 src = ringbuffer->buffer + ringbuffer->blockSize * ringbuffer->outBlock + ringbuffer->outPos; in consumerStream_read()
243 ringbuffer->outPos += writeSize; in consumerStream_read()
247 if (ringbuffer->outPos == ringbuffer->blockUsage[ringbuffer->outBlock]) in consumerStream_read()
250 ringbuffer->outPos = 0; in consumerStream_read()
/external/lzma/C/Util/Lzma/
DLzmaUtil.c62 size_t inPos = 0, inSize = 0, outPos = 0; in Decode2() local
75 SizeT outProcessed = OUT_BUF_SIZE - outPos; in Decode2()
84 res = LzmaDec_DecodeToBuf(state, outBuf + outPos, &outProcessed, in Decode2()
87 outPos += outProcessed; in Decode2()
91 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
94 outPos = 0; in Decode2()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DExperimentalSerializationUtil.java56 int outPos = 0; in toByteArray() local
65 buffer.array(), buffer.arrayOffset() + buffer.position(), out, outPos, length); in toByteArray() local
66 outPos += length; in toByteArray()
68 if (out.length != outPos) { in toByteArray()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp293 GrShaderVar* outPos) { in write_passthrough_vertex_position() argument
296 outPos->set(inPos.getType(), outName.c_str()); in write_passthrough_vertex_position()
309 GrShaderVar* outPos, in write_vertex_position() argument
315 write_passthrough_vertex_position(vertBuilder, inPos, outPos); in write_vertex_position()
343 outPos->set(kFloat3_GrSLType, outName.c_str()); in write_vertex_position()
353 outPos->set(kFloat3_GrSLType, outName.c_str()); in write_vertex_position()
373 outPos->set(kFloat2_GrSLType, outName.c_str()); in write_vertex_position()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S2ParametersGenerator.java86 int outPos = 0; in generateDerivedKey() local
101 F(salt, iterationCount, iBuf, outBytes, outPos); in generateDerivedKey()
102 outPos += hLen; in generateDerivedKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DPKCS5S2ParametersGenerator.java88 int outPos = 0; in generateDerivedKey() local
103 F(salt, iterationCount, iBuf, outBytes, outPos); in generateDerivedKey()
104 outPos += hLen; in generateDerivedKey()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/generators/
DPKCS5S2ParametersGenerator.java88 int outPos = 0; in generateDerivedKey() local
103 F(salt, iterationCount, iBuf, outBytes, outPos); in generateDerivedKey()
104 outPos += hLen; in generateDerivedKey()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DPositionMappingTest.java115 Position outPos = new Position(outPosLine, outPosColumn); in checkConvert() local
116 Position transfomedOutPos = mapping.transform(outPos); in checkConvert()
119 "Position mismatch at '" + outPart + "' " + outPos + " -> '" + inPart + "' " + inPos + "."); in checkConvert()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java328 int outPos = 0; in cleanBuffer() local
331 output[outPos] = 0; in cleanBuffer()
332 output[outPos + 1] = 0; in cleanBuffer()
334 outPos += 2; in cleanBuffer()
336 output[outPos] = data[inPos]; in cleanBuffer()
338 outPos++; in cleanBuffer()
341 return new ByteArrayInputStream(output, 0, outPos); in cleanBuffer()
/external/lz4/tests/
Dfullbench.c358 size_t outPos = 0; in local_LZ4F_decompress_followHint() local
359 size_t outRemaining = maxOutSize - outPos; in local_LZ4F_decompress_followHint()
362 …size_t const sizeHint = LZ4F_decompress(g_dCtx, dst+outPos, &outRemaining, src+inPos, &inSize, NUL… in local_LZ4F_decompress_followHint()
368 outPos += outRemaining; in local_LZ4F_decompress_followHint()
369 outRemaining = maxOutSize - outPos; in local_LZ4F_decompress_followHint()
380 return (int)outPos; in local_LZ4F_decompress_followHint()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java423 void setInitialBuffer(byte[] out, int outPos, int outAvail) { in setInitialBuffer() argument
428 pos = outPos; in setInitialBuffer()
429 readPos = outPos; in setInitialBuffer()
/external/sonic/
DSonic.java634 int outPos, in overlapAdd() argument
641 int o = outPos*numChannels + i; in overlapAdd()
660 int outPos, in overlapAddWithSeparation() argument
667 int o = outPos*numChannels + i; in overlapAddWithSeparation()
/external/lzma/C/
DXzDec.c1639 cc->outPos = 0; in XzDecMt_Callback_Parse()
1824 cc->outPos = coder->outPreSize; in XzDecMt_Callback_Parse()
2306 size_t outPos; in XzDecMt_Decode_ST() local
2353 outPos = 0; in XzDecMt_Decode_ST()
2394 outSize = p->props.outStep_ST - outPos; in XzDecMt_Decode_ST()
2411 res = XzUnpacker_Code(dec, p->outBuf + outPos, &outProcessed, in XzDecMt_Decode_ST()
2420 outPos += outProcessed; in XzDecMt_Decode_ST()
2427 if (outPos != 0) in XzDecMt_Decode_ST()
2429 size_t written = ISeqOutStream_Write(p->outStream, p->outBuf, outPos); in XzDecMt_Decode_ST()
2431 if (written != outPos) in XzDecMt_Decode_ST()
[all …]
DMtDec.h80 UInt64 outPos; // check it (size_t) member
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/
DPrimes.java597 private static void hash(Digest d, byte[] input, byte[] output, int outPos) in hash() argument
600 d.doFinal(output, outPos); in hash()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/
DPrimes.java601 private static void hash(Digest d, byte[] input, byte[] output, int outPos) in hash() argument
604 d.doFinal(output, outPos); in hash()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/
DPrimes.java601 private static void hash(Digest d, byte[] input, byte[] output, int outPos) in hash() argument
604 d.doFinal(output, outPos); in hash()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp778 SizeT outPos = 0; in DecodeBlock() local
796 SizeT outLen = unpackSize - outPos; in DecodeBlock()
819 outPos += outLen; in DecodeBlock()
827 if (packRem != 0 || !blockFinished || unpackSize != outPos) in DecodeBlock()

12