Searched refs:sourceLength (Results 1 - 25 of 35) sorted by relevance

12

/external/icu/icu4c/source/common/
H A Dushape.cpp635 calculateSize(const UChar *source, int32_t sourceLength, argument
642 destSize = sourceLength;
656 for(i=0;i<sourceLength;i++) {
657 if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCharFE(source[i])) ) {
662 for(i=0;i<sourceLength;i++) {
663 if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeelCharFE(source[i])) ) {
672 for(i=0;i<sourceLength;i++) {
692 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, argument
696 for(i = 0; i < sourceLength; i++){
705 return sourceLength;
730 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) argument
905 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
965 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
1032 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) argument
1085 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) argument
1198 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) argument
1370 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) argument
1423 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv.c2407 const char *source, int32_t sourceLength,
2418 if(sourceLength<0) {
2421 sourceLimit=source+sourceLength;
2480 const char *source, int32_t sourceLength,
2490 if( source==NULL || sourceLength<-1 ||
2498 if(sourceLength==0 || (sourceLength<0 && *source==0)) {
2516 source, sourceLength,
2531 const char *source, int32_t sourceLength,
2541 if( cnv==NULL || source==NULL || sourceLength<
2405 ucnv_internalConvert(UConverter *outConverter, UConverter *inConverter, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2478 ucnv_convert(const char *toConverterName, const char *fromConverterName, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2527 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2584 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2596 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2663 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument
2755 ucnv_detectUnicodeSignature( const char* source, int32_t sourceLength, int32_t* signatureLength, UErrorCode* pErrorCode) argument
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dumsg.h223 * @param sourceLength The length of source, or -1 if null-terminated.
235 int32_t sourceLength,
248 * @param sourceLength The length of source, or -1 if null-terminated.
260 int32_t sourceLength,
332 * @param sourceLength The length of source, or -1 if null-terminated.
346 int32_t sourceLength,
360 * @param sourceLength The length of source, or -1 if null-terminated.
374 int32_t sourceLength,
554 * @param sourceLength The length of source, or -1 if null-terminated.
564 int32_t sourceLength,
[all...]
H A Ducol.h549 * @param sourceLength The length of source, or -1 if null-terminated.
562 int32_t sourceLength,
573 * @param sourceLength The length of source, or -1 if null-terminated.
588 int32_t sourceLength,
598 * @param sourceLength The length of source, or -1 if null-terminated.
609 const UChar *source, int32_t sourceLength,
617 * @param sourceLength The length of source, or -1 if null-terminated.
628 const UChar *source, int32_t sourceLength,
636 * @param sourceLength The length of source, or -1 if null-terminated.
647 const UChar *source, int32_t sourceLength,
[all...]
H A Dcoll.h413 * @param sourceLength the length of the source string array. If this value
423 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
432 * @param sourceLength the length of the source string array. If this value
443 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
513 * @param sourceLength length of the collation key
521 int32_t sourceLength,
1013 * @param sourceLength length of string to be processed.
1023 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
1042 * @param sourceLength The length of source, or -1 if null-terminated.
1064 int32_t sourceLength,
[all...]
H A Dtblcoll.h300 * @param sourceLength the length of the source string array. If this value
311 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
373 * @param sourceLength the length of the source string.
381 int32_t sourceLength,
640 * @param sourceLength length of string to be processed. If -1, the string
649 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetASCII.java65 int sourceLength = source.limit() - oldSource;
72 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength)
82 if (sourceLength <= targetLength) {
83 source.position(oldSource + sourceLength);
84 target.position(oldTarget + sourceLength);
223 int sourceLength = source.limit() - oldSource;
230 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength)
240 if (sourceLength <
[all...]
/external/icu/icu4c/source/i18n/
H A Ducol.cpp193 int32_t sourceLength,
200 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength));
204 getSortKey(source, sourceLength, result, resultLength);
241 int32_t sourceLength,
265 && (source[sourceIndex] != 0 || sourceIndex < sourceLength));
267 if((source[sourceIndex] == 0 || sourceIndex == sourceLength)
442 int32_t sourceLength,
449 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength);
455 compare(source, sourceLength, targe
191 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument
240 ucol_getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode *status) argument
440 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
461 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
491 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
503 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
515 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
[all...]
H A Dumsg.cpp150 int32_t sourceLength,
160 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status);
170 int32_t sourceLength,
177 umsg_vparse(fmt,source,sourceLength,&count,ap,status);
186 int32_t sourceLength,
198 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status);
207 int32_t sourceLength,
215 umsg_vparse(fmt,source,sourceLength,&count,ap,status);
491 int32_t sourceLength,
504 umsg_vparse(fmt,source,sourceLength,coun
146 u_parseMessage( const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UErrorCode *status, ...) argument
166 u_vparseMessage(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, va_list ap, UErrorCode *status) argument
182 u_parseMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UParseError *error, UErrorCode *status, ...) argument
203 u_vparseMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, va_list ap, UParseError *error, UErrorCode* status) argument
489 umsg_parse( const UMessageFormat *fmt, const UChar *source, int32_t sourceLength, int32_t *count, UErrorCode *status, ...) argument
511 umsg_vparse(const UMessageFormat *fmt, const UChar *source, int32_t sourceLength, int32_t *count, va_list ap, UErrorCode *status) argument
[all...]
H A Dcoll.cpp501 Collator::EComparisonResult Collator::compare(const UChar* source, int32_t sourceLength, argument
506 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec);
644 int32_t sourceLength,
651 return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status);
643 getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode &status) argument
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DArabicShaping.java71 * @param sourceLength The length of the range of text to convert
88 public int shape(char[] source, int sourceStart, int sourceLength, argument
93 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) {
95 ") or length (" + sourceLength +
132 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize);
1107 int sourceLength) {
1109 int destSize = sourceLength;
1115 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) {
1121 for(int i = sourceStart + 1, e = sourceStart + sourceLength;
1105 calculateSize(char[] source, int sourceStart, int sourceLength) argument
1207 handleTashkeelWithTatweel(char[] dest, int sourceLength) argument
1792 internalShape(char[] source, int sourceStart, int sourceLength, char[] dest, int destStart, int destSize) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DArabicShaping.java70 * @param sourceLength The length of the range of text to convert
88 public int shape(char[] source, int sourceStart, int sourceLength, argument
93 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) {
95 ") or length (" + sourceLength +
132 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize);
1155 int sourceLength) {
1157 int destSize = sourceLength;
1163 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) {
1169 for(int i = sourceStart + 1, e = sourceStart + sourceLength;
1153 calculateSize(char[] source, int sourceStart, int sourceLength) argument
1255 handleTashkeelWithTatweel(char[] dest, int sourceLength) argument
1840 internalShape(char[] source, int sourceStart, int sourceLength, char[] dest, int destStart, int destSize) argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dushape.h76 * @param sourceLength The number of UChars in <code>source</code>.
102 u_shapeArabic(const UChar *source, int32_t sourceLength,
H A Ducnv.h1526 * (if sourceLength==-1, see parameters)
1549 * @param sourceLength Length of the input text, in bytes, or -1 for NUL-terminated input.
1571 int32_t sourceLength,
1604 * @param sourceLength Length of the input text, in bytes
1623 const char *source, int32_t sourceLength,
1656 * @param sourceLength Length of the input text, in bytes
1675 const char *source, int32_t sourceLength,
1979 * @param sourceLength Length of the input string, or -1 if terminated with a NUL byte.
1990 int32_t sourceLength,
H A Dunorm.h201 * @param sourceLength The length of source, or -1 if NUL-terminated.
214 unorm_normalize(const UChar *source, int32_t sourceLength,
/external/v8/src/js/
H A Dtypedarray.js329 function TypedArraySetFromArrayLike(target, source, sourceLength, offset) {
331 for (var i = 0; i < sourceLength; i++) {
336 for (var i = 0; i < sourceLength; i++) {
345 var sourceLength = %_TypedArrayGetLength(source);
355 leftIndex < sourceLength && targetPtr <= sourcePtr;
369 target.byteOffset + (offset + sourceLength - 1) * targetElementSize;
373 source.byteOffset + sourceLength * sourceElementSize;
374 for(var rightIndex = sourceLength - 1;
/external/deqp/modules/gles2/functional/
H A Des2fShaderApiTests.cpp562 GLint sourceLength = 0; local
563 glGetShaderiv(shader.getShader(), GL_SHADER_SOURCE_LENGTH, &sourceLength);
566 return sourceLength;
571 const GLint sourceLength = getSourceLength(shader); local
572 std::vector<char> sourceBuffer (sourceLength + 1);
H A Des2fShaderStateQueryTests.cpp663 StateQueryMemoryWriteGuard<GLint> sourceLength; local
664 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength);
666 sourceLength.verifyValidity(m_testCtx);
669 if (sourceLength != referenceLength)
671 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::EndMessage;
683 StateQueryMemoryWriteGuard<GLint> sourceLength; local
684 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength);
686 sourceLength.verifyValidity(m_testCtx);
689 if (sourceLength != referenceLength)
691 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLo
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dapicoll.cpp1986 int32_t sourceLength,
1994 int32_t sourceLength,
2016 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
2068 int32_t sourceLength,
2073 UnicodeString s(source, sourceLength);
2092 int32_t sourceLength,
2097 UnicodeString str(source, sourceLength);
2111 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength, argument
2114 UnicodeString str(source, sourceLength);
2067 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode& status) const argument
2091 getCollationKey(const UChar*source, int32_t sourceLength, CollationKey& key, UErrorCode& status) const argument
/external/deqp/modules/gles3/functional/
H A Des3fShaderApiTests.cpp619 GLint sourceLength = 0; local
620 glGetShaderiv(shader.getShader(), GL_SHADER_SOURCE_LENGTH, &sourceLength);
623 return sourceLength;
628 const GLint sourceLength = getSourceLength(shader); local
629 std::vector<char> sourceBuffer (sourceLength + 1);
H A Des3fShaderStateQueryTests.cpp825 StateQueryMemoryWriteGuard<GLint> sourceLength; local
826 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength);
828 sourceLength.verifyValidity(m_testCtx);
831 if (sourceLength != referenceLength)
833 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLog::EndMessage;
845 StateQueryMemoryWriteGuard<GLint> sourceLength; local
846 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &sourceLength);
848 sourceLength.verifyValidity(m_testCtx);
851 if (sourceLength != referenceLength)
853 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << referenceLength << "; got " << sourceLength << TestLo
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DNativeCrypto.java1218 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) throws IOException;
1230 int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) throws IOException;
1217 ENGINE_SSL_write_heap(long sslNativePointer, byte[] sourceJava, int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) argument
1229 ENGINE_SSL_write_BIO_heap(long sslRef, long bioRef, byte[] sourceJava, int sourceOffset, int sourceLength, SSLHandshakeCallbacks shc) argument
/external/icu/icu4c/source/test/cintltst/
H A Dcmsgtst.c930 UChar* source, int32_t sourceLength, UErrorCode *status, ...)
934 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status);
929 CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, UChar* source, int32_t sourceLength, UErrorCode *status, ...) argument
/external/conscrypt/common/src/jni/main/cpp/
H A DNativeCrypto.cpp8677 jint sourceLength, jobject shc) {
8692 if (sourceLength < 0 || BIO_ctrl_get_write_guarantee(bio) < static_cast<size_t>(sourceLength)) {
8702 if (ARRAY_OFFSET_LENGTH_INVALID(source, sourceOffset, sourceLength)) {
8705 "sourceLength=%d, size=%zd",
8706 ssl, sourceOffset, sourceLength, source.size());
8730 sourceLength);
8734 "sourceLength=%d shc=%p => ret=%d",
8735 ssl, bio, source.get(), sourceOffset, sourceLength, shc, result);
8897 jint sourceLength, jobjec
8675 NativeCrypto_ENGINE_SSL_write_BIO_heap(JNIEnv* env, jclass, jlong sslRef, jlong bioRef, jbyteArray sourceJava, jint sourceOffset, jint sourceLength, jobject shc) argument
8895 NativeCrypto_ENGINE_SSL_write_heap(JNIEnv* env, jclass, jlong sslRef, jbyteArray sourceJava, jint sourceOffset, jint sourceLength, jobject shc) argument
[all...]
/external/v8/src/debug/
H A Dmirrors.js2731 content.sourceLength = mirror.source().length;

Completed in 2529 milliseconds

12