Home
last modified time | relevance | path

Searched refs:INT_LENGTH (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_extractor.cpp52 filePos = MAGIC_NUMBER_LEN + INT_LENGTH + strlen(bundleName); in ExtractFileDataPos()
81 …index = index + INT_LENGTH + strlen(fileName) + INT_LENGTH + strlen(relativeFilePath) + LONG_LENGT… in ExtractHap()
131 index = index + INT_LENGTH + fileNameLen + INT_LENGTH + pathLen + LONG_LENGTH + fileSize; in ExtractHapProfile()
177 …index = index + INT_LENGTH + fileNameLen + INT_LENGTH + strlen(relativeFilePath) + LONG_LENGTH + f… in ExtractResourceFile()
H A Dgt_extractor_util.cpp36 unsigned char buf[INT_LENGTH] = {0}; in ReadInt()
37 if (read(fp, buf, INT_LENGTH) != INT_LENGTH) { in ReadInt()
42 for (uint8_t i = 0; i < INT_LENGTH; i++) { in ReadInt()
46 result += (static_cast<uint32_t>(buf[i])) << (SHIFT_NUM * (INT_LENGTH - i - 1)); in ReadInt()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_common.h179 const uint8_t INT_LENGTH = 4; variable