Lines Matching defs:resolved_len
85 size_t left_len, resolved_len;
97 resolved_len = 1;
104 resolved_len = strlen(resolved);
107 if (left_len >= sizeof (left) || resolved_len >= PATH_MAX) {
131 if (resolved[resolved_len - 1] != '/') {
132 if (resolved_len + 1 >= PATH_MAX) {
136 resolved[resolved_len++] = '/';
137 resolved[resolved_len] = '\0';
148 if (resolved_len > 1) {
149 resolved[resolved_len - 1] = '\0';
152 resolved_len = q - resolved;
162 resolved_len = strlcat(resolved, next_token, PATH_MAX);
163 if (resolved_len >= PATH_MAX) {
174 resolved[resolved_len] = '/';
175 resolved_len = strlcat(resolved, left, sizeof (left));
201 resolved_len = 1;
202 } else if (resolved_len > 1) {
204 resolved[resolved_len - 1] = '\0';
207 resolved_len = q - resolved;
239 if (resolved_len > 1 && resolved[resolved_len - 1] == '/')
240 resolved[resolved_len - 1] = '\0';