Searched refs:sLength (Results 1 - 19 of 19) sorted by relevance

/external/icu/icu4c/source/common/
H A Dcharstr.cpp60 CharString &CharString::append(const char *s, int32_t sLength, UErrorCode &errorCode) { argument
64 if(sLength<-1 || (s==NULL && sLength!=0)) {
68 if(sLength<0) {
69 sLength=uprv_strlen(s);
71 if(sLength>0) {
74 if(sLength>=(buffer.getCapacity()-len)) {
78 buffer[len+=sLength]=0;
81 sLength>=(buffer.getCapacity()-len)
85 return append(CharString(s, sLength, errorCod
[all...]
H A Dbytestrie.cpp209 BytesTrie::next(const char *s, int32_t sLength) {
210 if(sLength<0 ? *s==0 : sLength==0) {
221 // Continue a linear-match node without rechecking sLength<0.
223 if(sLength<0) {
245 if(sLength==0) {
253 --sLength;
274 if(sLength<0) {
279 if(sLength==0) {
283 --sLength;
[all...]
H A Ducharstrie.cpp178 UCharsTrie::next(const UChar *s, int32_t sLength) { argument
179 if(sLength<0 ? *s==0 : sLength==0) {
190 // Continue a linear-match node without rechecking sLength<0.
192 if(sLength<0) {
214 if(sLength==0) {
222 --sLength;
243 if(sLength<0) {
248 if(sLength==0) {
252 --sLength;
[all...]
H A Dcharstr.h52 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { argument
54 append(s, sLength, errorCode);
87 CharString &append(const char *s, int32_t sLength, UErrorCode &status);
H A Duresdata.cpp404 int32_t sLength; local
405 const UChar *s = res_getString(pResData, array.internalGetResource(pResData, i), &sLength);
410 dest[i].setTo(TRUE, s, sLength);
658 int32_t sLength; local
659 const UChar *s = res_getString(pResData, res, &sLength);
661 dest[0].setTo(TRUE, s, sLength);
673 int32_t sLength; local
674 const UChar *s = res_getString(pResData, res, &sLength);
676 us.setTo(TRUE, s, sLength);
684 s = res_getString(pResData, array.internalGetResource(pResData, 0), &sLength);
[all...]
/external/icu/icu4c/source/common/unicode/
H A Duniset.h1694 int32_t sLength=s.length(); local
1697 } else if(start>sLength) {
1698 start=sLength;
1700 return start+span(s.getBuffer()+start, sLength-start, spanCondition);
1704 int32_t sLength=s.length(); local
1707 } else if(limit>sLength) {
1708 limit=sLength;
/external/icu/icu4c/source/i18n/
H A Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) {
818 if(i2 < sLength || sLength < 0) {
857 const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) {
864 if(c == 0 && sLength < 0) {
865 sLength = sIndex - 1;
871 if(sIndex != sLength) {
890 if(c2 <= 0xc5 && 0xc2 <= c2 && nextIndex != sLength &&
896 if(i2 < sLength || sLength <
813 lookupUTF8(const uint16_t *table, UChar32 c, const uint8_t *s8, int32_t &sIndex, int32_t sLength) argument
856 nextPair(const uint16_t *table, UChar32 c, uint32_t ce, const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) argument
[all...]
H A 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);
H A Dmsgfmt.cpp196 void append(const UChar* s, const int32_t sLength) { argument
197 app.appendString(s, sLength);
198 len += sLength;
/external/icu/icu4c/source/test/cintltst/
H A Ducsdetst.c124 int32_t byteLength = 0, sLength = 0, dLength = 0; local
131 sLength = u_unescape(ss, s, sizeof(ss));
132 bytes = extractBytes(s, sLength, "UTF-8", &byteLength);
147 dLength = ucsdet_getUChars(match, detected, sLength, &status);
149 if (u_strCompare(detected, dLength, s, sLength, FALSE) != 0) {
285 int32_t sLength = 0; local
293 sLength = u_unescape(ss, s, sizeof(ss));
294 bytes = extractBytes(s, sLength, "ISO-8859-1", &byteLength);
H A Dbocu1tst.c737 int32_t c, i, sLength; local
739 i=sLength=0;
747 U16_APPEND_UNSAFE(s, sLength, c);
750 return sLength;
/external/icu/icu4c/source/test/intltest/
H A Dcsdetest.cpp139 int32_t sLength = source.length(); local
142 length = source.extract(0, sLength, NULL, codepage);
146 source.extract(0, sLength, bytes, codepage);
327 int32_t byteLength = 0, sLength = s.length(); local
331 UChar *detected = NEW_ARRAY(UChar, sLength);
341 ucsdet_getUChars(match, detected, sLength, &status);
343 if (s.compare(detected, sLength) != 0) {
H A Dcollationtest.cpp1443 int32_t sLength = (length >= 0) ? length : u_strlen(s);
1446 if(i == sLength) {
1487 if(i == sLength) { break; }
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DCollationTest.java1440 int sLength = s.length();
1443 if (i == sLength) {
1459 if (i == sLength) {
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationTest.java1439 int sLength = s.length();
1442 if (i == sLength) {
1458 if (i == sLength) {
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...
/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 ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...

Completed in 1567 milliseconds