Lines Matching full:resolved_len
55 size_t left_len, resolved_len;
81 resolved_len = 1;
93 resolved_len = strlen(resolved);
96 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
124 if (resolved[resolved_len - 1] != '/') {
125 if (resolved_len + 1 >= PATH_MAX) {
131 resolved[resolved_len++] = '/';
132 resolved[resolved_len] = '\0';
164 if (resolved_len > 1) {
165 resolved[resolved_len - 1] = '\0';
168 resolved_len = q - resolved;
176 resolved_len = strlcat(resolved, next_token, PATH_MAX);
177 if (resolved_len >= PATH_MAX) {
204 resolved_len = 1;
205 } else if (resolved_len > 1) {
207 resolved[resolved_len - 1] = '\0';
210 resolved_len = q - resolved;
246 if (resolved_len > 1 && resolved[resolved_len - 1] == '/')
247 resolved[resolved_len - 1] = '\0';