/base/request/request/upload/unitest/src/ |
D | obtain_file_test.cpp | 75 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
|
D | mock_obtain_file.cpp | 21 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/ |
D | hc_file.c | 41 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()
|
D | hc_file_posix.c | 84 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/ |
D | file_util.cpp | 30 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/ |
D | hc_file.c | 80 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/ |
D | app_file.c | 29 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/ |
D | obtain_file.cpp | 31 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/ |
D | file_ex.cpp | 35 ifstream file(filePath.c_str()); in LoadStringFromFile() local
|
/base/account/os_account/frameworks/common/log/src/ |
D | account_log_wrapper.cpp | 28 std::string AccountLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
|
/base/hiviewdfx/hiview/adapter/utility/ |
D | file_util.cpp | 42 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/ |
D | pkg_package_unittest.cpp | 49 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/ |
D | data_storage_log_wrapper.cpp | 34 std::string DataStorageLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global_utils.c | 294 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/ |
D | dump_utils.cpp | 84 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/ |
D | bundle_event_source_example.cpp | 62 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/ |
D | event_source_example.cpp | 66 std::ofstream file(path); in CreateWatchFile() local 170 void EventSourceExample::CreateAndPublishEvent(const std::string &file) in CreateAndPublishEvent()
|
/base/update/updater/services/ui/language/ |
D | language_ui.cpp | 74 for (auto &file : res_) { in Parse() local 87 bool LanguageUI::ParseJson(const std::string &file) in ParseJson()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 124 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/ |
D | ueventd_config_unittest.cpp | 74 string file = "[device"; variable
|
/base/security/selinux/test/unittest/common/ |
D | test_common.cpp | 133 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/ |
D | signal_handler_test.cpp | 94 for (const auto& file : files) { in GetCppCrashFileName() local 104 ifstream file; in CheckKeyWords() local
|
/base/powermgr/battery_manager/utils/native/src/ |
D | test_utils.cpp | 77 … std::string file = std::string(MOCK_PATH) + "/" + MOCK_DIR_NAME[dInd] + "/" + "online"; in ResetOnline() local
|
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/ |
D | log_util.cpp | 226 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/ |
D | usim_dialling_numbers_service.cpp | 197 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()
|