Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 25) 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/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/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/tools/ahat/src/
DQuery.java45 mParams.put(param.substring(0, i), param.substring(i + 1)); in Query()
/art/test/909-attach-agent/src/
DMain.java25 String agent = a.substring(6); 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/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()
74 subStr = baseStr.substring(5, baseStr.length() - 4); in indexTest()
/art/test/021-string2/src/
DMain.java30 String sub = offset.substring(3, 13); in main()
66 test = test.substring(1); in main()
70 test = test.substring(1); in main()
73 test = test.substring(1); in main()
76 test = test.substring(1); in main()
79 test = test.substring(3,5); in main()
/art/runtime/
Dutils.cc909 std::string substring; in ParseDouble() local
910 ParseStringAfterChar(option, after_char, &substring, Usage); in ParseDouble()
915 std::stringstream iss(substring); in ParseDouble()
921 value = strtod(substring.c_str(), &end); in ParseDouble()
925 Usage("Invalid double value %s for option %s\n", substring.c_str(), option.c_str()); in ParseDouble()
/art/tools/cpp-define-generator/
Doffset_runtime.def30 // Macro substring Constant name
/art/test/137-cfi/src/
DMain.java155 return Integer.parseInt(s.substring("Process[pid=".length(), s.indexOf(","))); in getPid()
/art/tools/ahat/src/heapdump/
DAhatArrayInstance.java221 className = className.substring(0, className.length() - 2); in toString()
/art/cmdline/
Dcmdline_types.h589 Result Parse(const std::string& substring) {
591 if (substring == "HSpaceCompact") {
594 gc::CollectorType collector_type = ParseCollectorType(substring);
/art/test/530-checker-lse/src/
DMain.java517 System.out.print(obj0.str.substring(0, 0) + obj.str.substring(0, 0)); in test21()
/art/tools/dexfuzz/src/dexfuzz/executors/
DDevice.java271 return (testLocation.replace("/", "@").substring(1) + "@" + programName); in getOatFileName()
/art/test/100-reflect2/
Dexpected.txt36 …, public java.lang.String java.lang.String.substring(int), public java.lang.String java.lang.Strin…
/art/test/913-heaps/src/art/
DTest913.java686 return line.substring(0, i); in getReferrer()
698 return line.substring(i + 4, j); in getReferree()
/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-except-detail-messages/src/
DMain.java461 "hello there".substring(9,14); in stringIndex()
/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()
/art/tools/dexfuzz/src/dexfuzz/
DOptions.java315 arg = arg.substring(2); in readOptions()
/art/test/956-methodhandles/src/
DMain.java762 if (!s.equals(testPattern.substring(0, 5))) { in testStringConstructors()
771 if (!s.equals(testPattern.substring(0, 5))) { in testStringConstructors()