Home
last modified time | relevance | path

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

/haiku/src/apps/haikudepot/model/
H A DPackageScreenshotRepository.cpp122 const char* pathStr = path.Path(); in HasCachedScreenshot() local
123 BEntry entry(pathStr); in HasCachedScreenshot()
196 const char* pathStr = path.Path(); in _DownloadToLocalFile() local
197 FILE* file = fopen(pathStr, "wb"); in _DownloadToLocalFile()
200 HDERROR("unable to open the screenshot file for writing at [%s]", pathStr); in _DownloadToLocalFile()
232 const char* pathStr = path.Path(); in _CreateCachedData() local
233 FILE* file = fopen(pathStr, "rb"); in _CreateCachedData()
236 HDERROR("unable to open the screenshot file for read at [%s]", pathStr); in _CreateCachedData()
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp177 AbstractServerProcess::_LooksLikeGzip(const char *pathStr) in _LooksLikeGzip() argument
179 int l = strlen(pathStr); in _LooksLikeGzip()
180 return l > 4 && 0 == strncmp(&pathStr[l - 3], ".gz", 3); in _LooksLikeGzip()
194 const char* pathStr = path.Path(); in ParseJsonFromFileWithListener() local
195 FILE* file = fopen(pathStr, "rb"); in ParseJsonFromFileWithListener()
212 if (_LooksLikeGzip(pathStr)) { in ParseJsonFromFileWithListener()
H A DAbstractServerProcess.h84 static bool _LooksLikeGzip(const char *pathStr);
/haiku/src/apps/haikudepot/util/
H A DStorageUtils.cpp233 const char* pathStr = pathAndTimestamp.Path().Path(); in RemoveDirectoryContentsRetainingLatestFiles() local
235 if (remove(pathStr) == 0) in RemoveDirectoryContentsRetainingLatestFiles()
236 HDDEBUG("did delete [%s]", pathStr); in RemoveDirectoryContentsRetainingLatestFiles()
238 HDERROR("unable to delete [%s]", pathStr); in RemoveDirectoryContentsRetainingLatestFiles()
/haiku/src/apps/mail/
H A DMailWindow.cpp2695 BString pathStr; in SaveAsDraft() local
2700 pathStr.Append(":"); in SaveAsDraft()
2708 pathStr.Append(path.Path()); in SaveAsDraft()
2710 if (pathStr.Length()) in SaveAsDraft()
2711 draft.WriteAttrString("MAIL:attachments", &pathStr); in SaveAsDraft()
/haiku/src/kits/tracker/
H A DPoseView.cpp5399 BString pathStr(path.Path()); in FSNotification() local
5400 pathStr.Append("/"); in FSNotification()
5401 if (pathStr.Compare(createdPath, in FSNotification()
5403 if (pathStr[createdPath.Length()] != '/') in FSNotification()