Home
last modified time | relevance | path

Searched refs:raw_data (Results 1 – 20 of 20) sorted by relevance

/system/extras/simpleperf/
Dtracing.h50 uint64_t ReadFromData(const char* raw_data) { in ReadFromData()
51 return ConvertBytesToValue(raw_data + offset, size); in ReadFromData()
59 std::string ReadFromData(const char* raw_data) { in ReadFromData()
62 memcpy(s, raw_data + offset, size); in ReadFromData()
Dcmd_kmem.cpp168 const char* raw_data = r.raw_data.data; in CreateSample() local
171 uint64_t call_site = format->call_site.ReadFromData(raw_data); in CreateSample()
173 uint64_t ptr = format->ptr.ReadFromData(raw_data); in CreateSample()
174 uint64_t bytes_req = format->bytes_req.ReadFromData(raw_data); in CreateSample()
175 uint64_t bytes_alloc = format->bytes_alloc.ReadFromData(raw_data); in CreateSample()
176 uint64_t gfp_flags = format->gfp_flags.ReadFromData(raw_data); in CreateSample()
184 uint64_t ptr = format->ptr.ReadFromData(raw_data); in CreateSample()
Drecord.cpp455 MoveFromBinaryFormat(raw_data.size, p); in SampleRecord()
456 raw_data.data = p; in SampleRecord()
457 p += raw_data.size; in SampleRecord()
512 raw_data.size = 0; in SampleRecord()
690 p -= raw_data.size; in BuildBinaryWithNewCallChain()
691 memcpy(p, raw_data.data, raw_data.size); in BuildBinaryWithNewCallChain()
692 raw_data.data = p; in BuildBinaryWithNewCallChain()
694 memcpy(p, &raw_data.size, sizeof(uint32_t)); in BuildBinaryWithNewCallChain()
747 PrintIndented(indent, "raw size=%zu\n", raw_data.size); in DumpData()
748 const uint32_t* data = reinterpret_cast<const uint32_t*>(raw_data.data); in DumpData()
[all …]
Dcmd_trace_sched.cpp249 std::string thread_name = tracing_field_comm_.ReadFromData(record.raw_data.data); in ProcessSampleRecord()
250 uint64_t runtime = tracing_field_runtime_.ReadFromData(record.raw_data.data); in ProcessSampleRecord()
Dreport_lib_interface.cpp303 CHECK_GE(r.raw_data.size, current_event_.tracing_data_format.size); in SetCurrentSample()
304 current_tracing_data_ = r.raw_data.data; in SetCurrentSample()
Dcmd_dumprecord.cpp390 if (event.tp_data_size > 0 && sr.raw_data.size >= event.tp_data_size) { in ProcessSampleRecord()
394 std::string s = event.extract_field_functions[i](field, sr.raw_data); in ProcessSampleRecord()
Drecord.h387 PerfSampleRawType raw_data; // Valid if PERF_SAMPLE_RAW. member
/system/unwinding/libunwindstack/
DDwarfCfa.cpp192 std::string raw_data = "Raw Data:"; in LogOffsetRegisterString() local
198 raw_data += android::base::StringPrintf(" 0x%02x", value); in LogOffsetRegisterString()
201 log(indent, "%s", raw_data.c_str()); in LogOffsetRegisterString()
247 std::string raw_data("Raw Data:"); in LogInstruction() local
256 log(indent, "%s", raw_data.c_str()); in LogInstruction()
257 raw_data.clear(); in LogInstruction()
259 if (raw_data.empty()) { in LogInstruction()
260 raw_data = "Raw Data:"; in LogInstruction()
262 raw_data += android::base::StringPrintf(" 0x%02x", value); in LogInstruction()
264 if (!raw_data.empty()) { in LogInstruction()
[all …]
/system/core/libcutils/
Dproperties.cpp104 static void trampoline(void* raw_data, const char* name, const char* value, unsigned /*serial*/) { in trampoline() argument
105 callback_data* data = reinterpret_cast<callback_data*>(raw_data); in trampoline()
/system/unwinding/libunwindstack/tests/
DDwarfCfaLogTest.cpp216 std::string raw_data("Raw Data: 0x01 "); in TYPED_TEST_P() local
221 raw_data += "0x78 0x45 0x23 0x81"; in TYPED_TEST_P()
225 raw_data += "0x78 0x56 0x34 0x12 0x67 0x45 0x23 0x81"; in TYPED_TEST_P()
234 expected += "4 unwind " + raw_data + "\n"; in TYPED_TEST_P()
246 expected += "4 unwind " + raw_data + "\n"; in TYPED_TEST_P()
DDwarfCfaTest.cpp261 std::string raw_data("Raw Data: 0x01 "); in TYPED_TEST_P() local
266 raw_data += "0x78 0x45 0x23 0x81"; in TYPED_TEST_P()
270 raw_data += "0x78 0x56 0x34 0x12 0x67 0x45 0x23 0x81"; in TYPED_TEST_P()
/system/bt/stack/include/
Dsdp_api.h158 raw_data; /* Received record from server. allocated/released by client */ member
/system/bt/main/shim/
Dhci_layer.cc703 static void transmit_downward(uint16_t type, void* raw_data) { in transmit_downward() argument
705 packet_fragmenter->fragment_and_dispatch(static_cast<BT_HDR*>(raw_data)); in transmit_downward()
709 static_cast<BT_HDR*>(raw_data)); in transmit_downward()
/system/bt/gd/hci/
Dle_scanning_manager_test.cc495 …std::vector<uint8_t> raw_data = {0x5c, 0x1f, 0xa2, 0xc3, 0x63, 0x5d, 0x01, 0xf5, 0xb3, 0x5e, 0x00,… in TEST_F() local
500 uint8_t{1}, ErrorCode::SUCCESS, BatchScanDataRead::FULL_MODE_DATA, 1, raw_data)); in TEST_F()
Dle_scanning_manager.cc1145 auto raw_data = complete_view.GetRawData(); in on_batch_scan_read_result_complete() local
1147 batch_scan_result_cache_[scanner_id].end(), raw_data.begin(), raw_data.end()); in on_batch_scan_read_result_complete()
Dhci_packets.pdl4567 raw_data : 8[],
/system/bt/stack/sdp/
Dsdp_discovery.cc347 if (p_ccb->p_db->raw_data) { in sdp_copy_raw_data()
376 memcpy(&p_ccb->p_db->raw_data[p_ccb->p_db->raw_used], p, cpy_len); in sdp_copy_raw_data()
/system/bt/bta/sdp/
Dbta_sdp_act.cc366 record->hdr.user1_ptr = p_bta_sdp_cfg->p_sdp_db->raw_data; in bta_create_raw_sdp_record()
/system/bt/bta/dm/
Dbta_dm_act.cc1202 bta_dm_search_cb.p_sdp_db->raw_data != NULL) { in bta_dm_sdp_result()
1205 bta_dm_search_cb.p_sdp_db->raw_data); in bta_dm_sdp_result()
1207 bta_dm_search_cb.p_sdp_db->raw_data = in bta_dm_sdp_result()
1587 bta_dm_search_cb.p_sdp_db->raw_data = g_disc_raw_data_buf; in bta_dm_find_services()
/system/bt/bta/jv/
Dbta_jv_act.cc778 p_bta_jv_cfg->p_sdp_db->raw_data = p_bta_jv_cfg->p_sdp_raw_data; in bta_jv_start_discovery()