Home
last modified time | relevance | path

Searched refs:sLength (Results 1 – 25 of 43) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcharstr.cpp73 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append() argument
77 if(sLength<-1 || (s==NULL && sLength!=0)) { in append()
81 if(sLength<0) { in append()
82 sLength= static_cast<int32_t>(uprv_strlen(s)); in append()
84 if(sLength>0) { in append()
87 if(sLength>=(buffer.getCapacity()-len)) { in append()
91 buffer[len+=sLength]=0; in append()
94 sLength>=(buffer.getCapacity()-len) in append()
98 return append(CharString(s, sLength, errorCode), errorCode); in append()
99 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
[all …]
Ducharstrie.cpp178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next() argument
180 if(sLength<0 ? *s==0 : sLength==0) { in next()
193 if(sLength<0) { in next()
215 if(sLength==0) { in next()
223 --sLength; in next()
244 if(sLength<0) { in next()
249 if(sLength==0) { in next()
253 --sLength; in next()
Dbytestrie.cpp209 BytesTrie::next(const char *s, int32_t sLength) { in next() argument
210 if(sLength<0 ? *s==0 : sLength==0) { in next()
223 if(sLength<0) { in next()
245 if(sLength==0) { in next()
253 --sLength; in next()
274 if(sLength<0) { in next()
279 if(sLength==0) { in next()
283 --sLength; in next()
Dcharstr.h52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() argument
54 append(s, sLength, errorCode); in CharString()
99 CharString &append(const char *s, int32_t sLength, UErrorCode &status);
/third_party/icu/icu4c/source/common/
Dcharstr.cpp96 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append() argument
100 if(sLength<-1 || (s==NULL && sLength!=0)) { in append()
104 if(sLength<0) { in append()
105 sLength= static_cast<int32_t>(uprv_strlen(s)); in append()
107 if(sLength>0) { in append()
110 if(sLength>=(buffer.getCapacity()-len)) { in append()
114 buffer[len+=sLength]=0; in append()
117 sLength>=(buffer.getCapacity()-len) in append()
121 return append(CharString(s, sLength, errorCode), errorCode); in append()
122 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
[all …]
Ducharstrie.cpp178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next() argument
180 if(sLength<0 ? *s==0 : sLength==0) { in next()
193 if(sLength<0) { in next()
215 if(sLength==0) { in next()
223 --sLength; in next()
244 if(sLength<0) { in next()
249 if(sLength==0) { in next()
253 --sLength; in next()
Dbytestrie.cpp209 BytesTrie::next(const char *s, int32_t sLength) { in next() argument
210 if(sLength<0 ? *s==0 : sLength==0) { in next()
223 if(sLength<0) { in next()
245 if(sLength==0) { in next()
253 --sLength; in next()
274 if(sLength<0) { in next()
279 if(sLength==0) { in next()
283 --sLength; in next()
Dcharstr.h52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() argument
54 append(s, sLength, errorCode); in CharString()
113 CharString &append(const char *s, int32_t sLength, UErrorCode &status);
/third_party/node/deps/icu-small/source/common/
Dcharstr.cpp112 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append() argument
116 if(sLength<-1 || (s==NULL && sLength!=0)) { in append()
120 if(sLength<0) { in append()
121 sLength= static_cast<int32_t>(uprv_strlen(s)); in append()
123 if(sLength>0) { in append()
126 if(sLength>=(buffer.getCapacity()-len)) { in append()
130 buffer[len+=sLength]=0; in append()
133 sLength>=(buffer.getCapacity()-len) in append()
137 return append(CharString(s, sLength, errorCode), errorCode); in append()
138 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
[all …]
Ducharstrie.cpp178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next() argument
180 if(sLength<0 ? *s==0 : sLength==0) { in next()
193 if(sLength<0) { in next()
215 if(sLength==0) { in next()
223 --sLength; in next()
244 if(sLength<0) { in next()
249 if(sLength==0) { in next()
253 --sLength; in next()
Dbytestrie.cpp209 BytesTrie::next(const char *s, int32_t sLength) { in next() argument
210 if(sLength<0 ? *s==0 : sLength==0) { in next()
223 if(sLength<0) { in next()
245 if(sLength==0) { in next()
253 --sLength; in next()
274 if(sLength<0) { in next()
279 if(sLength==0) { in next()
283 --sLength; in next()
Dcharstr.h52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() argument
54 append(s, sLength, errorCode); in CharString()
129 CharString &append(const char *s, int32_t sLength, UErrorCode &status);
/third_party/skia/third_party/externals/icu/source/common/
Dcharstr.cpp112 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { in append() argument
116 if(sLength<-1 || (s==NULL && sLength!=0)) { in append()
120 if(sLength<0) { in append()
121 sLength= static_cast<int32_t>(uprv_strlen(s)); in append()
123 if(sLength>0) { in append()
126 if(sLength>=(buffer.getCapacity()-len)) { in append()
130 buffer[len+=sLength]=0; in append()
133 sLength>=(buffer.getCapacity()-len) in append()
137 return append(CharString(s, sLength, errorCode), errorCode); in append()
138 } else if(ensureCapacity(len+sLength+1, 0, errorCode)) { in append()
[all …]
Ducharstrie.cpp178 UCharsTrie::next(ConstChar16Ptr ptr, int32_t sLength) { in next() argument
180 if(sLength<0 ? *s==0 : sLength==0) { in next()
193 if(sLength<0) { in next()
215 if(sLength==0) { in next()
223 --sLength; in next()
244 if(sLength<0) { in next()
249 if(sLength==0) { in next()
253 --sLength; in next()
Dbytestrie.cpp209 BytesTrie::next(const char *s, int32_t sLength) { in next() argument
210 if(sLength<0 ? *s==0 : sLength==0) { in next()
223 if(sLength<0) { in next()
245 if(sLength==0) { in next()
253 --sLength; in next()
274 if(sLength<0) { in next()
279 if(sLength==0) { in next()
283 --sLength; in next()
Dcharstr.h52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { in CharString() argument
54 append(s, sLength, errorCode); in CharString()
129 CharString &append(const char *s, int32_t sLength, UErrorCode &status);
/third_party/icu/icu4c/source/test/cintltst/
Ducsdetst.c124 int32_t byteLength = 0, sLength = 0, dLength = 0; in TestUTF8() local
131 sLength = u_unescape(ss, s, sizeof(ss)); in TestUTF8()
132 bytes = extractBytes(s, sLength, "UTF-8", &byteLength); in TestUTF8()
147 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8()
149 if (u_strCompare(detected, dLength, s, sLength, FALSE) != 0) { in TestUTF8()
285 int32_t sLength = 0; in TestInputFilter() local
293 sLength = u_unescape(ss, s, sizeof(ss)); in TestInputFilter()
294 bytes = extractBytes(s, sLength, "ISO-8859-1", &byteLength); in TestInputFilter()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Duniset.h1737 int32_t sLength=s.length(); in span() local
1740 } else if(start>sLength) { in span()
1741 start=sLength; in span()
1743 return start+span(s.getBuffer()+start, sLength-start, spanCondition); in span()
1747 int32_t sLength=s.length(); in spanBack() local
1750 } else if(limit>sLength) { in spanBack()
1751 limit=sLength; in spanBack()
/third_party/icu/icu4c/source/common/unicode/
Duniset.h1721 int32_t sLength=s.length(); in span() local
1724 } else if(start>sLength) { in span()
1725 start=sLength; in span()
1727 return start+span(s.getBuffer()+start, sLength-start, spanCondition); in span()
1731 int32_t sLength=s.length(); in spanBack() local
1734 } else if(limit>sLength) { in spanBack()
1735 limit=sLength; in spanBack()
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Duniset.h1718 int32_t sLength=s.length(); in span() local
1721 } else if(start>sLength) { in span()
1722 start=sLength; in span()
1724 return start+span(s.getBuffer()+start, sLength-start, spanCondition); in span()
1728 int32_t sLength=s.length(); in spanBack() local
1731 } else if(limit>sLength) { in spanBack()
1732 limit=sLength; in spanBack()
/third_party/node/deps/icu-small/source/common/unicode/
Duniset.h1768 int32_t sLength=s.length(); in span() local
1771 } else if(start>sLength) { in span()
1772 start=sLength; in span()
1774 return start+span(s.getBuffer()+start, sLength-start, spanCondition); in span()
1778 int32_t sLength=s.length(); in spanBack() local
1781 } else if(limit>sLength) { in spanBack()
1782 limit=sLength; in spanBack()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
818 if(i2 < sLength || sLength < 0) { in lookupUTF8()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
864 if(c == 0 && sLength < 0) { in nextPair()
865 sLength = sIndex - 1; in nextPair()
871 if(sIndex != sLength) { in nextPair()
890 if(c2 <= 0xc5 && 0xc2 <= c2 && nextIndex != sLength && in nextPair()
896 if(i2 < sLength || sLength < 0) { in nextPair()
913 if(c2 == 0 && sLength < 0) { in nextPair()
914 sLength = sIndex; in nextPair()
/third_party/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
818 if(i2 < sLength || sLength < 0) { in lookupUTF8()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
864 if(c == 0 && sLength < 0) { in nextPair()
865 sLength = sIndex - 1; in nextPair()
871 if(sIndex != sLength) { in nextPair()
890 if(c2 <= 0xc5 && 0xc2 <= c2 && nextIndex != sLength && in nextPair()
896 if(i2 < sLength || sLength < 0) { in nextPair()
913 if(c2 == 0 && sLength < 0) { in nextPair()
914 sLength = sIndex; in nextPair()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
818 if(i2 < sLength || sLength < 0) { in lookupUTF8()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
864 if(c == 0 && sLength < 0) { in nextPair()
865 sLength = sIndex - 1; in nextPair()
871 if(sIndex != sLength) { in nextPair()
890 if(c2 <= 0xc5 && 0xc2 <= c2 && nextIndex != sLength && in nextPair()
896 if(i2 < sLength || sLength < 0) { in nextPair()
913 if(c2 == 0 && sLength < 0) { in nextPair()
914 sLength = sIndex; in nextPair()
/third_party/node/deps/icu-small/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
818 if(i2 < sLength || sLength < 0) { in lookupUTF8()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
864 if(c == 0 && sLength < 0) { in nextPair()
865 sLength = sIndex - 1; in nextPair()
871 if(sIndex != sLength) { in nextPair()
890 if(c2 <= 0xc5 && 0xc2 <= c2 && nextIndex != sLength && in nextPair()
896 if(i2 < sLength || sLength < 0) { in nextPair()
913 if(c2 == 0 && sLength < 0) { in nextPair()
914 sLength = sIndex; in nextPair()

12