Searched refs:str (Results 1 - 25 of 75) sorted by relevance

123

/art/runtime/
H A Dindenter_test.cc25 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 Dreference_table_test.cc39 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 Dcommon_throws.cc61 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 Dindirect_reference_table_test.cc32 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 DStackWalk2.java20 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 Dhex_dump_test.cc37 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 Dstringpiece.h49 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 Dstl_util.h92 return os.str();
H A Dhistogram_test.cc128 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 Dlogging.cc140 std::string msg(data_->buffer.str());
/art/compiler/utils/x86_64/
H A Dassembler_x86_64_test.cc213 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 DAnnoArrayField.java18 String[] str() default {};
/art/test/701-easy-div-rem/
H A DgenMain.py29 text = text.replace(str(key), str(value))
40 local_vars['@NAME@'] = name + str(i)
/art/compiler/utils/
H A Dassembler_test.h57 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 Ddedupe_set.h67 lock_name_[i] = oss.str();
H A Dassembler_thumb_test.cc463 __ 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 Dparallel_move_test.cc31 if (!message_.str().empty()) {
43 if (!message_.str().empty()) {
57 return message_.str();
H A Dpretty_printer.h123 std::string str() const { return str_; } function in class:art::StringPrettyPrinter
H A Dpretty_printer_test.cc39 ASSERT_STREQ(expected, printer.str().c_str());
H A Dssa_test.cc49 std::string str() const { return str_; } function in class:art::SsaPrettyPrinter
100 ASSERT_STREQ(expected, printer.str().c_str());
/art/runtime/verifier/
H A Dreg_type.cc98 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 Djdwp_expand_buf.cc153 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 Dquick_entrypoints_arm64.S77 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 Dmir_graph.cc1215 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 Dquick_entrypoints_arm.S261 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...]

Completed in 356 milliseconds

123