Lines Matching defs:resolved_len
56 size_t left_len, resolved_len;
68 resolved_len = 1;
75 resolved_len = strlen(resolved);
78 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
102 if (resolved[resolved_len - 1] != '/') {
103 if (resolved_len + 1 >= PATH_MAX) {
107 resolved[resolved_len++] = '/';
108 resolved[resolved_len] = '\0';
119 if (resolved_len > 1) {
120 resolved[resolved_len - 1] = '\0';
123 resolved_len = q - resolved;
133 resolved_len = strlcat(resolved, next_token, PATH_MAX);
134 if (resolved_len >= PATH_MAX) {
156 resolved_len = 1;
157 } else if (resolved_len > 1) {
159 resolved[resolved_len - 1] = '\0';
162 resolved_len = q - resolved;
193 if (resolved_len > 1 && resolved[resolved_len - 1] == '/')
194 resolved[resolved_len - 1] = '\0';