Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_file.c909 const char *prev_slash, *next_slash; in lookup_all() local
932 if ((next_slash = strstr(key, "//"))) { in lookup_all()
937 while (next_slash) { in lookup_all()
938 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup_all()
939 sofar += next_slash - prev_slash; in lookup_all()
940 prev_slash = next_slash + 1; in lookup_all()
941 next_slash = strstr(prev_slash, "//"); in lookup_all()
/external/llvm-project/llvm/lib/Support/
DPath.cpp730 size_t next_slash = remaining.find_first_of(separators(style)); in remove_dots() local
731 if (next_slash == StringRef::npos) in remove_dots()
732 next_slash = remaining.size(); in remove_dots()
733 StringRef component = remaining.take_front(next_slash); in remove_dots()
734 remaining = remaining.drop_front(next_slash); in remove_dots()
/external/elfutils/debuginfod/
Ddebuginfod.cxx1088 string::size_type next_slash = i.find("/", (i[0]=='/' ? 1 : 0)); // skip first slash in canon_pathname() local
1089 o += i.substr(0, next_slash); in canon_pathname()
1090 if (next_slash == string::npos) in canon_pathname()
1093 i = i.substr(next_slash); in canon_pathname()