Lines Matching defs:left
58 * in which case the path which caused trouble is left in (resolved).
68 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
92 left_len = strlcpy(left, path + 1, sizeof(left));
102 left_len = strlcpy(left, path, sizeof(left));
104 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
110 * Iterate over path components in `left'.
114 * Extract the next path component and adjust `left'
117 p = strchr(left, '/');
118 s = p ? p : left + left_len;
119 if (s - left >= (ptrdiff_t)sizeof(next_token)) {
123 memcpy(next_token, left, s - left);
124 next_token[s - left] = '\0';
125 left_len -= s - left;
127 memmove(left, s + 1, left_len + 1);
157 * there are no more path components left.
192 * If there are any path components left, then
194 * in `left'.
206 left_len = strlcat(symlink, left, sizeof(symlink));
212 left_len = strlcpy(left, symlink, sizeof(left));