Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/icu/source/common/
Dushape.c606 calculateSize(const UChar *source, int32_t sourceLength, in calculateSize() argument
613 destSize = sourceLength; in calculateSize()
627 for(i=0;i<sourceLength;i++) { in calculateSize()
628 …if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCha… in calculateSize()
633 for(i=0;i<sourceLength;i++) { in calculateSize()
634 …if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeel… in calculateSize()
643 for(i=0;i<sourceLength;i++) { in calculateSize()
663 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument
667 for(i = 0; i < sourceLength; i++){ in handleTashkeelWithTatweel()
676 return sourceLength; in handleTashkeelWithTatweel()
[all …]
Ducnv.c2405 const char *source, int32_t sourceLength, in ucnv_internalConvert() argument
2416 if(sourceLength<0) { in ucnv_internalConvert()
2419 sourceLimit=source+sourceLength; in ucnv_internalConvert()
2478 const char *source, int32_t sourceLength, in ucnv_convert() argument
2488 if( source==NULL || sourceLength<-1 || in ucnv_convert()
2496 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convert()
2514 source, sourceLength, in ucnv_convert()
2529 const char *source, int32_t sourceLength, in ucnv_convertAlgorithmic() argument
2539 if( cnv==NULL || source==NULL || sourceLength<-1 || in ucnv_convertAlgorithmic()
2547 if(sourceLength==0 || (sourceLength<0 && *source==0)) { in ucnv_convertAlgorithmic()
[all …]
/external/icu4c/common/
Dushape.cpp611 calculateSize(const UChar *source, int32_t sourceLength, in calculateSize() argument
618 destSize = sourceLength; in calculateSize()
632 for(i=0;i<sourceLength;i++) { in calculateSize()
633 …if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCha… in calculateSize()
638 for(i=0;i<sourceLength;i++) { in calculateSize()
639 …if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeel… in calculateSize()
648 for(i=0;i<sourceLength;i++) { in calculateSize()
668 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument
672 for(i = 0; i < sourceLength; i++){ in handleTashkeelWithTatweel()
681 return sourceLength; in handleTashkeelWithTatweel()
[all …]
Ducnv.c2407 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/chromium_org/third_party/icu/source/i18n/
Dumsg.cpp127 int32_t sourceLength, in u_parseMessage() argument
137 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage()
147 int32_t sourceLength, in u_vparseMessage() argument
154 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessage()
163 int32_t sourceLength, in u_parseMessageWithError() argument
175 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status); in u_parseMessageWithError()
184 int32_t sourceLength, in u_vparseMessageWithError() argument
192 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessageWithError()
485 int32_t sourceLength, in umsg_parse() argument
498 umsg_vparse(fmt,source,sourceLength,count,ap,status); in umsg_parse()
[all …]
Dtblcoll.cpp353 int32_t sourceLength, in compare() argument
358 return getEComparisonResult(ucol_strcoll(ucollator, source, sourceLength, in compare()
363 int32_t sourceLength, in compare() argument
369 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength); in compare()
569 int32_t sourceLength, uint8_t *result, in getSortKey() argument
572 return ucol_getSortKey(ucollator, source, sourceLength, result, resultLength); in getSortKey()
/external/icu4c/i18n/
Dumsg.cpp148 int32_t sourceLength, in u_parseMessage() argument
158 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage()
168 int32_t sourceLength, in u_vparseMessage() argument
175 umsg_vparse(fmt,source,sourceLength,&count,ap,status); in u_vparseMessage()
184 int32_t sourceLength, in u_parseMessageWithError() argument
196 u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status); in u_parseMessageWithError()
205 int32_t sourceLength, in u_vparseMessageWithError() argument
213 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 …]
Ducol.cpp4518 int32_t sourceLength, in ucol_getSortKey() argument
4525 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength)); in ucol_getSortKey()
4529 … return ((const Collator*)coll->delegate)->getSortKey(source, sourceLength, result, resultLength); in ucol_getSortKey()
4552 coll->sortKeyGen(coll, source, sourceLength, sink, &status); in ucol_getSortKey()
4564 const UChar *source, int32_t sourceLength, in ucol_getCollationKey() argument
4568 coll->sortKeyGen(coll, source, sourceLength, sink, &errorCode); in ucol_getCollationKey()
4636 int32_t sourceLength, in ucol_calcSortKey() argument
4652 int32_t len = (sourceLength == -1 ? u_strlen(source) : sourceLength); in ucol_calcSortKey()
5040 int32_t sourceLength, in ucol_calcSortKeySimpleTertiary() argument
5056 int32_t len = sourceLength; in ucol_calcSortKeySimpleTertiary()
[all …]
Dtblcoll.cpp334 int32_t sourceLength, in compare() argument
340 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength); in compare()
513 int32_t sourceLength, uint8_t *result, in getSortKey() argument
516 return ucol_getSortKey(ucollator, source, sourceLength, result, resultLength); in getSortKey()
/external/icu4c/i18n/unicode/
Dumsg.h233 int32_t sourceLength,
258 int32_t sourceLength,
344 int32_t sourceLength,
372 int32_t sourceLength,
562 int32_t sourceLength,
585 int32_t sourceLength,
Ducol.h532 int32_t sourceLength,
559 int32_t sourceLength,
581 const UChar *source, int32_t sourceLength,
600 const UChar *source, int32_t sourceLength,
619 const UChar *source, int32_t sourceLength,
976 int32_t sourceLength,
1064 int32_t sourceLength,
Dcoll.h449 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
469 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
541 int32_t sourceLength,
976 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
1017 int32_t sourceLength,
Dtblcoll.h311 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
360 int32_t sourceLength,
574 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dumsg.h319 int32_t sourceLength,
344 int32_t sourceLength,
430 int32_t sourceLength,
458 int32_t sourceLength,
648 int32_t sourceLength,
671 int32_t sourceLength,
Ducol.h434 int32_t sourceLength,
454 const UChar *source, int32_t sourceLength,
473 const UChar *source, int32_t sourceLength,
492 const UChar *source, int32_t sourceLength,
796 int32_t sourceLength,
884 int32_t sourceLength,
Dcoll.h418 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
438 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
510 int32_t sourceLength,
908 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
949 int32_t sourceLength,
Dtblcoll.h367 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
387 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
436 int32_t sourceLength,
646 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DAudioFIFO.cpp91 size_t sourceLength = sourceBus->length(); in push() local
94 findWrapLengths(m_writeIndex, sourceLength, part1Length, part2Length); in push()
105 && part1Length + part2Length <= sourceLength); in push()
117 m_framesInFifo += sourceLength; in push()
119 m_writeIndex = updateIndex(m_writeIndex, sourceLength); in push()
/external/chromium_org/v8/src/
Dtypedarray.js176 function TypedArraySetFromArrayLike(target, source, sourceLength, offset) { argument
178 for (var i = 0; i < sourceLength; i++) {
183 for (var i = 0; i < sourceLength; i++) {
192 var sourceLength = source.length;
202 leftIndex < sourceLength && targetPtr <= sourcePtr;
216 target.byteOffset + (offset + sourceLength - 1) * targetElementSize;
220 source.byteOffset + sourceLength * sourceElementSize;
221 for(var rightIndex = sourceLength - 1;
/external/chromium_org/third_party/WebKit/Source/web/
DWebDocument.cpp163 size_t sourceLength = images->length(); in images() local
165 temp.reserveCapacity(sourceLength); in images()
166 for (size_t i = 0; i < sourceLength; ++i) { in images()
177 size_t sourceLength = forms->length(); in forms() local
179 temp.reserveCapacity(sourceLength); in forms()
180 for (size_t i = 0; i < sourceLength; ++i) { in forms()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DRealtimeAnalyser.cpp216 unsigned sourceLength = magnitudeBuffer().size(); in getFloatFrequencyData() local
217 size_t len = min(sourceLength, destinationArray->length()); in getFloatFrequencyData()
240 unsigned sourceLength = magnitudeBuffer().size(); in getByteFrequencyData() local
241 size_t len = min(sourceLength, destinationArray->length()); in getByteFrequencyData()
/external/chromium_org/third_party/icu/source/common/unicode/
Ducnv.h1518 int32_t sourceLength,
1570 const char *source, int32_t sourceLength,
1622 const char *source, int32_t sourceLength,
1962 int32_t sourceLength,
Dushape.h100 u_shapeArabic(const UChar *source, int32_t sourceLength,
/external/icu4c/common/unicode/
Ducnv.h1556 int32_t sourceLength,
1608 const char *source, int32_t sourceLength,
1660 const char *source, int32_t sourceLength,
1975 int32_t sourceLength,
Dushape.h101 u_shapeArabic(const UChar *source, int32_t sourceLength,

12