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

/frameworks/av/media/mtp/
H A DMtpServer.cpp1060 char pathbuf[PATH_MAX]; local
1062 if (pathLength >= sizeof(pathbuf) - 1) {
1065 strcpy(pathbuf, path);
1066 if (pathbuf[pathLength - 1] != '/') {
1067 pathbuf[pathLength++] = '/';
1069 char* fileSpot = pathbuf + pathLength;
1070 int pathRemaining = sizeof(pathbuf) - pathLength - 1;
1096 deleteRecursive(pathbuf);
1097 rmdir(pathbuf);
1099 unlink(pathbuf);
[all...]

Completed in 47 milliseconds