Lines Matching refs:pathbuf
720 MtpString pathBuf;
723 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format);
727 const char* filePath = (const char *)pathBuf;
783 MtpString pathBuf;
786 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format);
792 const char* filePath = (const char *)pathBuf;
985 char pathbuf[PATH_MAX];
987 if (pathLength >= sizeof(pathbuf) - 1) {
990 strcpy(pathbuf, path);
991 if (pathbuf[pathLength - 1] != '/') {
992 pathbuf[pathLength++] = '/';
994 char* fileSpot = pathbuf + pathLength;
995 int pathRemaining = sizeof(pathbuf) - pathLength - 1;
1021 deleteRecursive(pathbuf);
1022 rmdir(pathbuf);
1024 unlink(pathbuf);