Home
last modified time | relevance | path

Searched refs:INVALID_FILE_SIZE (Results 1 – 6 of 6) sorted by relevance

/base/sensors/miscdevice/utils/src/
Dfile_utils.cpp32 constexpr int32_t INVALID_FILE_SIZE = -1; variable
71 return INVALID_FILE_SIZE; in GetFileSize()
80 return INVALID_FILE_SIZE; in GetFileSize()
85 return INVALID_FILE_SIZE; in GetFileSize()
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp35 constexpr int32_t INVALID_FILE_SIZE { -1 }; variable
162 return INVALID_FILE_SIZE; in GetFileSize()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
Ddlp_link_file.cpp90 if (res != INVALID_FILE_SIZE) { in GetLinkStat()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file.cpp46 head_.txtOffset = INVALID_FILE_SIZE; in DlpFile()
47 head_.txtSize = INVALID_FILE_SIZE; in DlpFile()
957 return INVALID_FILE_SIZE; in GetFsContentSize()
959 …(head_.txtOffset > fileStat.st_size || fileStat.st_size >= static_cast<off_t>(INVALID_FILE_SIZE)) { in GetFsContentSize()
962 return INVALID_FILE_SIZE; in GetFsContentSize()
974 if (contentSize == INVALID_FILE_SIZE) { in UpdateDlpFileContentSize()
1032 if (curSize != INVALID_FILE_SIZE && curSize < offset && in DlpFileWrite()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
Ddlp_file.h26 static constexpr uint32_t INVALID_FILE_SIZE = 0xffffffff; variable
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
Ddlp_file_test.cpp1471 EXPECT_EQ(INVALID_FILE_SIZE, testFile.GetFsContentSize());