Lines Matching refs:left
96 * in which case the path which caused trouble is left in (resolved).
106 char left[NTP_PATH_MAX], next_token[NTP_PATH_MAX], link_tgt[NTP_PATH_MAX];
115 left_len = strlcpy(left, path + 1, sizeof(left));
123 left_len = strlcpy(left, path, sizeof(left));
125 if (left_len >= sizeof(left) || resolved_len >= NTP_PATH_MAX) {
131 * Iterate over path components in `left'.
135 * Extract the next path component and adjust `left'
138 p = strchr(left, '/');
140 next_token_len = p != NULL ? (size_t)(p - left) : left_len;
141 memcpy(next_token, left, next_token_len);
146 memmove(left, p + 1, left_len + 1);
148 left[0] = '\0';
217 * If there are any path components left, then
219 * in `left'.
230 left_len = strlcat(link_tgt, left,
237 left_len = strlcpy(left, link_tgt, sizeof(left));