Home
last modified time | relevance | path

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

/trueos/usr.bin/xlint/common/
HDemit.c70 ob.o_end = (ob.o_buf = ob.o_nxt = xmalloc(ob.o_len)) + ob.o_len; in outopen()
93 coffs = ob.o_nxt - ob.o_buf; in outxbuf()
95 ob.o_end = (ob.o_buf = xrealloc(ob.o_buf, ob.o_len)) + ob.o_len; in outxbuf()
96 ob.o_nxt = ob.o_buf + coffs; in outxbuf()
108 if (ob.o_buf != ob.o_nxt) { in outclr()
110 sz = ob.o_nxt - ob.o_buf; in outclr()
113 if (fwrite(ob.o_buf, sz, 1, lout) != 1) in outclr()
115 ob.o_nxt = ob.o_buf; in outclr()
HDlint.h122 char *o_buf; /* buffer */ member
/trueos/usr.bin/xlint/lint1/
HDemit.c72 ob.o_end = (ob.o_buf = ob.o_nxt = xmalloc(ob.o_len)) + ob.o_len;
94 coffs = ob.o_nxt - ob.o_buf; in outxbuf()
96 ob.o_end = (ob.o_buf = xrealloc(ob.o_buf, ob.o_len)) + ob.o_len; in outxbuf()
97 ob.o_nxt = ob.o_buf + coffs; in outxbuf()
109 if (ob.o_buf != ob.o_nxt) { in outclr()
111 sz = ob.o_nxt - ob.o_buf; in outclr()
114 if (fwrite(ob.o_buf, sz, 1, lout) != 1) in outclr()
116 ob.o_nxt = ob.o_buf; in outclr()
HDemit1.c163 if (tob.o_buf == NULL) { in ttos()
165 tob.o_buf = tob.o_nxt = xmalloc(tob.o_len); in ttos()
166 tob.o_end = tob.o_buf + tob.o_len; in ttos()
171 ob.o_nxt = ob.o_buf; in ttos()
177 return (tob.o_buf); in ttos()
HDlint.h112 char *o_buf; /* buffer */ member
/trueos/sys/dev/bxe/
HDbxe_elink.h570 uint16_t addr, uint16_t byte_cnt, uint8_t *o_buf);
HDbxe_elink.c742 uint8_t *o_buf, uint8_t);
8603 uint8_t *o_buf, uint8_t is_init) in elink_8726_read_sfp_module_eeprom() argument
8652 o_buf[i] = (uint8_t)(val & MDIO_PMA_REG_8726_TWO_WIRE_DATA_MASK); in elink_8726_read_sfp_module_eeprom()
8692 uint8_t *o_buf, uint8_t is_init) in elink_warpcore_read_sfp_module_eeprom() argument
8721 o_buf[j] = *((uint8_t *)data_array + i); in elink_warpcore_read_sfp_module_eeprom()
8732 uint8_t *o_buf, uint8_t is_init) in elink_8727_read_sfp_module_eeprom() argument
8809 o_buf[i] = (uint8_t)(val & MDIO_PMA_REG_8727_TWO_WIRE_DATA_MASK); in elink_8727_read_sfp_module_eeprom()
8826 uint16_t addr, uint16_t byte_cnt, uint8_t *o_buf) in elink_read_sfp_module_eeprom() argument
8831 uint8_t *user_data = o_buf; in elink_read_sfp_module_eeprom()