Lines Matching refs:code_buf
541 char *str = pri->code_buf; in synch_type()
937 (void) sprintf(pri->code_buf, "0x%.4X", flags); in strflags()
938 s = pri->code_buf; in strflags()
2013 char *str = pri->code_buf; in pollevent()
2680 char *s = pri->code_buf; in sigset_string()
2693 return (pri->code_buf); in sigset_string()
2915 (void) sprintf(pri->code_buf, "code=%d", sip->si_code); in print_siginfo32()
2916 code = (const char *)pri->code_buf; in print_siginfo32()
3073 (void) sprintf(pri->code_buf, "code=%d", sip->si_code); in print_siginfo()
3074 code = (const char *)pri->code_buf; in print_siginfo()
4206 char *str = pri->code_buf; in get_timex_modes()
4211 used = strlcat(str, "|MOD_OFFSET", sizeof (pri->code_buf)); in get_timex_modes()
4213 used = strlcat(str, "|MOD_FREQUENCY", sizeof (pri->code_buf)); in get_timex_modes()
4215 used = strlcat(str, "|MOD_MAXERROR", sizeof (pri->code_buf)); in get_timex_modes()
4217 used = strlcat(str, "|MOD_ESTERROR", sizeof (pri->code_buf)); in get_timex_modes()
4219 used = strlcat(str, "|MOD_STATUS", sizeof (pri->code_buf)); in get_timex_modes()
4221 used = strlcat(str, "|MOD_TIMECONST", sizeof (pri->code_buf)); in get_timex_modes()
4223 used = strlcat(str, "|MOD_CLKB", sizeof (pri->code_buf)); in get_timex_modes()
4225 used = strlcat(str, "|MOD_CLKA", sizeof (pri->code_buf)); in get_timex_modes()
4227 if (used == 0 || used >= sizeof (pri->code_buf)) in get_timex_modes()
4228 (void) snprintf(str, sizeof (pri->code_buf), " 0x%.4x", val); in get_timex_modes()
4236 char *str = pri->code_buf; in get_timex_status()
4241 used = strlcat(str, "|STA_PLL", sizeof (pri->code_buf)); in get_timex_status()
4243 used = strlcat(str, "|STA_PPSFREQ", sizeof (pri->code_buf)); in get_timex_status()
4245 used = strlcat(str, "|STA_PPSTIME", sizeof (pri->code_buf)); in get_timex_status()
4247 used = strlcat(str, "|STA_FLL", sizeof (pri->code_buf)); in get_timex_status()
4250 used = strlcat(str, "|STA_INS", sizeof (pri->code_buf)); in get_timex_status()
4252 used = strlcat(str, "|STA_DEL", sizeof (pri->code_buf)); in get_timex_status()
4254 used = strlcat(str, "|STA_UNSYNC", sizeof (pri->code_buf)); in get_timex_status()
4256 used = strlcat(str, "|STA_FREQHOLD", sizeof (pri->code_buf)); in get_timex_status()
4259 used = strlcat(str, "|STA_PPSSIGNAL", sizeof (pri->code_buf)); in get_timex_status()
4261 used = strlcat(str, "|STA_PPSJITTER", sizeof (pri->code_buf)); in get_timex_status()
4263 used = strlcat(str, "|STA_PPSWANDER", sizeof (pri->code_buf)); in get_timex_status()
4265 used = strlcat(str, "|STA_PPSERROR", sizeof (pri->code_buf)); in get_timex_status()
4268 used = strlcat(str, "|STA_CLOCKERR", sizeof (pri->code_buf)); in get_timex_status()
4270 if (used == 0 || used >= sizeof (pri->code_buf)) in get_timex_status()
4271 (void) snprintf(str, sizeof (pri->code_buf), " 0x%.4x", val); in get_timex_status()