Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dtracing.h39 uint64_t ReadFromData(const char* raw_data) { in ReadFromData()
40 return ConvertBytesToValue(raw_data + offset, size); in ReadFromData()
48 std::string ReadFromData(const char* raw_data) { in ReadFromData()
51 memcpy(s, raw_data + offset, size); in ReadFromData()
Dcmd_kmem.cpp176 const char* raw_data = r.raw_data.data; in CreateSample() local
179 uint64_t call_site = format->call_site.ReadFromData(raw_data); in CreateSample()
181 uint64_t ptr = format->ptr.ReadFromData(raw_data); in CreateSample()
182 uint64_t bytes_req = format->bytes_req.ReadFromData(raw_data); in CreateSample()
183 uint64_t bytes_alloc = format->bytes_alloc.ReadFromData(raw_data); in CreateSample()
184 uint64_t gfp_flags = format->gfp_flags.ReadFromData(raw_data); in CreateSample()
194 uint64_t ptr = format->ptr.ReadFromData(raw_data); in CreateSample()
Drecord.cpp462 MoveFromBinaryFormat(raw_data.size, p); in SampleRecord()
463 raw_data.data = p; in SampleRecord()
464 p += raw_data.size; in SampleRecord()
520 raw_data.size = 0; in SampleRecord()
698 p -= raw_data.size; in BuildBinaryWithNewCallChain()
699 memcpy(p, raw_data.data, raw_data.size); in BuildBinaryWithNewCallChain()
700 raw_data.data = p; in BuildBinaryWithNewCallChain()
702 memcpy(p, &raw_data.size, sizeof(uint32_t)); in BuildBinaryWithNewCallChain()
755 PrintIndented(indent, "raw size=%zu\n", raw_data.size); in DumpData()
756 const uint32_t* data = reinterpret_cast<const uint32_t*>(raw_data.data); in DumpData()
[all …]
Dcmd_trace_sched.cpp256 std::string thread_name = tracing_field_comm_.ReadFromData(record.raw_data.data); in ProcessSampleRecord()
257 uint64_t runtime = tracing_field_runtime_.ReadFromData(record.raw_data.data); in ProcessSampleRecord()
Dreport_lib_interface.cpp350 CHECK_GE(r.raw_data.size, current_event_.tracing_data_format.size); in SetCurrentSample()
351 current_tracing_data_ = r.raw_data.data; in SetCurrentSample()
Drecord.h389 PerfSampleRawType raw_data; // Valid if PERF_SAMPLE_RAW. member
/system/core/libunwindstack/
DDwarfCfa.cpp190 std::string raw_data = "Raw Data:"; in LogOffsetRegisterString() local
196 raw_data += android::base::StringPrintf(" 0x%02x", value); in LogOffsetRegisterString()
199 log(indent, "%s", raw_data.c_str()); in LogOffsetRegisterString()
241 std::string raw_data("Raw Data:"); in LogInstruction() local
250 log(indent, "%s", raw_data.c_str()); in LogInstruction()
251 raw_data.clear(); in LogInstruction()
253 if (raw_data.empty()) { in LogInstruction()
254 raw_data = "Raw Data:"; in LogInstruction()
256 raw_data += android::base::StringPrintf(" 0x%02x", value); in LogInstruction()
258 if (!raw_data.empty()) { in LogInstruction()
[all …]
/system/core/libcutils/
Dproperties.cpp132 static void trampoline(void* raw_data, const char* name, const char* value, unsigned /*serial*/) { in trampoline() argument
133 callback_data* data = reinterpret_cast<callback_data*>(raw_data); in trampoline()
/system/core/libunwindstack/tests/
DDwarfCfaLogTest.cpp215 std::string raw_data("Raw Data: 0x01 "); in TYPED_TEST_P() local
220 raw_data += "0x78 0x45 0x23 0x81"; in TYPED_TEST_P()
224 raw_data += "0x78 0x56 0x34 0x12 0x67 0x45 0x23 0x81"; in TYPED_TEST_P()
233 expected += "4 unwind " + raw_data + "\n"; in TYPED_TEST_P()
245 expected += "4 unwind " + raw_data + "\n"; in TYPED_TEST_P()
DDwarfCfaTest.cpp259 std::string raw_data("Raw Data: 0x01 "); in TYPED_TEST_P() local
264 raw_data += "0x78 0x45 0x23 0x81"; in TYPED_TEST_P()
268 raw_data += "0x78 0x56 0x34 0x12 0x67 0x45 0x23 0x81"; in TYPED_TEST_P()
/system/bt/stack/include/
Dsdp_api.h126 raw_data; /* Received record from server. allocated/released by client */ member
/system/bt/stack/sdp/
Dsdp_discovery.cc350 if (p_ccb->p_db->raw_data) { in sdp_copy_raw_data()
379 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.cc329 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.cc1484 bta_dm_search_cb.p_sdp_db->raw_data != NULL) { in bta_dm_sdp_result()
1487 bta_dm_search_cb.p_sdp_db->raw_data); in bta_dm_sdp_result()
1492 bta_dm_search_cb.p_sdp_db->raw_data, in bta_dm_sdp_result()
1498 bta_dm_search_cb.p_sdp_db->raw_data = in bta_dm_sdp_result()
1836 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.cc795 p_bta_jv_cfg->p_sdp_db->raw_data = p_bta_jv_cfg->p_sdp_raw_data; in bta_jv_start_discovery()