Home
last modified time | relevance | path

Searched refs:sourceLength (Results 1 – 25 of 40) 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()
489 int32_t sourceLength, in umsg_parse() argument
502 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse()
[all …]
Dcoll.cpp510 Collator::EComparisonResult Collator::compare(const UChar* source, int32_t sourceLength, in compare() argument
515 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec); in compare()
653 int32_t sourceLength, in getBound() argument
660 … return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status); in getBound()
/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/icu4c/source/i18n/unicode/
Dumsg.h235 int32_t sourceLength,
260 int32_t sourceLength,
346 int32_t sourceLength,
374 int32_t sourceLength,
564 int32_t sourceLength,
587 int32_t sourceLength,
Ducol.h562 int32_t sourceLength,
588 int32_t sourceLength,
609 const UChar *source, int32_t sourceLength,
628 const UChar *source, int32_t sourceLength,
647 const UChar *source, int32_t sourceLength,
1018 int32_t sourceLength,
1112 int32_t sourceLength,
Dcoll.h423 virtual EComparisonResult compare(const char16_t* source, int32_t sourceLength,
443 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
521 int32_t sourceLength,
1023 virtual int32_t getSortKey(const char16_t*source, int32_t sourceLength,
1064 int32_t sourceLength,
Dtblcoll.h311 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
381 int32_t sourceLength,
649 virtual int32_t getSortKey(const char16_t *source, int32_t sourceLength,
/external/icu/libandroidicu/include/unicode/
Dumsg.h235 int32_t sourceLength,
260 int32_t sourceLength,
346 int32_t sourceLength,
374 int32_t sourceLength,
564 int32_t sourceLength,
587 int32_t sourceLength,
Ducol.h562 int32_t sourceLength,
588 int32_t sourceLength,
609 const UChar *source, int32_t sourceLength,
628 const UChar *source, int32_t sourceLength,
647 const UChar *source, int32_t sourceLength,
1018 int32_t sourceLength,
1112 int32_t sourceLength,
Ducnv.h1570 int32_t sourceLength,
1622 const char *source, int32_t sourceLength,
1674 const char *source, int32_t sourceLength,
1989 int32_t sourceLength,
Dushape.h102 u_shapeArabic(const UChar *source, int32_t sourceLength,
Dunorm.h214 unorm_normalize(const UChar *source, int32_t sourceLength,
/external/icu/icu4c/source/common/unicode/
Ducnv.h1570 int32_t sourceLength,
1622 const char *source, int32_t sourceLength,
1674 const char *source, int32_t sourceLength,
1989 int32_t sourceLength,
Dushape.h102 u_shapeArabic(const UChar *source, int32_t sourceLength,
Dunorm.h214 unorm_normalize(const UChar *source, int32_t sourceLength,
/external/icu/libandroidicu/static_shim/
Dshim.cpp332 …UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, UErrorCode * s… in u_parseMessage_android() argument
335 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, args, status); in u_parseMessage_android()
339 …UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, UParseError * … in u_parseMessageWithError_android() argument
342 …u_vparseMessageWithError(locale, pattern, patternLength, source, sourceLength, args, parseError, s… in u_parseMessageWithError_android()
352 int32_t u_shapeArabic_android(const UChar * source, int32_t sourceLength, UChar * dest, int32_t des… in u_shapeArabic_android() argument
353 return u_shapeArabic(source, sourceLength, dest, destSize, options, pErrorCode); in u_shapeArabic_android()
523 …UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, va_list ap, UE… in u_vparseMessage_android() argument
524 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status); in u_vparseMessage_android()
526 …UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, va_list ap, UP… in u_vparseMessageWithError_android() argument
527 …u_vparseMessageWithError(locale, pattern, patternLength, source, sourceLength, ap, parseError, sta… in u_vparseMessageWithError_android()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp663 StateQueryMemoryWriteGuard<GLint> sourceLength; in test() local
664 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength); in test()
666 sourceLength.verifyValidity(m_testCtx); in test()
669 if (sourceLength != referenceLength) in test()
671 …age << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::End… in test()
683 StateQueryMemoryWriteGuard<GLint> sourceLength; in test() local
684 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength); in test()
686 sourceLength.verifyValidity(m_testCtx); in test()
689 if (sourceLength != referenceLength) in test()
691 …age << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::End… in test()
Des2fShaderApiTests.cpp562 GLint sourceLength = 0; in getSourceLength() local
563 glGetShaderiv(shader.getShader(), GL_SHADER_SOURCE_LENGTH, &sourceLength); in getSourceLength()
566 return sourceLength; in getSourceLength()
571 const GLint sourceLength = getSourceLength(shader); in readSource() local
572 std::vector<char> sourceBuffer (sourceLength + 1); in readSource()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp2015 int32_t sourceLength,
2023 int32_t sourceLength,
2045 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
2097 int32_t sourceLength, in compare() argument
2102 UnicodeString s(source, sourceLength); in compare()
2121 int32_t sourceLength, in getCollationKey() argument
2126 UnicodeString str(source, sourceLength); in getCollationKey()
2140 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength, in getSortKey() argument
2143 UnicodeString str(source, sourceLength); in getSortKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeSsl.java539 int writeDirectByteBuffer(long sourceAddress, int sourceLength) throws IOException { in writeDirectByteBuffer() argument
543 ssl, this, sourceAddress, sourceLength, handshakeCallbacks); in writeDirectByteBuffer()

12