Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp292 const GrShaderVar& inPos, in write_passthrough_vertex_position() argument
294 SkASSERT(inPos.getType() == kFloat3_GrSLType || inPos.getType() == kFloat2_GrSLType); in write_passthrough_vertex_position()
295 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_passthrough_vertex_position()
296 outPos->set(inPos.getType(), outName.c_str()); in write_passthrough_vertex_position()
298 GrSLTypeVecLength(inPos.getType()), in write_passthrough_vertex_position()
300 inPos.getName().c_str()); in write_passthrough_vertex_position()
306 const GrShaderVar& inPos, in write_vertex_position() argument
311 SkASSERT(inPos.getType() == kFloat3_GrSLType || inPos.getType() == kFloat2_GrSLType); in write_vertex_position()
312 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_vertex_position()
315 write_passthrough_vertex_position(vertBuilder, inPos, outPos); in write_vertex_position()
[all …]
/external/deqp/executor/
DxeXMLWriter.cpp84 for (std::streamsize inPos = 0; inPos < count; inPos++) in xsputn() local
86 const char* entity = getEscapeEntity(s[inPos]); in xsputn()
91 if (inPos > numWritten) in xsputn()
93 m_dst.write(s + numWritten, inPos-numWritten); in xsputn()
101 numWritten = inPos+1; in xsputn()
/external/deqp/framework/delibs/destream/
DdeRingbuffer.c46 deInt32 inPos; member
88 ringbuffer->inPos = 0; in deRingbuffer_create()
135 if (ringbuffer->inPos == 0) in producerStream_write()
140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write()
141 dst = ringbuffer->buffer + ringbuffer->blockSize * ringbuffer->inBlock + ringbuffer->inPos; in producerStream_write()
146 ringbuffer->inPos += writeSize; in producerStream_write()
151 if (ringbuffer->inPos == ringbuffer->blockSize) in producerStream_write()
153 ringbuffer->inPos = 0; in producerStream_write()
172 if (ringbuffer->inPos == 0) in producerStream_flush()
175 ringbuffer->inPos = 0; in producerStream_flush()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/
DBase64Encoder.java57 int inPos = inOff; in encode() local
61 while (inPos < inEnd) in encode()
63 int a1 = inBuf[inPos++]; in encode()
64 int a2 = inBuf[inPos++] & 0xFF; in encode()
65 int a3 = inBuf[inPos++] & 0xFF; in encode()
73 switch (inLen - (inPos - inOff)) in encode()
77 int a1 = inBuf[inPos++] & 0xFF; in encode()
87 int a1 = inBuf[inPos++] & 0xFF; in encode()
88 int a2 = inBuf[inPos++] & 0xFF; in encode()
DHexEncoder.java52 int inPos = inOff; in encode() local
56 while (inPos < inEnd) in encode()
58 int b = inBuf[inPos++] & 0xFF; in encode()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/encoders/
DBase64Encoder.java57 int inPos = inOff; in encode() local
61 while (inPos < inEnd) in encode()
63 int a1 = inBuf[inPos++]; in encode()
64 int a2 = inBuf[inPos++] & 0xFF; in encode()
65 int a3 = inBuf[inPos++] & 0xFF; in encode()
73 switch (inLen - (inPos - inOff)) in encode()
77 int a1 = inBuf[inPos++] & 0xFF; in encode()
87 int a1 = inBuf[inPos++] & 0xFF; in encode()
88 int a2 = inBuf[inPos++] & 0xFF; in encode()
DHexEncoder.java52 int inPos = inOff; in encode() local
56 while (inPos < inEnd) in encode()
58 int b = inBuf[inPos++] & 0xFF; in encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java55 int inPos = inOff; in encode() local
59 while (inPos < inEnd) in encode()
61 int a1 = inBuf[inPos++]; in encode()
62 int a2 = inBuf[inPos++] & 0xFF; in encode()
63 int a3 = inBuf[inPos++] & 0xFF; in encode()
71 switch (inLen - (inPos - inOff)) in encode()
75 int a1 = inBuf[inPos++] & 0xFF; in encode()
85 int a1 = inBuf[inPos++] & 0xFF; in encode()
86 int a2 = inBuf[inPos++] & 0xFF; in encode()
DHexEncoder.java50 int inPos = inOff; in encode() local
54 while (inPos < inEnd) in encode()
56 int b = inBuf[inPos++] & 0xFF; in encode()
/external/lzma/C/Util/Lzma/
DLzmaUtil.c62 size_t inPos = 0, inSize = 0, outPos = 0; in Decode2() local
66 if (inPos == inSize) in Decode2()
70 inPos = 0; in Decode2()
74 SizeT inProcessed = inSize - inPos; in Decode2()
85 inBuf + inPos, &inProcessed, finishMode, &status); in Decode2()
86 inPos += inProcessed; in Decode2()
/external/lzma/C/
DLzma2DecMt.c111 size_t inPos; member
641 size_t inPos, inLim; in Lzma2Dec_Decode_ST() local
662 inPos = 0; in Lzma2Dec_Decode_ST()
680 if (inPos == inLim) in Lzma2Dec_Decode_ST()
686 inPos = 0; in Lzma2Dec_Decode_ST()
696 inPos = 0; in Lzma2Dec_Decode_ST()
727 inProcessed = inLim - inPos; in Lzma2Dec_Decode_ST()
729 … res = Lzma2Dec_DecodeToDic(dec, dicPos + size, inData + inPos, &inProcessed, finishMode, &status); in Lzma2Dec_Decode_ST()
731 inPos += inProcessed; in Lzma2Dec_Decode_ST()
1003 p->inPos = 0; in Lzma2DecMt_Init()
[all …]
DXzDec.c2175 size_t inPos; in XzDecMt_Callback_Write() local
2185 inPos = 0; in XzDecMt_Callback_Write()
2198 if (inPos == inLim) in XzDecMt_Callback_Write()
2202 inPos = 0; in XzDecMt_Callback_Write()
2211 inProcessed = inLim - inPos; in XzDecMt_Callback_Write()
2216 inData + inPos, &inProcessed, in XzDecMt_Callback_Write()
2222 inPos += inProcessed; in XzDecMt_Callback_Write()
2235 me->mtc.crossStart = inPos; in XzDecMt_Callback_Write()
2307 size_t inPos, inLim; in XzDecMt_Decode_ST() local
2350 inPos = 0; in XzDecMt_Decode_ST()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java327 int inPos = 0; in cleanBuffer() local
329 while (inPos < data.length) { in cleanBuffer()
330 if (data[inPos] == 0 && data[inPos + 1] == 0 && data[inPos + 2] == 3) { in cleanBuffer()
333 inPos += 3; in cleanBuffer()
336 output[outPos] = data[inPos]; in cleanBuffer()
337 inPos++; in cleanBuffer()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DPositionMappingTest.java114 Position inPos = new Position(inPosLine, inPosColumn); in checkConvert() local
118 assertEquals(inPos, transfomedOutPos, in checkConvert()
119 "Position mismatch at '" + outPart + "' " + outPos + " -> '" + inPart + "' " + inPos + "."); in checkConvert()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java451 void encode(byte[] in, int inPos, int inAvail) { in encode() argument
493 int b = in[inPos++]; in encode()
537 void decode(byte[] in, int inPos, int inAvail) { in decode() argument
548 byte b = in[inPos++]; in decode()
/external/lz4/tests/
Dfullbench.c356 size_t inPos = 0; in local_LZ4F_decompress_followHint() local
362 …size_t const sizeHint = LZ4F_decompress(g_dCtx, dst+outPos, &outRemaining, src+inPos, &inSize, NUL… in local_LZ4F_decompress_followHint()
365 inPos += inSize; in local_LZ4F_decompress_followHint()
375 if (inPos != totalInSize) { in local_LZ4F_decompress_followHint()
377 (unsigned)inPos, (unsigned)totalInSize); in local_LZ4F_decompress_followHint()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DSonic.java342 private short interpolate(short[] in, int inPos, int oldSampleRate, int newSampleRate) { in interpolate() argument
343 short left = in[inPos]; in interpolate()
344 short right = in[inPos + channelCount]; in interpolate()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp777 SizeT inPos = 0; in DecodeBlock() local
784 if (inPos == inSize && readRes == S_OK) in DecodeBlock()
786 inPos = 0; in DecodeBlock()
795 SizeT inLen = inSize - inPos; in DecodeBlock()
804 xzu.InBuf + inPos, &inLen, in DecodeBlock()
818 inPos += inLen; in DecodeBlock()
/external/zstd/lib/decompress/
Dzstd_decompress_internal.h144 size_t inPos; member
Dzstd_decompress.c1665 zds->lhSize = zds->inPos = zds->outStart = zds->outEnd = 0; in ZSTD_decompressStream()
1827 size_t const toLoad = neededInSize - zds->inPos; in ZSTD_decompressStream()
1835 RETURN_ERROR_IF(toLoad > zds->inBuffSize - zds->inPos, in ZSTD_decompressStream()
1838 … loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, (size_t)(iend-ip)); in ZSTD_decompressStream()
1841 zds->inPos += loadedSize; in ZSTD_decompressStream()
1845 zds->inPos = 0; /* input is consumed */ in ZSTD_decompressStream()
1912 assert(zds->inPos <= nextSrcSizeHint); in ZSTD_decompressStream()
1913 nextSrcSizeHint -= zds->inPos; /* part already loaded*/ in ZSTD_decompressStream()
/external/sonic/
DSonic.java746 int inPos, in interpolate() argument
750 short left = in[inPos*numChannels]; in interpolate()
751 short right = in[inPos*numChannels + numChannels]; in interpolate()
/external/zstd/lib/legacy/
Dzstd_v04.c3362 size_t inPos; member
3403 zbc->hPos = zbc->inPos = zbc->outStart = zbc->outEnd = zbc->dictSize = 0; in ZBUFF_decompressInit()
3499 zbc->inPos = zbc->hPos; in ZBUFF_decompressContinue()
3535 …size_t toLoad = neededInSize - zbc->inPos; /* should always be <= remaining space within inBuff … in ZBUFF_decompressContinue()
3537 …if (toLoad > zbc->inBuffSize - zbc->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFF_decompressContinue()
3538 loadedSize = ZBUFF_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip); in ZBUFF_decompressContinue()
3540 zbc->inPos += loadedSize; in ZBUFF_decompressContinue()
3547 zbc->inPos = 0; /* input is consumed */ in ZBUFF_decompressContinue()
3582 nextSrcSizeHint -= zbc->inPos; /* already loaded*/ in ZBUFF_decompressContinue()
Dzstd_v05.c3842 size_t inPos; member
3879 zbc->hPos = zbc->inPos = zbc->outStart = zbc->outEnd = 0; in ZBUFFv05_decompressInitDictionary()
3962 zbc->inPos = zbc->hPos; in ZBUFFv05_decompressContinue()
3996 …size_t toLoad = neededInSize - zbc->inPos; /* should always be <= remaining space within inBuff … in ZBUFFv05_decompressContinue()
3998 …if (toLoad > zbc->inBuffSize - zbc->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv05_decompressContinue()
3999 loadedSize = ZBUFFv05_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip); in ZBUFFv05_decompressContinue()
4001 zbc->inPos += loadedSize; in ZBUFFv05_decompressContinue()
4008 zbc->inPos = 0; /* input is consumed */ in ZBUFFv05_decompressContinue()
4040 nextSrcSizeHint -= zbc->inPos; /* already loaded*/ in ZBUFFv05_decompressContinue()
Dzstd_v06.c3958 size_t inPos; member
3995 zbd->lhSize = zbd->inPos = zbd->outStart = zbd->outEnd = 0; in ZBUFFv06_decompressInitDictionary()
4103 …size_t const toLoad = neededInSize - zbd->inPos; /* should always be <= remaining space within i… in ZBUFFv06_decompressContinue()
4105 …if (toLoad > zbd->inBuffSize - zbd->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv06_decompressContinue()
4106 loadedSize = ZBUFFv06_limitCopy(zbd->inBuff + zbd->inPos, toLoad, ip, iend-ip); in ZBUFFv06_decompressContinue()
4108 zbd->inPos += loadedSize; in ZBUFFv06_decompressContinue()
4116 zbd->inPos = 0; /* input is consumed */ in ZBUFFv06_decompressContinue()
4147 nextSrcSizeHint -= zbd->inPos; /* already loaded*/ in ZBUFFv06_decompressContinue()
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp757 int32_t inPos; member
867 ParsePosition pos(DATA[i].inPos); in TestParse()
888 …eString)"Fail: " + errMsg + " [text=" + DATA[i].text + ", pos=" + DATA[i].inPos + ", style=" + DAT… in TestParse()

12