Home
last modified time | relevance | path

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

/art/compiler/dwarf/
Ddwarf_test.h37 #define DW_CHECK(substring) Check(substring, false, __FILE__, __LINE__) argument
38 #define DW_CHECK_NEXT(substring) Check(substring, true, __FILE__, __LINE__) argument
45 std::string substring; member
133 const std::string& substring = expected_line.substring; in CheckObjdumpOutput() local
136 "Expected '" << substring << "'.\n" << in CheckObjdumpOutput()
139 if (actual_line->find(substring) == std::string::npos) { in CheckObjdumpOutput()
141 "Expected '" << substring << "'.\n" << in CheckObjdumpOutput()
150 if (it->find(substring) != std::string::npos) { in CheckObjdumpOutput()
158 "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/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/020-string/src/
DMain.java35 testStr = baseStr.substring(4, baseStr.length() - 3); in basicTest()
66 subStr = baseStr.substring(5, baseStr.length() - 4); in indexTest()
/art/test/117-nopatchoat/src/
DMain.java41 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/137-cfi/src/
DMain.java123 return Integer.parseInt(s.substring("Process[pid=".length(), s.length() - 1)); in getPid()
/art/cmdline/
Dcmdline_types.h556 Result Parse(const std::string& substring) {
558 if (substring == "HSpaceCompact") {
561 gc::CollectorType collector_type = ParseCollectorType(substring);
/art/tools/dexfuzz/src/dexfuzz/executors/
DDevice.java246 return (testLocation.replace("/", "@").substring(1) + "@" + programName); in getOatFileName()
/art/test/082-inline-execute/src/
DMain.java134 test_String_charAt(testStr.substring(3,15), ' ', 'i', 'm', 'e'); in test_String_charAt()
385 String sub = offset.substring(3, 13); in test_String_compareTo()
425 test = test.substring(1); in test_String_compareTo()
429 test = test.substring(1); in test_String_compareTo()
432 test = test.substring(1); in test_String_compareTo()
435 test = test.substring(1); in test_String_compareTo()
438 test = test.substring(3,5); in test_String_compareTo()
/art/test/100-reflect2/
Dexpected.txt36 …, public java.lang.String java.lang.String.substring(int), public java.lang.String java.lang.Strin…
/art/dex2oat/
Ddex2oat.cc459 std::string substring; in ParseDouble() local
460 ParseStringAfterChar(option, after_char, &substring); in ParseDouble()
465 std::stringstream iss(substring); in ParseDouble()
471 value = strtod(substring.c_str(), &end); in ParseDouble()
475 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()