Searched refs:pathLength (Results 1 – 2 of 2) sorted by relevance
83 int pathLength = strlen(path); in processDirectory() local84 if (pathLength >= PATH_MAX) { in processDirectory()92 int pathRemaining = PATH_MAX - pathLength; in processDirectory()94 if (pathLength > 0 && pathBuffer[pathLength - 1] != '/') { in processDirectory()95 pathBuffer[pathLength] = '/'; in processDirectory()96 pathBuffer[pathLength + 1] = 0; in processDirectory()
162 for (int i = 0, shortestPath = Integer.MAX_VALUE, pathLength; i < finalStates.length; i++) { in getClosestOfStates()164 pathLength = mLifecycleSequence.size(); in getClosestOfStates()166 pathLength += DESTRUCTION_PENALTY; in getClosestOfStates()168 if (shortestPath > pathLength) { in getClosestOfStates()169 shortestPath = pathLength; in getClosestOfStates()