Home
last modified time | relevance | path

Searched refs:tmpFile (Results 1 - 7 of 7) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_fuse.cpp474 std::string tmpFile(SmtpfsBaseName(path)); in GetAttr()
481 if (content->Dir(tmpFile)) { in GetAttr()
482 const MtpFsTypeDir *dir = content->Dir(tmpFile); in GetAttr()
487 } else if (content->File(tmpFile)) { in GetAttr()
488 const MtpFsTypeFile *file = content->File(tmpFile); in GetAttr()
554 const std::string tmpFile = tmpFilesPool_.MakeTmpPath(std::string(newpath)); in ReName() local
555 int rval = device_.FilePull(std::string(path), tmpFile); in ReName()
559 rval = device_.FilePush(tmpFile, std::string(newpath)); in ReName()
678 MtpFsTypeTmpFile *tmpFile = const_cast<MtpFsTypeTmpFile *>(tmpFilesPool_.GetFile(stdPath)); in Open() local
681 if (tmpFile) { in Open()
744 const MtpFsTypeTmpFile *tmpFile = tmpFilesPool_.GetFile(std::string(path)); Write() local
772 MtpFsTypeTmpFile *tmpFile = const_cast<MtpFsTypeTmpFile *>(tmpFilesPool_.GetFile(stdPath)); Release() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dbackup_manager.cpp361 int tmpFile = 0; in GetClearType() local
369 tmpFile++; in GetClearType()
372 tmpFile++; in GetClearType()
374 if (tmpFile == 0) { in GetClearType()
377 if ((tmpFile >= rawFile) && (tmpFile == 1) && residueInfo.hasTmpBackup) { in GetClearType()
380 if ((tmpFile >= rawFile) && (tmpFile == 1) && residueInfo.hasTmpKey) { in GetClearType()
383 return (tmpFile >= rawFile) ? ROLLBACK : CLEAN_TMP; in GetClearType()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dzip_file.cpp183 FILE *tmpFile = fopen(realPath.c_str(), "rb"); in Open() local
184 if (tmpFile == nullptr) { in Open()
190 if (fseek(tmpFile, 0, SEEK_END) != 0) { in Open()
192 fclose(tmpFile); in Open()
195 int64_t fileLength = ftell(tmpFile); in Open()
198 fclose(tmpFile); in Open()
204 fclose(tmpFile); in Open()
211 file_ = tmpFile; in Open()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dzip_file.cpp192 FILE* tmpFile = fopen(realPath, "rb"); in Open() local
193 if (tmpFile == nullptr) { in Open()
199 if (fseek(tmpFile, 0, SEEK_END) != 0) { in Open()
201 fclose(tmpFile); in Open()
205 ZipPos fileLength = ftell(tmpFile); in Open()
210 file_ = tmpFile; in Open()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/backup/src/
H A Dbackup_manager.cpp267 auto tmpFile = backupFile + BACKUP_TMP_POSTFIX; in GetClearType() local
268 if (IsFileExist(tmpFile)) { in GetClearType()
271 if (!IsFileExist(tmpFile) && IsFileExist(bkFile)) { in GetClearType()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_loader.cpp2930 auto tmpFile = fileManager.CreateFile(tmpFileName);
2933 tmpFile->Write(data.data(), data.size());
2940 (*result.data).memoryFile_ = move(tmpFile);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp4989 std::string tmpFile = CURRENT_PATH + ServiceConstants::PATH_SEPARATOR + "test" + std::to_string(i) + ".hap"; in HWTEST_F() local
4990 bool ret2 = SaveStringToFile(tmpFile, tmpFile); in HWTEST_F()
4992 fileList.emplace_back(tmpFile); in HWTEST_F()

Completed in 18 milliseconds