Searched defs:srcLength (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium_org/third_party/icu/source/common/
H A Ducasemap_titlecase_brkiter.cpp46 const char *src, int32_t srcLength,
49 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
61 (const uint8_t *)src, srcLength,
44 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dunistr_titlecase_brkiter.cpp32 const UChar *src, int32_t srcLength,
34 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
35 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode);
30 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustr_titlecase_brkiter.cpp52 const UChar *src, int32_t srcLength,
59 ubrk_setText(csm.iter=titleIter, src, srcLength, pErrorCode);
61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode);
66 src, srcLength,
77 const UChar *src, int32_t srcLength,
80 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode);
87 src, srcLength,
51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
75 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustrcase_locale.cpp86 const UChar *src, int32_t srcLength,
94 src, srcLength,
100 const UChar *src, int32_t srcLength,
108 src, srcLength,
85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
H A Dustrtrns.cpp44 int32_t srcLength,
58 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
75 if(srcLength < 0) {
92 srcLimit = (src!=NULL)?(src + srcLength):NULL;
144 int32_t srcLength,
148 src, srcLength,
158 int32_t srcLength,
173 if( (src==NULL && srcLength!=0) || srcLength <
40 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
140 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument
154 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
246 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
H A Dubidiwrt.c62 doWriteForward(const UChar *src, int32_t srcLength, argument
70 int32_t length=srcLength;
73 return srcLength;
78 return srcLength;
85 if(destSize<srcLength) {
87 return srcLength;
90 U16_NEXT(src, i, srcLength, c);
93 } while(i<srcLength);
94 return srcLength;
107 while(--srcLength>
155 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
312 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dunistr_case.cpp40 int32_t srcLength,
53 srcStart = srcLength = 0;
66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength,
72 // get the srcLength if necessary
73 if(srcLength < 0) {
74 srcLength = u_strlen(srcChars + srcStart);
76 if(length != srcLength) {
77 return (int8_t)((length - srcLength) >> 24 | 1);
36 doCaseCompare(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
H A Dunistr_cnv.cpp85 UnicodeString::UnicodeString(const char *src, int32_t srcLength, argument
95 } else if(srcLength<-1) {
99 if(srcLength==-1) {
100 srcLength=(int32_t)uprv_strlen(src);
102 if(srcLength>0) {
106 doCodepageCreate(src, srcLength, cnv, errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
H A Dunorm.cpp48 int32_t srcLength,
52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, argument
64 src, srcLength, pErrorCode);
66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
71 unorm_isNormalized(const UChar *src, int32_t srcLength, argument
75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, argument
87 src, srcLength, pErrorCode);
89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCod
47 unorm_quickCheck(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode) argument
97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
[all...]
H A Dpunycode.cpp182 u_strToPunycode(const UChar *src, int32_t srcLength, argument
196 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
206 if(srcLength==-1) {
243 for(j=0; j<srcLength; ++j) {
263 } else if(U16_IS_LEAD(c) && (j+1)<srcLength && U16_IS_TRAIL(c2=src[j+1])) {
375 u_strFromPunycode(const UChar *src, int32_t srcLength, argument
388 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
393 if(srcLength==-1) {
394 srcLength=u_strlen(src);
405 for(j=srcLength;
[all...]
H A Ducasemap.cpp211 * context [0..srcLength[ into account.
260 const uint8_t *src, int32_t srcLength,
279 csc.limit=srcLength;
285 while(prev<srcLength) {
293 if(idx==UBRK_DONE || idx>srcLength) {
294 idx=srcLength;
392 const uint8_t *src, int32_t srcLength,
396 csc.limit=srcLength;
400 src, &csc, 0, srcLength,
407 const uint8_t *src, int32_t srcLength,
258 ucasemap_internalUTF8ToTitle(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument
390 ucasemap_internalUTF8ToLower(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument
405 ucasemap_internalUTF8ToUpper(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument
420 utf8_foldCase(const UCaseProps *csp, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument
458 ucasemap_internalUTF8Fold(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument
466 ucasemap_mapUTF8(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, UErrorCode *pErrorCode) argument
507 ucasemap_utf8ToLower(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
518 ucasemap_utf8ToUpper(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
529 ucasemap_utf8FoldCase(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
H A Dustr_wcs.cpp67 int32_t srcLength,
89 if(srcLength == -1){
90 srcLength = u_strlen(pSrc);
93 pSrcLimit = pSrc + srcLength;
108 int32_t newCapacity = 2 * srcLength;
190 nulVal = (nulLen < srcLength) ? 1 : 0;
234 int32_t srcLength,
242 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
251 if(srcLength
63 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
230 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
281 _strFromWCS( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument
484 u_strFromWCS(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
/external/icu/icu4c/source/common/
H A Ducasemap_titlecase_brkiter.cpp46 const char *src, int32_t srcLength,
49 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
61 (const uint8_t *)src, srcLength,
44 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dunistr_titlecase_brkiter.cpp32 const UChar *src, int32_t srcLength,
34 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
35 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode);
30 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustr_titlecase_brkiter.cpp52 const UChar *src, int32_t srcLength,
59 ubrk_setText(csm.iter=titleIter, src, srcLength, pErrorCode);
61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode);
66 src, srcLength,
77 const UChar *src, int32_t srcLength,
80 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode);
87 src, srcLength,
51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
75 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
H A Dustrcase_locale.cpp86 const UChar *src, int32_t srcLength,
94 src, srcLength,
100 const UChar *src, int32_t srcLength,
108 src, srcLength,
85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
H A Dustrtrns.cpp44 int32_t srcLength,
58 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
75 if(srcLength < 0) {
92 srcLimit = (src!=NULL)?(src + srcLength):NULL;
144 int32_t srcLength,
148 src, srcLength,
158 int32_t srcLength,
173 if( (src==NULL && srcLength!=0) || srcLength <
40 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
140 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument
154 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
246 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
H A Dubidiwrt.c62 doWriteForward(const UChar *src, int32_t srcLength, argument
70 int32_t length=srcLength;
73 return srcLength;
78 return srcLength;
85 if(destSize<srcLength) {
87 return srcLength;
90 U16_NEXT(src, i, srcLength, c);
93 } while(i<srcLength);
94 return srcLength;
107 while(--srcLength>
155 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
312 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dunistr_case.cpp40 int32_t srcLength,
53 srcStart = srcLength = 0;
66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength,
72 // get the srcLength if necessary
73 if(srcLength < 0) {
74 srcLength = u_strlen(srcChars + srcStart);
76 if(length != srcLength) {
77 return (int8_t)((length - srcLength) >> 24 | 1);
36 doCaseCompare(int32_t start, int32_t length, const UChar *srcChars, int32_t srcStart, int32_t srcLength, uint32_t options) const argument
H A Dunistr_cnv.cpp85 UnicodeString::UnicodeString(const char *src, int32_t srcLength, argument
95 } else if(srcLength<-1) {
99 if(srcLength==-1) {
100 srcLength=(int32_t)uprv_strlen(src);
102 if(srcLength>0) {
106 doCodepageCreate(src, srcLength, cnv, errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
H A Dunorm.cpp48 int32_t srcLength,
52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, argument
64 src, srcLength, pErrorCode);
66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
71 unorm_isNormalized(const UChar *src, int32_t srcLength, argument
75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, argument
87 src, srcLength, pErrorCode);
89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCod
47 unorm_quickCheck(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode) argument
97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontFaceElement.cpp301 unsigned srcLength = srcList ? srcList->length() : 0; local
302 for (unsigned i = 0; i < srcLength; i++) {
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dnptrans.cpp139 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, argument
149 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
154 UnicodeString rsource(src,srcLength);
184 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, argument
195 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
/external/icu/icu4c/source/test/intltest/
H A Dnptrans.cpp139 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, argument
149 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
154 UnicodeString rsource(src,srcLength);
184 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, argument
195 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dnfsprep.c40 nfs4_prepare( const char* src, int32_t srcLength, argument
66 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){
73 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status);
86 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status);
174 getPrefixSuffix(const char *src, int32_t srcLength, argument
181 while(i<srcLength){
183 if((i+1) == srcLength){
196 *suffixLen = srcLength - i;
206 nfs4_mixed_prepare( const char* src, int32_t srcLength, argument
224 if((src==NULL) || (srcLength <
280 nfs4_cis_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument
289 nfs4_cs_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UBool isCaseSensitive, UParseError* parseError, UErrorCode* status) argument
[all...]

Completed in 4247 milliseconds

123