Home
last modified time | relevance | path

Searched refs:srcPos (Results 1 – 16 of 16) sorted by relevance

/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DConversion.java302 public static char binaryToHexDigit(final boolean[] src, final int srcPos) { in binaryToHexDigit() argument
306 if (src.length > srcPos + 3 && src[srcPos + 3]) { in binaryToHexDigit()
307 if (src[srcPos + 2]) { in binaryToHexDigit()
308 if (src[srcPos + 1]) { in binaryToHexDigit()
309 return src[srcPos] ? 'f' : 'e'; in binaryToHexDigit()
311 return src[srcPos] ? 'd' : 'c'; in binaryToHexDigit()
313 if (src[srcPos + 1]) { in binaryToHexDigit()
314 return src[srcPos] ? 'b' : 'a'; in binaryToHexDigit()
316 return src[srcPos] ? '9' : '8'; in binaryToHexDigit()
318 if (src.length > srcPos + 2 && src[srcPos + 2]) { in binaryToHexDigit()
[all …]
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletUtils.java137 for (int srcPos = firstPercentPos; srcPos < string.length(); srcPos++) { in lenientDecode()
139 char c = string.charAt(srcPos); in lenientDecode()
144 if (c == '%' && string.length() >= srcPos + 3) { in lenientDecode()
145 String hex = string.substring(srcPos + 1, srcPos + 3); in lenientDecode()
152 srcPos += 2; in lenientDecode()
/external/libaom/av1/encoder/
Dhash_motion.c470 int srcPos = (y_pos << 1) * src_sub_block_in_width + (x_pos << 1); in av1_get_block_hash_value() local
472 assert(srcPos + 1 < AOM_BUFFER_SIZE_FOR_BLOCK_HASH); in av1_get_block_hash_value()
473 assert(srcPos + src_sub_block_in_width + 1 < in av1_get_block_hash_value()
476 to_hash[0] = buf_1[src_idx][srcPos]; in av1_get_block_hash_value()
477 to_hash[1] = buf_1[src_idx][srcPos + 1]; in av1_get_block_hash_value()
478 to_hash[2] = buf_1[src_idx][srcPos + src_sub_block_in_width]; in av1_get_block_hash_value()
479 to_hash[3] = buf_1[src_idx][srcPos + src_sub_block_in_width + 1]; in av1_get_block_hash_value()
484 to_hash[0] = buf_2[src_idx][srcPos]; in av1_get_block_hash_value()
485 to_hash[1] = buf_2[src_idx][srcPos + 1]; in av1_get_block_hash_value()
486 to_hash[2] = buf_2[src_idx][srcPos + src_sub_block_in_width]; in av1_get_block_hash_value()
[all …]
/external/lzma/C/
DLzma2Enc.c88 UInt64 srcPos; member
108 p->srcPos = 0; in Lzma2EncInt_InitBlock()
173 …outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
179 p->srcPos += u; in Lzma2EncInt_EncodeSubblock()
201 unsigned mode = (p->srcPos == 0) ? 3 : (p->needInitState ? (p->needInitProp ? 2 : 1) : 0); in Lzma2EncInt_EncodeSubblock()
217 p->srcPos += unpackSize; in Lzma2EncInt_EncodeSubblock()
607 res = Progress(progress, unpackTotal + p->srcPos, packTotal); in Lzma2Enc_EncodeMt1()
622 unpackTotal += p->srcPos; in Lzma2Enc_EncodeMt1()
626 if (p->srcPos != (inStream ? limitedInStream.processed : inSizeCur)) in Lzma2Enc_EncodeMt1()
/external/skia/src/core/
DSkGlyphRunPainter.cpp295 SkPoint srcPos = pos + drawOrigin; in drawForBitmapDevice() local
297 sourcePositions.push_back(srcPos); in drawForBitmapDevice()
299 rect.makeOffset(srcPos); in drawForBitmapDevice()
335 for (auto [glyph, srcPos] : SkMakeZip(accepted.get<0>(), sourcePositions)) { in drawForBitmapDevice()
349 srcPos + SkPoint::Make(mask.fBounds.left(), mask.fBounds.top())*invMaxScale; in drawForBitmapDevice()
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_2D_array.cpp24 size_t srcPos[] = { 0, 0, 0, 0}, dstPos[] = {0, 0, 0, 0}; in test_copy_image_2D_array() local
47 srcPos[ 3 ] = src_lod; in test_copy_image_2D_array()
50 … return test_copy_image_generic( context, queue, imageInfo, imageInfo, srcPos, dstPos, region, d ); in test_copy_image_2D_array()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp1012 const IVec3& srcPos, in copyImageData() argument
1021 const IVec3 srcTexelPos = srcPos / srcTexelBlockPixelSize; in copyImageData()
1039 DE_ASSERT((srcPos.x() % srcTexelBlockPixelSize.x()) == 0); in copyImageData()
1040 DE_ASSERT((srcPos.y() % srcTexelBlockPixelSize.y()) == 0); in copyImageData()
1041 DE_ASSERT((srcPos.z() % srcTexelBlockPixelSize.z()) == 0); in copyImageData()
1112 const IVec3& srcPos, in copyImage() argument
1116 …gl.copyImageSubData(srcName, srcImageInfo.getTarget(), srcLevel, srcPos.x(), srcPos.y(), srcPos.z(… in copyImage()
1123 srcImageData, srcImageInfo, srcLevel, srcPos, copySize); in copyImage()
2077 : srcPos (srcPos_) in Copy()
2088 IVec3 srcPos; member
[all …]
/external/guava/android/guava/src/com/google/common/net/
DInetAddresses.java1045 int srcPos = Math.max(0, addressBytes.length - numBytes); in fromBigInteger() local
1046 int copyLength = addressBytes.length - srcPos; in fromBigInteger()
1050 for (int i = 0; i < srcPos; i++) { in fromBigInteger()
1060 System.arraycopy(addressBytes, srcPos, targetCopyArray, destPos, copyLength); in fromBigInteger()
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java1045 int srcPos = Math.max(0, addressBytes.length - numBytes); in fromBigInteger() local
1046 int copyLength = addressBytes.length - srcPos; in fromBigInteger()
1050 for (int i = 0; i < srcPos; i++) { in fromBigInteger()
1060 System.arraycopy(addressBytes, srcPos, targetCopyArray, destPos, copyLength); in fromBigInteger()
/external/zstd/lib/
Dzstd.h2033 const void* src, size_t srcSize, size_t* srcPos,
2180 const void* src, size_t srcSize, size_t* srcPos);
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java824 int srcPos = srcStartRow * srcWidth + srcStartColumn; in copyBlockPart() local
827 System.arraycopy(srcBlock, srcPos, dstBlock, dstPos, length); in copyBlockPart()
828 srcPos += srcWidth; in copyBlockPart()
DBlockFieldMatrix.java798 int srcPos = srcStartRow * srcWidth + srcStartColumn; in copyBlockPart() local
801 System.arraycopy(srcBlock, srcPos, dstBlock, dstPos, length); in copyBlockPart()
802 srcPos += srcWidth; in copyBlockPart()
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java1325 abstract int write(int srcPos, byte[] code, int destPos, byte[] newcode) throws BadBytecode; in write() argument
1352 int write(int srcPos, byte[] code, int destPos, byte[] newcode) { in write() argument
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp727 …const deUint32 srcPos = tcu::dot(srcBlockPitch, UVec2(srcBlockOffset.x(), srcBlockOffset.y() + y)); in imageCopyTest() local
731 ((const deUint8*)srcData.getPlanePtr(srcPlaneNdx)) + srcPos, size); in imageCopyTest()
/external/zstd/lib/decompress/
Dzstd_decompress.c2221 const void* src, size_t srcSize, size_t* srcPos) in ZSTD_decompressStream_simpleArgs() argument
2224 ZSTD_inBuffer input = { src, srcSize, *srcPos }; in ZSTD_decompressStream_simpleArgs()
2228 *srcPos = input.pos; in ZSTD_decompressStream_simpleArgs()
/external/zstd/lib/compress/
Dzstd_compress.c5710 const void* src, size_t srcSize, size_t* srcPos, in ZSTD_compressStream2_simpleArgs() argument
5714 ZSTD_inBuffer input = { src, srcSize, *srcPos }; in ZSTD_compressStream2_simpleArgs()
5718 *srcPos = input.pos; in ZSTD_compressStream2_simpleArgs()