/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen [all...] |
/external/guava/guava/src/com/google/common/escape/ |
CharEscaper.java | 82 int slen = s.length(); local 92 for (; index < slen; index++) { 108 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); 127 int charsLeft = slen - lastEscape; 135 s.getChars(lastEscape, slen, dest, destIndex);
|
CharEscaperBuilder.java | 57 int slen = s.length(); local 58 for (int index = 0; index < slen; index++) {
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharEscaper.java | 121 int slen = s.length(); 131 for (; index < slen; index++) { 146 destSize = sizeNeeded + (slen - index) + DEST_PAD; 165 int charsLeft = slen - lastEscape; 173 s.getChars(lastEscape, slen, dest, destIndex);
|
CharEscaperBuilder.java | 49 int slen = s.length(); local 50 for (int index = 0; index < slen; index++) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationFrozenMonkeyTest.java | 73 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 75 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); 163 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 165 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length()));
|
CollationMonkeyTest.java | 58 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 60 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); 135 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 137 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length()));
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationFrozenMonkeyTest.java | 69 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 71 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); 159 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 161 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length()));
|
CollationMonkeyTest.java | 54 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 56 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); 131 int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); local 133 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length()));
|
/external/ppp/pppd/ |
cbcp.c | 371 int slen; local 383 slen = strlen(us->us_number); 384 if (slen > 250) { 386 slen = 250; 389 len = 3 + 1 + slen + 1; 393 BCOPY(us->us_number, bufp, slen + 1);
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
Base64.java | 148 int sLen = s.length(); 149 int numGroups = sLen/4; 150 if (4*numGroups != sLen) 155 if (sLen != 0) { 156 if (s.charAt(sLen-1) == '=') { 160 if (s.charAt(sLen-2) == '=')
|
/external/icu/icu4c/source/test/intltest/ |
tscoll.cpp | 92 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &status) { 103 uiter_setString(&sIter, source, sLen); 146 int32_t sLen = source.length(), tLen = target.length(); 153 uiter_setString(&sIter, src, sLen); 164 u_strToUTF8(utf8Source, 256, &utf8SourceLen, src, sLen, &status); 175 /*uiter_setString(&sIter, source, sLen); 211 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); 219 partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status);
|
/external/iproute2/ip/ |
tcp_metrics.c | 100 int family, i, atype, stype, dlen = 0, slen = 0; local 146 slen = RTA_PAYLOAD(a); 155 slen = RTA_PAYLOAD(a); 163 * meaning slen != 0. 165 if (slen && f.saddr.family && f.saddr.bitlen >= 0 && 175 if (slen) 298 if (slen) { 300 format_host(family, slen, &saddr.data, abuf,
|
/external/llvm/bindings/go/llvm/ |
IRBindings.cpp | 56 LLVMMetadataRef LLVMMDString2(LLVMContextRef C, const char *Str, unsigned SLen) { 57 return wrap(MDString::get(*unwrap(C), StringRef(Str, SLen)));
|
/external/toybox/toys/posix/ |
nl.c | 46 int w = TT.w, slen = strlen(TT.s); local 64 } else printf("%*c", (int)w+slen, ' ');
|
/external/boringssl/src/crypto/asn1/ |
f_int.c | 108 int num=0,slen=0,first=1; local 156 if (num+i > slen) 162 sp=OPENSSL_realloc_clean(s,slen,num+i*2); 169 slen=num+i*2;
|
/external/icu/icu4c/source/tools/toolutil/ |
uparse.c | 364 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) { 368 if(sLen == -1) { 369 sLen = (int32_t)strlen(source); 372 while(read < source+sLen) {
|
/external/libselinux/src/ |
label_internal.h | 36 int slen; member in struct:selabel_sub
|
/frameworks/base/core/java/android/text/ |
AutoText.java | 213 int slen = src.length(); local 218 for (int i = 0; i < slen; i++) { 228 if (i == slen - 1) { 255 if (i == slen - 1) {
|
/external/curl/packages/OS400/ |
ccsidcurl.c | 107 const char * s, int slen, int sccsid) 115 *** Convert `sccsid'-coded `slen'-data bytes at `s' into `dccsid'-coded 117 *** If `slen' < 0, source string is null-terminated. 129 lslen = slen >= 0? slen: strlen(s) + 1; 138 if(slen < 0) { 143 lslen = (size_t) slen; 163 dynconvert(int dccsid, const char * s, int slen, int sccsid) 174 dlen = (size_t) (slen < 0? strlen(s): slen) + 1 [all...] |
/external/ltrace/testsuite/ltrace.main/ |
parameters-lib.c | 104 int slen; member in struct:test_struct 132 strncpy(buf, x->str, x->slen); 133 buf[x->slen] = '\0';
|
/prebuilts/go/darwin-x86/src/syscall/ |
route_bsd.go | 77 Slen byte 80 l := rsaAlignOf(int(4 + lla.Nlen + lla.Alen + lla.Slen)) 85 sa := &SockaddrDatalink{Type: lla.Type, Nlen: lla.Nlen, Alen: lla.Alen, Slen: lla.Slen} 86 for i := 0; len(sa.Data) > i && i < int(lla.Nlen+lla.Alen+lla.Slen); i++ {
|
/prebuilts/go/linux-x86/src/syscall/ |
route_bsd.go | 77 Slen byte 80 l := rsaAlignOf(int(4 + lla.Nlen + lla.Alen + lla.Slen)) 85 sa := &SockaddrDatalink{Type: lla.Type, Nlen: lla.Nlen, Alen: lla.Alen, Slen: lla.Slen} 86 for i := 0; len(sa.Data) > i && i < int(lla.Nlen+lla.Alen+lla.Slen); i++ {
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_common.c | 421 u16 slen; local 428 slen = WPA_GET_BE16(pos); 430 if (end - pos < slen) { 434 if (end - pos > slen) { 436 pos + slen, end - pos - slen); 437 end = pos + slen;
|