Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A D_putmessage.c52 short t_short; local
71 t_short = (short) va_arg(arg, int);
73 (void) htos(buf + size, t_short);
88 t_short = (t_string? strlen(t_string) : 0) + 1;
91 (void) htos(buf + size, t_short);
101 size += t_short;
105 t_short = (short) va_arg(arg, int) + 1;
109 (void) htos(buf + size, t_short);
116 (void) memcpy(buf + size, t_string, t_short);
117 buf[size + t_short - 1] = '\0';
[all …]
H A D_getmessage.c53 short *t_short; local
106 t_short = va_arg(arg, short *);
107 *t_short = stoh(buf);
130 t_short = va_arg(arg, short *);
131 *t_short = stoh(buf);
134 if ((buf + *t_short) > endbuf)
139 (*t_short)--; /* Don't mention the null we added */
141 buf += *t_short;