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

12

/external/chromium_org/third_party/icu/source/common/
H A Dushape.cpp611 calculateSize(const UChar *source, int32_t sourceLength, argument
618 destSize = sourceLength;
632 for(i=0;i<sourceLength;i++) {
633 if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCharFE(source[i])) ) {
638 for(i=0;i<sourceLength;i++) {
639 if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeelCharFE(source[i])) ) {
648 for(i=0;i<sourceLength;i++) {
668 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, argument
672 for(i = 0; i < sourceLength; i++){
681 return sourceLength;
706 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) argument
881 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
941 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
1008 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) argument
1061 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) argument
1174 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) argument
1346 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) argument
1399 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv.c2415 const char *source, int32_t sourceLength,
2426 if(sourceLength<0) {
2429 sourceLimit=source+sourceLength;
2488 const char *source, int32_t sourceLength,
2498 if( source==NULL || sourceLength<-1 ||
2506 if(sourceLength==0 || (sourceLength<0 && *source==0)) {
2524 source, sourceLength,
2539 const char *source, int32_t sourceLength,
2549 if( cnv==NULL || source==NULL || sourceLength<
2413 ucnv_internalConvert(UConverter *outConverter, UConverter *inConverter, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2486 ucnv_convert(const char *toConverterName, const char *fromConverterName, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2535 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2592 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2604 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2671 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument
2763 ucnv_detectUnicodeSignature( const char* source, int32_t sourceLength, int32_t* signatureLength, UErrorCode* pErrorCode) argument
[all...]
/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.c2415 const char *source, int32_t sourceLength,
2426 if(sourceLength<0) {
2429 sourceLimit=source+sourceLength;
2488 const char *source, int32_t sourceLength,
2498 if( source==NULL || sourceLength<-1 ||
2506 if(sourceLength==0 || (sourceLength<0 && *source==0)) {
2524 source, sourceLength,
2539 const char *source, int32_t sourceLength,
2549 if( cnv==NULL || source==NULL || sourceLength<
2413 ucnv_internalConvert(UConverter *outConverter, UConverter *inConverter, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2486 ucnv_convert(const char *toConverterName, const char *fromConverterName, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2535 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2592 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2604 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2671 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument
2763 ucnv_detectUnicodeSignature( const char* source, int32_t sourceLength, int32_t* signatureLength, UErrorCode* pErrorCode) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioFIFO.cpp91 size_t sourceLength = sourceBus->length();
94 findWrapLengths(m_writeIndex, sourceLength, part1Length, part2Length);
105 && part1Length + part2Length <= sourceLength);
117 m_framesInFifo += sourceLength;
119 m_writeIndex = updateIndex(m_writeIndex, sourceLength);
/external/chromium_org/third_party/icu/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.h521 * @param sourceLength The length of source, or -1 if null-terminated.
534 int32_t sourceLength,
545 * @param sourceLength The length of source, or -1 if null-terminated.
560 int32_t sourceLength,
570 * @param sourceLength The length of source, or -1 if null-terminated.
581 const UChar *source, int32_t sourceLength,
589 * @param sourceLength The length of source, or -1 if null-terminated.
600 const UChar *source, int32_t sourceLength,
608 * @param sourceLength The length of source, or -1 if null-terminated.
619 const UChar *source, int32_t sourceLength,
[all...]
H A Dcoll.h439 * @param sourceLength the length of the source string array. If this value
449 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
458 * @param sourceLength the length of the source string array. If this value
469 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
533 * @param sourceLength length of the collation key
541 int32_t sourceLength,
966 * @param sourceLength length of string to be processed.
976 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
995 * @param sourceLength The length of source, or -1 if null-terminated.
1017 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,
352 * @param sourceLength the length of the source string.
360 int32_t sourceLength,
568 * @param sourceLength length of string to be processed. If -1, the string
577 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
/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.h537 * @param sourceLength The length of source, or -1 if null-terminated.
550 int32_t sourceLength,
561 * @param sourceLength The length of source, or -1 if null-terminated.
576 int32_t sourceLength,
586 * @param sourceLength The length of source, or -1 if null-terminated.
597 const UChar *source, int32_t sourceLength,
605 * @param sourceLength The length of source, or -1 if null-terminated.
616 const UChar *source, int32_t sourceLength,
624 * @param sourceLength The length of source, or -1 if null-terminated.
635 const UChar *source, int32_t sourceLength,
[all...]
H A Dcoll.h416 * @param sourceLength the length of the source string array. If this value
426 virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
435 * @param sourceLength the length of the source string array. If this value
446 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
510 * @param sourceLength length of the collation key
518 int32_t sourceLength,
1000 * @param sourceLength length of string to be processed.
1010 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
1029 * @param sourceLength The length of source, or -1 if null-terminated.
1051 int32_t sourceLength,
[all...]
H A Dtblcoll.h297 * @param sourceLength the length of the source string array. If this value
308 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
366 * @param sourceLength the length of the source string.
374 int32_t sourceLength,
625 * @param sourceLength length of string to be processed. If -1, the string
634 virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
/external/chromium_org/third_party/skia/src/gpu/gl/builders/
H A DGrGLShaderStringBuilder.cpp36 GrGLint sourceLength = static_cast<GrGLint>(prettySource.size()); local
38 GrGLint sourceLength = static_cast<GrGLint>(shaderSrc.size()); local
41 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &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,
449 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength);
455 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
461 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
493 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
505 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
517 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...]
/external/chromium_org/v8/src/
H A Dtypedarray.js190 function TypedArraySetFromArrayLike(target, source, sourceLength, offset) {
192 for (var i = 0; i < sourceLength; i++) {
197 for (var i = 0; i < sourceLength; i++) {
206 var sourceLength = source.length;
216 leftIndex < sourceLength && targetPtr <= sourcePtr;
230 target.byteOffset + (offset + sourceLength - 1) * targetElementSize;
234 source.byteOffset + sourceLength * sourceElementSize;
235 for(var rightIndex = sourceLength - 1;
/external/chromium_org/third_party/icu/source/i18n/
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...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebDocument.cpp166 size_t sourceLength = images->length(); local
168 temp.reserveCapacity(sourceLength);
169 for (size_t i = 0; i < sourceLength; ++i) {
180 size_t sourceLength = forms->length(); local
182 temp.reserveCapacity(sourceLength);
183 for (size_t i = 0; i < sourceLength; ++i) {
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DRealtimeAnalyser.cpp206 unsigned sourceLength = magnitudeBuffer().size(); local
207 size_t len = std::min(sourceLength, destinationArray->length());
230 unsigned sourceLength = magnitudeBuffer().size(); local
231 size_t len = std::min(sourceLength, destinationArray->length());
/external/chromium_org/third_party/icu/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.h1517 * (if sourceLength==-1, see parameters)
1540 * @param sourceLength Length of the input text, in bytes, or -1 for NUL-terminated input.
1562 int32_t sourceLength,
1595 * @param sourceLength Length of the input text, in bytes
1614 const char *source, int32_t sourceLength,
1647 * @param sourceLength Length of the input text, in bytes
1666 const char *source, int32_t sourceLength,
1970 * @param sourceLength Length of the input string, or -1 if terminated with a NUL byte.
1981 int32_t sourceLength,
H A Dunorm.h194 * @param sourceLength The length of source, or -1 if NUL-terminated.
207 unorm_normalize(const UChar *source, int32_t 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.h1517 * (if sourceLength==-1, see parameters)
1540 * @param sourceLength Length of the input text, in bytes, or -1 for NUL-terminated input.
1562 int32_t sourceLength,
1595 * @param sourceLength Length of the input text, in bytes
1614 const char *source, int32_t sourceLength,
1647 * @param sourceLength Length of the input text, in bytes
1666 const char *source, int32_t sourceLength,
1970 * @param sourceLength Length of the input string, or -1 if terminated with a NUL byte.
1981 int32_t sourceLength,

Completed in 2368 milliseconds

12