/art/runtime/ |
H A D | indenter_test.cc | 25 EXPECT_EQ(output.str(), ""); 28 EXPECT_EQ(output.str(), "\t\thello"); 31 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again"); 34 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n");
|
H A D | reference_table_test.cc | 39 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); 57 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 58 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); 68 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", 71 std::string::npos) << oss.str(); 72 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); [all...] |
H A D | common_throws.cc | 61 self->ThrowNewException(computed_throw_location, exception_descriptor, msg.str().c_str()); 63 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str()); 83 self->ThrowNewWrappedException(computed_throw_location, exception_descriptor, msg.str().c_str()); 85 self->ThrowNewWrappedException(*throw_location, exception_descriptor, msg.str().c_str()); 137 ThrowException(NULL, "Ljava/lang/ClassCircularityError;", c, msg.str().c_str()); 154 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); 164 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); 171 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); 178 ThrowException(NULL, "Ljava/lang/IllegalAccessError;", referrer, msg.str().c_str()); 188 msg.str() [all...] |
H A D | indirect_reference_table_test.cc | 32 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str(); 34 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str(); 36 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)", 41 << oss.str();
|
/art/test/StackWalk2/ |
H A D | StackWalk2.java | 20 String str = new String(); // use v0 for str in <init> field in class:StackWalk2 41 System.logI(str); // use v1 for PrintStream, v2, v3 for str 42 str = null; // use v1 for null, v3 for str 43 str = new String("ya"); // use v2 for "ya", v1 for new String 44 String s = str; // use v0, v1, v3 45 System.logI(str); // use v1 for PrintStream, v2, v3 for str [all...] |
/art/runtime/base/ |
H A D | hex_dump_test.cc | 37 EXPECT_STREQ(oss.str().c_str(), 46 EXPECT_STREQ(oss.str().c_str(), 59 EXPECT_STREQ(oss.str().c_str() + (kBitsPerWord / 4), 67 EXPECT_STREQ(oss.str().c_str(),
|
H A D | stringpiece.h | 49 StringPiece(const char* str) // NOLINT argument 50 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int>(strlen(str))) { } 51 StringPiece(const std::string& str) // NOLINT argument 52 : ptr_(str.data()), length_(static_cast<int>(str.size())) { } 72 void set(const char* str) { argument 73 ptr_ = str; 74 if (str ! [all...] |
H A D | stl_util.h | 92 return os.str();
|
H A D | histogram_test.cc | 128 EXPECT_EQ(expected, stream.str()); 171 EXPECT_EQ(expected, stream.str()); 210 EXPECT_EQ(expected, stream.str()); 224 EXPECT_EQ(expected, stream.str()); 267 EXPECT_EQ(expected, stream.str());
|
H A D | logging.cc | 140 std::string msg(data_->buffer.str());
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64_test.cc | 213 std::ostringstream str; local 218 str << "set" << suffixes[i] << " %" << byte_regs[reg->AsRegister()] << "\n"; 222 return str.str(); 260 std::ostringstream str; local 262 str << "pushq %rsi\n"; 263 str << "pushq %r10\n"; 266 str << "subq $" << displacement << ", %rsp\n"; 268 str << "movl %edi, (%rsp)\n"; 270 str << "mov 293 std::ostringstream str; local 315 std::ostringstream str; local 333 std::ostringstream str; local [all...] |
/art/test/005-annotations/src/android/test/anno/ |
H A D | AnnoArrayField.java | 18 String[] str() default {};
|
/art/test/701-easy-div-rem/ |
H A D | genMain.py | 29 text = text.replace(str(key), str(value)) 40 local_vars['@NAME@'] = name + str(i)
|
/art/compiler/utils/ |
H A D | assembler_test.h | 57 std::string str; local 66 std::string reg_string = sreg.str(); 70 if (str.size() > 0) { 71 str += "\n"; 73 str += base; 76 str += "\n"; 77 return str; 82 std::string str; local 92 std::string reg_string = sreg.str(); 100 std::string reg_string = sreg.str(); 117 std::string str; local 154 std::string str; local [all...] |
H A D | dedupe_set.h | 67 lock_name_[i] = oss.str();
|
H A D | assembler_thumb_test.cc | 463 __ str(R3, Address(R4, 24)); 467 __ str(R3, Address(SP, 24)); 470 __ str(R8, Address(R4, 24)); 532 __ str(R3, Address(R4, 24, Address::Mode::Offset)); 533 __ str(R3, Address(R4, 24, Address::Mode::PreIndex)); 534 __ str(R3, Address(R4, 24, Address::Mode::PostIndex)); 535 __ str(R3, Address(R4, 24, Address::Mode::NegOffset)); 536 __ str(R3, Address(R4, 24, Address::Mode::NegPreIndex)); 537 __ str(R3, Address(R4, 24, Address::Mode::NegPostIndex)); 599 __ str(R [all...] |
/art/compiler/optimizing/ |
H A D | parallel_move_test.cc | 31 if (!message_.str().empty()) { 43 if (!message_.str().empty()) { 57 return message_.str();
|
H A D | pretty_printer.h | 123 std::string str() const { return str_; } function in class:art::StringPrettyPrinter
|
H A D | pretty_printer_test.cc | 39 ASSERT_STREQ(expected, printer.str().c_str());
|
H A D | ssa_test.cc | 49 std::string str() const { return str_; } function in class:art::SsaPrettyPrinter 100 ASSERT_STREQ(expected, printer.str().c_str());
|
/art/runtime/verifier/ |
H A D | reg_type.cc | 98 return result.str(); 405 return result.str(); 412 return result.str(); 418 return result.str(); 426 return result.str(); 433 return result.str(); 439 return result.str(); 445 return result.str(); 452 return result.str(); 459 return result.str(); [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_expand_buf.cc | 153 static void SetUtf8String(uint8_t* buf, const char* str, size_t strLen) { argument 155 memcpy(buf + sizeof(uint32_t), str, strLen);
|
/art/runtime/arch/arm64/ |
H A 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] 578 str s0, [x4] 583 str x [all...] |
/art/compiler/dex/ |
H A D | mir_graph.cc | 1215 std::string str; local 1227 str.append(extended_mir_op_names_[opcode - kMirOpFirst]); 1228 str.append(": "); 1236 str.append("["); 1244 str.append(extended_mir_op_names_[opcode - kMirOpFirst]); 1248 str.append(Instruction::Name(insn.opcode)); 1253 str.append(StringPrintf(" %s = (%s", 1256 str.append(StringPrintf(":%d", incoming[0])); 1259 str.append(StringPrintf(", %s:%d", 1263 str 1344 ReplaceSpecialChars(std::string& str) argument [all...] |
/art/runtime/arch/arm/ |
H A 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 397 str r2, [r0, #LOCK_WORD_OFFSET] @ no need for strex as we hold the lock 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 r1 [all...] |