Lines Matching defs:left
74 * in which case the path which caused trouble is left in (resolved).
88 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
98 left_len = strlcpy(left, path + 1, sizeof (left));
105 left_len = strlcpy(left, path, sizeof (left));
107 if (left_len >= sizeof (left) || resolved_len >= PATH_MAX) {
113 * Iterate over path components in `left'.
117 * Extract the next path component and adjust `left'
120 p = strchr(left, '/');
121 s = p ? p : left + left_len;
122 if (s - left >= sizeof (next_token)) {
126 (void) memcpy(next_token, left, s - left);
127 next_token[s - left] = '\0';
128 left_len -= s - left;
130 (void) memmove(left, s + 1, left_len + 1);
160 * there are no more path components left.
175 resolved_len = strlcat(resolved, left, sizeof (left));
211 * If there are any path components left, then
213 * in `left'.
224 left_len = strlcat(symlink, left,
225 sizeof (left));
226 if (left_len >= sizeof (left)) {
231 left_len = strlcpy(left, symlink, sizeof (left));