Home
last modified time | relevance | path

Searched refs:MAX_FILE_NAME_LEN (Results 1 - 2 of 2) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dpackage_file.cpp35 constexpr uint32_t MAX_FILE_NAME_LEN = 256; member
47 const uint32_t FILE_CONTEXT_LEN = MAX_FILE_NAME_LEN + Parcel::GetUInt32Len() * 2 + Parcel::GetUInt64Len() * 2;
51 char fileName[MAX_FILE_NAME_LEN] = {0};
129 errCode = memset_s(fileContext.fileName, MAX_FILE_NAME_LEN, 0, MAX_FILE_NAME_LEN); in GetFileContexts()
134 if (file->fileName.size() >= MAX_FILE_NAME_LEN) { in GetFileContexts()
139 errCode = memcpy_s(fileContext.fileName, MAX_FILE_NAME_LEN, file->fileName.c_str(), file->fileName.size()); in GetFileContexts()
279 int errCode = parcel.WriteBlob(fileContext.fileName, MAX_FILE_NAME_LEN); in PackFileContext()
315 (void)parcel.ReadBlob(fileContext.fileName, MAX_FILE_NAME_LEN); in UnpackFileContext()
/foundation/arkui/ui_lite/interfaces/kits/font/
H A Dui_font_header.h218 constexpr uint8_t MAX_FILE_NAME_LEN = 255; member

Completed in 3 milliseconds