/external/lzma/Java/SevenZip/ |
LzmaAlone.java | 36 DictionarySize = 1 << Integer.parseInt(s.substring(1));
41 Fb = Integer.parseInt(s.substring(2));
45 Algorithm = Integer.parseInt(s.substring(1));
47 Lc = Integer.parseInt(s.substring(2));
49 Lp = Integer.parseInt(s.substring(2));
51 Pb = Integer.parseInt(s.substring(2));
56 String mfs = s.substring(2);
89 String sw = s.substring(1).toLowerCase();
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-229923.js | 30 var slice = "slow path of JSON.stringify for sliced string".substring(1); 34 var slice_of_external = parent.substring(1);
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
I18Name.java | 39 mLanguage = compoundString.substring(0, Constants.LANG_CODE_LENGTH); 40 mText = compoundString.substring(Constants.LANG_CODE_LENGTH);
|
/frameworks/base/test-runner/src/junit/runner/ |
ClassPathTestCollector.java | 75 String s= classFileName.substring(0, classFileName.length()-SUFFIX_LENGTH); 78 return s2.substring(1);
|
/frameworks/base/tools/preload/ |
Compile.java | 29 * TODO: Should analyze lines and select substring dynamically (instead of hardcoded 19) 52 String clipped = line.substring(19);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
I18Name.java | 39 mLanguage = compoundString.substring(0, Constants.LANG_CODE_LENGTH); 40 mText = compoundString.substring(Constants.LANG_CODE_LENGTH);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/ |
find_format.hpp | 39 Use the Finder to search for a substring. Use the Formatter to format 40 this substring and replace it in the input. 118 Use the Finder to search for a substring. Use the Formatter to format 119 this substring and replace it in the input. The input is modified in-place. 157 Use the Finder to search for a substring. Use the Formatter to format 158 this substring and replace it in the input. Repeat this for all matching 239 Use the Finder to search for a substring. Use the Formatter to format 240 this substring and replace it in the input. Repeat this for all matching
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
QueryParameterUtils.java | 66 value = query.substring(index); 68 value = query.substring(index, ampIndex);
|
/external/guice/core/test/com/google/inject/ |
Asserts.java | 116 for (String substring : substrings) { 117 int index = text.indexOf(substring, startingFrom); 118 assertTrue(String.format("Expected \"%s\" to contain substring \"%s\"", text, substring), 120 startingFrom = index + substring.length(); 124 assertTrue(String.format("Expected \"%s\" to contain substring \"%s\" only once),",
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
URLHandler.java | 64 String key = line.substring(0, ix).trim(); 65 String value = line.substring(ix+1).trim(); 201 prefix = prefix.substring(ix + 2); // truncate after "!/" 211 url = new URL("jar" + urlStr.substring(idx)); 235 name = name.substring(prefix.length()); 241 name = name.substring(ix+1);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
URLHandler.java | 60 String key = line.substring(0, ix).trim(); 61 String value = line.substring(ix+1).trim(); 197 prefix = prefix.substring(ix + 2); // truncate after "!/" 207 url = new URL("jar" + urlStr.substring(idx)); 231 name = name.substring(prefix.length()); 237 name = name.substring(ix+1);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 104 this.host = hop.substring(0,colon); 107 portstr = hop.substring(colon+1,slash); 108 this.transport = hop.substring(slash+1); 110 portstr = hop.substring(colon+1); 120 this.host = hop.substring(0,slash); 121 this.transport = hop.substring(slash+1);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
VisualVoicemailSmsParser.java | 66 String eventType = smsBody.substring(prefixEnd + 1, eventTypeEnd); 67 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); 108 String key = entry.substring(0, separatorIndex); 109 String value = entry.substring(separatorIndex + 1); 131 String eventType = smsBody.substring(0, eventTypeEnd); 135 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1));
|
/libcore/ojluni/src/main/java/sun/security/util/ |
PropertyExpander.java | 78 sb.append(value.substring(i, p)); 88 sb.append(value.substring(p)); 93 sb.append(value.substring(p, pe+1)); 101 sb.append(value.substring(p, pe)); 104 String prop = value.substring(p+2, pe); 135 sb.append(value.substring(i, max));
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewHierarchyLoader.java | 90 lastNode.name = line.substring(0, index); 92 line = line.substring(index + 1); 161 property.name = data.substring(start, index); 165 property.name = property.name.substring(colonIndex + 1); 169 int length = Integer.parseInt(data.substring(index + 1, index2)); 171 property.value = data.substring(index2 + 1, index2 + 1 + length);
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XString.java | 492 * argument is a prefix of the substring of this object starting 499 * this.subString(toffset).startsWith(prefix) 535 * argument is a prefix of the substring of this object starting 542 * this.subString(toffset).startsWith(prefix) 735 * specified substring. The integer returned is the smallest value 743 * @return if the string argument occurs as a substring within this 745 * such substring is returned; if it does not occur as a 746 * substring, <code>-1</code> is returned. 757 * specified substring. The integer returned is the smallest value 765 * @return if the string argument occurs as a substring within thi 873 public XMLString substring(int beginIndex) method in class:XString 894 public XMLString substring(int beginIndex, int endIndex) method in class:XString [all...] |
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
Bpf2Apf.java | 43 final long val_long = Long.parseLong(arg.substring(3), 16); 60 int label = Integer.parseInt(line.substring(1, 4)); 62 String opcode = line.substring(6, 10).trim(); 63 String arg = line.substring(15, Math.min(32, line.length())).trim(); 97 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); 109 int offset = Integer.parseInt(arg.substring(5, arg.length() - 1)); 125 int offset = Integer.parseInt(arg.substring(1, arg.length() - 1)); 148 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); 210 String true_label = line.substring(jt_offset + 2, jf_offset).trim(); 211 String false_label = line.substring(jf_offset + 2).trim() [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
Lexer.java | 158 addToTokenQueue(pat.substring(startSubstring, i)); 168 addToTokenQueue(pat.substring(startSubstring, i + 1)); 192 addToTokenQueue(pat.substring(startSubstring, i)); 202 addToTokenQueue(pat.substring(startSubstring, i + 1)); 228 addToTokenQueue(pat.substring(startSubstring, i)); 278 addToTokenQueue(pat.substring(startSubstring, i)); 315 addToTokenQueue(pat.substring(i, i + 1)); 325 addToTokenQueue(pat.substring(startSubstring, i - 1)); 333 addToTokenQueue(pat.substring(i - 1, i + 1)); 369 addToTokenQueue(pat.substring(startSubstring, nChars)) [all...] |
/external/owasp/sanitizer/tools/findbugs/src/xsl/ |
summary.xsl | 109 <xsl:with-param name="COUNT" select="count(PackageStats/ClassStats[@interface='false' and substring-after(@class,'$')=''])" />
110 <xsl:with-param name="BUGS" select="sum(PackageStats/ClassStats[@interface='false' and substring-after(@class,'$')='']/@bugs)" />
115 <xsl:with-param name="COUNT" select="count(PackageStats/ClassStats[@interface='false' and substring-after(@class,'$')!=''])" />
116 <xsl:with-param name="BUGS" select="sum(PackageStats/ClassStats[@interface='false' and substring-after(@class,'$')!='']/@bugs)" />
150 <xsl:variable name="count_str" select="concat(substring-before($STRING,'#1'), $COUNT, substring-after($STRING,'#1'))" />
154 <xsl:value-of select="concat(substring-before($count_str,'$1'), $PULURAL, substring-after($count_str,'$1'))" />
157 <xsl:value-of select="concat(substring-before($count_str,'$1'), $SINGLE, substring-after($count_str,'$1'))" /> [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESCipherNistCavpKatTest.java | 158 String blockMode = fileName.substring(0, 3); 160 blockMode = fileName.substring(0, 4); 194 section = line.substring(1, line.length() - 1); 207 String name = line.substring(0, delimiterIndex).trim(); 208 String value = line.substring(delimiterIndex + 1).trim(); 240 String name = line.substring(0, delimiterIndex).trim(); 241 String value = line.substring(delimiterIndex + 1).trim();
|
/external/icu/icu4c/source/common/unicode/ |
stringpiece.h | 85 * Substring of another StringPiece. 92 * Substring of another StringPiece. 95 * @param len length of the substring; 183 * Maximum integer, used as a default value for substring methods. 189 * Returns a substring of this StringPiece. 191 * @param len length of the substring; 193 * @return the substring StringPiece
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlSanitizer.java | 139 Encoding.decodeHtml(html.substring(token.start, token.end))); 143 html.substring(token.start, token.end))); 148 html.substring(token.start + 2, token.end))); 169 html.substring(tagBodyToken.start, tagBodyToken.end))); 173 html.substring(tagBodyToken.start, tagBodyToken.end)))); 187 html.substring(token.start + 1, token.end)), 213 return encodedAttributeValue.substring(start, n - 1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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)));
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 92 ByteString substring = ByteString.copyFrom(bytes).substring(500); local 93 assertTrue("substring must contain the tail of the string", 94 isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500)); 486 assertTrue("newOutput() substring must have correct bytes", 529 ByteString concreteSubstring = ByteString.copyFrom(bigBytes).substring(start, end); 534 assertTrue("Concrete substring didn't capture the right bytes", ok); 537 assertTrue("Substring must be equal to literal string", 539 assertEquals("Substring must have same hashcode as literal string", 551 ByteString compositeSubstring = listString.substring(from, to) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/etc/checkstyle/ |
checkstyle-frames.xsl | 173 <xsl:sort select="substring-after(@name, $basedir)"/> 200 <xsl:text>files/</xsl:text><xsl:value-of select="substring-after(@name, $basedir)"/><xsl:text>.html</xsl:text> 202 <xsl:value-of select="substring-after(@name, $basedir)"/> 214 <xsl:text>files/</xsl:text><xsl:value-of select="substring-after(@name, $basedir)"/><xsl:text>.html</xsl:text> 216 <xsl:value-of select="substring-after(@name, $basedir)"/> 236 <xsl:with-param name="path"><xsl:value-of select="substring-after($path2,'/')"/></xsl:with-param> 245 <redirect:write file="{$output.dir}/files/{substring-after(@name, $basedir)}.html"> 249 <xsl:attribute name="href"><xsl:call-template name="path"><xsl:with-param name="path" select="substring-after(@name, $basedir)"/></xsl:call-template><xsl:text>stylesheet.css</xsl:text></xsl:attribute> 254 <h3>File <xsl:value-of select="substring-after(@name, $basedir)"/></h3>
|