Home
last modified time | relevance | path

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

/external/libselinux/src/
Dlabel_file.c612 const char *prev_slash, *next_slash; in lookup_common() local
625 prev_slash = key; in lookup_common()
627 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup_common()
628 sofar += next_slash - prev_slash; in lookup_common()
629 prev_slash = next_slash + 1; in lookup_common()
630 next_slash = strstr(prev_slash, "//"); in lookup_common()
632 strcpy(clean_key + sofar, prev_slash); in lookup_common()
/external/selinux/libselinux/src/
Dlabel_file.c649 const char *prev_slash, *next_slash; in lookup_common() local
662 prev_slash = key; in lookup_common()
664 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup_common()
665 sofar += next_slash - prev_slash; in lookup_common()
666 prev_slash = next_slash + 1; in lookup_common()
667 next_slash = strstr(prev_slash, "//"); in lookup_common()
669 strcpy(clean_key + sofar, prev_slash); in lookup_common()