Home
last modified time | relevance | path

Searched refs:SLEN (Results 1 – 3 of 3) sorted by relevance

/src/usr.bin/calendar/
H A Dparsedata.c40 #define SLEN 100 /* maximum length of date spec. part strings */ macro
119 strlcpy(specialday, s1, SLEN); \ in determinestyle()
124 strlcpy(modifieroffset, s1 + lens2, SLEN); \ in determinestyle()
169 strlcpy(dayofweek, date, SLEN); in determinestyle()
174 strlcpy(modifierindex, date + len, SLEN); in determinestyle()
182 strlcpy(month, getmonthname(*imonth), SLEN); in determinestyle()
201 strlcpy(year, p1, SLEN); in determinestyle()
216 strlcpy(month, getmonthname(offset), SLEN); in determinestyle()
218 strlcpy(dayofmonth, p2, SLEN); in determinestyle()
232 strlcpy(dayofweek, getdayofweekname(offset), SLEN); in determinestyle()
[all …]
/src/contrib/blocklist/port/
H A Dsockaddr_snprintf.c71 #define SLEN(a) (a)->a ## _len macro
96 #define SLEN(a) socklen((a)->a ## _family) macro
108 SLEN(sat), sat->sat_family, sat->sat_port, in debug_at()
121 SLEN(sin), sin->sin_family, sin->sin_port, in debug_in()
134 SLEN(sin6), sin6->sin6_family, sin6->sin6_port, in debug_in6()
144 SLEN(sun), sun->sun_family, (int)sizeof(sun->sun_path), in debug_un()
157 SLEN(sdl), sdl->sdl_family, sdl->sdl_index, in debug_dl()
238 if (a && getnameinfo(sa, (socklen_t)SLEN(sa), addr = abuf, in sockaddr_snprintf()
268 (void)snprintf(nbuf, sizeof(nbuf), "%d", SLEN(sa)); in sockaddr_snprintf()
277 getnameinfo(sa, (socklen_t)SLEN(sa), in sockaddr_snprintf()
[all …]
/src/usr.bin/fortune/fortune/
H A Dfortune.c57 #define SLEN 160 /* # of chars in short fortune */ macro
174 } while ((Short_only && fortlen() > SLEN) || in main()
175 (Long_only && fortlen() <= SLEN)); in main()