Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 27) sorted by relevance

12

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DCodeSignBlockHeader.java65 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()
DHapInfoSegment.java43 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()
DFsVerityInfoSegment.java55 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()
DNativeLibInfoSegment.java67 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/
Delf_walker.py67 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/
Debpf_splitter.cpp40 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()
Debpf_data_reader.cpp56 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()
Debpf_data_structure.h30 uint64_t magic = HEADER_MAGIC; member
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/
Debpf_converter.cpp66 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/
DCollectBinInfo.java96 byte magic = binStream.readByte(); in readBinFileHeader()
97 if ((magic & 0xff) != MAGIC_NUMBER) { in readBinFileHeader()
/developtools/hiperf/src/
Dperf_file_reader.cpp110 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()
Dsubcommand_dump.cpp224 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/
Dtrace_file_header.h36 uint64_t magic = HEADER_MAGIC; // 魔数,用于区分离线文件 member
/developtools/smartperf_host/trace_streamer/src/base/
Dpbreader_file_header.h37 uint64_t magic = HEADER_MAGIC; member
/developtools/hdc/src/daemon/
Dusb_ffs.h60 .magic = LONG_LE(FUNCTIONFS_STRINGS_MAGIC),
73 __le32 magic; member
/developtools/hdc/hdc_rust/src/cffi/
Dusb_ffs.h61 .magic = LONG_LE(FUNCTIONFS_STRINGS_MAGIC),
74 __le32 magic; member
Doh_usb.cpp35 descUsbFfs.head.magic = LONG_LE(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in FillUsbV2Head()
/developtools/profiler/hiebpf/include/
Dhiebpf_common.h61 char magic[8] = {'E', 'B', 'P', 'F', 'F', 'I', 'L', 'E'}; member
Dhiebpf_data_file.h38 char magic[MAGIC_LEN] = {'E', 'B', 'P', 'F', 'F', 'I', 'L', 'E'}; member
/developtools/hiperf/proto/
Dreport_sample.proto15 // char magic[10] = "HIPERF_PB_";
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/
Dpbreader_parser.cpp1102 …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/
Debpf_parser_test.cpp56 ebpfHeader.header.magic = EPBF_ERROR_MAGIC;
/developtools/hiperf/include/
Dperf_file_format.h103 char magic[8] = {'P', 'E', 'R', 'F', 'I', 'L', 'E', '2'}; member
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp152 if (memcmp(perfHeader_.magic, PERF_MAGIC, sizeof(perfHeader_.magic))) { in SplitPerfParsingHead()
/developtools/smartperf_host/trace_streamer/src/rpc/
Drpc_server.cpp219 …if (pHeader->data.length <= PACKET_HEADER_LENGTH || pHeader->data.magic != ProfilerTraceFileHeader… in GetTimeSnap()
221 pHeader->data.length, pHeader->data.magic); in GetTimeSnap()

12