Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_file.c909 const char *prev_slash, *next_slash; in lookup_all() local
931 if ((next_slash = strstr(key, "//"))) { in lookup_all()
936 while (next_slash) { in lookup_all()
937 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup_all()
938 sofar += next_slash - prev_slash; in lookup_all()
939 prev_slash = next_slash + 1; in lookup_all()
940 next_slash = strstr(prev_slash, "//"); in lookup_all()