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

/frameworks/av/media/mtp/
H A DMtpServer.cpp984 char pathbuf[PATH_MAX]; local
986 if (pathLength >= sizeof(pathbuf) - 1) {
989 strcpy(pathbuf, path);
990 if (pathbuf[pathLength - 1] != '/') {
991 pathbuf[pathLength++] = '/';
993 char* fileSpot = pathbuf + pathLength;
994 int pathRemaining = sizeof(pathbuf) - pathLength - 1;
1020 deleteRecursive(pathbuf);
1021 rmdir(pathbuf);
1023 unlink(pathbuf);
[all...]

Completed in 37 milliseconds