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

/frameworks/av/media/mtp/
H A DMtpServer.cpp1073 char pathbuf[PATH_MAX]; local
1075 if (pathLength >= sizeof(pathbuf) - 1) {
1078 strcpy(pathbuf, path);
1079 if (pathbuf[pathLength - 1] != '/') {
1080 pathbuf[pathLength++] = '/';
1082 char* fileSpot = pathbuf + pathLength;
1083 int pathRemaining = sizeof(pathbuf) - pathLength - 1;
1108 deleteRecursive(pathbuf);
1109 rmdir(pathbuf);
1111 unlink(pathbuf);
[all...]

Completed in 194 milliseconds