Home
last modified time | relevance | path

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

/art/compiler/debug/dwarf/
Ddwarf_test.h38 #define DW_CHECK(substring) Check(substring, false, __FILE__, __LINE__) argument
39 #define DW_CHECK_NEXT(substring) Check(substring, true, __FILE__, __LINE__) argument
46 std::string substring; member
123 const std::string& substring = expected_line.substring; in CheckObjdumpOutput() local
126 "Expected '" << substring << "'.\n" << in CheckObjdumpOutput()
129 if (actual_line->find(substring) == std::string::npos) { in CheckObjdumpOutput()
131 "Expected '" << substring << "'.\n" << in CheckObjdumpOutput()
140 if (it->find(substring) != std::string::npos) { in CheckObjdumpOutput()
148 "Expected '" << substring << "'.\n" << in CheckObjdumpOutput()
/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/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/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/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/tools/ahat/src/
DQuery.java45 mParams.put(param.substring(0, i), param.substring(i + 1)); in Query()
/art/test/121-modifiers/src/
DMain.java148 String shortS = name.substring(0, index); in getFieldMask()
177 String shortS = name.substring(0, index); in getMethodMask()
/art/test/117-nopatchoat/src/
DMain.java47 return ret.substring(0, ret.length() - 1); in functionCall()
/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()
67 subStr = baseStr.substring(5, baseStr.length() - 4); in indexTest()
/art/test/137-cfi/src/
DMain.java134 return Integer.parseInt(s.substring("Process[pid=".length(), s.indexOf(","))); in getPid()
/art/test/530-checker-lse/src/
DMain.java515 System.out.print(obj0.str.substring(0, 0) + obj.str.substring(0, 0)); in test21()
/art/tools/dexfuzz/src/dexfuzz/executors/
DDevice.java246 return (testLocation.replace("/", "@").substring(1) + "@" + programName); in getOatFileName()
/art/cmdline/
Dcmdline_types.h557 Result Parse(const std::string& substring) {
559 if (substring == "HSpaceCompact") {
562 gc::CollectorType collector_type = ParseCollectorType(substring);
/art/test/100-reflect2/
Dexpected.txt36 …, public java.lang.String java.lang.String.substring(int), public java.lang.String java.lang.Strin…
/art/runtime/
Dutils.cc1870 std::string substring; in ParseDouble() local
1871 ParseStringAfterChar(option, after_char, &substring, Usage); in ParseDouble()
1876 std::stringstream iss(substring); in ParseDouble()
1882 value = strtod(substring.c_str(), &end); in ParseDouble()
1886 Usage("Invalid double value %s for option %s\n", substring.c_str(), option.c_str()); in ParseDouble()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java502 String[] elems = signature.substring(1).split("\\)"); in convertSignatureToParametersAndReturnType()
523 parameterList.add(parameters.substring(start, typePointer + 1)); in convertSignatureToParameterList()
/art/test/201-built-in-exception-detail-messages/src/
DMain.java461 "hello there".substring(9,14); in stringIndex()
/art/tools/dexfuzz/src/dexfuzz/
DOptions.java305 arg = arg.substring(2); in readOptions()
/art/test/082-inline-execute/src/
DMain.java148 test_String_charAt(testStr.substring(3,15), ' ', 'i', 'm', 'e'); in test_String_charAt()
399 String sub = offset.substring(3, 13); in test_String_compareTo()
439 test = test.substring(1); in test_String_compareTo()
443 test = test.substring(1); in test_String_compareTo()
446 test = test.substring(1); in test_String_compareTo()
449 test = test.substring(1); in test_String_compareTo()
452 test = test.substring(3,5); in test_String_compareTo()