Lines Matching defs:template_pos
3465 const char *sep, *template_pos;
3510 for (template_pos = path_template; *template_pos; ) {
3511 sep = strchrnul(template_pos, '%');
3512 path_pos = mempcpy(path_pos, template_pos, sep - template_pos);
3517 template_pos = sep + 1;
3527 const char *template_pos, *path_pos;
3557 for (template_pos = path_template; *template_pos; ) {
3563 sep = strchrnul(template_pos, '%');
3564 length = sep - template_pos;
3565 if (strncmp(path_pos, template_pos, length))
3569 template_pos += length;
3571 if (!*template_pos)
3579 ++template_pos; /* skip over '%' */
3581 sep = strchrnul(template_pos, '/');
3582 length = sep - template_pos; /* length of suffix to match verbatim */
3587 strncmp(sep - length, template_pos, length))
3590 template_pos += length; /* skip over matched label */