/third_party/icu/icu4c/source/common/ |
D | punycode.cpp | 190 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local 207 srcCPCount=destLength=0; in u_strToPunycode() 221 if(destLength<destCapacity) { in u_strToPunycode() 222 dest[destLength]= in u_strToPunycode() 227 ++destLength; in u_strToPunycode() 254 if(destLength<destCapacity) { in u_strToPunycode() 255 dest[destLength]= in u_strToPunycode() 260 ++destLength; in u_strToPunycode() 279 basicLength=destLength; in u_strToPunycode() 281 if(destLength<destCapacity) { in u_strToPunycode() [all …]
|
D | ushape.cpp | 1426 int32_t destLength; in u_shapeArabic() local 1603 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars); in u_shapeArabic() 1606 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars); in u_shapeArabic() 1610 … destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode); in u_shapeArabic() 1616 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars); in u_shapeArabic() 1621 … destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars); in u_shapeArabic() 1625 destLength = 0; in u_shapeArabic() 1637 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr); in u_shapeArabic() 1638 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr); in u_shapeArabic() 1640 u_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)); in u_shapeArabic() [all …]
|
D | unistr_cnv.cpp | 182 int32_t destLength; in extract() local 184 destLength = length; in extract() 186 destLength = capacity; in extract() 188 u_UCharsToChars(getArrayStart() + start, target, destLength); in extract()
|
D | ubidiwrt.cpp | 313 int32_t destLength; in ubidi_writeReverse() local 340 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse() 343 destLength=0; in ubidi_writeReverse() 346 return u_terminateUChars(dest, destSize, destLength, pErrorCode); in ubidi_writeReverse()
|
/third_party/node/deps/icu-small/source/common/ |
D | punycode.cpp | 188 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local 209 srcCPCount=destLength=0; in u_strToPunycode() 222 if(destLength<destCapacity) { in u_strToPunycode() 223 dest[destLength]= in u_strToPunycode() 228 ++destLength; in u_strToPunycode() 250 if(destLength<destCapacity) { in u_strToPunycode() 251 dest[destLength]= in u_strToPunycode() 256 ++destLength; in u_strToPunycode() 275 basicLength=destLength; in u_strToPunycode() 277 if(destLength<destCapacity) { in u_strToPunycode() [all …]
|
D | ushape.cpp | 1426 int32_t destLength; in u_shapeArabic() local 1603 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars); in u_shapeArabic() 1606 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars); in u_shapeArabic() 1610 … destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode); in u_shapeArabic() 1616 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars); in u_shapeArabic() 1621 … destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars); in u_shapeArabic() 1625 destLength = 0; in u_shapeArabic() 1637 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr); in u_shapeArabic() 1638 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr); in u_shapeArabic() 1640 u_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)); in u_shapeArabic() [all …]
|
D | unistr_cnv.cpp | 182 int32_t destLength; in extract() local 184 destLength = length; in extract() 186 destLength = capacity; in extract() 188 u_UCharsToChars(getArrayStart() + start, target, destLength); in extract()
|
D | ubidiwrt.cpp | 313 int32_t destLength; in ubidi_writeReverse() local 340 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse() 343 destLength=0; in ubidi_writeReverse() 346 return u_terminateUChars(dest, destSize, destLength, pErrorCode); in ubidi_writeReverse()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | punycode.cpp | 188 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local 209 srcCPCount=destLength=0; in u_strToPunycode() 222 if(destLength<destCapacity) { in u_strToPunycode() 223 dest[destLength]= in u_strToPunycode() 228 ++destLength; in u_strToPunycode() 250 if(destLength<destCapacity) { in u_strToPunycode() 251 dest[destLength]= in u_strToPunycode() 256 ++destLength; in u_strToPunycode() 275 basicLength=destLength; in u_strToPunycode() 277 if(destLength<destCapacity) { in u_strToPunycode() [all …]
|
D | ushape.cpp | 1426 int32_t destLength; in u_shapeArabic() local 1603 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars); in u_shapeArabic() 1606 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars); in u_shapeArabic() 1610 … destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode); in u_shapeArabic() 1616 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars); in u_shapeArabic() 1621 … destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars); in u_shapeArabic() 1625 destLength = 0; in u_shapeArabic() 1637 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr); in u_shapeArabic() 1638 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr); in u_shapeArabic() 1640 u_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)); in u_shapeArabic() [all …]
|
D | unistr_cnv.cpp | 182 int32_t destLength; in extract() local 184 destLength = length; in extract() 186 destLength = capacity; in extract() 188 u_UCharsToChars(getArrayStart() + start, target, destLength); in extract()
|
D | ubidiwrt.cpp | 313 int32_t destLength; in ubidi_writeReverse() local 340 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse() 343 destLength=0; in ubidi_writeReverse() 346 return u_terminateUChars(dest, destSize, destLength, pErrorCode); in ubidi_writeReverse()
|
D | ubiditransform.cpp | 446 uint32_t destLength = 0; in ubiditransform_transform() local 497 pBiDiTransform->pDestLength = &destLength; in ubiditransform_transform() 517 destLength = srcLength; in ubiditransform_transform() 529 return U_FAILURE(*pErrorCode) ? 0 : destLength; in ubiditransform_transform()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | punycode.cpp | 190 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local 207 srcCPCount=destLength=0; in u_strToPunycode() 221 if(destLength<destCapacity) { in u_strToPunycode() 222 dest[destLength]= in u_strToPunycode() 227 ++destLength; in u_strToPunycode() 254 if(destLength<destCapacity) { in u_strToPunycode() 255 dest[destLength]= in u_strToPunycode() 260 ++destLength; in u_strToPunycode() 279 basicLength=destLength; in u_strToPunycode() 281 if(destLength<destCapacity) { in u_strToPunycode() [all …]
|
D | ushape.cpp | 1426 int32_t destLength; in u_shapeArabic() local 1603 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars); in u_shapeArabic() 1606 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars); in u_shapeArabic() 1610 … destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode); in u_shapeArabic() 1616 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars); in u_shapeArabic() 1621 … destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars); in u_shapeArabic() 1625 destLength = 0; in u_shapeArabic() 1637 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr); in u_shapeArabic() 1638 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr); in u_shapeArabic() 1640 u_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)); in u_shapeArabic() [all …]
|
D | unistr_cnv.cpp | 182 int32_t destLength; in extract() local 184 destLength = length; in extract() 186 destLength = capacity; in extract() 188 u_UCharsToChars(getArrayStart() + start, target, destLength); in extract()
|
D | ubidiwrt.cpp | 313 int32_t destLength; in ubidi_writeReverse() local 340 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse() 343 destLength=0; in ubidi_writeReverse() 346 return u_terminateUChars(dest, destSize, destLength, pErrorCode); in ubidi_writeReverse()
|
D | ubiditransform.cpp | 446 uint32_t destLength = 0; in ubiditransform_transform() local 497 pBiDiTransform->pDestLength = &destLength; in ubiditransform_transform() 517 destLength = srcLength; in ubiditransform_transform() 529 return U_FAILURE(*pErrorCode) ? 0 : destLength; in ubiditransform_transform()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | custrtrn.c | 890 int32_t destLength; in Test_FromUTF8() local 895 destLength=-99; in Test_FromUTF8() 896 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode); in Test_FromUTF8() 897 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) { in Test_FromUTF8() 899 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8() 904 destLength=-99; in Test_FromUTF8() 905 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode); in Test_FromUTF8() 906 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) { in Test_FromUTF8() 908 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8() 913 destLength=-99; in Test_FromUTF8() [all …]
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | uparse.cpp | 243 int32_t destLength; in u_parseString() local 257 destLength=0; in u_parseString() 261 if(destLength<destCapacity) { in u_parseString() 262 dest[destLength]=0; in u_parseString() 263 } else if(destLength==destCapacity) { in u_parseString() 268 return destLength; in u_parseString() 285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 286 U16_APPEND_UNSAFE(dest, destLength, value); in u_parseString() 288 destLength+=U16_LENGTH(value); in u_parseString()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | uparse.cpp | 243 int32_t destLength; in u_parseString() local 257 destLength=0; in u_parseString() 261 if(destLength<destCapacity) { in u_parseString() 262 dest[destLength]=0; in u_parseString() 263 } else if(destLength==destCapacity) { in u_parseString() 268 return destLength; in u_parseString() 285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 286 U16_APPEND_UNSAFE(dest, destLength, value); in u_parseString() 288 destLength+=U16_LENGTH(value); in u_parseString()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/ |
D | uparse.cpp | 243 int32_t destLength; in u_parseString() local 257 destLength=0; in u_parseString() 261 if(destLength<destCapacity) { in u_parseString() 262 dest[destLength]=0; in u_parseString() 263 } else if(destLength==destCapacity) { in u_parseString() 268 return destLength; in u_parseString() 285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 286 U16_APPEND_UNSAFE(dest, destLength, value); in u_parseString() 288 destLength+=U16_LENGTH(value); in u_parseString()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | uparse.cpp | 243 int32_t destLength; in u_parseString() local 257 destLength=0; in u_parseString() 261 if(destLength<destCapacity) { in u_parseString() 262 dest[destLength]=0; in u_parseString() 263 } else if(destLength==destCapacity) { in u_parseString() 268 return destLength; in u_parseString() 285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 286 U16_APPEND_UNSAFE(dest, destLength, value); in u_parseString() 288 destLength+=U16_LENGTH(value); in u_parseString()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | testutil.cpp | 89 int32_t srcLength, int32_t destLength, int32_t index) { in srcIndexFromDest() argument 91 int32_t destIndex = destLength; in srcIndexFromDest() 116 int32_t srcLength, int32_t destLength, int32_t index) { in destIndexFromSrc() argument 118 int32_t destIndex = destLength; in destIndexFromSrc() 245 int32_t destLength = expDestIndex; in checkEditsIter() local 275 destIndexes.push_back(destLength); in checkEditsIter() 277 destIndexes.push_back(destLength + 1); in checkEditsIter() 287 destIndexFromSrc(expected, expLength, srcLength, destLength, si), in checkEditsIter() 298 srcIndexFromDest(expected, expLength, srcLength, destLength, di), in checkEditsIter()
|
D | strcase.cpp | 835 int32_t destLength = u_strToUpper(dest, result.getCapacity(), in TestLongUpper() local 837 result.releaseBuffer(destLength); in TestLongUpper() 840 errorCode.errorName(), (long)destLength); in TestLongUpper() 854 int32_t destLength; in TestMalformedUTF8() local 856 destLength = ucasemap_utf8ToTitle(csm.getAlias(), dest, 3, src, 1, errorCode); in TestMalformedUTF8() 857 if (errorCode.isFailure() || destLength != 1 || dest[0] != src[0]) { in TestMalformedUTF8() 859 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8() 865 destLength = ucasemap_utf8ToLower(csm.getAlias(), dest, 3, src, 1, errorCode); in TestMalformedUTF8() 866 if (errorCode.isFailure() || destLength != 1 || dest[0] != src[0]) { in TestMalformedUTF8() 868 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8() [all …]
|