Home
last modified time | relevance | path

Searched refs:segment_end (Results 1 – 1 of 1) sorted by relevance

/packages/providers/MediaProvider/jni/
Dnode.cpp21 int segment_end = path.find_first_of('/', segment_start); in GetPathSegments() local
23 while (segment_end != std::string::npos) { in GetPathSegments()
24 if (segment_end == segment_start) { in GetPathSegments()
26 segment_end = path.find_first_of('/', ++segment_start); in GetPathSegments()
30 segments.push_back(path.substr(segment_start, segment_end - segment_start)); in GetPathSegments()
31 segment_start = segment_end + 1; in GetPathSegments()
32 segment_end = path.find_first_of('/', segment_start); in GetPathSegments()