Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/icu/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 …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/node/deps/icu-small/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp120 const gl::Extents &destSize, in setBufferToTextureCopyParams() argument
128 float texelCenterX = 0.5f / static_cast<float>(destSize.width); in setBufferToTextureCopyParams()
129 float texelCenterY = 0.5f / static_cast<float>(destSize.height); in setBufferToTextureCopyParams()
142 texelCenterX + (destArea.x / float(destSize.width)) * 2.0f - 1.0f; in setBufferToTextureCopyParams()
144 texelCenterY + ((destSize.height - destArea.y - 1) / float(destSize.height)) * 2.0f - 1.0f; in setBufferToTextureCopyParams()
145 parametersOut->PositionScale[0] = 2.0f / static_cast<float>(destSize.width); in setBufferToTextureCopyParams()
146 parametersOut->PositionScale[1] = -2.0f / static_cast<float>(destSize.height); in setBufferToTextureCopyParams()
160 gl::Extents destSize = destRenderTarget->getExtents(); in copyBufferToTexture() local
162 ASSERT(destArea.x >= 0 && destArea.x + destArea.width <= destSize.width && destArea.y >= 0 && in copyBufferToTexture()
163 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 …]
/third_party/skia/third_party/externals/angle2/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.cpp364 const gl::Extents &destSize, in GenerateVertexCoords() argument
374 *x1 = (destArea.x / float(destSize.width)) * 2.0f - 1.0f; in GenerateVertexCoords()
375 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f; in GenerateVertexCoords()
376 *x2 = ((destArea.x + destArea.width) / float(destSize.width)) * 2.0f - 1.0f; in GenerateVertexCoords()
377 *y2 = ((destSize.height - destArea.y) / float(destSize.height)) * 2.0f - 1.0f; in GenerateVertexCoords()
388 const gl::Extents &destSize, in Write2DVertices() argument
395 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, in Write2DVertices()
414 const gl::Extents &destSize, in Write3DVertices() argument
420 ASSERT(sourceSize.depth > 0 && destSize.depth > 0); in Write3DVertices()
423 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, in Write3DVertices()
[all …]
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
1109 int destSize = sourceLength; in calculateSize() local
1117 --destSize; in calculateSize()
1123 --destSize; in calculateSize()
1132 destSize++; in calculateSize()
[all …]
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/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 …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dubiditransform.h254 UChar *dest, int32_t destSize,
/third_party/node/deps/icu-small/source/common/unicode/
Dubiditransform.h254 UChar *dest, int32_t destSize,

12