/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/ |
D | CodeSignBlockHeader.java | 65 private long magic; field in CodeSignBlockHeader 83 this.magic = builder.magic; in CodeSignBlockHeader() 118 bf.putLong(magic); in toByteArray() 181 …CodeSignBlockHeader{magic: %d, version: %d, blockSize: %d, segmentNum: %d, flags: %d}", this.magic, in toString() 189 private long magic = MAGIC_NUM; field in CodeSignBlockHeader.Builder 201 public Builder setMagic(long magic) { in setMagic() argument 202 this.magic = magic; in setMagic()
|
D | HapInfoSegment.java | 43 private int magic = MAGIC_NUM; field in HapInfoSegment 60 public HapInfoSegment(int magic, SignInfo hapSignInfo) { in HapInfoSegment() argument 61 this.magic = magic; in HapInfoSegment() 93 bf.putInt(magic); in toByteArray() 139 return String.format(Locale.ROOT, "HapInfoSegment: magic[%d], signInfo[%s]", this.magic, in toString()
|
D | FsVerityInfoSegment.java | 55 private int magic = MAGIC; field in FsVerityInfoSegment 84 …public FsVerityInfoSegment(int magic, byte version, byte hashAlgorithm, byte log2BlockSize, byte[]… in FsVerityInfoSegment() argument 85 this.magic = magic; in FsVerityInfoSegment() 103 bf.putInt(this.magic); in toByteArray() 153 this.magic, this.version, this.hashAlgorithm, this.log2BlockSize); in toString()
|
D | NativeLibInfoSegment.java | 67 private int magic; field in NativeLibInfoSegment 93 this.magic = builder.magic; in NativeLibInfoSegment() 183 bf.putInt(magic); in toByteArray() 267 … + "zeroPadding[%s], signInfoList[%s]", this.magic, this.segmentSize, this.sectionNum, in toString() 276 private int magic = MAGIC_NUM; field in NativeLibInfoSegment.Builder 290 public Builder setMagic(int magic) { in setMagic() argument 291 this.magic = magic; in setMagic()
|
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/ |
D | elf_walker.py | 67 magic = struct.unpack("Bccc", data) 68 … if magic[0] == 0x7F and magic[1] == b'E' and magic[2] == b'L' and magic[3] == b'F':
|
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_splitter.cpp | 40 if (splitEbpfHeader_->header.magic != EbpfDataHeader::HEADER_MAGIC) { in SplitEbpfHeader() 41 TS_LOGE("Get EBPF file header failed! magic = %" PRIx64 "", splitEbpfHeader_->header.magic); in SplitEbpfHeader() 49 … splitEbpfHeader_->header.magic, splitEbpfHeader_->header.headSize, splitEbpfHeader_->header.clock, in SplitEbpfHeader()
|
D | ebpf_data_reader.cpp | 56 if (ebpfDataHeader_->header.magic != EbpfDataHeader::HEADER_MAGIC) { in InitEbpfHeader() 57 TS_LOGE("Get EBPF file header failed! magic = %" PRIx64 "", ebpfDataHeader_->header.magic); in InitEbpfHeader() 65 … ebpfDataHeader_->header.magic, ebpfDataHeader_->header.headSize, ebpfDataHeader_->header.clock, in InitEbpfHeader()
|
D | ebpf_data_structure.h | 30 uint64_t magic = HEADER_MAGIC; member
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
D | ebpf_converter.cpp | 66 char magic[HEADER_MAGIC + 1]; in StartParsing() local 67 (void)memset_s(magic, sizeof(magic), 0, sizeof(magic)); in StartParsing() 68 CHK(Read(reinterpret_cast<void*>(&magic), sizeof(magic) - 1)); in StartParsing() 69 outData_ << "magic: " << magic << '\n'; in StartParsing()
|
/developtools/packing_tool/adapter/ohos/ |
D | CollectBinInfo.java | 96 byte magic = binStream.readByte(); in readBinFileHeader() 97 if ((magic & 0xff) != MAGIC_NUMBER) { in readBinFileHeader()
|
/developtools/hiperf/src/ |
D | perf_file_reader.cpp | 110 return (memcmp(header_.magic, PERF_MAGIC, sizeof(header_.magic)) == 0); in IsValidDataFile() 115 return header_.magic[0] == '\x1f' and header_.magic[1] == '\x8b'; in IsGzipFile()
|
D | subcommand_dump.cpp | 224 for (size_t i = 0; i < sizeof(header.magic); ++i) { in PrintHeaderInfo() 225 PRINT_INDENT(indent, "%c", header.magic[i]); in PrintHeaderInfo()
|
/developtools/profiler/device/services/profiler_service/src/ |
D | trace_file_header.h | 36 uint64_t magic = HEADER_MAGIC; // 魔数,用于区分离线文件 member
|
/developtools/smartperf_host/trace_streamer/src/base/ |
D | pbreader_file_header.h | 37 uint64_t magic = HEADER_MAGIC; member
|
/developtools/hdc/src/daemon/ |
D | usb_ffs.h | 60 .magic = LONG_LE(FUNCTIONFS_STRINGS_MAGIC), 73 __le32 magic; member
|
/developtools/hdc/hdc_rust/src/cffi/ |
D | usb_ffs.h | 61 .magic = LONG_LE(FUNCTIONFS_STRINGS_MAGIC), 74 __le32 magic; member
|
D | oh_usb.cpp | 35 descUsbFfs.head.magic = LONG_LE(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in FillUsbV2Head()
|
/developtools/profiler/hiebpf/include/ |
D | hiebpf_common.h | 61 char magic[8] = {'E', 'B', 'P', 'F', 'F', 'I', 'L', 'E'}; member
|
D | hiebpf_data_file.h | 38 char magic[MAGIC_LEN] = {'E', 'B', 'P', 'F', 'F', 'I', 'L', 'E'}; member
|
/developtools/hiperf/proto/ |
D | report_sample.proto | 15 // char magic[10] = "HIPERF_PB_";
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/ |
D | pbreader_parser.cpp | 1102 …if (pHeader->data.length <= packetHeaderLength_ || pHeader->data.magic != ProfilerTraceFileHeader:… in InitProfilerTraceFileHeader() 1104 pHeader->data.length, pHeader->data.magic); in InitProfilerTraceFileHeader() 1118 … if (ret == -1 || profilerTraceFileHeader_.data.magic != ProfilerTraceFileHeader::HEADER_MAGIC) { in InitProfilerTraceFileHeader() 1120 profilerTraceFileHeader_.data.magic); in InitProfilerTraceFileHeader() 1129 …c = %" PRIx64 ", length = %" PRIu64 ", dataType = %x, boottime = %" PRIu64 "", pHeader->data.magic, in InitProfilerTraceFileHeader()
|
/developtools/smartperf_host/trace_streamer/test/unittest/ebpf/ |
D | ebpf_parser_test.cpp | 56 ebpfHeader.header.magic = EPBF_ERROR_MAGIC;
|
/developtools/hiperf/include/ |
D | perf_file_format.h | 103 char magic[8] = {'P', 'E', 'R', 'F', 'I', 'L', 'E', '2'}; member
|
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/ |
D | perf_data_parser.cpp | 152 if (memcmp(perfHeader_.magic, PERF_MAGIC, sizeof(perfHeader_.magic))) { in SplitPerfParsingHead()
|
/developtools/smartperf_host/trace_streamer/src/rpc/ |
D | rpc_server.cpp | 219 …if (pHeader->data.length <= PACKET_HEADER_LENGTH || pHeader->data.magic != ProfilerTraceFileHeader… in GetTimeSnap() 221 pHeader->data.length, pHeader->data.magic); in GetTimeSnap()
|