Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp90 size_t trashPathPrefixPos = path.find(FileTrashNExporter::trashPath_); in GetTimeSlotFromPath() local
91 …size_t expectTimeSlotStartPos = trashPathPrefixPos + FileTrashNExporter::trashPath_.length() + sla… in GetTimeSlotFromPath()
95 …string realFilePathWithTime = path.substr(trashPathPrefixPos + FileTrashNExporter::trashPath_.leng… in GetTimeSlotFromPath()
191 size_t trashPathPrefixPos = path.find(FileTrashNExporter::trashPath_); in FindSourceFilePath() local
192 if (trashPathPrefixPos == string::npos) { in FindSourceFilePath()
196 …size_t timeSLotStartPos = trashPathPrefixPos + FileTrashNExporter::trashPath_.length() + slashSize; in FindSourceFilePath()
350 size_t trashPathPrefixPos = toDeletePath.find(FileTrashNExporter::trashPath_); in GetToDeletePath() local
351 if (trashPathPrefixPos == string::npos || in GetToDeletePath()
352trashPathPrefixPos + FileTrashNExporter::trashPath_.length() + slashSize >= toDeletePath.length())… in GetToDeletePath()
357 … toDeletePath.substr(trashPathPrefixPos + FileTrashNExporter::trashPath_.length() + slashSize); in GetToDeletePath()
[all …]