Lines Matching defs:val
87 * val to buffer *b.
93 * unsigned 16-bit or 32-bit integer val to buffer b, in network byte
234 lwres_buffer_putuint8(lwres_buffer_t *b, lwres_uint8_t val)
244 cp[0] = (val & 0x00ff);
269 lwres_buffer_putuint16(lwres_buffer_t *b, lwres_uint16_t val)
279 cp[0] = (val & 0xff00) >> 8;
280 cp[1] = (val & 0x00ff);
306 lwres_buffer_putuint32(lwres_buffer_t *b, lwres_uint32_t val)
316 cp[0] = (unsigned char)((val & 0xff000000) >> 24);
317 cp[1] = (unsigned char)((val & 0x00ff0000) >> 16);
318 cp[2] = (unsigned char)((val & 0x0000ff00) >> 8);
319 cp[3] = (unsigned char)(val & 0x000000ff);