/external/icu/icu4c/source/common/ |
D | ushape.cpp | 635 calculateSize(const UChar *source, int32_t sourceLength, in calculateSize() argument 642 destSize = sourceLength; in calculateSize() 656 for(i=0;i<sourceLength;i++) { in calculateSize() 657 …if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCha… in calculateSize() 662 for(i=0;i<sourceLength;i++) { in calculateSize() 663 …if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeel… in calculateSize() 672 for(i=0;i<sourceLength;i++) { in calculateSize() 692 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument 696 for(i = 0; i < sourceLength; i++){ in handleTashkeelWithTatweel() 705 return sourceLength; in handleTashkeelWithTatweel() [all …]
|
D | ucnv.c | 2407 const char *source, int32_t sourceLength, in ucnv_internalConvert() argument 2418 if(sourceLength<0) { in ucnv_internalConvert() 2421 sourceLimit=source+sourceLength; in ucnv_internalConvert() 2480 const char *source, int32_t sourceLength, in ucnv_convert() argument 2490 if( source==NULL || sourceLength<-1 || in ucnv_convert() 2498 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convert() 2516 source, sourceLength, in ucnv_convert() 2531 const char *source, int32_t sourceLength, in ucnv_convertAlgorithmic() argument 2541 if( cnv==NULL || source==NULL || sourceLength<-1 || in ucnv_convertAlgorithmic() 2549 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convertAlgorithmic() [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetASCII.java | 65 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/ |
D | ucol.cpp | 193 int32_t sourceLength, in ucol_getSortKey() argument 200 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength)); in ucol_getSortKey() 204 getSortKey(source, sourceLength, result, resultLength); in ucol_getSortKey() 241 int32_t sourceLength, in ucol_getBound() argument 265 && (source[sourceIndex] != 0 || sourceIndex < sourceLength)); in ucol_getBound() 267 if((source[sourceIndex] == 0 || sourceIndex == sourceLength) in ucol_getBound() 442 int32_t sourceLength, in ucol_strcoll() argument 449 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength); in ucol_strcoll() 455 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll() 464 int32_t sourceLength, in ucol_strcollUTF8() argument [all …]
|
D | umsg.cpp | 150 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() 491 int32_t sourceLength, in umsg_parse() argument 504 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse() [all …]
|
D | coll.cpp | 501 Collator::EComparisonResult Collator::compare(const UChar* source, int32_t sourceLength, in compare() argument 506 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec); in compare() 644 int32_t sourceLength, in getBound() argument 651 … return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status); in getBound()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ArabicShaping.java | 88 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 …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ArabicShaping.java | 88 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/ |
D | umsg.h | 235 int32_t sourceLength, 260 int32_t sourceLength, 346 int32_t sourceLength, 374 int32_t sourceLength, 564 int32_t sourceLength, 587 int32_t sourceLength,
|
D | ucol.h | 562 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,
|
D | coll.h | 423 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength, 443 virtual UCollationResult compare(const UChar* source, int32_t sourceLength, 521 int32_t sourceLength, 1023 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength, 1064 int32_t sourceLength,
|
D | tblcoll.h | 311 virtual UCollationResult compare(const UChar* source, int32_t sourceLength, 381 int32_t sourceLength, 649 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
|
/external/v8/src/js/ |
D | typedarray.js | 325 function TypedArraySetFromArrayLike(target, source, sourceLength, offset) { argument 327 for (var i = 0; i < sourceLength; i++) { 332 for (var i = 0; i < sourceLength; i++) { 341 var sourceLength = %_TypedArrayGetLength(source); 351 leftIndex < sourceLength && targetPtr <= sourcePtr; 365 target.byteOffset + (offset + sourceLength - 1) * targetElementSize; 369 source.byteOffset + sourceLength * sourceElementSize; 370 for(var rightIndex = sourceLength - 1;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SslWrapper.java | 502 int writeDirectByteBuffer(long sourceAddress, int sourceLength) throws IOException { in writeDirectByteBuffer() argument 504 ssl, sourceAddress, sourceLength, handshakeCallbacks); in writeDirectByteBuffer() 507 int writeArray(byte[] sourceJava, int sourceOffset, int sourceLength) throws IOException { in writeArray() argument 509 ssl, sourceJava, sourceOffset, sourceLength, handshakeCallbacks); in writeArray() 560 int writeArray(byte[] sourceJava, int sourceOffset, int sourceLength) throws IOException { in writeArray() argument 562 ssl, bio, sourceJava, sourceOffset, sourceLength, handshakeCallbacks); in writeArray()
|
D | NativeCrypto.java | 1233 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) throws IOException; in ENGINE_SSL_write_heap() argument 1245 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) throws IOException; in ENGINE_SSL_write_BIO_heap() argument
|
/external/icu/icu4c/source/common/unicode/ |
D | ucnv.h | 1571 int32_t sourceLength, 1623 const char *source, int32_t sourceLength, 1675 const char *source, int32_t sourceLength, 1990 int32_t sourceLength,
|
D | ushape.h | 102 u_shapeArabic(const UChar *source, int32_t sourceLength,
|
D | unorm.h | 214 unorm_normalize(const UChar *source, int32_t sourceLength,
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 663 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()
|
D | es2fShaderApiTests.cpp | 562 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/ |
D | apicoll.cpp | 1986 int32_t sourceLength, 1994 int32_t sourceLength, 2016 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength, 2068 int32_t sourceLength, in compare() argument 2073 UnicodeString s(source, sourceLength); in compare() 2092 int32_t sourceLength, in getCollationKey() argument 2097 UnicodeString str(source, sourceLength); in getCollationKey() 2111 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength, in getSortKey() argument 2114 UnicodeString str(source, sourceLength); in getSortKey()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderStateQueryTests.cpp | 825 StateQueryMemoryWriteGuard<GLint> sourceLength; in test() local 826 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength); in test() 828 sourceLength.verifyValidity(m_testCtx); in test() 831 if (sourceLength != referenceLength) in test() 833 …age << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::End… in test() 845 StateQueryMemoryWriteGuard<GLint> sourceLength; in test() local 846 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength); in test() 848 sourceLength.verifyValidity(m_testCtx); in test() 851 if (sourceLength != referenceLength) in test() 853 …age << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::End… in test()
|
D | es3fShaderApiTests.cpp | 619 GLint sourceLength = 0; in getSourceLength() local 620 glGetShaderiv(shader.getShader(), GL_SHADER_SOURCE_LENGTH, &sourceLength); in getSourceLength() 623 return sourceLength; in getSourceLength() 628 const GLint sourceLength = getSourceLength(shader); in readSource() local 629 std::vector<char> sourceBuffer (sourceLength + 1); in readSource()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cmsgtst.c | 930 UChar* source, int32_t sourceLength, UErrorCode *status, ...) in CallParseMessage() argument 934 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status); in CallParseMessage()
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 8950 jint sourceLength, jobject shc) { in NativeCrypto_ENGINE_SSL_write_BIO_heap() argument 8965 if (sourceLength < 0 || BIO_ctrl_get_write_guarantee(bio) < static_cast<size_t>(sourceLength)) { in NativeCrypto_ENGINE_SSL_write_BIO_heap() 8975 if (ARRAY_OFFSET_LENGTH_INVALID(source, sourceOffset, sourceLength)) { in NativeCrypto_ENGINE_SSL_write_BIO_heap() 8979 ssl, sourceOffset, sourceLength, source.size()); in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9003 sourceLength); in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9008 ssl, bio, source.get(), sourceOffset, sourceLength, shc, result); in NativeCrypto_ENGINE_SSL_write_BIO_heap() 9170 jint sourceLength, jobject shc) { in NativeCrypto_ENGINE_SSL_write_heap() argument 9186 if (ARRAY_OFFSET_LENGTH_INVALID(source, sourceOffset, sourceLength)) { in NativeCrypto_ENGINE_SSL_write_heap() 9190 ssl, sourceOffset, sourceLength, source.size()); in NativeCrypto_ENGINE_SSL_write_heap() 9214 sourceLength); in NativeCrypto_ENGINE_SSL_write_heap() [all …]
|