/external/perfetto/src/tracing/core/ |
D | trace_packet_unittest.cc | 112 size_t preamble_size; in TEST() local 116 std::tie(preamble, preamble_size) = tp.GetProtoPreamble(); in TEST() 117 ASSERT_EQ(2u, preamble_size); in TEST() 130 std::tie(preamble, preamble_size) = tp.GetProtoPreamble(); in TEST() 131 ASSERT_EQ(3u, preamble_size); in TEST() 135 memcpy(buf, preamble, preamble_size); in TEST() 137 memcpy(&buf[preamble_size], tp.slices()[0].start, tp.slices()[0].size); in TEST() 140 trace.ParseFromArray(buf, static_cast<int>(preamble_size + tp.size()))); in TEST()
|
D | trace_packet.cc | 60 size_t preamble_size = reinterpret_cast<uintptr_t>(ptr) - in GetProtoPreamble() local 62 PERFETTO_DCHECK(preamble_size <= sizeof(preamble_)); in GetProtoPreamble() 63 return std::make_tuple(&preamble_[0], preamble_size); in GetProtoPreamble()
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 59 size_t preamble_size = reinterpret_cast<uintptr_t>(ptr) - in GetPreamble() local 61 PERFETTO_DCHECK(preamble_size < preamble->size()); in GetPreamble() 62 return preamble_size; in GetPreamble() 207 size_t preamble_size = GetPreamble<kCompressedPacketsId>(size, &preamble); in FinalizeCompressedPacket() local 211 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/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/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/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/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
|