Home
last modified time | relevance | path

Searched refs:FileHandle (Results 1 – 12 of 12) sorted by relevance

/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/
Dhc_file.h28 } FileHandle; typedef
35 int HcFileOpen(const char *path, int mode, FileHandle *file);
36 int HcFileSize(FileHandle file);
37 int HcFileRead(FileHandle file, void *dst, int dstSize);
38 int HcFileWrite(FileHandle file, const void *src, int srcSize);
39 void HcFileClose(FileHandle file);
/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/
Dhc_file.h33 } FileHandle; typedef
39 int HcFileOpen(const char *path, int mode, FileHandle *file);
40 int HcFileSize(FileHandle file);
41 int HcFileRead(FileHandle file, void *dst, int dstSize);
42 int HcFileWrite(FileHandle file, const void *src, int srcSize);
43 void HcFileClose(FileHandle file);
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file.c41 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
61 int HcFileSize(FileHandle file) in HcFileSize()
72 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
83 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
94 void HcFileClose(FileHandle file) in HcFileClose()
Dhc_file_posix.c97 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
114 int HcFileSize(FileHandle file) in HcFileSize()
122 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
148 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
170 void HcFileClose(FileHandle file) in HcFileClose()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_file.c78 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
95 int HcFileSize(FileHandle file) in HcFileSize()
112 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
136 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
167 void HcFileClose(FileHandle file) in HcFileClose()
/base/hiviewdfx/hiview/base/logstore/include/
Dlog_store_ex.h36 using FileHandle = int32_t; variable
66 FileHandle CreateLogFile(const std::string& name);
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.cpp288 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(fd)); in mmap() local
289 if (FileHandle == INVALID_HANDLE_VALUE) { in mmap()
292 HANDLE FileMappingHandle = ::CreateFileMappingW(FileHandle, 0, PAGE_READONLY, 0, 0, 0); in mmap()
/base/hiviewdfx/hiview/base/logstore/
Dlog_store_ex.cpp152 LogStoreEx::FileHandle LogStoreEx::CreateLogFile(const std::string& name) in CreateLogFile()
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dsym_token_manager.c140 static int32_t OpenTokenFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenTokenFile()
163 FileHandle file = { 0 }; in ReadTokensFromFile()
209 FileHandle file = { 0 }; in WriteTokensJsonToFile()
Dasy_token_manager.c191 static int32_t OpenTokenFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenTokenFile()
214 FileHandle file = { 0 }; in ReadTokensFromFile()
260 FileHandle file = { 0 }; in WriteTokensJsonToFile()
/base/security/device_auth/services/privacy_enhancement/src/
Dpseudonym_manager.c201 static int32_t OpenPseudonymFile(int32_t osAccountId, FileHandle *file, int32_t mode) in OpenPseudonymFile()
224 FileHandle file = { 0 }; in LoadPseudonymDataFromFile()
327 FileHandle file = { 0 }; in WritePseudonymJsonToFile()
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c438 FileHandle file; in ReadParcelFromFile()
651 FileHandle file; in SaveParcelToFile()