Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dubidiwrt.cpp60 UChar *dest, int32_t destSize, in doWriteForward() argument
68 if(destSize<length) { in doWriteForward()
82 if(destSize<srcLength) { in doWriteForward()
95 int32_t remaining=destSize; in doWriteForward()
110 return destSize-remaining; in doWriteForward()
115 return destSize-remaining; in doWriteForward()
119 int32_t remaining=destSize; in doWriteForward()
140 return destSize-remaining; in doWriteForward()
153 UChar *dest, int32_t destSize, in doWriteReverse() argument
186 if(destSize<srcLength) { in doWriteReverse()
[all …]
Dushape.cpp634 int32_t destSize,uint32_t options) { in calculateSize() argument
640 destSize = sourceLength; in calculateSize()
656 destSize--; in calculateSize()
662 destSize--; in calculateSize()
672 destSize++; in calculateSize()
677 return destSize; in calculateSize()
729 int32_t destSize, in handleGeneratedSpaces() argument
781 destSize = u_strlen(dest); in handleGeneratedSpaces()
801 destSize = sourceLength; in handleGeneratedSpaces()
839 destSize = sourceLength; in handleGeneratedSpaces()
[all …]
Dubiditransform.cpp85 uint32_t destSize; /* output text capacity */ member
148 ubidi_writeReordered(pTransform->pBidi, pTransform->dest, pTransform->destSize, in action_reorder()
205 pTransform->dest, pTransform->destSize, in action_reverse()
260 pTransform->srcLength, pTransform->dest, pTransform->destSize, in doShape()
311 if (pTransform->destSize < pTransform->srcLength) { in action_mirror()
440 UChar *dest, int32_t destSize, in ubiditransform_transform() argument
459 CHECK_LEN(dest, destSize, pErrorCode); in ubiditransform_transform()
485 …updateSrc(pBiDiTransform, src, srcLength, destSize > srcLength ? destSize : srcLength, pErrorCode); in ubiditransform_transform()
496 pBiDiTransform->destSize = destSize; in ubiditransform_transform()
513 if (destSize < srcLength) { in ubiditransform_transform()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp121 const gl::Extents &destSize, in setBufferToTextureCopyParams() argument
129 float texelCenterX = 0.5f / static_cast<float>(destSize.width); in setBufferToTextureCopyParams()
130 float texelCenterY = 0.5f / static_cast<float>(destSize.height); in setBufferToTextureCopyParams()
143 texelCenterX + (destArea.x / float(destSize.width)) * 2.0f - 1.0f; in setBufferToTextureCopyParams()
145 texelCenterY + ((destSize.height - destArea.y - 1) / float(destSize.height)) * 2.0f - 1.0f; in setBufferToTextureCopyParams()
146 parametersOut->PositionScale[0] = 2.0f / static_cast<float>(destSize.width); in setBufferToTextureCopyParams()
147 parametersOut->PositionScale[1] = -2.0f / static_cast<float>(destSize.height); in setBufferToTextureCopyParams()
164 gl::Extents destSize = destRenderTarget->getExtents(); in copyBufferToTexture() local
166 ASSERT(destArea.x >= 0 && destArea.x + destArea.width <= destSize.width && destArea.y >= 0 && in copyBufferToTexture()
167 destArea.y + destArea.height <= destSize.height && destArea.z >= 0 && in copyBufferToTexture()
[all …]
DBlit11.h44 const gl::Extents &destSize,
61 const gl::Extents &destSize,
70 const gl::Extents &destSize,
81 const gl::Extents &destSize,
130 const gl::Extents &destSize,
190 const gl::Extents &destSize,
201 const gl::Extents &destSize,
218 const gl::Extents &destSize,
DBlit11.cpp360 const gl::Extents &destSize, in GenerateVertexCoords() argument
370 *x1 = (destArea.x / float(destSize.width)) * 2.0f - 1.0f; in GenerateVertexCoords()
371 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f; in GenerateVertexCoords()
372 *x2 = ((destArea.x + destArea.width) / float(destSize.width)) * 2.0f - 1.0f; in GenerateVertexCoords()
373 *y2 = ((destSize.height - destArea.y) / float(destSize.height)) * 2.0f - 1.0f; in GenerateVertexCoords()
384 const gl::Extents &destSize, in Write2DVertices() argument
391 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, in Write2DVertices()
410 const gl::Extents &destSize, in Write3DVertices() argument
416 ASSERT(sourceSize.depth > 0 && destSize.depth > 0); in Write3DVertices()
419 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, in Write3DVertices()
[all …]
DPixelTransfer11.h71 const gl::Extents &destSize,
DRenderer11.cpp2372 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1); in copyImageInternal() local
2395 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2407 destArea, destSize, nullptr, gl::GetUnsizedFormat(destFormat), in copyImageInternal()
2647 gl::Extents destSize(destRenderTarget11->getWidth(), destRenderTarget11->getHeight(), in copyTexture() local
2654 sourceFormat, destRTV, destArea, destSize, nullptr, destFormat, in copyTexture()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DArabicShaping.java89 char[] dest, int destStart, int destSize) throws ArabicShapingException { in shape() argument
98 if (dest == null && destSize != 0) { in shape()
101 if ((destSize != 0) && in shape()
102 (destStart < 0 || destSize < 0 || destStart + destSize > dest.length)) { in shape()
104 ") or size (" + destSize + in shape()
132 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize); in shape()
1157 int destSize = sourceLength; in calculateSize() local
1165 --destSize; in calculateSize()
1171 --destSize; in calculateSize()
1180 destSize++; in calculateSize()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DArabicShaping.java89 char[] dest, int destStart, int destSize) throws ArabicShapingException { in shape() argument
98 if (dest == null && destSize != 0) { in shape()
101 if ((destSize != 0) && in shape()
102 (destStart < 0 || destSize < 0 || destStart + destSize > dest.length)) { in shape()
104 ") or size (" + destSize + in shape()
132 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize); in shape()
1115 int destSize = sourceLength; in calculateSize() local
1123 --destSize; in calculateSize()
1129 --destSize; in calculateSize()
1138 destSize++; in calculateSize()
[all …]
/external/guava/android/guava/src/com/google/common/escape/
DCharEscaper.java101 int destSize = dest.length; in escapeSlow() local
124 if (destSize < sizeNeeded) { in escapeSlow()
125 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); in escapeSlow()
126 dest = growBuffer(dest, destIndex, destSize); in escapeSlow()
147 if (destSize < sizeNeeded) { in escapeSlow()
/external/guava/guava/src/com/google/common/escape/
DCharEscaper.java101 int destSize = dest.length; in escapeSlow() local
124 if (destSize < sizeNeeded) { in escapeSlow()
125 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); in escapeSlow()
126 dest = growBuffer(dest, destIndex, destSize); in escapeSlow()
147 if (destSize < sizeNeeded) { in escapeSlow()
/external/angle/src/compiler/translator/
DVariablePacker.cpp106 bool searchColumn(int column, int numRows, int *destRow, int *destSize);
145 bool VariablePacker::searchColumn(int column, int numRows, int *destRow, int *destSize) in searchColumn() argument
199 if (destSize) in searchColumn()
201 *destSize = smallestGoodSize; in searchColumn()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c744 int32_t destSize = srcSize*2; in testReorder() local
757 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING,&ec); in testReorder()
760 }else if(destSize!=srcSize){ in testReorder()
761 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder()
765 destSize=ubidi_writeReordered(bidi,dest,destSize+1,UBIDI_DO_MIRRORING,&ec); in testReorder()
766 u16ToPseudo(destSize,dest,chars); in testReorder()
767 if(destSize!=srcSize){ in testReorder()
779 int32_t destSize = srcSize*2; in testReorder() local
792 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING+UBIDI_OUTPUT_REVERSE,&ec); in testReorder()
795 }else if(destSize!=srcSize){ in testReorder()
[all …]
Dcbiapts.c100 int32_t destSize; in toUChar() local
121 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct); in toUChar()
122 dest = (StringStruct *)malloc(destSize); in toUChar()
/external/icu/icu4c/source/common/unicode/
Dubiditransform.h251 UChar *dest, int32_t destSize,
Dushape.h103 UChar *dest, int32_t destSize,
Dubidi.h2148 UChar *dest, int32_t destSize,
2200 UChar *dest, int32_t destSize,
/external/icu/libandroidicu/include/unicode/
Dubiditransform.h251 UChar *dest, int32_t destSize,
Dushape.h103 UChar *dest, int32_t destSize,
Dubidi.h2148 UChar *dest, int32_t destSize,
2200 UChar *dest, int32_t destSize,
/external/lzma/C/
DLzma2Enc.c661 size_t destSize = me->outBufSize; in Lzma2Enc_MtCallback_Code() local
684 NULL, dest, &destSize, in Lzma2Enc_MtCallback_Code()
689 me->outBufsDataSizes[outBufIndex] = destSize; in Lzma2Enc_MtCallback_Code()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp854 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() local
857 if (destSize < srcSize) in performCallSlotOptzn()
878 uint64_t destSize = DL.getTypeAllocSize(StructTy); in performCallSlotOptzn() local
879 if (destSize < srcSize) in performCallSlotOptzn()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp815 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() local
818 if (destSize < srcSize) in performCallSlotOptzn()
839 uint64_t destSize = DL.getTypeAllocSize(StructTy); in performCallSlotOptzn() local
840 if (destSize < srcSize) in performCallSlotOptzn()
/external/icu/libandroidicu/static_shim/
Dshim.cpp362 …droid(const UChar * source, int32_t sourceLength, UChar * dest, int32_t destSize, uint32_t options… in u_shapeArabic_android() argument
363 return u_shapeArabic(source, sourceLength, dest, destSize, options, pErrorCode); in u_shapeArabic_android()
656 int32_t ubidi_writeReordered_android(UBiDi * pBiDi, UChar * dest, int32_t destSize, uint16_t option… in ubidi_writeReordered_android() argument
657 return ubidi_writeReordered(pBiDi, dest, destSize, options, pErrorCode); in ubidi_writeReordered_android()
659 …rse_android(const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, uint16_t options… in ubidi_writeReverse_android() argument
660 return ubidi_writeReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse_android()
668 …iTransform, const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, UBiDiLevel inPar… in ubiditransform_transform_android() argument
669 …return ubiditransform_transform(pBiDiTransform, src, srcLength, dest, destSize, inParaLevel, inOrd… in ubiditransform_transform_android()

12