Home
last modified time | relevance | path

Searched refs:destLength (Results 1 - 25 of 60) sorted by relevance

123

/third_party/icu/icu4c/source/common/
H A Dpunycode.cpp188 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<destCapacit in u_strToPunycode()
378 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, u_strFromPunycode() local
[all...]
H A Dushape.cpp1426 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()
1632 * we should U_ASSERT(outputSize==destLength) in u_shapeArabic()
1637 countSpaces(tempbuffer,destLength,option in u_shapeArabic()
[all...]
H A Dunistr_cnv.cpp182 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()
H A Dubiditransform.cpp446 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()
H A Dubidiwrt.cpp313 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/
H A Dpunycode.cpp188 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<destCapacit in u_strToPunycode()
378 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, u_strFromPunycode() local
[all...]
H A Dushape.cpp1426 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()
1632 * we should U_ASSERT(outputSize==destLength) in u_shapeArabic()
1637 countSpaces(tempbuffer,destLength,option in u_shapeArabic()
[all...]
H A Dunistr_cnv.cpp182 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()
H A Dubiditransform.cpp446 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()
H A Dubidiwrt.cpp313 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/
H A Dpunycode.cpp188 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<destCapacit in u_strToPunycode()
378 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, u_strFromPunycode() local
[all...]
H A Dushape.cpp1426 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()
1632 * we should U_ASSERT(outputSize==destLength) in u_shapeArabic()
1637 countSpaces(tempbuffer,destLength,option in u_shapeArabic()
[all...]
H A Dunistr_cnv.cpp182 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()
H A Dubiditransform.cpp446 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()
H A Dubidiwrt.cpp313 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/tools/toolutil/
H A Duparse.cpp243 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/
H A Duparse.cpp243 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/
H A Duparse.cpp243 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/cintltst/
H A Dcustrtrn.c891 int32_t destLength; in Test_FromUTF8() local
896 destLength=-99; in Test_FromUTF8()
897 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode); in Test_FromUTF8()
898 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) { in Test_FromUTF8()
899 log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n", in Test_FromUTF8()
900 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8()
905 destLength=-99; in Test_FromUTF8()
906 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode); in Test_FromUTF8()
907 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) { in Test_FromUTF8()
908 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength in Test_FromUTF8()
991 int32_t srcLength, destLength0, destLength; Test_FromUTF8Lenient() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dtestutil.cpp89 int32_t srcLength, int32_t destLength, int32_t index) { in srcIndexFromDest()
91 int32_t destIndex = destLength; in srcIndexFromDest()
116 int32_t srcLength, int32_t destLength, int32_t index) { in destIndexFromSrc()
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()
88 srcIndexFromDest(const EditChange expected[], int32_t expLength, int32_t srcLength, int32_t destLength, int32_t index) srcIndexFromDest() argument
115 destIndexFromSrc(const EditChange expected[], int32_t expLength, int32_t srcLength, int32_t destLength, int32_t index) destIndexFromSrc() argument
H A Dstrcase.cpp960 int32_t destLength = u_strToUpper(dest, result.getCapacity(), in TestLongUpper() local
962 result.releaseBuffer(destLength); in TestLongUpper()
964 errln("expected U_INDEX_OUTOFBOUNDS_ERROR, got %s (destLength is undefined, got %ld)", in TestLongUpper()
965 errorCode.errorName(), (long)destLength); in TestLongUpper()
979 int32_t destLength; in TestMalformedUTF8() local
981 destLength = ucasemap_utf8ToTitle(csm.getAlias(), dest, 3, src, 1, errorCode); in TestMalformedUTF8()
982 if (errorCode.isFailure() || destLength != 1 || dest[0] != src[0]) { in TestMalformedUTF8()
983 errln("ucasemap_utf8ToTitle(\\x85) failed: %s destLength=%d dest[0]=0x%02x", in TestMalformedUTF8()
984 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
990 destLength in TestMalformedUTF8()
[all...]
/third_party/icu/tools/unicode/c/genuts46/
H A Dgenuts46.cpp65 int32_t destLength; in toIDNA2003() local
71 destLength=usprep_prepare(prep, src, srcLength, in toIDNA2003()
74 destString.releaseBuffer(destLength); in toIDNA2003()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUTS46.java216 int destLength=dest.length(); in processUnicode()
218 while(labelLimit<destLength) { in processUnicode()
225 destLength+=newLength-labelLength; in processUnicode()
233 destLength=mapDevChars(dest, labelStart, labelLimit); in processUnicode()
241 (labelLimit+1)==destLength || in processUnicode()
253 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok) in processUnicode()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUTS46.java217 int destLength=dest.length(); in processUnicode()
219 while(labelLimit<destLength) { in processUnicode()
226 destLength+=newLength-labelLength; in processUnicode()
234 destLength=mapDevChars(dest, labelStart, labelLimit); in processUnicode()
242 (labelLimit+1)==destLength || in processUnicode()
254 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok) in processUnicode()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DBidiLine.java1215 int destLength = -1, count = 0, i, srcEntry; in invertMap()
1220 if (srcEntry > destLength) { in invertMap()
1221 destLength = srcEntry; in invertMap()
1227 destLength++; /* add 1 for origin 0 */ in invertMap()
1228 int[] destMap = new int[destLength]; in invertMap()
1229 if (count < destLength) { in invertMap()

Completed in 25 milliseconds

123