Home
last modified time | relevance | path

Searched refs:hostsz (Results 1 – 2 of 2) sorted by relevance

/dragonfly/usr.bin/last/
H A Dlast.c319 wtmpx(const char *file, int namesz, int linesz, int hostsz) in wtmpx() argument
374 hostsz, hostsz, bp->ut_host, ct); in wtmpx()
393 hostsz, hostsz, in wtmpx()
418 hostsz, hostsz, bp->ut_host, in wtmpx()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-sprintf.c369 target_to_host (char *hostr, size_t hostsz, const char *targstr) in target_to_host() argument
372 gcc_assert (hostsz > 4); in target_to_host()
379 strncpy (hostr, targstr, hostsz - 4); in target_to_host()
380 if (strlen (targstr) >= hostsz) in target_to_host()
381 strcpy (hostr + hostsz - 4, "..."); in target_to_host()
395 if (size_t (ph - hostr) == hostsz - 4) in target_to_host()