Home
last modified time | relevance | path

Searched refs:sourceLength (Results 1 – 25 of 52) sorted by relevance

123

/third_party/icu/icu4c/source/common/
Dushape.cpp633 calculateSize(const UChar *source, int32_t sourceLength, in calculateSize() argument
640 destSize = sourceLength; in calculateSize()
654 for(i=0;i<sourceLength;i++) { in calculateSize()
655 …if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCha… in calculateSize()
660 for(i=0;i<sourceLength;i++) { in calculateSize()
661 …if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeel… in calculateSize()
670 for(i=0;i<sourceLength;i++) { in calculateSize()
690 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument
694 for(i = 0; i < sourceLength; i++){ in handleTashkeelWithTatweel()
703 return sourceLength; in handleTashkeelWithTatweel()
[all …]
Ducnv.cpp2406 const char *source, int32_t sourceLength, in ucnv_internalConvert() argument
2417 if(sourceLength<0) { in ucnv_internalConvert()
2420 sourceLimit=source+sourceLength; in ucnv_internalConvert()
2479 const char *source, int32_t sourceLength, in ucnv_convert() argument
2489 if( source==NULL || sourceLength<-1 || in ucnv_convert()
2497 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convert()
2515 source, sourceLength, in ucnv_convert()
2530 const char *source, int32_t sourceLength, in ucnv_convertAlgorithmic() argument
2540 if( cnv==NULL || source==NULL || sourceLength<-1 || in ucnv_convertAlgorithmic()
2548 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convertAlgorithmic()
[all …]
/third_party/node/deps/icu-small/source/common/
Dushape.cpp633 calculateSize(const char16_t *source, int32_t sourceLength, in calculateSize() argument
640 destSize = sourceLength; in calculateSize()
654 for(i=0;i<sourceLength;i++) { in calculateSize()
655 …if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCha… in calculateSize()
660 for(i=0;i<sourceLength;i++) { in calculateSize()
661 …if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeel… in calculateSize()
670 for(i=0;i<sourceLength;i++) { in calculateSize()
690 handleTashkeelWithTatweel(char16_t *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument
694 for(i = 0; i < sourceLength; i++){ in handleTashkeelWithTatweel()
703 return sourceLength; in handleTashkeelWithTatweel()
[all …]
Ducnv.cpp2406 const char *source, int32_t sourceLength, in ucnv_internalConvert() argument
2417 if(sourceLength<0) { in ucnv_internalConvert()
2420 sourceLimit=source+sourceLength; in ucnv_internalConvert()
2479 const char *source, int32_t sourceLength, in ucnv_convert() argument
2489 if( source==nullptr || sourceLength<-1 || in ucnv_convert()
2497 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convert()
2515 source, sourceLength, in ucnv_convert()
2530 const char *source, int32_t sourceLength, in ucnv_convertAlgorithmic() argument
2540 if( cnv==nullptr || source==nullptr || sourceLength<-1 || in ucnv_convertAlgorithmic()
2548 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convertAlgorithmic()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dushape.cpp633 calculateSize(const UChar *source, int32_t sourceLength, in calculateSize() argument
640 destSize = sourceLength; in calculateSize()
654 for(i=0;i<sourceLength;i++) { in calculateSize()
655 …if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCha… in calculateSize()
660 for(i=0;i<sourceLength;i++) { in calculateSize()
661 …if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeel… in calculateSize()
670 for(i=0;i<sourceLength;i++) { in calculateSize()
690 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument
694 for(i = 0; i < sourceLength; i++){ in handleTashkeelWithTatweel()
703 return sourceLength; in handleTashkeelWithTatweel()
[all …]
Ducnv.cpp2399 const char *source, int32_t sourceLength, in ucnv_internalConvert() argument
2410 if(sourceLength<0) { in ucnv_internalConvert()
2413 sourceLimit=source+sourceLength; in ucnv_internalConvert()
2472 const char *source, int32_t sourceLength, in ucnv_convert() argument
2482 if( source==NULL || sourceLength<-1 || in ucnv_convert()
2490 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convert()
2508 source, sourceLength, in ucnv_convert()
2523 const char *source, int32_t sourceLength, in ucnv_convertAlgorithmic() argument
2533 if( cnv==NULL || source==NULL || sourceLength<-1 || in ucnv_convertAlgorithmic()
2541 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convertAlgorithmic()
[all …]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java65 int sourceLength = source.limit() - oldSource; in decodeLoop() local
72 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength) in decodeLoop()
82 if (sourceLength <= targetLength) { in decodeLoop()
83 source.position(oldSource + sourceLength); in decodeLoop()
84 target.position(oldTarget + sourceLength); in decodeLoop()
223 int sourceLength = source.limit() - oldSource; in encodeLoop() local
230 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength) in encodeLoop()
240 if (sourceLength <= targetLength) { in encodeLoop()
241 source.position(oldSource + sourceLength); in encodeLoop()
242 target.position(oldTarget + sourceLength); in encodeLoop()
/third_party/skia/third_party/externals/icu/source/i18n/
Ducol.cpp194 int32_t sourceLength, in ucol_getSortKey() argument
201 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength)); in ucol_getSortKey()
205 getSortKey(source, sourceLength, result, resultLength); in ucol_getSortKey()
242 int32_t sourceLength, in ucol_getBound() argument
266 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound()
268 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound()
443 int32_t sourceLength, in ucol_strcoll() argument
450 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength); in ucol_strcoll()
456 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
465 int32_t sourceLength, in ucol_strcollUTF8() argument
[all …]
Dumsg.cpp150 int32_t sourceLength, in u_parseMessage() argument
160 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage()
170 int32_t sourceLength, in u_vparseMessage() argument
177 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessage()
186 int32_t sourceLength, in u_parseMessageWithError() argument
198 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status); in u_parseMessageWithError()
207 int32_t sourceLength, in u_vparseMessageWithError() argument
215 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessageWithError()
487 int32_t sourceLength, in umsg_parse() argument
500 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Ducol.cpp200 int32_t sourceLength, in ucol_getSortKey() argument
207 ((sourceLength==-1 && source!=nullptr) ? u_strlen(source) : sourceLength)); in ucol_getSortKey()
211 getSortKey(source, sourceLength, result, resultLength); in ucol_getSortKey()
248 int32_t sourceLength, in ucol_getBound() argument
272 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound()
274 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound()
449 int32_t sourceLength, in ucol_strcoll() argument
456 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength); in ucol_strcoll()
462 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
471 int32_t sourceLength, in ucol_strcollUTF8() argument
[all …]
Dumsg.cpp150 int32_t sourceLength, in u_parseMessage() argument
160 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage()
170 int32_t sourceLength, in u_vparseMessage() argument
177 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessage()
186 int32_t sourceLength, in u_parseMessageWithError() argument
198 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status); in u_parseMessageWithError()
207 int32_t sourceLength, in u_vparseMessageWithError() argument
215 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessageWithError()
487 int32_t sourceLength, in umsg_parse() argument
500 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse()
[all …]
/third_party/icu/icu4c/source/i18n/
Ducol.cpp200 int32_t sourceLength, in ucol_getSortKey() argument
207 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength)); in ucol_getSortKey()
211 getSortKey(source, sourceLength, result, resultLength); in ucol_getSortKey()
248 int32_t sourceLength, in ucol_getBound() argument
272 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound()
274 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound()
449 int32_t sourceLength, in ucol_strcoll() argument
456 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength); in ucol_strcoll()
462 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
471 int32_t sourceLength, in ucol_strcollUTF8() argument
[all …]
Dumsg.cpp150 int32_t sourceLength, in u_parseMessage() argument
160 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage()
170 int32_t sourceLength, in u_vparseMessage() argument
177 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessage()
186 int32_t sourceLength, in u_parseMessageWithError() argument
198 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status); in u_parseMessageWithError()
207 int32_t sourceLength, in u_vparseMessageWithError() argument
215 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessageWithError()
487 int32_t sourceLength, in umsg_parse() argument
500 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DArabicShaping.java88 public int shape(char[] source, int sourceStart, int sourceLength, in shape() argument
93 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) { in shape()
95 ") or length (" + sourceLength + in shape()
132 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize); in shape()
1155 int sourceLength) { in calculateSize() argument
1157 int destSize = sourceLength; in calculateSize()
1163 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) { in calculateSize()
1169 for(int i = sourceStart + 1, e = sourceStart + sourceLength; i < e; ++i) { in calculateSize()
1178 for(int i = sourceStart, e = sourceStart + sourceLength; i < e; ++i) { in calculateSize()
1255 private static int handleTashkeelWithTatweel(char[] dest, int sourceLength) { in handleTashkeelWithTatweel() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DArabicShaping.java88 public int shape(char[] source, int sourceStart, int sourceLength, in shape() argument
93 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) { in shape()
95 ") or length (" + sourceLength + in shape()
132 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize); in shape()
1107 int sourceLength) { in calculateSize() argument
1109 int destSize = sourceLength; in calculateSize()
1115 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) { in calculateSize()
1121 for(int i = sourceStart + 1, e = sourceStart + sourceLength; i < e; ++i) { in calculateSize()
1130 for(int i = sourceStart, e = sourceStart + sourceLength; i < e; ++i) { in calculateSize()
1207 private static int handleTashkeelWithTatweel(char[] dest, int sourceLength) { in handleTashkeelWithTatweel() argument
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Dumsg.h238 int32_t sourceLength,
263 int32_t sourceLength,
349 int32_t sourceLength,
377 int32_t sourceLength,
567 int32_t sourceLength,
590 int32_t sourceLength,
Ducol.h567 int32_t sourceLength,
593 int32_t sourceLength,
614 const UChar *source, int32_t sourceLength,
633 const UChar *source, int32_t sourceLength,
652 const UChar *source, int32_t sourceLength,
1022 int32_t sourceLength,
1116 int32_t sourceLength,
Dcoll.h432 virtual EComparisonResult compare(const char16_t* source, int32_t sourceLength,
453 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
531 int32_t sourceLength,
1041 virtual int32_t getSortKey(const char16_t*source, int32_t sourceLength,
1082 int32_t sourceLength,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dumsg.h238 int32_t sourceLength,
263 int32_t sourceLength,
349 int32_t sourceLength,
377 int32_t sourceLength,
567 int32_t sourceLength,
590 int32_t sourceLength,
Ducol.h567 int32_t sourceLength,
593 int32_t sourceLength,
614 const UChar *source, int32_t sourceLength,
633 const UChar *source, int32_t sourceLength,
652 const UChar *source, int32_t sourceLength,
1023 int32_t sourceLength,
1117 int32_t sourceLength,
Dcoll.h432 virtual EComparisonResult compare(const char16_t* source, int32_t sourceLength,
453 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
531 int32_t sourceLength,
1041 virtual int32_t getSortKey(const char16_t*source, int32_t sourceLength,
1082 int32_t sourceLength,
/third_party/icu/icu4c/source/i18n/unicode/
Dumsg.h238 int32_t sourceLength,
263 int32_t sourceLength,
349 int32_t sourceLength,
377 int32_t sourceLength,
567 int32_t sourceLength,
590 int32_t sourceLength,
Ducol.h567 int32_t sourceLength,
593 int32_t sourceLength,
614 const UChar *source, int32_t sourceLength,
633 const UChar *source, int32_t sourceLength,
652 const UChar *source, int32_t sourceLength,
1022 int32_t sourceLength,
1116 int32_t sourceLength,
Dcoll.h432 virtual EComparisonResult compare(const char16_t* source, int32_t sourceLength,
453 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
531 int32_t sourceLength,
1041 virtual int32_t getSortKey(const char16_t*source, int32_t sourceLength,
1082 int32_t sourceLength,
/third_party/node/deps/icu-small/source/common/unicode/
Ducnv.h1584 int32_t sourceLength,
1636 const char *source, int32_t sourceLength,
1688 const char *source, int32_t sourceLength,
2003 int32_t sourceLength,

123