Searched refs:idbuf (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/stand/common/
H A Dpnp.c174 static char idbuf[8]; local
177 idbuf[0] = '@' + ((data[0] & 0x7c) >> 2);
178 idbuf[1] = '@' + (((data[0] & 0x3) << 3) + ((data[1] & 0xe0) >> 5));
179 idbuf[2] = '@' + (data[1] & 0x1f);
180 idbuf[3] = hextoascii[(data[2] >> 4)];
181 idbuf[4] = hextoascii[(data[2] & 0xf)];
182 idbuf[5] = hextoascii[(data[3] >> 4)];
183 idbuf[6] = hextoascii[(data[3] & 0xf)];
184 idbuf[7] = 0;
185 return(idbuf);
[all...]
/freebsd-13-stable/usr.sbin/ngctl/
H A Dshow.c124 char idbuf[20]; local
130 snprintf(idbuf, sizeof(idbuf), "%08x", peer->id);
132 peer->type, idbuf, link->peerhook);
/freebsd-13-stable/usr.sbin/inetd/
H A Dbuiltins.c360 char idbuf[MAXLOGNAME] = ""; /* Big enough to hold uid in decimal. */ local
391 strlcpy(idbuf, optarg, sizeof(idbuf));
412 for (i = 0; i < sizeof(idbuf) - 1; i++) {
418 idbuf[i] = base36[rnd32 % 36];
421 idbuf[i] = '\0';
518 if (*idbuf == '\0')
565 if (*idbuf == '\0')
578 snprintf(idbuf, sizeof(idbuf), "
[all...]
/freebsd-13-stable/usr.sbin/kldxref/
H A Dkldxref.c154 static char idbuf[8]; local
159 idbuf[0] = '@' + ((data[0] & 0x7c) >> 2);
160 idbuf[1] = '@' + (((data[0] & 0x3) << 3) + ((data[1] & 0xe0) >> 5));
161 idbuf[2] = '@' + (data[1] & 0x1f);
162 idbuf[3] = hextoascii[(data[2] >> 4)];
163 idbuf[4] = hextoascii[(data[2] & 0xf)];
164 idbuf[5] = hextoascii[(data[3] >> 4)];
165 idbuf[6] = hextoascii[(data[3] & 0xf)];
166 idbuf[7] = 0;
167 return (idbuf);
[all...]
/freebsd-13-stable/sys/isa/
H A Disa_common.c1136 static char idbuf[8]; local
1141 idbuf[0] = '@' + ((data[0] & 0x7c) >> 2);
1142 idbuf[1] = '@' + (((data[0] & 0x3) << 3) + ((data[1] & 0xe0) >> 5));
1143 idbuf[2] = '@' + (data[1] & 0x1f);
1144 idbuf[3] = hextoascii[(data[2] >> 4)];
1145 idbuf[4] = hextoascii[(data[2] & 0xf)];
1146 idbuf[5] = hextoascii[(data[3] >> 4)];
1147 idbuf[6] = hextoascii[(data[3] & 0xf)];
1148 idbuf[7] = 0;
1149 return(idbuf);
[all...]
/freebsd-13-stable/contrib/sendmail/src/
H A Dqueue.c5445 char idbuf[MAXQFNAME - 2]; local
5484 idbuf[0] = QueueIdChars[tm->tm_year % QIC_LEN];
5485 idbuf[1] = QueueIdChars[tm->tm_mon];
5486 idbuf[2] = QueueIdChars[tm->tm_mday];
5487 idbuf[3] = QueueIdChars[tm->tm_hour];
5488 idbuf[4] = QueueIdChars[tm->tm_min % QIC_LEN_R];
5489 idbuf[5] = QueueIdChars[tm->tm_sec % QIC_LEN_R];
5490 idbuf[6] = QueueIdChars[seq / QIC_LEN];
5491 idbuf[7] = QueueIdChars[seq % QIC_LEN];
5492 (void) sm_snprintf(&idbuf[
5752 static char idbuf[MAXQFNAME + 34]; local
[all...]

Completed in 78 milliseconds