Lines Matching refs:left
49 * in which case the path which caused trouble is left in (resolved).
59 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
69 left_len = strlcpy(left, path + 1, sizeof(left));
76 left_len = strlcpy(left, path, sizeof(left));
78 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
84 * Iterate over path components in `left'.
88 * Extract the next path component and adjust `left'
91 p = strchr(left, '/');
92 s = p ? p : left + left_len;
93 if (s - left >= sizeof(next_token)) {
97 memcpy(next_token, left, s - left);
98 next_token[s - left] = '\0';
99 left_len -= s - left;
101 memmove(left, s + 1, left_len + 1);
131 * there are no more path components left.
166 * If there are any path components left, then
168 * in `left'.
179 left_len = strlcat(symlink, left, sizeof(left));
180 if (left_len >= sizeof(left)) {
185 left_len = strlcpy(left, symlink, sizeof(left));