/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 | 36 constexpr size_t ConstexprStrLen(char const* str, size_t count = 0) { 37 return ('\0' == str[0]) ? count : ConstexprStrLen(str+1, count+1); 191 std::string str; variable 219 std::string imm_string = sreg.str(); 223 if (str.size() > 0) { 224 str += "\n"; 226 str += base; 231 str += "\n"; 232 return str; 246 std::string str; in RepeatTemplatedRegistersImmBits() local [all …]
|
/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/runtime/ |
D | reference_table_test.cc | 90 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 108 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 109 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 119 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F() 122 std::string::npos) << oss.str(); in TEST_F() 123 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 125 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F() 127 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)), in TEST_F() 128 std::string::npos) << oss.str(); in TEST_F() 138 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F() [all …]
|
/art/libartbase/base/ |
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()
|
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()
|
/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/tools/ahat/src/test/com/android/ahat/ |
D | InstanceTest.java | 41 AhatInstance str = dump.getDumpedAhatInstance("basicString"); in asStringBasic() local 42 assertEquals("hello, world", str.asString()); in asStringBasic() 48 AhatInstance str = dump.getDumpedAhatInstance("nonAscii"); in asStringNonAscii() local 49 assertEquals("Sigma (Ʃ) is not ASCII", str.asString()); in asStringNonAscii() 55 AhatInstance str = dump.getDumpedAhatInstance("embeddedZero"); in asStringEmbeddedZero() local 56 assertEquals("embedded\0...", str.asString()); in asStringEmbeddedZero() 62 AhatInstance str = dump.getDumpedAhatInstance("charArray"); in asStringCharArray() local 63 assertEquals("char thing", str.asString()); in asStringCharArray() 69 AhatInstance str = dump.getDumpedAhatInstance("basicString"); in asStringTruncated() local 70 assertEquals("hello", str.asString(5)); in asStringTruncated() [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/622-checker-bce-regressions/src/ |
D | Main.java | 45 static public void $noinline$regressionTest123284765(String str) { in $noinline$regressionTest123284765() argument 47 int l = str.length(); in $noinline$regressionTest123284765() 49 str.charAt(l); in $noinline$regressionTest123284765() 53 expectEquals(34, str.length()); in $noinline$regressionTest123284765()
|
/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/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/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/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/test/testrunner/ |
D | run_build_test_target.py | 72 sys.stdout.write(str(build_command) + '\n') 81 build_command += ' -j' + str(n_threads) 85 sys.stdout.write(str(build_command) + '\n') 97 cmd += ['-j' + str(n_threads)] 102 sys.stdout.write(str(cmd) + '\n') 115 run_test_command += list(map(lambda a: a.format(SOONG_OUT_DIR=str(out_dir)), test_flags)) 130 sys.stdout.write(str(run_test_command) + '\n')
|
/art/tools/veridex/ |
D | hidden_api.cc | 31 for (std::string str; std::getline(in, str);) { in HiddenApi() local 32 std::vector<std::string> values = android::base::Split(str, ","); in HiddenApi() 37 CHECK(success) << "Unknown ApiList flag: " << str; in HiddenApi() 85 return ss.str(); in GetApiMethodName() 96 return ss.str(); in GetApiFieldName()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 635 std::ostringstream str; in shll_fn() local 640 str << "shll %cl, %" << assembler_test->GetSecondaryRegisterName(*reg) << "\n"; in shll_fn() 642 return str.str(); in shll_fn() 656 std::ostringstream str; in shlq_fn() local 661 str << "shlq %cl, %" << assembler_test->GetRegisterName(*reg) << "\n"; in shlq_fn() 663 return str.str(); in shlq_fn() 677 std::ostringstream str; in shrl_fn() local 682 str << "shrl %cl, %" << assembler_test->GetSecondaryRegisterName(*reg) << "\n"; in shrl_fn() 684 return str.str(); in shrl_fn() 697 std::ostringstream str; in shrq_fn() local [all …]
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 81 size_t AddString(uint16_t prefix, const std::string& str) { in AddString() argument 85 EncodeUnsignedLeb128(&chars_, str.length()); in AddString() 86 const uint8_t* ptr = reinterpret_cast<const uint8_t*>(&str[0]); in AddString() 87 chars_.insert(chars_.end(), ptr, ptr + str.length()); in AddString() 153 size_t AddString(const std::string& str) { in AddString() argument 155 EncodeUnsignedLeb128(&chars_, str.length()); in AddString() 156 const uint8_t* ptr = reinterpret_cast<const uint8_t*>(&str[0]); in AddString() 157 chars_.insert(chars_.end(), ptr, ptr + str.length()); in AddString() 187 MatchTrie* Add(const std::string& str) { in Add() argument 190 for (uint8_t c : str) { in Add() [all …]
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 47 explicit DexString(const char* str = "") 48 : ext_string_(MakeExtDexFileString(str, std::strlen(str))) {} in ext_string_() argument 49 explicit DexString(std::string_view str) in DexString() argument 50 : ext_string_(MakeExtDexFileString(str.data(), str.size())) {} in DexString() 88 static const struct ExtDexFileString* MakeExtDexFileString(const char* str, size_t size) { 92 return g_ExtDexFileMakeString(str, size);
|
/art/runtime/interpreter/ |
D | interpreter_intrinsics.cc | 189 ObjPtr<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 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCompareTo() local 218 result_register->SetI(str->CompareTo(arg1->AsString())); in MterpStringCompareTo() 230 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); \ 236 result_register->SetI(str->FastIndexOf(ch, starting_pos)); \ 254 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); \ [all …]
|
/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()
|
/art/test/983-source-transform-verify/src/art/ |
D | Test983.java | 33 public static void doPrintln(String str) { in doPrintln() argument 34 System.out.println(str); in doPrintln()
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 73 LOG(INFO) << oss.str(); in TEST_F() 88 oss.str(""); in TEST_F() 90 LOG(INFO) << oss.str(); in TEST_F() 93 oss.str(""); in TEST_F() 95 LOG(INFO) << oss.str(); in TEST_F()
|
/art/tools/jvmti-agents/field-null-percent/ |
D | check-null-fields.py | 38 parser.add_argument("-S", "--serial", metavar="SERIAL", type=str, 120 device.shell(['am', 'attach-agent', str(pid), bit32]) 121 device.shell(['am', 'attach-agent', str(pid), bit64]) 137 out.append((str(data[0]), str(data[1]), int(data[2]), int(data[3]))) 140 print("pid: " + pid + " -> " + str(out))
|