/external/icu/icu4c/source/common/ |
D | ubidiwrt.cpp | 60 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 …]
|
D | ushape.cpp | 634 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 …]
|
D | ubiditransform.cpp | 85 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/ |
D | PixelTransfer11.cpp | 121 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 …]
|
D | Blit11.h | 44 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,
|
D | Blit11.cpp | 364 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 …]
|
D | PixelTransfer11.h | 71 const gl::Extents &destSize,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ArabicShaping.java | 89 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ArabicShaping.java | 89 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/guava/guava/src/com/google/common/escape/ |
D | CharEscaper.java | 101 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/android/guava/src/com/google/common/escape/ |
D | CharEscaper.java | 101 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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/bugprone-not-null-terminated-result/ |
D | not-null-terminated-result-c.h | 25 errno_t strcpy_s(char *dest, size_t destSize, const char *src); 27 errno_t strncpy_s(char *dest, size_t destSize, const char *src, size_t count); 30 errno_t memcpy_s(void *dest, size_t destSize, const void *src, size_t count); 38 errno_t memmove_s(void *dest, size_t destSize, const void *src, size_t count);
|
D | not-null-terminated-result-cxx.h | 41 errno_t wcscpy_s(wchar_t *dest, size_t destSize, const wchar_t *src); 53 errno_t wcsncpy_s(wchar_t *dest, size_t destSize, const wchar_t *src, size_t c); 56 errno_t wmemcpy_s(wchar_t *dest, size_t destSize, const wchar_t *src, size_t c); 64 errno_t wmemmove_s(void *dest, size_t destSize, const void *src, size_t count);
|
/external/angle/src/compiler/translator/ |
D | VariablePacker.cpp | 106 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/ |
D | cbiditst.c | 744 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 …]
|
/external/icu/libicu/cts_headers/unicode/ |
D | ubiditransform.h | 254 UChar *dest, int32_t destSize,
|
D | ushape.h | 103 UChar *dest, int32_t destSize,
|
D | ubidi.h | 2151 UChar *dest, int32_t destSize, 2203 UChar *dest, int32_t destSize,
|
/external/icu/icu4c/source/common/unicode/ |
D | ubiditransform.h | 254 UChar *dest, int32_t destSize,
|
D | ushape.h | 103 UChar *dest, int32_t destSize,
|
D | ubidi.h | 2151 UChar *dest, int32_t destSize, 2203 UChar *dest, int32_t destSize,
|
/external/icu/libandroidicu/include/unicode/ |
D | ubiditransform.h | 254 UChar *dest, int32_t destSize,
|
D | ushape.h | 103 UChar *dest, int32_t destSize,
|
D | ubidi.h | 2151 UChar *dest, int32_t destSize, 2203 UChar *dest, int32_t destSize,
|
/external/icu/libicu/ndk_headers/unicode/ |
D | ubidi.h | 2227 UChar *dest, int32_t destSize, 2281 UChar *dest, int32_t destSize,
|