Lines Matching refs:code_buf
542 char *str = pri->code_buf; in synch_type()
938 (void) sprintf(pri->code_buf, "0x%.4X", flags); in strflags()
939 s = pri->code_buf; in strflags()
2029 char *str = pri->code_buf; in pollevent()
2696 char *s = pri->code_buf; in sigset_string()
2709 return (pri->code_buf); in sigset_string()
2931 (void) sprintf(pri->code_buf, "code=%d", sip->si_code); in print_siginfo32()
2932 code = (const char *)pri->code_buf; in print_siginfo32()
3089 (void) sprintf(pri->code_buf, "code=%d", sip->si_code); in print_siginfo()
3090 code = (const char *)pri->code_buf; in print_siginfo()
4222 char *str = pri->code_buf; in get_timex_modes()
4227 used = strlcat(str, "|MOD_OFFSET", sizeof (pri->code_buf)); in get_timex_modes()
4229 used = strlcat(str, "|MOD_FREQUENCY", sizeof (pri->code_buf)); in get_timex_modes()
4231 used = strlcat(str, "|MOD_MAXERROR", sizeof (pri->code_buf)); in get_timex_modes()
4233 used = strlcat(str, "|MOD_ESTERROR", sizeof (pri->code_buf)); in get_timex_modes()
4235 used = strlcat(str, "|MOD_STATUS", sizeof (pri->code_buf)); in get_timex_modes()
4237 used = strlcat(str, "|MOD_TIMECONST", sizeof (pri->code_buf)); in get_timex_modes()
4239 used = strlcat(str, "|MOD_CLKB", sizeof (pri->code_buf)); in get_timex_modes()
4241 used = strlcat(str, "|MOD_CLKA", sizeof (pri->code_buf)); in get_timex_modes()
4243 if (used == 0 || used >= sizeof (pri->code_buf)) in get_timex_modes()
4244 (void) snprintf(str, sizeof (pri->code_buf), " 0x%.4x", val); in get_timex_modes()
4252 char *str = pri->code_buf; in get_timex_status()
4257 used = strlcat(str, "|STA_PLL", sizeof (pri->code_buf)); in get_timex_status()
4259 used = strlcat(str, "|STA_PPSFREQ", sizeof (pri->code_buf)); in get_timex_status()
4261 used = strlcat(str, "|STA_PPSTIME", sizeof (pri->code_buf)); in get_timex_status()
4263 used = strlcat(str, "|STA_FLL", sizeof (pri->code_buf)); in get_timex_status()
4266 used = strlcat(str, "|STA_INS", sizeof (pri->code_buf)); in get_timex_status()
4268 used = strlcat(str, "|STA_DEL", sizeof (pri->code_buf)); in get_timex_status()
4270 used = strlcat(str, "|STA_UNSYNC", sizeof (pri->code_buf)); in get_timex_status()
4272 used = strlcat(str, "|STA_FREQHOLD", sizeof (pri->code_buf)); in get_timex_status()
4275 used = strlcat(str, "|STA_PPSSIGNAL", sizeof (pri->code_buf)); in get_timex_status()
4277 used = strlcat(str, "|STA_PPSJITTER", sizeof (pri->code_buf)); in get_timex_status()
4279 used = strlcat(str, "|STA_PPSWANDER", sizeof (pri->code_buf)); in get_timex_status()
4281 used = strlcat(str, "|STA_PPSERROR", sizeof (pri->code_buf)); in get_timex_status()
4284 used = strlcat(str, "|STA_CLOCKERR", sizeof (pri->code_buf)); in get_timex_status()
4286 if (used == 0 || used >= sizeof (pri->code_buf)) in get_timex_status()
4287 (void) snprintf(str, sizeof (pri->code_buf), " 0x%.4x", val); in get_timex_status()