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

/frameworks/av/media/mtp/
H A DMtpServer.cpp1069 char pathbuf[PATH_MAX]; local
1071 if (pathLength >= sizeof(pathbuf) - 1) {
1074 strcpy(pathbuf, path);
1075 if (pathbuf[pathLength - 1] != '/') {
1076 pathbuf[pathLength++] = '/';
1078 char* fileSpot = pathbuf + pathLength;
1079 int pathRemaining = sizeof(pathbuf) - pathLength - 1;
1104 deleteRecursive(pathbuf);
1105 rmdir(pathbuf);
1107 unlink(pathbuf);
[all...]

Completed in 28 milliseconds