Lines Matching defs:ostrm
147 void append_hex_value(std::ostream &ostrm, const void *buf, size_t buf_size,
153 ostrm << RAWHEX8(p[i]);
156 ostrm << RAWHEX8(p[i]);
172 void append_hexified_string(std::ostream &ostrm, const std::string &string) {
176 ostrm << RAWHEX8(*(string_buf + i));
1623 std::ostringstream ostrm;
1624 ostrm << RAW_HEXBASE << shlib_info_addr;
1625 return SendPacket(ostrm.str());
1671 std::ostringstream ostrm;
1672 ostrm << "m";
1678 ostrm << ",";
1680 ostrm << std::hex << th;
1682 return SendPacket(ostrm.str());
1878 std::ostringstream ostrm;
1880 ostrm << "name:" << reg_entry->nub_info.name << ';';
1882 ostrm << "alt-name:" << reg_entry->nub_info.alt << ';';
1884 ostrm << "bitsize:" << std::dec << reg_entry->nub_info.size * 8 << ';';
1885 ostrm << "offset:" << std::dec << reg_entry->offset << ';';
1889 ostrm << "encoding:uint;";
1892 ostrm << "encoding:sint;";
1895 ostrm << "encoding:ieee754;";
1898 ostrm << "encoding:vector;";
1904 ostrm << "format:binary;";
1907 ostrm << "format:decimal;";
1910 ostrm << "format:hex;";
1913 ostrm << "format:float;";
1916 ostrm << "format:vector-sint8;";
1919 ostrm << "format:vector-uint8;";
1922 ostrm << "format:vector-sint16;";
1925 ostrm << "format:vector-uint16;";
1928 ostrm << "format:vector-sint32;";
1931 ostrm << "format:vector-uint32;";
1934 ostrm << "format:vector-float32;";
1937 ostrm << "format:vector-uint128;";
1942 ostrm << "set:" << reg_set_info[reg_entry->nub_info.set].name << ';';
1945 ostrm << "ehframe:" << std::dec << reg_entry->nub_info.reg_ehframe << ';';
1948 ostrm << "dwarf:" << std::dec << reg_entry->nub_info.reg_dwarf << ';';
1952 ostrm << "generic:fp;";
1955 ostrm << "generic:pc;";
1958 ostrm << "generic:sp;";
1961 ostrm << "generic:ra;";
1964 ostrm << "generic:flags;";
1967 ostrm << "generic:arg1;";
1970 ostrm << "generic:arg2;";
1973 ostrm << "generic:arg3;";
1976 ostrm << "generic:arg4;";
1979 ostrm << "generic:arg5;";
1982 ostrm << "generic:arg6;";
1985 ostrm << "generic:arg7;";
1988 ostrm << "generic:arg8;";
1995 ostrm << "container-regs:";
1998 ostrm << ',';
1999 ostrm << RAW_HEXBASE << reg_entry->value_regnums[i];
2001 ostrm << ';';
2005 ostrm << "invalidate-regs:";
2008 ostrm << ',';
2009 ostrm << RAW_HEXBASE << reg_entry->invalidate_regnums[i];
2011 ostrm << ';';
2014 return SendPacket(ostrm.str());
2573 bool register_value_in_hex_fixed_width(std::ostream &ostrm, nub_process_t pid,
2588 append_hex_value(ostrm, reg_value_ptr->value.v_uint8, reg->nub_info.size,
2598 append_hex_value(ostrm, fail_result.data(), fail_result.size(), false);
2605 std::ostream &ostrm, nub_process_t pid, nub_thread_t tid,
2612 ostrm << RAWHEX8(reg->debugserver_regnum) << ':';
2613 register_value_in_hex_fixed_width(ostrm, pid, tid, reg, reg_value_ptr,
2615 ostrm << ';';
2720 std::ostringstream ostrm;
2722 ostrm << 'T';
2759 ostrm << RAWHEX8(signum & 0xff);
2761 ostrm << std::hex << "thread:" << tid << ';';
2768 ostrm << std::hex << "name:" << thread_name << ';';
2771 ostrm << std::hex << "hexname:";
2774 ostrm << RAWHEX8(u_thread_name[i]);
2775 ostrm << ';';
2791 ostrm << std::hex << "threads:";
2795 ostrm << ',';
2796 ostrm << std::hex << th;
2813 ostrm << ';';
2821 ostrm << std::hex << "thread-pcs:";
2824 ostrm << ',';
2825 ostrm << std::hex << pc_values[i];
2827 ostrm << ';';
2842 ostrm << std::hex << "jstopinfo:";
2846 append_hexified_string(ostrm, json_strm.str());
2847 ostrm << ';';
2882 ostrm, pid, tid, &g_reg_entries[reg], reg_value.get(),
2888 ostrm << "reason:exec;";
2890 ostrm << "reason:watchpoint;";
2891 ostrm << "description:";
2896 append_hexified_string(ostrm, wp_desc.str());
2897 ostrm << ";";
2906 ostrm << "watch_addr:" << std::hex
2908 ostrm << "me_watch_addr:" << std::hex
2910 ostrm << "wp_hw_idx:" << std::hex
2913 ostrm << "wp_esr_iss:" << std::hex
2915 ostrm << "wp_esr_wpt:" << std::hex
2917 ostrm << "wp_esr_wptv:"
2919 ostrm << "wp_esr_wpf:"
2921 ostrm << "wp_esr_fnp:"
2923 ostrm << "wp_esr_vncr:"
2925 ostrm << "wp_esr_fnv:"
2927 ostrm << "wp_esr_cm:" << tid_stop_info.details.watchpoint.esr_fields.cm
2929 ostrm << "wp_esr_wnr:"
2931 ostrm << "wp_esr_dfsc:" << std::hex
2935 ostrm << "metype:" << std::hex << tid_stop_info.details.exception.type
2937 ostrm << "mecount:" << std::hex
2941 ostrm << "medata:" << std::hex
2952 ostrm << "memory:" << HEXBASE << stack_memory.first << '=';
2953 append_hex_value(ostrm, stack_memory.second.bytes,
2955 ostrm << ';';
2959 return SendPacket(ostrm.str());
3159 std::ostringstream ostrm;
3161 ostrm << RAWHEX8(buf[i]);
3162 return SendPacket(ostrm.str());
3233 std::ostringstream ostrm;
3235 ostrm << buf_quoted[i];
3237 return SendPacket(ostrm.str());
3300 std::ostringstream ostrm;
3324 append_hex_value(ostrm, reg_ctx.data(), reg_ctx.size(), false);
3325 return SendPacket(ostrm.str());
3437 std::ostringstream ostrm;
3438 ostrm << RAW_HEXBASE << addr;
3439 return SendPacket(ostrm.str());
4222 std::ostringstream ostrm;
4227 ostrm << "00000000";
4231 append_hex_value(ostrm, zeros.data(), zeros.size(), false);
4234 if (!register_value_in_hex_fixed_width(ostrm, pid, tid, reg_entry, NULL,
4238 return SendPacket(ostrm.str());
4385 std::ostringstream ostrm;
4388 ostrm << "start:" << std::hex << region_info.addr << ';';
4391 ostrm << "size:" << std::hex << region_info.size << ';';
4394 ostrm << "permissions:";
4397 ostrm << 'r';
4399 ostrm << 'w';
4401 ostrm << 'x';
4402 ostrm << ';';
4404 ostrm << "dirty-pages:";
4409 ostrm << ",";
4411 ostrm << std::hex << addr;
4414 ostrm << ";";
4416 ostrm << "type:";
4419 ostrm << ",";
4420 ostrm << region_info.vm_types[i];
4422 ostrm << ";";
4425 return SendPacket(ostrm.str());
4554 std::ostringstream ostrm;
4557 ostrm << "num:" << std::dec << num << ';';
4558 return SendPacket(ostrm.str());