Lines Matching refs:sep
3465 const char *sep, *template_pos;
3476 for (sep = strchr(path_template, '%'); sep; sep = strchr(sep + 1, '%')) {
3511 sep = strchrnul(template_pos, '%');
3512 path_pos = mempcpy(path_pos, template_pos, sep - template_pos);
3513 if (!*sep)
3517 template_pos = sep + 1;
3558 const char *sep;
3563 sep = strchrnul(template_pos, '%');
3564 length = sep - template_pos;
3581 sep = strchrnul(template_pos, '/');
3582 length = sep - template_pos; /* length of suffix to match verbatim */
3585 sep = strchrnul(path_pos, '/');
3586 if (sep - path_pos < (ssize_t)length ||
3587 strncmp(sep - length, template_pos, length))
3591 length = sep - path_pos - length; /* length of sub-label to decode */
3602 path_pos = sep; /* skip decoded label and suffix */