Home
last modified time | relevance | path

Searched refs:nameSize (Results 1 - 9 of 9) sorted by relevance

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_file.c128 uint32_t nameSize = strlen(dire.fileName) + 1; /* include '\0' at end */ in GetFileNames() local
129 fNames[i].data = (uint8_t *)CMMalloc(nameSize); /* uniformly free memory by caller */ in GetFileNames()
136 fNames[i].size = nameSize; in GetFileNames()
137 (void)memset_s(fNames[i].data, nameSize, 0, nameSize); in GetFileNames()
138 if (sprintf_s((char *)fNames[i].data, nameSize, "%s", dire.fileName) < 0) { in GetFileNames()
H A Dcert_manager_query.c216 uint32_t nameSize = strlen(fName) + 1; in MallocCertNameAndPath() local
217 certFile->fileName.data = (uint8_t *)CMMalloc(nameSize); in MallocCertNameAndPath()
222 certFile->fileName.size = nameSize; in MallocCertNameAndPath()
223 (void)memset_s(certFile->fileName.data, nameSize, 0, nameSize); in MallocCertNameAndPath()
/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_zip_helper.cpp39 uint16_t nameSize = 0; member
54 uint16_t nameSize = 0; member
186 uint16_t nameSize = ReadLE16(localHeaderBuf + offsetof(LocalFileHeader, nameSize)); in GetFileEntryOffset() local
188 offset = localHeaderOffset + sizeof(LocalFileHeader) + nameSize + extraSize; in GetFileEntryOffset()
/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.cpp392 centralDir->nameSize = realLen; in EncodeCentralDirEntry()
430 header->nameSize = nameLen; in EncodeLocalFileHeader()
463 size_t currLen, uint16_t nameSize, uint16_t extraSize) in DoDecodeCentralDirEntry()
478 uint8_t* extraData = buffer.buffer + nameSize + sizeof(CentralDirEntry); in DoDecodeCentralDirEntry()
525 uint16_t nameSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, nameSize)); in DecodeCentralDirEntry() local
528 size_t currLen = sizeof(CentralDirEntry) + nameSize + extraSize + commentSize; in DecodeCentralDirEntry()
533 size_t fileNameLength = nameSize; in DecodeCentralDirEntry()
534 if (nameSize >= MAX_FILE_NAME) { in DecodeCentralDirEntry()
535 PKG_LOGE("file name size too longer %d", nameSize); in DecodeCentralDirEntry()
462 DoDecodeCentralDirEntry(PkgBuffer &buffer, size_t &decodeLen, size_t currLen, uint16_t nameSize, uint16_t extraSize) DoDecodeCentralDirEntry() argument
603 uint16_t nameSize = ReadLE16(data.buffer + offsetof(LocalFileHeader, nameSize)); DecodeLocalFileHeader() local
[all...]
H A Dpkg_zipfile.h46 uint16_t nameSize = 0; member
80 uint16_t nameSize = 0; member
154 size_t currLen, uint16_t nameSize, uint16_t extraSize);
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
H A Dsym_key_openssl.c217 int32_t nameSize = strlen(nameType); in GetAlgoName() local
227 if (strcpy_s(algoName + nameSize, MAX_KEY_STR_SIZE - nameSize, keySizeChar) != EOK) { in GetAlgoName()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp1803 size_t nameSize = asyncContext->name.size(); in ParseParamForActiveSubscriber() local
1804 if (nameSize == 0 || nameSize > MAX_SUBSCRIBER_NAME_LEN) { in ParseParamForActiveSubscriber()
1805 ACCOUNT_LOGE("Subscriber name size %{public}zu is invalid.", nameSize); in ParseParamForActiveSubscriber()
1904 size_t nameSize = asyncContext->name.size(); in ParseParamForActiveUnsubscriber() local
1905 if (nameSize == 0 || nameSize > MAX_SUBSCRIBER_NAME_LEN) { in ParseParamForActiveUnsubscriber()
1906 ACCOUNT_LOGE("Subscriber name size %{public}zu is invalid.", nameSize); in ParseParamForActiveUnsubscriber()
/base/update/updater/test/unittest/package/
H A Dpkg_package_unittest.cpp145 centralDir->nameSize = name.length(); in TestBigZipEntry()
/base/hiviewdfx/hicollie/frameworks/native/
H A Dwatchdog_inner.cpp1028 size_t nameSize = taskNameSet_.size(); in RemoveInnerTask() local
1029 if (nameSize != 0 && !task.isOneshotTask) { in RemoveInnerTask()
1032 name.c_str(), nameSize > taskNameSet_.size()); in RemoveInnerTask()

Completed in 12 milliseconds