Home
last modified time | relevance | path

Searched full:pack (Results 1 - 25 of 112) sorted by relevance

12345

/base/startup/appspawn/service/hnp/pack/
H A DREADME_zh.md96 pack: packet native software package to .hnp file
97 hnpcli pack <-i [source path]> <-o [dst path]> <-n [software name]> <-v [software version]>
105 hnpcli pack -i /usr1/native_sample -o /usr1/output -n native_sample -v 1.1
111 hnpcli pack -i [待打包路径] < -o [输出路径] >
118 hnpcli pack -i [待打包路径] < -o [输出路径] > -n [软件名] -v [版本号]
127 hnpcli pack -i ./hnpsample -o ./out
/base/update/packaging_tools/
H A Dcreate_hashdata.py82 hashinfo_tlv = struct.pack(HASH_TLV_FMT, self.hashinfo_tlv_type, UPGRADE_HASHINFO_SIZE)
83 hashinfo_header = struct.pack(HASH_INFO_FMT, self.hash_type.value, self.hash_digest_size,
86 UPDATE_LOGGER.print_log("Pack fail!", log_type=UPDATE_LOGGER.ERROR_LOG)
96 hashdata_tlv = struct.pack(HASH_TLV_FMT, self.hashdata_tlv_type, hashdata_len)
98 UPDATE_LOGGER.print_log("Pack fail!", log_type=UPDATE_LOGGER.ERROR_LOG)
110 signdata_tlv = struct.pack(HASH_TLV_FMT, self.sign_tlv_type, signdata_len)
112 UPDATE_LOGGER.print_log("Pack fail!", log_type=UPDATE_LOGGER.ERROR_LOG)
135 self.hashdata += struct.pack(HASH_DATA_HEADER_FMT, component_name.encode(),
143 self.hashdata += struct.pack(HASH_DATA_ADDR_FMT, (i * HASH_BLOCK_SIZE if i != 0 else 0),
148 self.hashdata += struct.pack(HASH_DATA_ADDR_FM
[all...]
H A Dcreate_update_package.py108 header_tlv = struct.pack(TLV_FMT, self.header_tlv_type, UPGRADE_PKG_HEADER_SIZE)
113 upgrade_pkg_header = struct.pack(
118 time_tlv = struct.pack(TLV_FMT, 0x02, UPGRADE_PKG_TIME_SIZE)
119 upgrade_pkg_time = struct.pack(
123 component_tlv = struct.pack(
126 UPDATE_LOGGER.print_log("Pack fail!", log_type=UPDATE_LOGGER.ERROR_LOG)
153 component_info = struct.pack(
164 component_size = struct.pack(
H A Dbuild_pkcs7.py124 content_header = struct.pack(CONTENT_INFO_FORMAT, DIGEST_SHA256,
147 zip_comment_len = struct.pack(ZIP_EOCD_COMMENT_LEN_FORMAT,
152 footer = struct.pack(SIGNATURE_FOOTER_FORMAT, signature_total_size,
H A Dbuild_hmp.py26 Pack info file path.
88 the specified arg is a pack info.
182 default=None, help="Pack info file path.")
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
H A Dapp_centraldirectory.h48 #pragma pack(4)
57 #pragma pack()
59 #pragma pack(2)
70 #pragma pack()
/base/startup/hvb/tools/
H A Dhvbtool.py227 ret.extend(struct.pack('!B', octet))
236 return struct.pack('!QQ', self.modulus_bits, pkey_n0) + modulus + pkey_prr
419 self.img_handler.write(struct.pack(num_chunks_and_blocks_format,
447 self.img_handler.write(struct.pack(ImageChunk.CHUNK_HEADER_FORMAT,
478 self.img_handler.write(struct.pack(ImageChunk.CHUNK_HEADER_FORMAT,
511 self.img_handler.write(struct.pack(ImageChunk.CHUNK_HEADER_FORMAT,
645 self.img_handler.write(struct.pack(ImageChunk.CHUNK_HEADER_FORMAT,
737 self.hvb_cert_content += struct.pack('I', self.HVB_VERSION_MAJOR)
738 self.hvb_cert_content += struct.pack('I', self.HVB_VERSION_MINOR)
745 self.hvb_cert_content += struct.pack('
[all...]
/base/hiviewdfx/hiview_lite/
H A Dhiview_def.h41 #pragma pack(1)
46 #pragma pack()
H A Dhiview_config.h75 #pragma pack(1)
86 #pragma pack()
/base/hiviewdfx/hiview/base/event_store/include/
H A Ddoc_query.h35 #pragma pack(1)
46 #pragma pack()
H A Dbase_def.h70 #pragma pack(1)
122 #pragma pack()
/base/msdp/device_status/utils/ipc/include/
H A Dnet_packet.h25 #pragma pack(1)
30 #pragma pack()
/base/sensors/sensor/utils/ipc/include/
H A Dnet_packet.h25 #pragma pack(1)
31 #pragma pack()
/base/update/updater/services/package/pkg_package/
H A Dpkg_lz4file.cpp47 int32_t Lz4FileEntry::Pack(PkgStreamPtr inStream, size_t startOffset, size_t &encodeLen) in Pack() function in Hpackage::Lz4FileEntry
65 int32_t ret = algorithm->Pack(inStream, outStream, context); in Pack()
72 PKG_LOGI("Pack packedSize:%zu unpackedSize: %zu offset: %zu %zu", fileInfo_.fileInfo.packedSize, in Pack()
159 ret = entry->Pack(inStream, currentOffset_, encodeLen); in AddEntry()
161 PKG_LOGE("Fail Pack for %s", file->identity.c_str()); in AddEntry()
/base/startup/appspawn/service/hnp/
H A Dhnpcli_main.c38 {"pack", HnpCmdPack}
50 "\r\n hnpcli pack <-i [source path]> <-o [dst path]> <-n [software name]> <-v [software version]>" in HnpCliShowHelp()
56 "\r\n hnpcli pack -i /usr1/native_sample -o /usr1/output -n native_sample -v 1.1\r\n"); in HnpCliShowHelp()
H A DBUILD.gn53 "pack/include",
62 "${appspawn_path}/service/hnp/pack/src/hnp_pack.c",
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/include/
H A Deasy_event_encoder.h26 #pragma pack(1)
32 #pragma pack()
H A Deasy_event_builder.h31 #pragma pack(1)
44 #pragma pack()
/base/startup/appspawn/test/unittest/hnp_test/
H A DBUILD.gn33 "${appspawn_path}/service/hnp/pack/include",
47 "${appspawn_path}/service/hnp/pack/src/hnp_pack.c",
H A Dhnp_pack_test.cpp94 char arg1[] = "hnp", arg2[] = "pack"; in HWTEST_F()
149 char arg1[] = "hnp", arg2[] = "pack"; in HWTEST_F()
189 char arg1[] = "hnp", arg2[] = "pack"; in HWTEST_F()
239 char arg1[] = "hnp", arg2[] = "pack"; in HWTEST_F()
299 char arg1[] = "hnp", arg2[] = "pack"; in HWTEST_F()
356 char arg1[] = "hnp", arg2[] = "pack"; in HWTEST_F()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/
H A Draw_data_base_def.h43 #pragma pack(1)
100 #pragma pack()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/include/
H A Dunique_stack_table.h43 #pragma pack(push, 4)
74 #pragma pack(pop)
/base/startup/appspawn/modules/module_engine/include/
H A Dappspawn_msg.h76 #pragma pack(4)
134 #pragma pack()
/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algo_lz4.h50 int32_t Pack(const PkgStreamPtr inStream, const PkgStreamPtr outStream,
90 int32_t Pack(const PkgStreamPtr inStream,
/base/security/code_signature/test/unittest/resources/demo_without_lib/
H A Ddemo_without_lib.happack.info ets/modules.abc module.json resources ...

Completed in 9 milliseconds

12345