Home
last modified time | relevance | path

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

/external/icu/icu4c/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);
Duresdata.cpp404 int32_t sLength; in getStringArray() local
405 const UChar *s = res_getString(pResData, array.internalGetResource(pResData, i), &sLength); in getStringArray()
410 dest[i].setTo(TRUE, s, sLength); in getStringArray()
658 int32_t sLength; in getStringArrayOrStringAsArray() local
659 const UChar *s = res_getString(pResData, res, &sLength); in getStringArrayOrStringAsArray()
661 dest[0].setTo(TRUE, s, sLength); in getStringArrayOrStringAsArray()
673 int32_t sLength; in getStringOrFirstOfArray() local
674 const UChar *s = res_getString(pResData, res, &sLength); in getStringOrFirstOfArray()
676 us.setTo(TRUE, s, sLength); in getStringOrFirstOfArray()
684 s = res_getString(pResData, array.internalGetResource(pResData, 0), &sLength); in getStringOrFirstOfArray()
[all …]
/external/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()
Dbocu1tst.c737 int32_t c, i, sLength; in readString() local
739 i=sLength=0; in readString()
747 U16_APPEND_UNSAFE(s, sLength, c); in readString()
750 return sLength; in readString()
/external/icu/icu4c/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()
/external/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()
Dcollationfastlatin.h224 const uint8_t *s8, int32_t &sIndex, int32_t sLength);
229 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength);
Dmsgfmt.cpp197 void append(const UChar* s, const int32_t sLength) { in append() argument
198 app.appendString(s, sLength); in append()
199 len += sLength; in append()
/external/icu/icu4c/source/test/intltest/
Dcsdetest.cpp139 int32_t sLength = source.length(); in extractBytes() local
142 length = source.extract(0, sLength, NULL, codepage); in extractBytes()
146 source.extract(0, sLength, bytes, codepage); in extractBytes()
327 int32_t byteLength = 0, sLength = s.length(); in UTF8Test() local
331 UChar *detected = NEW_ARRAY(UChar, sLength); in UTF8Test()
341 ucsdet_getUChars(match, detected, sLength, &status); in UTF8Test()
343 if (s.compare(detected, sLength) != 0) { in UTF8Test()
Dcollationtest.cpp1439 int32_t sLength = (length >= 0) ? length : u_strlen(s); in getMergedCollationKey() local
1442 if(i == sLength) { in getMergedCollationKey()
1483 if(i == sLength) { break; } in getMergedCollationKey()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java1445 int sLength = s.length();
1448 if (i == sLength) {
1464 if (i == sLength) {
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java1442 int sLength = s.length();
1445 if (i == sLength) {
1461 if (i == sLength) {
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...