Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 33) sorted by relevance

12

/art/tools/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java226 String clearClassName = line.substring(0, sep); in readFromReader()
227 String obfuscatedClassName = line.substring(sep + 4, line.length() - 1); in readFromReader()
244 String type = trimmed.substring(0, ws); in readFromReader()
245 String clearName = trimmed.substring(ws + 1, sep); in readFromReader()
246 String obfuscatedName = trimmed.substring(sep + 4, trimmed.length()); in readFromReader()
260 obfuscatedLine = Integer.parseInt(type.substring(0, colon)); in readFromReader()
262 type = type.substring(colon + 1); in readFromReader()
266 obfuscatedLineEnd = Integer.parseInt(type.substring(0, colon)); in readFromReader()
267 type = type.substring(colon + 1); in readFromReader()
277 String sig = clearName.substring(op, cp + 1); in readFromReader()
[all …]
/art/compiler/debug/dwarf/
Ddwarf_test.h39 #define DW_CHECK(substring) Check(substring, false, __FILE__, __LINE__) argument
40 #define DW_CHECK_NEXT(substring) Check(substring, true, __FILE__, __LINE__) argument
47 std::string substring; member
127 const std::string& substring = expected.substring; in CheckObjdumpOutput() local
129 [&](const std::string& line) { return line.find(substring) != std::string::npos; }); in CheckObjdumpOutput()
132 ADD_FAILURE_AT(expected.at_file, expected.at_line) << "'" << substring << "' not found."; in CheckObjdumpOutput()
137 << "'" << substring << "' found, but not on the immediate next line as expected."; in CheckObjdumpOutput()
/art/tools/class2greylist/src/com/android/class2greylist/
DStringCursor.java59 return mString.substring(mCursor); in peek()
64 return mString.substring(mCursor, mCursor + n); in peek()
88 String restOfString = mString.substring(mCursor); in next()
96 return mString.substring(mCursor - n, mCursor); in next()
125 return mString.substring(mCursor); in toString()
DPackageAndClassName.java43 String packageName = fullyQualifiedClassName.substring(0, lastDotIdx); in splitClassName()
44 String className = fullyQualifiedClassName.substring(lastDotIdx + 1); in splitClassName()
DCovariantReturnTypeHandler.java79 .append(typeSignature.substring(0, closingBrace + 1)) in handleAnnotation()
/art/test/041-narrowing/src/
DMain.java25 .substring(6)) + " expected: 00"); in test_printNarrowing()
28 (short)dbl2).substring(4)) + " expected: 0000"); in test_printNarrowing()
39 .substring(6)) + " expected: 00"); in test_printNarrowing()
42 (short)fl2).substring(4)) + " expected: 0000"); in test_printNarrowing()
53 (byte)dbl3).substring(6)) + " expected: ff"); in test_printNarrowing()
56 (short)dbl3).substring(4)) + " expected: ffff"); in test_printNarrowing()
77 (byte)fl3).substring(6)) + " expected: ff"); in test_printNarrowing()
80 (short)fl3).substring(4)) + " expected: ffff"); in test_printNarrowing()
/art/tools/ahat/src/main/com/android/ahat/
DHtmlEscaper.java34 sb.append(text.substring(low, i)); in escape()
43 sb.append(text.substring(low)); in escape()
DQuery.java45 mParams.put(param.substring(0, i), param.substring(i + 1)); in Query()
/art/test/021-string2/src/junit/framework/
DComparisonCompactor.java40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
68 …return (fPrefix > fContextLength ? ELLIPSIS : "") + fExpected.substring(Math.max(0, fPrefix - fCon… in computeCommonPrefix()
73 …return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix … in computeCommonSuffix()
/art/test/082-inline-execute/src/junit/framework/
DComparisonCompactor.java40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
68 …return (fPrefix > fContextLength ? ELLIPSIS : "") + fExpected.substring(Math.max(0, fPrefix - fCon… in computeCommonPrefix()
73 …return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix … in computeCommonSuffix()
/art/test/909-attach-agent/src-art/
DMain.java35 agent = a.substring(6); in main()
59 String agentName = a.substring(6, a.indexOf('=')); in attachWithClassLoader()
66 String agent = a.substring(6).replace(agentName, newAgentName); in attachWithClassLoader()
/art/test/536-checker-intrinsic-optimization/src/
DMain.java92 assertStringEquals(smallString.substring(5, 10), stringGetCharsRange(smallString, 5, 10, 0)); in main()
94 assertStringEquals(smallString.substring(7, 28), stringGetCharsRange(smallString, 7, 28, 0)); in main()
101 assertStringEquals(smallString.substring(5, 10), stringGetCharsRange(smallString, 5, 10, 17)); in main()
103 assertStringEquals(smallString.substring(7, 28), stringGetCharsRange(smallString, 7, 28, 17)); in main()
/art/test/121-modifiers/src2/
DMain.java140 String shortS = name.substring(0, index); in getFieldMask()
169 String shortS = name.substring(0, index); in getMethodMask()
/art/test/016-intern/src/
DMain.java36 a = ("f" + foo.substring(1,3)).intern(); in main()
/art/test/697-checker-string-append/src/
DMain.java121 long l = Long.valueOf(expected.substring(APPEND_LONG_PREFIX.length())); in testAppendStringAndLong()
183 int i = Integer.valueOf(expected.substring(APPEND_INT_PREFIX.length())); in testAppendStringAndInt()
/art/test/020-string/src/
DMain.java36 testStr = baseStr.substring(4, baseStr.length() - 3); in basicTest()
74 subStr = baseStr.substring(5, baseStr.length() - 4); in indexTest()
/art/test/162-method-resolution/src/
DMain.java423 return s.substring(0, atPos + 1) + "..."; in normalizeToString()
/art/test/021-string2/src/
DMain.java29 String sub = offset.substring(3, 13); in main()
65 test = test.substring(1); in main()
69 test = test.substring(1); in main()
72 test = test.substring(1); in main()
75 test = test.substring(1); in main()
78 test = test.substring(3,5); in main()
/art/test/1980-obsolete-object-cleared/src/
DMain.java239 res = res.substring(0, res.lastIndexOf(" ")) + " <transformed-jar>)";
241 res = res.substring(0, res.lastIndexOf(" ")) + " <original-jar>)";
/art/cmdline/
Dcmdline_types.h589 Result Parse(const std::string& substring) {
591 if (substring == "HSpaceCompact") {
594 gc::CollectorType collector_type = ParseCollectorType(substring);
/art/tools/dexfuzz/src/dexfuzz/executors/
DDevice.java271 return (testLocation.replace("/", "@").substring(1) + "@" + programName); in getOatFileName()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatArrayInstance.java364 className = className.substring(0, className.length() - 2); in toString()
DAhatClassInstance.java155 return className.substring(0, className.lastIndexOf("$Stub$Proxy")); in getBinderProxyInterfaceName()
/art/tools/runtime_memusage/
DREADME12 substring of the symbolized trace.
/art/test/100-reflect2/
Dexpected.txt36 …, public java.lang.String java.lang.String.substring(int), public java.lang.String java.lang.Strin…

12