_buf
str = _buf(); /* side effect: sets "buflen" */
str = _buf(); /* side effect: sets "buflen" */
static char *_buf(void);
_buf(void)
free(oterm->_buf);
char *_buf;
buf = realloc(term->_buf, len);
term->_buf = buf;
return term->_buf;
term->_buf[term->_bufpos++] = (char)c;
l = snprintf(term->_buf + term->_bufpos, len + 2, fmt, num);
term->_buf = malloc(BUFINC);
if (term->_buf == NULL)
r = snprintf(term->_buf + term->_bufpos, l + 1,
term->_buf[term->_bufpos] = '\0';
return term->_buf;
at91pdc_buf_t *_buf = &(_pq)->q_buf[i]; \
void *_arg = _buf->buf_arg; \
#define GCPAD_START(_buf) ISSET((_buf)[0], 0x10)
#define GCPAD_Y(_buf) ISSET((_buf)[0], 0x08)
#define GCPAD_X(_buf) ISSET((_buf)[0], 0x04)
#define GCPAD_B(_buf) ISSET((_buf)[0], 0x02)
#define GCPAD_A(_buf) ISSET((_buf)[0], 0x01)
#define GCPAD_LCLICK(_buf) ISSET((_buf)[1], 0x40)
#define GCPAD_RCLICK(_buf) ISSET((_buf)[1], 0x20)
#define GCPAD_Z(_buf) ISSET((_buf)[1], 0x10)
#define GCPAD_UP(_buf) ISSET((_buf)[1], 0x08)
#define GCPAD_DOWN(_buf) ISSET((_buf)[1], 0x04)
#define GCPAD_RIGHT(_buf) ISSET((_buf)[1], 0x02)
#define GCPAD_LEFT(_buf) ISSET((_buf)[1], 0x01)
wg_alloc_prop_buf(char **_buf, struct ifdrv *ifd)
*_buf = buf;
endian ## bits ## dec(const void *_buf) \
__builtin_memcpy(&u, _buf, sizeof(u)); \
be16enc(void *_buf, uint16_t u)
uint8_t *p = __CAST(uint8_t *, _buf);
le16enc(void *_buf, uint16_t u)
uint8_t *p = __CAST(uint8_t *, _buf);
be16dec(const void *_buf)
const uint8_t *p = __CAST(const uint8_t *, _buf);
le16dec(const void *_buf)
const uint8_t *p = __CAST(const uint8_t *, _buf);
be32enc(void *_buf, uint32_t u)
uint8_t *p = __CAST(uint8_t *, _buf);
le32enc(void *_buf, uint32_t u)
uint8_t *p = __CAST(uint8_t *, _buf);
be32dec(const void *_buf)
const uint8_t *p = __CAST(const uint8_t *, _buf);
le32dec(const void *_buf)
const uint8_t *p = __CAST(const uint8_t *, _buf);
be64enc(void *_buf, uint64_t u)
uint8_t *p = __CAST(uint8_t *, _buf);
le64enc(void *_buf, uint64_t u)
uint8_t *p = __CAST(uint8_t *, _buf);
be64dec(const void *_buf)
const uint8_t *p = (const uint8_t *)_buf;
le64dec(const void *_buf)
const uint8_t *p = (const uint8_t *)_buf;
#define ktr_unused _v._v0._buf
const void *_buf;