Searched defs:str (Results 1 - 25 of 27) sorted by relevance

12

/art/runtime/base/
H A Dto_str.h32 s_ = os.str();
39 const std::string& str() const { function in class:art::ToStr
H A Dstringpiece.h51 StringPiece(const char* str) // NOLINT implicit constructor desired argument
52 : ptr_(str), length_((str == nullptr) ? 0 : strlen(str)) { }
53 StringPiece(const std::string& str) // NOLINT implicit constructor desired argument
54 : ptr_(str.data()), length_(str.size()) { }
74 void set(const char* str) { argument
75 ptr_ = str;
76 if (str !
[all...]
/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/cmdline/
H A Dmemory_representation.h50 static std::string str; local
51 if (str.empty()) {
52 str = "Memory<" + std::to_string(kDivisor) + '>';
55 return str.c_str();
H A Dcmdline_types.h266 Result Parse(const std::string& str) { argument
269 double value = strtod(str.c_str(), &end);
272 return Result::Failure("Failed to parse double from " + str);
276 "Failed to parse double from " + str + "; overflow/underflow occurred");
287 Result Parse(const std::string& str) { argument
288 const char* begin = str.c_str();
296 return Result::Failure("Failed to parse integer from " + str);
301 "Failed to parse integer from " + str + "; out of unsigned int range");
350 Result Parse(const std::string& str) { argument
352 CmdlineParseResult<unsigned int> res = uint_parser.Parse(str);
418 Split(const std::string& str) argument
[all...]
/art/compiler/optimizing/
H A Dpretty_printer.h123 std::string str() const { return str_; } function in class:art::StringPrettyPrinter
H A Dssa_test.cc49 std::string str() const { return str_; } function in class:art::SsaPrettyPrinter
104 ASSERT_STREQ(expected, printer.str().c_str());
/art/compiler/
H A Dcfi_test.h74 static size_t FindEndOf(const std::string& str, const char* substr) { argument
75 size_t pos = str.find(substr);
/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);
H A Djdwp_handler.cc271 std::string str(request->ReadUtf8String());
273 JdwpError status = Dbg::CreateString(str, &string_id);
288 for (const std::string& str : class_path) {
289 expandBufAddUtf8String(pReply, str);
295 for (const std::string& str : boot_class_path) {
296 expandBufAddUtf8String(pReply, str);
878 std::string str; local
879 JDWP::JdwpError error = Dbg::StringToUtf8(stringObject, &str);
884 VLOG(jdwp) << StringPrintf(" --> %s", PrintableString(str.c_str()).c_str());
886 expandBufAddUtf8String(pReply, str);
[all...]
/art/compiler/utils/x86_64/
H A Dassembler_x86_64_test.cc362 std::ostringstream str; local
369 str << "shll %cl, %" << assembler_test->GetSecondaryRegisterName(*reg) << "\n";
372 return str.str();
385 std::ostringstream str; local
392 str << "shlq %cl, %" << assembler_test->GetRegisterName(*reg) << "\n";
395 return str.str();
408 std::ostringstream str; local
415 str << "shr
431 std::ostringstream str; local
454 std::ostringstream str; local
477 std::ostringstream str; local
960 std::ostringstream str; local
1023 std::ostringstream str; local
1074 std::ostringstream str; local
1122 std::ostringstream str; local
1156 std::ostringstream str; local
1179 std::ostringstream str; local
1198 std::ostringstream str; local
[all...]
/art/runtime/
H A Ddex_file_test.cc286 const char* str = strings[i]; local
287 const DexFile::StringId* str_id = raw->FindStringId(str);
289 EXPECT_STREQ(dex_str, str);
H A Ddex_file.cc443 *error_msg = oss.str();
453 *error_msg = oss.str();
610 const char* str = GetStringData(str_id); local
611 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str);
629 const char* str = GetStringData(str_id); local
630 int compare = CompareModifiedUtf8ToUtf16AsCodePointValues(str, string, length);
H A Ddex_file_verifier.cc1506 const char* str = dex_file_->GetStringData(*item); local
1507 if (UNLIKELY(CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(prev_str, str) >= 0)) {
1508 ErrorStringPrintf("Out-of-order string_ids: '%s' then '%s'", prev_str, str);
H A Dthread.cc758 LOG(FATAL) << ss.str();
2002 std::string str(ss.str());
2004 std::cerr << str; local
2007 LOG(INFO) << str;
/art/compiler/utils/
H A Dtest_dex_file_builder.h37 void AddString(const std::string& str) { argument
39 auto it = strings_.emplace(str, IdxAndDataOffset()).first;
H A Dassembler_test.h34 constexpr size_t ConstexprStrLen(char const* str, size_t count = 0) { argument
35 return ('\0' == str[0]) ? count : ConstexprStrLen(str+1, count+1);
178 std::string str; local
192 std::string imm_string = sreg.str();
196 if (str.size() > 0) {
197 str += "\n";
199 str += base;
202 str += "\n";
203 return str;
350 std::string str; local
380 std::string str; local
420 std::string str; local
510 std::string str; local
[all...]
/art/runtime/arch/
H A Dstub_test.cc101 "str r9, [sp, #-8]!\n\t" // Push referrer, +8B padding so 16B aligned
107 "str %[arg0], [sp]\n\t"
108 "str %[arg1], [sp, #4]\n\t"
109 "str %[arg2], [sp, #8]\n\t"
110 "str %[code], [sp, #12]\n\t"
111 "str %[self], [sp, #16]\n\t"
142 "str %[referrer], [sp]\n\t" // referrer
147 // All things are "r" constraints, so direct str/stp should work.
150 "str %[self], [sp, #32]\n\t"
241 "str x
1972 mirror::String* str = mirror::String::AllocFromModifiedUtf8(self, "Test"); local
[all...]
/art/compiler/utils/arm/
H A Dassembler_arm32.cc285 void Arm32Assembler::str(Register rd, const Address& ad, Condition cond) { function in class:art::arm::Arm32Assembler
1291 str(rd, Address(SP, -kRegisterSize, Address::PreIndex), cond);
1534 str(reg, Address(base, offset), cond);
H A Dassembler_thumb2.cc340 void Thumb2Assembler::str(Register rd, const Address& ad, Condition cond) { function in class:art::arm::Thumb2Assembler
439 str(static_cast<Register>(reg), Address(base, -kRegisterSize, strmode), cond);
2215 str(rd, Address(SP, -kRegisterSize, Address::PreIndex), cond);
2656 str(reg, Address(base, offset), cond);
/art/dex2oat/
H A Ddex2oat.cc667 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); local
669 InstructionSetFeatures::FromVariant(instruction_set_, str.as_string(), &error_msg));
674 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); local
684 instruction_set_features_->AddFeaturesFromString(str.as_string(), &error_msg));
1080 key_value_store_->Put(OatHeader::kDex2OatCmdLineKey, oss.str());
1081 oss.str(""); // Reset.
1083 key_value_store_->Put(OatHeader::kDex2OatHostKey, oss.str());
/art/imgdiag/
H A Dimgdiag.cc80 static bool EndsWith(const std::string& str, const std::string& suffix) { argument
81 return str.size() >= suffix.size() &&
82 str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0;
86 static std::string BaseName(const std::string& str) { argument
87 size_t idx = str.rfind("/");
89 return str;
92 return str.substr(idx + 1);
/art/runtime/hprof/
H A Dhprof.cc242 void AddUtf8String(const char* str) { argument
244 AddU1List((const uint8_t*)str, strlen(str));
/art/compiler/dex/
H A Dmir_graph.cc1296 decoded_mir->append(ss.str());
1460 decoded_mir->append(ss.str());
1503 std::string str; local
1513 str.append(extended_mir_op_names_[opcode - kMirOpFirst]);
1514 str.append(": ");
1520 str.append("[");
1534 DisassembleExtendedInstr(mir, &str);
1538 str.append(Instruction::Name(insn.opcode));
1544 str.append(" ");
1545 str
1626 ReplaceSpecialChars(std::string& str) argument
[all...]
/art/compiler/dex/quick/
H A Dmir_to_lir.h606 char* ArenaStrdup(const char* str) { argument
607 size_t len = strlen(str) + 1;
610 strncpy(res, str, len);

Completed in 377 milliseconds

12