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

/frameworks/av/media/libmedia/
H A DMediaScanner.cpp83 int pathLength = strlen(path); local
84 if (pathLength >= PATH_MAX) {
92 int pathRemaining = PATH_MAX - pathLength;
94 if (pathLength > 0 && pathBuffer[pathLength - 1] != '/') {
95 pathBuffer[pathLength] = '/';
96 pathBuffer[pathLength + 1] = 0;
/frameworks/base/libs/hwui/font/
H A DFont.cpp315 float pathLength = SkScalarToFloat(measure.getLength()); local
319 float pathOffset = pathLength;
327 while (glyphsCount < numGlyphs && penX < pathLength) {
/frameworks/av/media/mtp/
H A DMtpServer.cpp1105 size_t pathLength = strlen(path); local
1106 if (pathLength >= sizeof(pathbuf) - 1) {
1110 if (pathbuf[pathLength - 1] != '/') {
1111 pathbuf[pathLength++] = '/';
1113 char* fileSpot = pathbuf + pathLength;
1114 int pathRemaining = sizeof(pathbuf) - pathLength - 1;

Completed in 514 milliseconds