/packages/apps/Email/emailcommon/src/org/apache/commons/io/filefilter/ |
AbstractFileFilter.java | 64 return (period > 0 ? name.substring(period + 1) : name);
|
/external/proguard/src/proguard/io/ |
DataEntryObfuscator.java | 87 String className = dataEntryName.substring(0, suffixIndex); 105 newClassName + dataEntryName.substring(suffixIndex); 124 newPackagePrefix + dataEntryName.substring(packagePrefix.length());
|
/external/proguard/src/proguard/util/ |
NameParser.java | 57 parse(regularExpression.substring(index + 1))); 71 parse(regularExpression.substring(index + 1))); 79 (StringMatcher)new FixedStringMatcher(regularExpression.substring(0, index), nextMatcher) :
|
ListUtil.java | 86 list.add(string.substring(index + 1, nextIndex)); 97 String substring = string.substring(index, nextIndex).trim(); local 98 if (substring.length() > 0) 100 list.add(substring);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
DOMSyntaxHighlighter.js | 61 var plainText = line.substring(plainTextStart, column); 64 var token = line.substring(column, newColumn); 72 var plainText = line.substring(plainTextStart, line.length);
|
/frameworks/base/core/java/android/webkit/ |
DataLoader.java | 43 String url = dataUrl.substring("data:".length()); 47 String contentType = url.substring(0, commaIndex); 48 data = url.substring(commaIndex + 1).getBytes();
|
URLUtil.java | 63 inUrl = inUrl.substring(0, inUrl.length() - 1); 93 buffer.append(template.substring(0, placeHolderIndex)); 102 buffer.append(template.substring( 230 url.substring(0, 7).equalsIgnoreCase("http://"); 239 url.substring(0, 8).equalsIgnoreCase("https://"); 283 return url.substring(0, anchorIndex); 311 filename = filename.substring(index); 323 decodedUrl = decodedUrl.substring(0, queryIndex); 328 filename = decodedUrl.substring(index); 366 filename.substring(lastDotIndex + 1)) [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 189 sb.append(body.substring(previousEnd));
194 String sep = body.substring(previousEnd, begin);
199 sb.append(body.substring(begin, end));
222 String mimeCharset = body.substring(begin + 2, qm1);
223 String encoding = body.substring(qm1 + 1, qm2);
224 String encodedText = body.substring(qm2 + 1, end - 2);
230 + body.substring(begin, end) + "' doesn't have a "
238 + "' in encoded word '" + body.substring(begin, end)
247 + body.substring(begin, end) + "'");
260 + body.substring(begin, end) + "'"); [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
StdSdkLog.java | 37 msg = msg.substring(0, msg.length() - 1); 58 msg = msg.substring(0, msg.length() - 1); 75 msg = msg.substring(0, msg.length() - 1);
|
/external/apache-http/src/org/apache/http/auth/ |
NTCredentials.java | 71 username = usernamePassword.substring(0, atColon); 72 this.password = usernamePassword.substring(atColon + 1); 80 username.substring(0, atSlash).toUpperCase(Locale.ENGLISH), 81 username.substring(atSlash + 1)); 85 username.substring(atSlash + 1));
|
/libcore/luni/src/main/java/libcore/icu/ |
ICU.java | 76 return new Locale(localeName.substring(0, first), localeName.substring(first + 1)); 79 return new Locale(localeName.substring(0, first), localeName.substring(first + 1, second), localeName.substring(second + 1));
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeImpl.java | 87 timeValue = timeValue.substring(1); 89 timeValue = timeValue.substring(1); 209 value = value.substring(0, value.length() - ignoreLast); 220 result = Float.parseFloat(value.substring(0, indexOfComma)); 222 value.substring(indexOfComma + 1, indexOfComma + 4))/1000;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PushbackInputStreamTest.java | 150 .equals(fileString.substring(0, 100))); 165 .equals(fileString.substring(50, 100))); 171 .equals(fileString.substring(75, 100))); 183 .equals(fileString.substring(0, 100))); 187 .equals(fileString.substring(0, 50))); 202 .equals(fileString.substring(0, 100))); 206 .equals(fileString.substring(50, 100)));
|
/frameworks/base/core/java/android/net/http/ |
HttpAuthHeader.java | 287 String scheme = header.substring(0, i).trim(); 299 return header.substring(i + 1); 324 parseParameter(parameters.substring(0, i)); 325 parameters = parameters.substring(i + 1); 340 String token = parameter.substring(0, i).trim(); 342 trimDoubleQuotesIfAny(parameter.substring(i + 1).trim()); 416 return value.substring(1, len - 1);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLookupKey.java | 194 key = string.substring(start); 196 key = string.substring(start, offset - 1); 210 key = string.substring(start); 212 key = string.substring(start, offset - 1); 230 rawContactId = string.substring(start, dash); 234 key = string.substring(start); 236 key = string.substring(start, offset - 1);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DOMTestCase.java | 82 + filename.substring(14).replace('.', '/') 115 // substring before pound 117 uri = actual.substring(0, lastPound); 118 actualFragment = actual.substring(lastPound + 1); 128 // substring before pound 130 uri = actual.substring(0, lastQuestion); 131 actualQuery = actual.substring(lastQuestion + 1); 142 actualScheme = uri.substring(0, firstColon); 143 actualPath = uri.substring(firstColon + 1); 158 actualHost = actualPath.substring(0, termSlash) [all...] |
/external/emma/core/java12/com/vladium/jcd/lib/ |
Types.java | 38 return lastDot >= 0 ? className.substring (0, lastDot) : ""; 193 return methoddescriptor.substring (i2 + 1); 353 if ((lastDot < 0) || ! "java.lang.".equals (typeUserName.substring (0, lastDot + 1))) 356 result.append (typeUserName.substring (lastDot + 1)); 398 return classJavaName.substring (lastDot + 1); 501 return arrayOf (typedescriptor.substring (1)); 504 return Class.forName (vmNameToJavaName (typedescriptor.substring (1, typedescriptor.length() - 1))); 519 component = arrayOf (typedescriptor.substring (1)); 522 component = Class.forName (vmNameToJavaName (typedescriptor.substring (1, typedescriptor.length() - 1))); 559 return arrayOf (typedescriptor.substring (1)) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/ |
irc.js | 148 message = message.substring(0, crlfIndex); 153 parsed.prefix = message.substring(1, message.indexOf(" ")); 154 message = message.substring(parsed.prefix.length + 2); 158 message = message.substring(1); 165 parsed.body = message.substring(bodyMarker + 1); 166 message = message.substring(0, bodyMarker);
|
/external/v8/test/mjsunit/ |
substr.js | 39 var s1 = s.substring(1); 48 assertEquals(s.substring(s.length - 1), s.substr(-1)); 49 assertEquals(s.substring(s.length - 1), s.substr(-1.2)); 50 assertEquals(s.substring(s.length - 1), s.substr(-1.7)); 51 assertEquals(s.substring(s.length - 2), s.substr(-2)); 52 assertEquals(s.substring(s.length - 2), s.substr(-2.3)); 53 assertEquals(s.substring(s.length - 2, s.length - 1), s.substr(-2, 1)); 74 var z = x.substring(i, i+j); 92 var z = x.substring(i, i + j); 102 // Keep creating strings to to force allocation failure on substring creation [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-fasta.js | 49 ret = seq.substring(seqi, seqi+lenOut); 52 var s = seq.substring(seqi); 54 ret = s + seq.substring(0, seqi);
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-fasta.js | 49 ret = seq.substring(seqi, seqi+lenOut); 52 var s = seq.substring(seqi); 54 ret = s + seq.substring(0, seqi);
|
/external/apache-http/src/org/apache/commons/codec/net/ |
RFC1522Codec.java | 110 String charset = text.substring(from, to); 119 String encoding = text.substring(from, to); 126 byte[] data = text.substring(from, to).getBytes(StringEncodings.US_ASCII);
|
/external/apache-http/src/org/apache/http/protocol/ |
UriPatternMatcher.java | 93 requestURI = requestURI.substring(0, index); 122 (pattern.endsWith("*") && requestUri.startsWith(pattern.substring(0, pattern.length() - 1))) || 123 (pattern.startsWith("*") && requestUri.endsWith(pattern.substring(1, pattern.length())));
|
/external/junit/src/junit/framework/ |
ComparisonCompactor.java | 33 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; 61 return (fPrefix > fContextLength ? ELLIPSIS : "") + fExpected.substring(Math.max(0, fPrefix - fContextLength), fPrefix); 66 return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix + 1 < fExpected.length() - fContextLength ? ELLIPSIS : "");
|
/external/proguard/src/proguard/classfile/util/ |
InternalTypeEnumeration.java | 65 return descriptor.substring(0, firstIndex); 104 return descriptor.substring(startIndex, index); 114 return descriptor.substring(lastIndex + 1);
|