Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utils.c385 SLPError slp_add_byte(char *pcBuf, size_t iBufSz, int iVal, in slp_add_byte() argument
390 pcBuf[(*piLen)++] = (unsigned char) iVal; in slp_add_byte()
394 SLPError slp_add_sht(char *pcBuf, size_t iBufSz, unsigned short iVal, in slp_add_sht() argument
399 pcBuf[(*piLen)++] = (unsigned char) ((iVal & 0xFF00) >> 8); in slp_add_sht()
400 pcBuf[(*piLen)++] = (unsigned char) (iVal & 0xFF); in slp_add_sht()
404 SLPError slp_add_int32(char *pcBuf, size_t iBufSz, unsigned int iVal, in slp_add_int32() argument
409 pcBuf[(*piLen)++] = (unsigned char) ((iVal & 0xFF000000) >> 24); in slp_add_int32()
410 pcBuf[(*piLen)++] = (unsigned char) ((iVal & 0xFF0000) >> 16); in slp_add_int32()
411 pcBuf[(*piLen)++] = (unsigned char) ((iVal & 0xFF00) >> 8); in slp_add_int32()
412 pcBuf[(*piLen)++] = (unsigned char) (iVal & 0xFF); in slp_add_int32()
[all …]