/art/compiler/utils/ |
D | assembler_thumb_test_expected.cc.inc | 5 " a: 9000 str r0, [sp, #0]\n", 6 " c: 9121 str r1, [sp, #132] ; 0x84\n", 8 " 12: 9223 str r2, [sp, #140] ; 0x8c\n", 9 " 14: 9324 str r3, [sp, #144] ; 0x90\n", 22 " 3c: 9008 str r0, [sp, #32]\n", 23 " 3e: 901f str r0, [sp, #124] ; 0x7c\n", 24 " 40: 9021 str r0, [sp, #132] ; 0x84\n", 25 " 42: 90ff str r0, [sp, #1020] ; 0x3fc\n", 26 " 44: f8cd 0400 str.w r0, [sp, #1024] ; 0x400\n", 27 " 48: f8cd cffc str.w ip, [sp, #4092] ; 0xffc\n", [all …]
|
D | assembler_test.h | 35 constexpr size_t ConstexprStrLen(char const* str, size_t count = 0) { 36 return ('\0' == str[0]) ? count : ConstexprStrLen(str+1, count+1); 190 std::string str; variable 218 std::string imm_string = sreg.str(); 222 if (str.size() > 0) { 223 str += "\n"; 225 str += base; 230 str += "\n"; 231 return str; 245 std::string str; in RepeatTemplatedRegistersImmBits() local [all …]
|
/art/tools/veridex/ |
D | hidden_api.cc | 33 return ss.str(); in GetApiMethodName() 44 return ss.str(); in GetApiFieldName() 52 std::string str; in FillList() local 53 while (std::getline(in, str)) { in FillList() 54 entries.insert(str); in FillList() 55 size_t pos = str.find("->"); in FillList() 58 entries.insert(str.substr(0, pos)); in FillList() 59 pos = str.find('('); in FillList() 62 entries.insert(str.substr(0, pos)); in FillList() 64 pos = str.find(':'); in FillList() [all …]
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | InstanceTest.java | 40 AhatInstance str = dump.getDumpedAhatInstance("basicString"); in asStringBasic() local 41 assertEquals("hello, world", str.asString()); in asStringBasic() 47 AhatInstance str = dump.getDumpedAhatInstance("nonAscii"); in asStringNonAscii() local 48 assertEquals("Sigma (Ʃ) is not ASCII", str.asString()); in asStringNonAscii() 54 AhatInstance str = dump.getDumpedAhatInstance("embeddedZero"); in asStringEmbeddedZero() local 55 assertEquals("embedded\0...", str.asString()); in asStringEmbeddedZero() 61 AhatInstance str = dump.getDumpedAhatInstance("charArray"); in asStringCharArray() local 62 assertEquals("char thing", str.asString()); in asStringCharArray() 68 AhatInstance str = dump.getDumpedAhatInstance("basicString"); in asStringTruncated() local 69 assertEquals("hello", str.asString(5)); in asStringTruncated() [all …]
|
/art/test/StackWalk2/ |
D | StackWalk2.java | 20 String str = new String(); // use v0 for str in <init> field in StackWalk2 41 System.logI(str); // use v1 for PrintStream, v2, v3 for str in strTest() 42 str = null; // use v1 for null, v3 for str in strTest() 43 str = new String("ya"); // use v2 for "ya", v1 for new String in strTest() 44 String s = str; // use v0, v1, v3 in strTest() 45 System.logI(str); // use v1 for PrintStream, v2, v3 for str in strTest()
|
/art/runtime/ |
D | reference_table_test.cc | 86 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 104 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 105 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 115 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F() 118 std::string::npos) << oss.str(); in TEST_F() 119 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 121 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F() 123 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)), in TEST_F() 124 std::string::npos) << oss.str(); in TEST_F() 134 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F() [all …]
|
D | indenter_test.cc | 28 EXPECT_EQ(output.str(), ""); in TEST() 31 EXPECT_EQ(output.str(), "\t\thello"); in TEST() 34 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again"); in TEST() 37 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n"); in TEST()
|
/art/test/597-deopt-new-string/src/ |
D | Main.java | 51 String str = new String(arr, 0, arr.length); in $noinline$run0() local 52 if (!str.equals("abc")) { in $noinline$run0() 53 System.out.println("Failure 1! " + str); in $noinline$run0() 56 return str; in $noinline$run0() 76 String str = $noinline$run0(); in run() local 77 if (!str.equals("abc")) { in run() 78 System.out.println("Failure 2! " + str); in run()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | DocString.java | 36 public static DocString text(String str) { in text() argument 38 return doc.append(str); in text() 82 public DocString append(DocString str) { in append() argument 83 mStringBuilder.append(str.html()); in append() 91 public static DocString added(DocString str) { in added() argument 94 string.mStringBuilder.append(str.html()); in added() 103 public static DocString added(String str) { in added() argument 104 return added(text(str)); in added() 111 public static DocString removed(DocString str) { in removed() argument 114 string.mStringBuilder.append(str.html()); in removed() [all …]
|
/art/test/542-inline-trycatch/src/ |
D | Main.java | 25 private static int $inline$SingleBlock(String str) throws NumberFormatException { in $inline$SingleBlock() argument 26 return Integer.parseInt(str); in $inline$SingleBlock() 31 private static int $inline$MultipleBlocks(String str, boolean is_hex) in $inline$MultipleBlocks() argument 33 return is_hex ? Integer.parseInt(str, 16) : Integer.parseInt(str); in $inline$MultipleBlocks() 39 private static int $noinline$TryCatch(String str) { in $noinline$TryCatch() argument 41 return Integer.parseInt(str); in $noinline$TryCatch()
|
/art/test/638-checker-inline-cache-intrinsic/src/ |
D | Main.java | 68 $noinline$inlineMonomorphic(str); in test() 71 $noinline$stringEquals(str); in test() 76 if ($noinline$inlineMonomorphic(str) != 'x') { in test() 92 static String str = "xyz"; field in Main
|
/art/tools/ |
D | dt_fds_forward.py | 95 print("Starting select on " + str(sources)) 99 print("Local_sock has data: " + str(buf)) 101 print("listening on " + str(sock)) 112 print("Unknown data received from socket " + str(buf)) 117 print("connection accepted from " + str(addr)) 135 jdwp_ops + "transport=dt_fd_forward,address=" + str(remote_sock.fileno()) 142 print("Running " + str(full_cmd)) 156 parser.add_argument("--host", type=str, default="localhost", 158 parser.add_argument("--debug-lib", type=str, default="libjdwp.so", 160 parser.add_argument("--debug-options", type=str, default="server=y,suspend=y,",
|
D | stream-trace-converter.py | 116 str = input.read(stringLength) 117 self._methods.append(str) 118 print 'New method: %s' % str 123 str = input.read(stringLength) 124 self._threads.append('%d\t%s\n' % (tid, str)) 125 print 'New thread: %d/%s' % (tid, str) 129 str = input.read(summaryLength) 130 self._summary = str 131 print 'Summary: \"%s\"' % str
|
/art/cmdline/ |
D | memory_representation.h | 50 static std::string str; in Name() local 51 if (str.empty()) { in Name() 52 str = "Memory<" + std::to_string(kDivisor) + '>'; in Name() 55 return str.c_str(); in Name()
|
/art/libartbase/base/ |
D | hex_dump_test.cc | 37 EXPECT_STREQ(oss.str().c_str(), in TEST() 46 EXPECT_STREQ(oss.str().c_str(), in TEST() 59 EXPECT_STREQ(oss.str().c_str() + (kBitsPerIntPtrT / 4), in TEST() 67 EXPECT_STREQ(oss.str().c_str(), in TEST()
|
D | stringpiece.h | 53 StringPiece(const char* str) // NOLINT implicit constructor desired in StringPiece() argument 54 : ptr_(str), length_((str == nullptr) ? 0 : strlen(str)) { } in StringPiece() 55 StringPiece(const std::string& str) // NOLINT implicit constructor desired in StringPiece() argument 56 : ptr_(str.data()), length_(str.size()) { } in StringPiece() 76 void set(const char* str) { in set() argument 77 ptr_ = str; in set() 78 if (str != nullptr) { in set() 79 length_ = strlen(str); in set()
|
/art/test/044-proxy/src/ |
D | Main.java | 47 public static String replaceProxyClassNamesForOutput(String str) { in replaceProxyClassNamesForOutput() argument 49 str = str.replace(key, proxyClassNameMap.get(key)); in replaceProxyClassNamesForOutput() 51 return str; in replaceProxyClassNamesForOutput()
|
/art/runtime/interpreter/mterp/arm/ |
D | header.S | 132 str rPC, [rFP, #OFF_FP_DEX_PC_PTR] 137 str rPC, [rFP, #OFF_FP_DEX_PC_PTR] 140 str \tmp, [rFP, #OFF_FP_DEX_PC] 257 str \reg, [rFP, \vreg, lsl #2] 259 str \reg, [rREFS, \vreg, lsl #2] 262 str \reg, [rFP, \vreg, lsl #2] 263 str \reg, [rREFS, \vreg, lsl #2] 266 str \reg, [rREFS, \vreg, lsl #2]
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 634 std::ostringstream str; in shll_fn() local 639 str << "shll %cl, %" << assembler_test->GetSecondaryRegisterName(*reg) << "\n"; in shll_fn() 641 return str.str(); in shll_fn() 655 std::ostringstream str; in shlq_fn() local 660 str << "shlq %cl, %" << assembler_test->GetRegisterName(*reg) << "\n"; in shlq_fn() 662 return str.str(); in shlq_fn() 676 std::ostringstream str; in shrl_fn() local 681 str << "shrl %cl, %" << assembler_test->GetSecondaryRegisterName(*reg) << "\n"; in shrl_fn() 683 return str.str(); in shrl_fn() 696 std::ostringstream str; in shrq_fn() local [all …]
|
/art/test/testrunner/ |
D | run_build_test_target.py | 68 build_command += ' -j' + str(n_threads) 73 sys.stdout.write(str(build_command) + '\n') 85 cmd += ['-j' + str(n_threads)] 90 sys.stdout.write(str(cmd) + '\n') 114 sys.stdout.write(str(run_test_command) + '\n')
|
/art/runtime/interpreter/ |
D | interpreter_intrinsics.cc | 189 mirror::String* str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCharAt() local 190 int length = str->GetLength(); in MterpStringCharAt() 196 if (str->IsCompressed()) { in MterpStringCharAt() 197 res = str->GetValueCompressed()[index]; in MterpStringCharAt() 199 res = str->GetValue()[index]; in MterpStringCharAt() 213 mirror::String* str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCompareTo() local 218 result_register->SetI(str->CompareTo(arg1->AsString())); in MterpStringCompareTo() 230 mirror::String* str = shadow_frame->GetVRegReference(arg[0])->AsString(); \ 236 result_register->SetI(str->FastIndexOf(ch, starting_pos)); \ 254 mirror::String* str = shadow_frame->GetVRegReference(arg[0])->AsString(); \ [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 72 LOG(INFO) << oss.str(); in TEST_F() 87 oss.str(""); in TEST_F() 89 LOG(INFO) << oss.str(); in TEST_F() 92 oss.str(""); in TEST_F() 94 LOG(INFO) << oss.str(); in TEST_F()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 111 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler() local 112 VLOG(compiler) << "JIT instruction set variant " << str; in JitCompiler() 114 instruction_set, str.as_string(), &error_msg); in JitCompiler() 119 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler() local 120 VLOG(compiler) << "JIT instruction set features " << str; in JitCompiler() 129 instruction_set_features_->AddFeaturesFromString(str.as_string(), &error_msg); in JitCompiler()
|
/art/runtime/interpreter/mterp/arm64/ |
D | header.S | 138 str xPC, [xFP, #OFF_FP_DEX_PC_PTR] 254 str \reg, [xFP, \vreg, uxtw #2] 255 str wzr, [xREFS, \vreg, uxtw #2] 258 str \reg, [xFP, \vreg, uxtw #2] 259 str \reg, [xREFS, \vreg, uxtw #2] 272 str \reg, [ip2] 274 str xzr, [ip2]
|
/art/test/543-checker-dce-trycatch/src/ |
D | Main.java | 26 public static void doNotMergeThrow(String str) { in doNotMergeThrow() argument 28 throw new Exception(str); in doNotMergeThrow()
|