Lines Matching defs:NTP_PATH_MAX
53 #define NTP_PATH_MAX 2048
65 if (strlcpy(resolved, path, NTP_PATH_MAX) >= NTP_PATH_MAX)
69 } else if ((retval = _fullpath(resolved, path, NTP_PATH_MAX)) == NULL) {
90 #define NTP_PATH_MAX 1024
106 char left[NTP_PATH_MAX], next_token[NTP_PATH_MAX], link_tgt[NTP_PATH_MAX];
117 if (getcwd(resolved, NTP_PATH_MAX) == NULL) {
125 if (left_len >= sizeof(left) || resolved_len >= NTP_PATH_MAX) {
153 if (resolved_len + 1 >= NTP_PATH_MAX) {
182 resolved_len = strlcat(resolved, next_token, NTP_PATH_MAX);
183 if (resolved_len >= NTP_PATH_MAX) {
271 else if ((m = malloc(NTP_PATH_MAX)) == NULL)