/art/runtime/ |
D | reference_table_test.cc | 39 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 57 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 58 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 68 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F() 71 std::string::npos) << oss.str(); in TEST_F() 72 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 74 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F() 76 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)), in TEST_F() 77 std::string::npos) << oss.str(); in TEST_F() 87 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F() [all …]
|
D | indenter_test.cc | 25 EXPECT_EQ(output.str(), ""); in TEST() 28 EXPECT_EQ(output.str(), "\t\thello"); in TEST() 31 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again"); in TEST() 34 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n"); in TEST()
|
D | common_throws.cc | 61 self->ThrowNewException(computed_throw_location, exception_descriptor, msg.str().c_str()); in ThrowException() 63 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str()); in ThrowException() 83 … self->ThrowNewWrappedException(computed_throw_location, exception_descriptor, msg.str().c_str()); in ThrowWrappedException() 85 self->ThrowNewWrappedException(*throw_location, exception_descriptor, msg.str().c_str()); in ThrowWrappedException() 137 ThrowException(NULL, "Ljava/lang/ClassCircularityError;", c, msg.str().c_str()); in ThrowClassCircularityError() 154 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClass() 164 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorClassForMethodDispatch() 171 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorMethod() 178 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); in ThrowIllegalAccessErrorField() 188 msg.str().c_str()); in ThrowIllegalAccessErrorFinalField() [all …]
|
D | indirect_reference_table_test.cc | 32 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 34 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 36 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)", in CheckDump() 41 << oss.str(); in CheckDump()
|
D | dex_file_test.cc | 285 const char* str = strings[i]; in TEST_F() local 286 const DexFile::StringId* str_id = raw->FindStringId(str); in TEST_F() 288 EXPECT_STREQ(dex_str, str); in TEST_F()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 213 std::ostringstream str; in setcc_test_fn() local 218 str << "set" << suffixes[i] << " %" << byte_regs[reg->AsRegister()] << "\n"; in setcc_test_fn() 222 return str.str(); in setcc_test_fn() 260 std::ostringstream str; in buildframe_test_fn() local 262 str << "pushq %rsi\n"; in buildframe_test_fn() 263 str << "pushq %r10\n"; in buildframe_test_fn() 266 str << "subq $" << displacement << ", %rsp\n"; in buildframe_test_fn() 268 str << "movl %edi, (%rsp)\n"; in buildframe_test_fn() 270 str << "movq %rax, " << frame_size + 0 << "(%rsp)\n"; in buildframe_test_fn() 271 str << "movq %rbx, " << frame_size + 8 << "(%rsp)\n"; in buildframe_test_fn() [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/base/ |
D | stringpiece.h | 49 StringPiece(const char* str) // NOLINT in StringPiece() argument 50 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int>(strlen(str))) { } in StringPiece() 51 StringPiece(const std::string& str) // NOLINT in StringPiece() argument 52 : ptr_(str.data()), length_(static_cast<int>(str.size())) { } in StringPiece() 72 void set(const char* str) { in set() argument 73 ptr_ = str; in set() 74 if (str != NULL) in set() 75 length_ = static_cast<int>(strlen(str)); in set()
|
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() + (kBitsPerWord / 4), in TEST() 67 EXPECT_STREQ(oss.str().c_str(), in TEST()
|
D | histogram_test.cc | 128 EXPECT_EQ(expected, stream.str()); in TEST() 171 EXPECT_EQ(expected, stream.str()); in TEST() 210 EXPECT_EQ(expected, stream.str()); in TEST() 224 EXPECT_EQ(expected, stream.str()); in TEST() 267 EXPECT_EQ(expected, stream.str()); in TEST()
|
D | stl_util.h | 92 return os.str(); in ToString()
|
D | bit_vector.cc | 400 os << buffer.str() << std::endl; in Dump() 406 fprintf(file, " {%s}", buffer.str().c_str()); in DumpDotHelper()
|
/art/compiler/utils/ |
D | assembler_test.h | 57 std::string str; in RepeatR() local 66 std::string reg_string = sreg.str(); in RepeatR() 70 if (str.size() > 0) { in RepeatR() 71 str += "\n"; in RepeatR() 73 str += base; in RepeatR() 76 str += "\n"; in RepeatR() 77 return str; in RepeatR() 82 std::string str; in RepeatRR() local 92 std::string reg_string = sreg.str(); in RepeatRR() 100 std::string reg_string = sreg.str(); in RepeatRR() [all …]
|
D | assembler_thumb_test.cc | 463 __ str(R3, Address(R4, 24)); in TEST() local 467 __ str(R3, Address(SP, 24)); in TEST() local 470 __ str(R8, Address(R4, 24)); in TEST() local 532 __ str(R3, Address(R4, 24, Address::Mode::Offset)); in TEST() local 533 __ str(R3, Address(R4, 24, Address::Mode::PreIndex)); in TEST() local 534 __ str(R3, Address(R4, 24, Address::Mode::PostIndex)); in TEST() local 535 __ str(R3, Address(R4, 24, Address::Mode::NegOffset)); in TEST() local 536 __ str(R3, Address(R4, 24, Address::Mode::NegPreIndex)); in TEST() local 537 __ str(R3, Address(R4, 24, Address::Mode::NegPostIndex)); in TEST() local 599 __ str(R3, Address(R4, -24, Address::Mode::Offset)); in TEST() local [all …]
|
/art/test/701-easy-div-rem/ |
D | genMain.py | 29 text = text.replace(str(key), str(value)) 40 local_vars['@NAME@'] = name + str(i)
|
/art/compiler/optimizing/ |
D | parallel_move_test.cc | 31 if (!message_.str().empty()) { in EmitMove() 43 if (!message_.str().empty()) { in EmitSwap() 57 return message_.str(); in GetMessage()
|
D | code_generator_arm.cc | 289 __ str(R0, Address(SP, 0)); in GenerateFrameEntry() local 381 __ str(source.AsArm().AsCoreRegister(), Address(SP, destination.GetStackIndex())); in Move32() local 384 __ str(IP, Address(SP, destination.GetStackIndex())); in Move32() local 419 __ str(source.AsArm().AsRegisterPairHigh(), in Move64() local 425 __ str(R0, Address(SP, calling_convention.GetStackOffsetOf(argument_index + 1))); in Move64() local 431 __ str(R1, Address(SP, destination.GetStackIndex())); in Move64() local 432 __ str(R2, Address(SP, destination.GetHighStackIndex(kArmWordSize))); in Move64() local 440 __ str(calling_convention.GetRegisterAt(argument_index), in Move64() local 444 __ str(R0, Address(SP, destination.GetHighStackIndex(kArmWordSize))); in Move64() local 448 __ str(IP, Address(SP, destination.GetStackIndex())); in Move64() local [all …]
|
D | ssa_test.cc | 49 std::string str() const { return str_; } in str() function in art::SsaPrettyPrinter 100 ASSERT_STREQ(expected, printer.str().c_str()); in TestCode()
|
/art/runtime/verifier/ |
D | reg_type.cc | 98 return result.str(); in Dump() 405 return result.str(); in Dump() 412 return result.str(); in Dump() 418 return result.str(); in Dump() 426 return result.str(); in Dump() 433 return result.str(); in Dump() 439 return result.str(); in Dump() 445 return result.str(); in Dump() 452 return result.str(); in Dump() 459 return result.str(); in Dump() [all …]
|
/art/runtime/arch/arm64/ |
D | quick_entrypoints_arm64.S | 77 str xLR, [sp, #168] 81 str xIP0, [sp] // Store ArtMethod* Runtime::callee_save_methods_[kRefsAndArgs] 129 str xLR, [sp, #88] 136 str xIP0, [sp] // Store ArtMethod* Runtime::callee_save_methods_[kRefsAndArgs] 267 str xIP0, [sp] // Store ArtMethod* Runtime::callee_save_methods_[kRefsAndArgs] 537 str w10, [x9, x2] 544 str wzr, [sp] 572 str d0, [x4] define 578 str s0, [x4] 583 str x0, [x4] [all …]
|
/art/compiler/dex/ |
D | mir_graph.cc | 1217 std::string str; in GetDalvikDisassembly() local 1229 str.append(extended_mir_op_names_[opcode - kMirOpFirst]); in GetDalvikDisassembly() 1230 str.append(": "); in GetDalvikDisassembly() 1238 str.append("["); in GetDalvikDisassembly() 1246 str.append(extended_mir_op_names_[opcode - kMirOpFirst]); in GetDalvikDisassembly() 1250 str.append(Instruction::Name(insn.opcode)); in GetDalvikDisassembly() 1255 str.append(StringPrintf(" %s = (%s", in GetDalvikDisassembly() 1258 str.append(StringPrintf(":%d", incoming[0])); in GetDalvikDisassembly() 1261 str.append(StringPrintf(", %s:%d", in GetDalvikDisassembly() 1265 str.append(")"); in GetDalvikDisassembly() [all …]
|
/art/test/005-annotations/src/android/test/anno/ |
D | AnnoArrayField.java | 18 String[] str() default {}; in str() method
|
/art/runtime/jdwp/ |
D | jdwp_expand_buf.cc | 153 static void SetUtf8String(uint8_t* buf, const char* str, size_t strLen) { in SetUtf8String() argument 155 memcpy(buf + sizeof(uint32_t), str, strLen); in SetUtf8String()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 261 str r12, [sp, #-16]! @ expand the frame and pass SP 324 str ip, [sp] @ store NULL for method* at bottom of frame 427 str r3, [r0, #LOCK_WORD_OFFSET] 431 str r1, [r0, #LOCK_WORD_OFFSET] 507 str r2, [r3, r1, lsl #2] 514 str r2, [r3, r1, lsl #2] 535 str r2, [r3, r1, lsl #2] 666 str r12, [sp, #-16]! @ expand the frame and pass SP 686 str r12, [sp, #-16]! @ expand the frame and pass SP 709 str r12, [sp, #-16]! @ expand the frame and pass SP [all …]
|
/art/disassembler/ |
D | disassembler_x86.cc | 1180 args << address.str(); in DumpInstruction() 1184 args << address.str(); in DumpInstruction() 1254 prefixed_opcode << opcode.str(); in DumpInstruction() 1256 << StringPrintf(": %22s \t%-7s ", hex.str().c_str(), prefixed_opcode.str().c_str()) in DumpInstruction() 1257 << args.str() << '\n'; in DumpInstruction()
|