Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 95) sorted by relevance

1234

/base/request/request/upload/unitest/src/
Dobtain_file_test.cpp75 FILE *file = nullptr; variable
108 FILE* file = nullptr; variable
137 FILE *file = nullptr; variable
158 FILE *file = nullptr; variable
179 FILE *file = nullptr; variable
201 FILE *file = nullptr; variable
227 FILE *file = nullptr; variable
262 FILE* file = nullptr; variable
291 FILE *file = nullptr; variable
Dmock_obtain_file.cpp21 uint32_t MockObtainFile::GetFile(FILE **file, std::string &fileUri, in GetFile()
27 uint32_t MockObtainFile::GetDataAbilityFile(FILE **file, std::string &fileUri, in GetDataAbilityFile()
/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.c84 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
102 int HcFileSize(FileHandle file) in HcFileSize()
110 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
135 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
155 void HcFileClose(FileHandle file) in HcFileClose()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dfile_util.cpp30 bool IsFileExists(const std::string& file) in IsFileExists()
35 bool IsFile(const std::string& file) in IsFile()
47 bool RemoveFile(const std::string& file) in RemoveFile()
133 for (auto& file : files) { in GetDirSize() local
141 uint64_t GetFileSize(const std::string& file) in GetFileSize()
147 bool SaveStringToFile(const std::string& file, const std::string& content, bool isTrunc) in SaveStringToFile()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_file.c80 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
97 int HcFileSize(FileHandle file) in HcFileSize()
114 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
137 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
156 void HcFileClose(FileHandle file) in HcFileClose()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_file.c29 int InitVerify(FileRead *file, const char *filePath, int *handle) in InitVerify()
66 int HapMMap(int bufCapacity, int offset, MmapInfo *mmapInfo, const FileRead *file) in HapMMap()
/base/request/request/upload/frameworks/libs/src/
Dobtain_file.cpp31 uint32_t ObtainFile::GetFile(FILE **file, std::string &fileUri, in GetFile()
56 uint32_t ObtainFile::GetDataAbilityFile(FILE **file, std::string &fileUri, in GetDataAbilityFile()
116 uint32_t ObtainFile::GetInternalFile(FILE **file, const std::string &fileUri, uint32_t &fileSize, in GetInternalFile()
/base/hiviewdfx/faultloggerd/utils/
Dfile_ex.cpp35 ifstream file(filePath.c_str()); in LoadStringFromFile() local
/base/account/os_account/frameworks/common/log/src/
Daccount_log_wrapper.cpp28 std::string AccountLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
/base/hiviewdfx/hiview/adapter/utility/
Dfile_util.cpp42 ifstream file(filePath.c_str()); in LoadStringFromFile() local
93 ifstream file; in LoadBufferFromFile() local
131 ofstream file; in SaveStringToFile() local
155 ofstream file; in SaveBufferToFile() local
245 for (auto& file : files) { in GetFolderSize() local
/base/update/updater/test/unittest/package/
Dpkg_package_unittest.cpp49 virtual int32_t AddEntry(const PkgManager::FileInfoPtr file, const PkgStreamPtr inStream) in AddEntry()
82 … auto file = std::make_unique<Lz4PkgFile>(pkgManager_, PkgStreamImpl::ConvertPkgStream(stream)); in TestPkgFile() local
106 std::unique_ptr<TestFile> file = std::make_unique<TestFile>(pkgManager_, in TestPkgFileInvalid() local
127 std::unique_ptr<TestFile> file = std::make_unique<TestFile>(pkgManager_, in TestBigZipEntry() local
/base/telephony/data_storage/common/src/
Ddata_storage_log_wrapper.cpp34 std::string DataStorageLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal_utils.c294 static int32_t GetKeyParams(int32_t file, Key *keys, uint32_t resConfigNum) in GetKeyParams()
362 int32_t file = open(realResourcePath, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in GetOffsetByLocale() local
399 static uint32_t GetDefaultOffsetValue(int32_t file) in GetDefaultOffsetValue()
412 static uint32_t GetKeyValue(int32_t file) in GetKeyValue()
425 static int32_t GetIdItem(int32_t file, uint32_t offset, IdItem *idItem) in GetIdItem()
496 static int32_t GetIdHeaderByOffset(int32_t file, uint32_t offset, IdHeader *idHeader) in GetIdHeaderByOffset()
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.cpp84 int DumpUtils::FdToRead(const std::string &file) in FdToRead()
105 int DumpUtils::FdToWrite(const std::string &file) in FdToWrite()
132 bool DumpUtils::FileWriteable(const std::string &file) in FileWriteable()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/
Dbundle_event_source_example.cpp62 std::ofstream file(path); in CreateWatchFile() local
166 void BundleEventSourceExample::CreateAndPublishEvent(const std::string &file) in CreateAndPublishEvent()
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/
Devent_source_example.cpp66 std::ofstream file(path); in CreateWatchFile() local
170 void EventSourceExample::CreateAndPublishEvent(const std::string &file) in CreateAndPublishEvent()
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp74 for (auto &file : res_) { in Parse() local
87 bool LanguageUI::ParseJson(const std::string &file) in ParseJson()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp124 for (auto file : files) { in GetUserPids() local
144 bool DumpCommonUtils::GetLinesInFile(const std::string& file, std::vector<std::string>& lines) in GetLinesInFile()
203 std::string file = filesysdir; in GetProcessInfo() local
/base/startup/init/test/unittest/ueventd/
Dueventd_config_unittest.cpp74 string file = "[device"; variable
/base/security/selinux/test/unittest/common/
Dtest_common.cpp133 bool WriteFile(const std::string &file, const std::vector<std::string> &info) in WriteFile()
158 FILE *file = popen(command.c_str(), "r"); in RunCommand() local
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
Dsignal_handler_test.cpp94 for (const auto& file : files) { in GetCppCrashFileName() local
104 ifstream file; in CheckKeyWords() local
/base/powermgr/battery_manager/utils/native/src/
Dtest_utils.cpp77 … std::string file = std::string(MOCK_PATH) + "/" + MOCK_DIR_NAME[dInd] + "/" + "online"; in ResetOnline() local
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dlog_util.cpp226 bool LogUtil::ReadFileBuff(const string& file, stringstream& buffer) in ReadFileBuff()
245 int LogUtil::GetFileFd(const string& file) in GetFileFd()
260 bool LogUtil::FileExist(const string& file) in FileExist()
/base/telephony/core_service/services/sim/src/
Dusim_dialling_numbers_service.cpp197 std::shared_ptr<TagData> file = fileIt->second; in GeneratePbrFile() local
249 std::shared_ptr<UsimDiallingNumberFile> file = std::make_shared<UsimDiallingNumberFile>(); in BuildNumberFileByRecord() local
269 std::shared_ptr<UsimDiallingNumberFile> file, std::shared_ptr<TagService> tlv, int parentTag) in StorePbrDetailInfo()

1234