Home
last modified time | relevance | path

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

12

/art/compiler/debug/dwarf/
Ddwarf_test.h40 #define DW_CHECK(substring) Check(substring, false, __FILE__, __LINE__) argument
41 #define DW_CHECK_NEXT(substring) Check(substring, true, __FILE__, __LINE__) argument
48 std::string substring; member
128 const std::string& substring = expected.substring; in CheckObjdumpOutput() local
130 [&](const std::string& line) { return line.find(substring) != std::string::npos; }); in CheckObjdumpOutput()
133 ADD_FAILURE_AT(expected.at_file, expected.at_line) << "'" << substring << "' not found."; in CheckObjdumpOutput()
138 << "'" << substring << "' found, but not on the immediate next line as expected."; in CheckObjdumpOutput()
/art/tools/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java255 String clearClassName = line.substring(0, sep); in readFromReader()
256 String obfuscatedClassName = line.substring(sep + 4, line.length() - 1); in readFromReader()
280 String type = trimmed.substring(0, ws); in readFromReader()
281 String clearName = trimmed.substring(ws + 1, sep); in readFromReader()
282 String obfuscatedName = trimmed.substring(sep + 4, trimmed.length()); in readFromReader()
296 obfuscatedLineStart = Integer.parseInt(type.substring(0, colon)); in readFromReader()
298 type = type.substring(colon + 1); in readFromReader()
302 obfuscatedLineEnd = Integer.parseInt(type.substring(0, colon)); in readFromReader()
303 type = type.substring(colon + 1); in readFromReader()
314 String sig = clearName.substring(op, cp + 1); in readFromReader()
[all …]
/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/test/536-checker-intrinsic-optimization/src/
DMain.java104 assertStringEquals(smallString.substring(5, 10), stringGetCharsRange(smallString, 5, 10, 0)); in main()
106 assertStringEquals(smallString.substring(7, 28), stringGetCharsRange(smallString, 7, 28, 0)); in main()
113 assertStringEquals(smallString.substring(5, 10), stringGetCharsRange(smallString, 5, 10, 17)); in main()
115 assertStringEquals(smallString.substring(7, 28), stringGetCharsRange(smallString, 7, 28, 17)); in main()
131 assertStringEquals(smallNonAsciiString.substring(5, 10), in main()
134 assertStringEquals(smallNonAsciiString.substring(7, 28), in main()
143 assertStringEquals(smallNonAsciiString.substring(5, 10), in main()
146 assertStringEquals(smallNonAsciiString.substring(7, 28), in main()
/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()
60 VMDebug.attachAgent(a.substring(6), Main.class.getClassLoader()); in attachWithClassLoader()
/art/test/697-checker-string-append/src/
DMain.java124 long l = Long.valueOf(expected.substring(APPEND_LONG_PREFIX.length())); in testAppendStringAndLong()
186 int i = Integer.valueOf(expected.substring(APPEND_INT_PREFIX.length())); in testAppendStringAndInt()
246 float f = Float.valueOf(expected.substring(APPEND_FLOAT_PREFIX.length())); in testAppendStringAndFloat()
312 double f = Double.valueOf(expected.substring(APPEND_DOUBLE_PREFIX.length())); in testAppendStringAndDouble()
/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/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.java490 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/libartservice/service/java/com/android/server/art/
DDexMetadataHelper.java88 return (pos != -1 ? dexPath.substring(0, pos) : dexPath) + ".dm"; in getDmPath()
/art/test/odsign/test-src/com/android/tests/odsign/
DOdsignTestUtils.java137 mappedFiles.add(line.substring(start)); in getMappedArtifacts()
342 String escapedPath = dexLocation.substring(1).replace('/', '@'); in getApexDataDalvikCacheFilenames()
470 return filename.substring(0, index) + extension;
476 return filename.substring(index + 1);
/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/test/2246-trace-stream/src/
DBaseTraceParser.java129 methodLine = methodLine.substring(0, methodLine.length() - 1); in ProcessMethodInfoEntry()
/art/cmdline/
Dcmdline_types.h660 Result Parse(const std::string& substring) {
662 if (substring == "HSpaceCompact") {
665 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.java199 return className.substring(0, className.lastIndexOf("$Stub$Proxy")); in getBinderProxyInterfaceName()
/art/tools/runtime_memusage/
DREADME12 substring of the symbolized trace.
/art/test/913-heaps/src/art/
DTest913.java712 return line.substring(0, i); in getReferrer()
724 return line.substring(i + 4, j); in getReferree()

12