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

12

/external/icu/icu4c/source/common/
H A Dushape.cpp633 calculateSize(const UChar *source, int32_t sourceLength, argument
640 destSize = sourceLength;
654 for(i=0;i<sourceLength;i++) {
655 if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCharFE(source[i])) ) {
660 for(i=0;i<sourceLength;i++) {
661 if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeelCharFE(source[i])) ) {
670 for(i=0;i<sourceLength;i++) {
690 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, argument
694 for(i = 0; i < sourceLength; i++){
703 return sourceLength;
728 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) argument
903 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
963 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
1030 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) argument
1083 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) argument
1196 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) argument
1368 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) argument
1421 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv.c2405 const char *source, int32_t sourceLength,
2416 if(sourceLength<0) {
2419 sourceLimit=source+sourceLength;
2478 const char *source, int32_t sourceLength,
2488 if( source==NULL || sourceLength<-1 ||
2496 if(sourceLength==0 || (sourceLength<0 && *source==0)) {
2514 source, sourceLength,
2529 const char *source, int32_t sourceLength,
2539 if( cnv==NULL || source==NULL || sourceLength<
2403 ucnv_internalConvert(UConverter *outConverter, UConverter *inConverter, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2476 ucnv_convert(const char *toConverterName, const char *fromConverterName, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2525 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2582 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2594 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2661 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument
2753 ucnv_detectUnicodeSignature( const char* source, int32_t sourceLength, int32_t* signatureLength, UErrorCode* pErrorCode) argument
[all...]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetASCII.java62 int sourceLength = source.limit() - oldSource;
69 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength)
79 if (sourceLength <= targetLength) {
80 source.position(oldSource + sourceLength);
81 target.position(oldTarget + sourceLength);
218 int sourceLength = source.limit() - oldSource;
225 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength)
235 if (sourceLength <
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dumsg.h221 * @param sourceLength The length of source, or -1 if null-terminated.
233 int32_t sourceLength,
246 * @param sourceLength The length of source, or -1 if null-terminated.
258 int32_t sourceLength,
330 * @param sourceLength The length of source, or -1 if null-terminated.
344 int32_t sourceLength,
358 * @param sourceLength The length of source, or -1 if null-terminated.
372 int32_t sourceLength,
552 * @param sourceLength The length of source, or -1 if null-terminated.
562 int32_t sourceLength,
[all...]
H A Ducol.h538 * @param sourceLength The length of source, or -1 if null-terminated.
551 int32_t sourceLength,
562 * @param sourceLength The length of source, or -1 if null-terminated.
577 int32_t sourceLength,
587 * @param sourceLength The length of source, or -1 if null-terminated.
598 const UChar *source, int32_t sourceLength,
606 * @param sourceLength The length of source, or -1 if null-terminated.
617 const UChar *source, int32_t sourceLength,
625 * @param sourceLength The length of source, or -1 if null-terminated.
636 const UChar *source, int32_t sourceLength,
[all...]
H A Dcoll.h408 * @param sourceLength the length of the source string array. If this value
418 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
427 * @param sourceLength the length of the source string array. If this value
438 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
508 * @param sourceLength length of the collation key
516 int32_t sourceLength,
1008 * @param sourceLength length of string to be processed.
1018 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
1037 * @param sourceLength The length of source, or -1 if null-terminated.
1059 int32_t sourceLength,
[all...]
H A Dtblcoll.h298 * @param sourceLength the length of the source string array. If this value
309 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
371 * @param sourceLength the length of the source string.
379 int32_t sourceLength,
638 * @param sourceLength length of string to be processed. If -1, the string
647 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
/external/icu/icu4c/source/i18n/
H A Ducol.cpp191 int32_t sourceLength,
198 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength));
202 getSortKey(source, sourceLength, result, resultLength);
239 int32_t sourceLength,
263 && (source[sourceIndex] != 0 || sourceIndex < sourceLength));
265 if((source[sourceIndex] == 0 || sourceIndex == sourceLength)
440 int32_t sourceLength,
447 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength);
453 compare(source, sourceLength, targe
189 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument
238 ucol_getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode *status) argument
438 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
459 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
489 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
501 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
513 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
[all...]
H A Dumsg.cpp148 int32_t sourceLength,
158 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status);
168 int32_t sourceLength,
175 umsg_vparse(fmt,source,sourceLength,&count,ap,status);
184 int32_t sourceLength,
196 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status);
205 int32_t sourceLength,
213 umsg_vparse(fmt,source,sourceLength,&count,ap,status);
489 int32_t sourceLength,
502 umsg_vparse(fmt,source,sourceLength,coun
144 u_parseMessage( const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UErrorCode *status, ...) argument
164 u_vparseMessage(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, va_list ap, UErrorCode *status) argument
180 u_parseMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UParseError *error, UErrorCode *status, ...) argument
201 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
487 umsg_parse( const UMessageFormat *fmt, const UChar *source, int32_t sourceLength, int32_t *count, UErrorCode *status, ...) argument
509 umsg_vparse(const UMessageFormat *fmt, const UChar *source, int32_t sourceLength, int32_t *count, va_list ap, UErrorCode *status) argument
[all...]
H A Dcoll.cpp499 Collator::EComparisonResult Collator::compare(const UChar* source, int32_t sourceLength, argument
504 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec);
642 int32_t sourceLength,
649 return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status);
641 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.java69 * @param sourceLength The length of the range of text to convert
86 public int shape(char[] source, int sourceStart, int sourceLength, argument
91 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) {
93 ") or length (" + sourceLength +
130 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize);
1102 int sourceLength) {
1104 int destSize = sourceLength;
1110 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) {
1116 for(int i = sourceStart + 1, e = sourceStart + sourceLength;
1100 calculateSize(char[] source, int sourceStart, int sourceLength) argument
1202 handleTashkeelWithTatweel(char[] dest, int sourceLength) argument
1787 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.java68 * @param sourceLength The length of the range of text to convert
86 public int shape(char[] source, int sourceStart, int sourceLength, argument
91 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) {
93 ") or length (" + sourceLength +
130 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize);
1150 int sourceLength) {
1152 int destSize = sourceLength;
1158 for (int i = sourceStart, e = sourceStart + sourceLength - 1; i < e; ++i) {
1164 for(int i = sourceStart + 1, e = sourceStart + sourceLength;
1148 calculateSize(char[] source, int sourceStart, int sourceLength) argument
1250 handleTashkeelWithTatweel(char[] dest, int sourceLength) argument
1835 internalShape(char[] source, int sourceStart, int sourceLength, char[] dest, int destStart, int destSize) argument
[all...]
/external/skia/src/gpu/gl/builders/
H A DGrGLShaderStringBuilder.cpp38 GrGLint sourceLength = static_cast<GrGLint>(prettySource.size()); local
39 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &sourceLength));
/external/icu/icu4c/source/common/unicode/
H A Dushape.h74 * @param sourceLength The number of UChars in <code>source</code>.
100 u_shapeArabic(const UChar *source, int32_t sourceLength,
H A Ducnv.h1519 * (if sourceLength==-1, see parameters)
1542 * @param sourceLength Length of the input text, in bytes, or -1 for NUL-terminated input.
1564 int32_t sourceLength,
1597 * @param sourceLength Length of the input text, in bytes
1616 const char *source, int32_t sourceLength,
1649 * @param sourceLength Length of the input text, in bytes
1668 const char *source, int32_t sourceLength,
1972 * @param sourceLength Length of the input string, or -1 if terminated with a NUL byte.
1983 int32_t sourceLength,
H A Dunorm.h199 * @param sourceLength The length of source, or -1 if NUL-terminated.
212 unorm_normalize(const UChar *source, int32_t sourceLength,
/external/v8/src/js/
H A Dtypedarray.js337 function TypedArraySetFromArrayLike(target, source, sourceLength, offset) {
339 for (var i = 0; i < sourceLength; i++) {
344 for (var i = 0; i < sourceLength; i++) {
353 var sourceLength = %_TypedArrayGetLength(source);
363 leftIndex < sourceLength && targetPtr <= sourcePtr;
377 target.byteOffset + (offset + sourceLength - 1) * targetElementSize;
381 source.byteOffset + sourceLength * sourceElementSize;
382 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.cpp1984 int32_t sourceLength,
1992 int32_t sourceLength,
2014 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
2066 int32_t sourceLength,
2071 UnicodeString s(source, sourceLength);
2090 int32_t sourceLength,
2095 UnicodeString str(source, sourceLength);
2109 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength, argument
2112 UnicodeString str(source, sourceLength);
2065 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode& status) const argument
2089 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/icu/icu4c/source/test/cintltst/
H A Dcmsgtst.c928 UChar* source, int32_t sourceLength, UErrorCode *status, ...)
932 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status);
927 CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, UChar* source, int32_t sourceLength, UErrorCode *status, ...) argument
H A Dnucnvtst.c1781 int32_t sourceLength=-1; local
1787 sourceLength = len[i];
1788 enc = ucnv_detectUnicodeSignature(source, sourceLength , &signatureLength, &err);
/external/v8/src/debug/
H A Dmirrors.js2686 content.sourceLength = mirror.source().length;

Completed in 1041 milliseconds

12