Lines Matching refs:p_name
54 custr_t *p_name; member
707 if (custr_alloc(&p->p_name) < 0) { in path_init()
711 if (name != NULL && custr_append(p->p_name, name) < 0) in path_init()
714 size_t len = custr_len(p->p_name); in path_init()
717 while (len > 1 && custr_cstr(p->p_name)[len - 1] == '/') { in path_init()
718 VERIFY0(custr_rtrunc(p->p_name, 0)); in path_init()
728 size_t clen = custr_len(p->p_name); in path_append()
731 VERIFY0(custr_appendc(p->p_name, '/')); in path_append()
732 VERIFY0(custr_append(p->p_name, name)); in path_append()
740 return (custr_cstr(p->p_name) + p->p_pfxidx); in path_name()
746 return (custr_cstr(p->p_name)); in path_fullpath()
752 VERIFY0(custr_trunc(p->p_name, idx)); in path_pop()