Home
last modified time | relevance | path

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

/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/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/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/guava/guava/src/com/google/common/escape/
DCharEscaper.java86 int destSize = dest.length; in escapeSlow() local
107 if (destSize < sizeNeeded) { in escapeSlow()
108 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); in escapeSlow()
109 dest = growBuffer(dest, destIndex, destSize); in escapeSlow()
130 if (destSize < sizeNeeded) { in escapeSlow()
/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.c94 int32_t destSize; in toUChar() local
115 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct); in toUChar()
116 dest = (StringStruct *)malloc(destSize); in toUChar()
/external/icu/libandroidicu/include/unicode/
Dubiditransform.h251 UChar *dest, int32_t destSize,
Dubidi.h2148 UChar *dest, int32_t destSize,
2200 UChar *dest, int32_t destSize,
Dushape.h103 UChar *dest, int32_t destSize,
/external/icu/icu4c/source/common/unicode/
Dubiditransform.h251 UChar *dest, int32_t destSize,
Dubidi.h2148 UChar *dest, int32_t destSize,
2200 UChar *dest, int32_t destSize,
Dushape.h103 UChar *dest, int32_t destSize,
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp608 uint64_t destSize = TD->getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() local
611 if (destSize < srcSize) in performCallSlotOptzn()
620 uint64_t destSize = TD->getTypeAllocSize(StructTy); in performCallSlotOptzn() local
622 if (destSize < srcSize) in performCallSlotOptzn()
/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()
DXzDec.c1691 size_t destSize = (size_t)0 - 1; in XzDecMt_Callback_Parse() local
1699 NULL, &destSize, in XzDecMt_Callback_Parse()
/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.cpp352 …droid(const UChar * source, int32_t sourceLength, UChar * dest, int32_t destSize, uint32_t options… in u_shapeArabic_android() argument
353 return u_shapeArabic(source, sourceLength, dest, destSize, options, pErrorCode); in u_shapeArabic_android()
646 int32_t ubidi_writeReordered_android(UBiDi * pBiDi, UChar * dest, int32_t destSize, uint16_t option… in ubidi_writeReordered_android() argument
647 return ubidi_writeReordered(pBiDi, dest, destSize, options, pErrorCode); in ubidi_writeReordered_android()
649 …rse_android(const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, uint16_t options… in ubidi_writeReverse_android() argument
650 return ubidi_writeReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse_android()
658 …iTransform, const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, UBiDiLevel inPar… in ubiditransform_transform_android() argument
659 …return ubiditransform_transform(pBiDiTransform, src, srcLength, dest, destSize, inParaLevel, inOrd… in ubiditransform_transform_android()