Home
last modified time | relevance | path

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

12

/external/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.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 …]
/external/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()
/external/icu/icu4c/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 …]
/external/icu/android_icu4j/src/main/java/android/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()
1113 int sourceLength) { in calculateSize() argument
1115 int destSize = sourceLength; in calculateSize()
1121 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) { in calculateSize()
1127 for(int i = sourceStart + 1, e = sourceStart + sourceLength; i < e; ++i) { in calculateSize()
1136 for(int i = sourceStart, e = sourceStart + sourceLength; i < e; ++i) { in calculateSize()
1213 private static int handleTashkeelWithTatweel(char[] dest, int sourceLength) { in handleTashkeelWithTatweel() argument
[all …]
/external/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 …]
/external/icu/libicu/cts_headers/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,
Ducnv.h1573 int32_t sourceLength,
1625 const char *source, int32_t sourceLength,
1677 const char *source, int32_t sourceLength,
1992 int32_t sourceLength,
Dtblcoll.h313 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
383 int32_t sourceLength,
655 virtual int32_t getSortKey(const char16_t *source, int32_t sourceLength,
Dushape.h102 u_shapeArabic(const UChar *source, int32_t sourceLength,
/external/icu/libandroidicu/include/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,
Ducnv.h1573 int32_t sourceLength,
1625 const char *source, int32_t sourceLength,
1677 const char *source, int32_t sourceLength,
1992 int32_t sourceLength,
Dushape.h102 u_shapeArabic(const UChar *source, int32_t sourceLength,
/external/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,
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,
Dtblcoll.h313 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
383 int32_t sourceLength,
655 virtual int32_t getSortKey(const char16_t *source, int32_t sourceLength,
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp70 GrGLint sourceLength = glsl.size(); in GrGLCompileAndAttachShader() local
71 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &source, &sourceLength)); in GrGLCompileAndAttachShader()
/external/icu/icu4c/source/common/unicode/
Ducnv.h1573 int32_t sourceLength,
1625 const char *source, int32_t sourceLength,
1677 const char *source, int32_t sourceLength,
1992 int32_t sourceLength,
Dushape.h102 u_shapeArabic(const UChar *source, int32_t sourceLength,
/external/icu/libandroidicu/static_shim/
Dshim.cpp256 …, char * target, int32_t targetCapacity, const char * source, int32_t sourceLength, UErrorCode * p… in ucnv_convert_android() argument
257 …vert(toConverterName, fromConverterName, target, targetCapacity, source, sourceLength, pErrorCode); in ucnv_convert_android()
283 …strcoll_android(const UCollator * coll, const UChar * source, int32_t sourceLength, const UChar * … in ucol_strcoll_android() argument
284 return ucol_strcoll(coll, source, sourceLength, target, targetLength); in ucol_strcoll_android()

12