/external/perfetto/src/tracing/core/ |
D | trace_packet_unittest.cc | 91 size_t preamble_size; in TEST() local 95 std::tie(preamble, preamble_size) = tp.GetProtoPreamble(); in TEST() 96 ASSERT_EQ(2u, preamble_size); in TEST() 109 std::tie(preamble, preamble_size) = tp.GetProtoPreamble(); in TEST() 110 ASSERT_EQ(3u, preamble_size); in TEST() 114 memcpy(buf, preamble, preamble_size); in TEST() 116 memcpy(&buf[preamble_size], tp.slices()[0].start, tp.slices()[0].size); in TEST() 118 ASSERT_TRUE(trace.ParseFromArray(buf, preamble_size + tp.size())); in TEST()
|
D | trace_packet.cc | 59 size_t preamble_size = reinterpret_cast<uintptr_t>(ptr) - in GetProtoPreamble() local 61 PERFETTO_DCHECK(preamble_size <= sizeof(preamble_)); in GetProtoPreamble() 62 return std::make_tuple(&preamble_[0], preamble_size); in GetProtoPreamble()
|
D | tracing_service_impl.cc | 3207 size_t preamble_size = 0; in MaybeSaveTraceForBugreport() local 3208 std::tie(preamble, preamble_size) = packet.GetProtoPreamble(); in MaybeSaveTraceForBugreport() 3209 base::WriteAll(fd, preamble, preamble_size); in MaybeSaveTraceForBugreport()
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 71 size_t preamble_size = reinterpret_cast<uintptr_t>(ptr) - in GetPreamble() local 73 PERFETTO_DCHECK(preamble_size < preamble->size()); in GetPreamble() 74 return preamble_size; in GetPreamble() 219 size_t preamble_size = GetPreamble<kCompressedPacketsId>(size, &preamble); in FinalizeCompressedPacket() local 223 out_packet.AddSlice(preamble.data(), preamble_size); in FinalizeCompressedPacket()
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 107 uint64_t preamble_size; member 149 uint64_t preamble_size; member 198 uint64_t preamble_size; member 235 uint64_t preamble_size; member
|
/external/vboot_reference/host/lib/ |
D | extract_vmlinuz.c | 32 now += preamble->preamble_size; in ExtractVmlinuz() 59 preamble->preamble_size; in ExtractVmlinuz()
|
D | host_common.c | 46 h->preamble_size = block_size; in CreateFirmwarePreamble() 108 h->preamble_size = block_size; in CreateKernelPreamble()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 324 if (size < preamble->preamble_size) { in VerifyFirmwarePreamble() 330 if (VerifySignatureInside(preamble, preamble->preamble_size, sig)) { in VerifyFirmwarePreamble() 336 if (preamble->preamble_size < sig->data_size) { in VerifyFirmwarePreamble() 410 if (size < preamble->preamble_size) { in VerifyKernelPreamble() 416 if (VerifySignatureInside(preamble, preamble->preamble_size, sig)) { in VerifyKernelPreamble()
|
D | vboot_kernel.c | 337 preamble->preamble_size; in LoadKernel()
|
/external/vboot_reference/firmware/lib20/ |
D | common.c | 227 if (size < preamble->preamble_size) { in vb2_verify_fw_preamble() 233 if (vb2_verify_signature_inside(preamble, preamble->preamble_size, in vb2_verify_fw_preamble() 240 if (preamble->preamble_size < sig->data_size) { in vb2_verify_fw_preamble()
|
D | misc.c | 166 pre_size = pre->preamble_size; in vb2_load_fw_preamble()
|
/external/perfetto/src/trace_processor/rpc/ |
D | query_result_serializer.cc | 213 uint32_t preamble_size = static_cast<uint32_t>(preamble_end - &preamble[0]); in SerializeBatch() local 218 static_cast<uint32_t>(writer.written() + preamble_size); in SerializeBatch() 231 batch->AppendRawProtoBytes(preamble, preamble_size); in SerializeBatch()
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_firmware.c | 160 (1 != fwrite(preamble, preamble->preamble_size, 1, f))); in Vblock() 251 now += preamble->preamble_size; in Verify() 256 preamble->preamble_size); in Verify()
|
D | vb1_helper.c | 332 Debug("Preamble is 0x%" PRIx64 " bytes\n", preamble->preamble_size); in UnpackKPart() 333 now += preamble->preamble_size; in UnpackKPart() 433 outsize = keyblock->key_block_size + preamble->preamble_size; in SignKernelBlob() 438 preamble, preamble->preamble_size); in SignKernelBlob() 565 g_preamble->preamble_size, rsa)) { in VerifyKernelBlob() 572 g_preamble->preamble_size); in VerifyKernelBlob()
|
D | dump_kernel_config_lib.c | 97 to_skip = preamble.preamble_size - sizeof(preamble); in FindKernelConfigFromStream() 102 now += preamble.preamble_size; in FindKernelConfigFromStream()
|
D | cmd_show.c | 346 preamble->preamble_size); in futil_cb_show_fw_preamble() 458 preamble->preamble_size); in futil_cb_show_kernel_preamble()
|
D | cmd_sign.c | 360 preamble, preamble->preamble_size); in futil_cb_sign_raw_firmware() 409 memcpy(vblock->buf + more, preamble, preamble->preamble_size); in write_new_preamble()
|
D | cmd_vbutil_kernel.c | 620 preamble->preamble_size; in do_vbutil_kernel()
|
/external/vboot_reference/tests/ |
D | vb20_misc_tests.c | 106 pre->preamble_size = sizeof(mock_vblock.p); in reset_common_data() 286 TEST_EQ(sd->workbuf_preamble_size, pre->preamble_size, "preamble size"); in verify_preamble_tests() 323 pre->preamble_size = sizeof(mock_vblock); in verify_preamble_tests()
|
D | vboot_kernel_tests.c | 169 kph.preamble_size = 4096 - kbh.key_block_size; in ResetMocks() 722 kph.preamble_size |= 0x07; in LoadKernelTest() 727 kph.preamble_size += 65536; in LoadKernelTest()
|
D | vboot_common2_tests.c | 135 hsize = (unsigned) hdr->preamble_size; in VerifyKernelPreambleTest()
|
D | vboot_common3_tests.c | 184 hsize = (unsigned) hdr->preamble_size; in VerifyFirmwarePreambleTest()
|
D | vb20_common3_tests.c | 200 hsize = (uint32_t) hdr->preamble_size; in test_verify_fw_preamble()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 144 uint32_t preamble_size; member
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_end_to_end_test.cc | 505 size_t preamble_size = std::get<1>(preamble); in ReadTraceData() local 506 size_t buf_size = preamble_size + payload.size(); in ReadTraceData() 509 memcpy(&buf[0], preamble_payload, preamble_size); in ReadTraceData() 510 memcpy(&buf[preamble_size], payload.data(), payload.size()); in ReadTraceData()
|