Searched defs:sourceLength (Results 1 - 20 of 20) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/unicode/brew/
H A DUnicodeBrew.cpp77 int toLower(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument
80 const UChar* sourceEnd = source + sourceLength;
84 if (sourceLength <= resultLength) {
100 int toUpper(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError)
103 const UChar* sourceEnd = source + sourceLength;
107 if (sourceLength <= resultLength) {
123 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError)
126 if (resultLength < sourceLength) {
128 return sourceLength;
130 for (int i = 0; i < sourceLength;
[all...]
/external/webkit/Source/JavaScriptCore/wtf/unicode/wince/
H A DUnicodeWinCE.cpp85 int toLower(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument
88 const UChar* sourceEnd = source + sourceLength;
93 if (sourceLength <= resultLength)
109 int toUpper(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument
112 const UChar* sourceEnd = source + sourceLength;
117 if (sourceLength <= resultLength)
133 int foldCase(UChar* result, int resultLength, const UChar* source, int sourceLength, bool* isError) argument
136 if (resultLength < sourceLength) {
138 return sourceLength;
140 for (int i = 0; i < sourceLength;
[all...]
/external/webkit/Source/WebCore/platform/text/
H A DTextEncoding.cpp88 size_t sourceLength = length; local
93 if (unorm_quickCheck(source, sourceLength, UNORM_NFC, &err) != UNORM_YES) {
95 normalizedCharacters.grow(sourceLength);
105 sourceLength = normalizedLength;
107 return newTextCodec(*this)->encode(source, sourceLength, handling);
/external/webkit/Source/WebCore/platform/audio/
H A DAudioBus.cpp403 int sourceLength = resamplerSourceBus->length(); local
404 int destinationLength = sourceLength / sampleRateRatio;
416 resampler.process(source, destination, sourceLength);
/external/webkit/Source/WebCore/platform/text/mac/
H A DShapeArabic.c351 shapeUnicode(UChar *dest, int32_t sourceLength, argument
369 for (i = 0; i < sourceLength; i++) {
378 iend = sourceLength;
389 Nx = sourceLength + 2, Nw = 0;
395 while (Nx >= sourceLength) { /* we need to know about next char */
465 Nx = sourceLength + 2;
472 destSize = sourceLength;
477 int32_t shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) { argument
486 if( source==NULL || sourceLength<-1 ||
496 if(sourceLength
[all...]
H A DTextCodecMac.cpp207 int sourceLength = length; local
211 while ((sourceLength || bufferWasFull) && !sawError) {
214 OSStatus status = decode(sourcePointer, sourceLength, bytesRead, buffer, sizeof(buffer), bytesWritten);
215 ASSERT(bytesRead <= sourceLength);
217 sourceLength -= bytesRead;
231 if (sourceLength) {
233 sourceLength -= 1;
240 if (sourceLength < bufferSize) {
241 memcpy(m_bufferedBytes, sourcePointer, sourceLength);
242 m_numBufferedBytes = sourceLength;
[all...]
/external/webkit/Source/WebCore/webaudio/
H A DRealtimeAnalyser.cpp209 unsigned sourceLength = magnitudeBuffer().size(); local
210 size_t len = min(sourceLength, destinationArray->length());
233 unsigned sourceLength = magnitudeBuffer().size(); local
234 size_t len = min(sourceLength, destinationArray->length());
/external/icu4c/i18n/
H A Dtblcoll.cpp354 int32_t sourceLength,
359 return getEComparisonResult(ucol_strcoll(ucollator, source, sourceLength,
364 int32_t sourceLength,
370 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength);
595 int32_t sourceLength, uint8_t *result,
598 return ucol_getSortKey(ucollator, source, sourceLength, result, resultLength);
353 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength) const argument
363 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode &status) const argument
594 getSortKey(const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) const argument
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);
488 int32_t sourceLength,
501 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
486 umsg_parse( const UMessageFormat *fmt, const UChar *source, int32_t sourceLength, int32_t *count, UErrorCode *status, ...) argument
508 umsg_vparse(const UMessageFormat *fmt, const UChar *source, int32_t sourceLength, int32_t *count, va_list ap, UErrorCode *status) argument
[all...]
H A Dcoll.cpp425 Collator::EComparisonResult Collator::compare(const UChar* source, int32_t sourceLength, argument
430 return (Collator::EComparisonResult)compare(source, sourceLength, target, targetLength, ec);
567 int32_t sourceLength,
574 return ucol_getBound(source, sourceLength, boundType, noOfLevels, result, resultLength, &status);
566 getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode &status) argument
H A Ducol.cpp4474 int32_t sourceLength,
4481 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength));
4499 coll->sortKeyGen(coll, source, sourceLength, sink, &status);
4510 const UChar *source, int32_t sourceLength,
4514 coll->sortKeyGen(coll, source, sourceLength, sink, pErrorCode);
4590 int32_t sourceLength,
4610 int32_t len = (sourceLength == -1 ? u_strlen(source) : sourceLength);
4989 int32_t sourceLength,
4472 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument
4509 ucol_getSortKeyWithAllocation(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *&result, int32_t &resultCapacity, UErrorCode *pErrorCode) argument
4588 ucol_calcSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, SortKeyByteSink &result, UErrorCode *status) argument
4987 ucol_calcSortKeySimpleTertiary(const UCollator *coll, const UChar *source, int32_t sourceLength, SortKeyByteSink &result, UErrorCode *status) argument
6093 ucol_getBound(const uint8_t *source, int32_t sourceLength, UColBoundMode boundType, uint32_t noOfLevels, uint8_t *result, int32_t resultLength, UErrorCode *status) argument
7035 int32_t sourceLength; local
7592 ucol_strcollRegular(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument
8072 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8196 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8208 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8220 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
[all...]
/external/icu4c/test/cintltst/
H A Dcmsgtst.c923 UChar* source, int32_t sourceLength, UErrorCode *status, ...)
927 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status);
922 CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, UChar* source, int32_t sourceLength, UErrorCode *status, ...) argument
H A Dnucnvtst.c1795 int32_t sourceLength=-1; local
1801 sourceLength = len[i];
1802 enc = ucnv_detectUnicodeSignature(source, sourceLength , &signatureLength, &err);
/external/icu4c/common/
H A Dushape.c611 calculateSize(const UChar *source, int32_t sourceLength, argument
619 destSize = sourceLength;
633 for(i=0;i<sourceLength;i++) {
634 if( ((isAlefChar(source[i]))&& (i<(sourceLength-1)) &&(source[i+1] == LAM_CHAR)) || (isTashkeelCharFE(source[i])) ) {
639 for(i=0;i<sourceLength;i++) {
640 if( ( (source[i] == LAM_CHAR) && (i<(sourceLength-1)) && (isAlefChar(source[i+1]))) || (isTashkeelCharFE(source[i])) ) {
649 for(i=0;i<sourceLength;i++) {
670 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, argument
675 for(i = 0; i < sourceLength; i++){
684 return sourceLength;
710 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint64_t options, UErrorCode *pErrorCode ) argument
901 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
958 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
1025 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption) argument
1078 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint64_t options, UErrorCode *pErrorCode, int shapingMode) argument
1193 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint64_t options, UErrorCode *pErrorCode, int tashkeelFlag) argument
1363 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint64_t options, UErrorCode *pErrorCode) argument
1418 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint64_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/icu4c/test/intltest/
H A Dapicoll.cpp1931 int32_t sourceLength,
1935 return Collator::compare(source, sourceLength, target, targetLength);
1947 int32_t sourceLength,
1955 int32_t sourceLength,
1979 virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
2027 int32_t sourceLength,
2032 UnicodeString s(source, sourceLength);
2051 int32_t sourceLength,
2056 UnicodeString str(source, sourceLength);
2070 int32_t TestCollator::getSortKey(const UChar*source, int32_t sourceLength, argument
1930 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength) const argument
2026 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode& status) const argument
2050 getCollationKey(const UChar*source, int32_t sourceLength, CollationKey& key, UErrorCode& status) const argument
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DWebFrameImpl.cpp708 size_t sourceLength = forms->length(); local
710 temp.reserveCapacity(sourceLength);
711 for (size_t i = 0; i < sourceLength; ++i) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 218 milliseconds