Lines Matching refs:buf2

147 	uint8 *buf2 = (uint8*)buf;  in createHostStruct()  local
153 uint8 a = createHostInt(buf2, STRUCT_ENDIAN_8, from_endianess); in createHostStruct()
154 memcpy(buf2, &a, STRUCT_ENDIAN_8); in createHostStruct()
158 uint16 a = createHostInt(buf2, STRUCT_ENDIAN_16, from_endianess); in createHostStruct()
159 memcpy(buf2, &a, STRUCT_ENDIAN_16); in createHostStruct()
163 uint32 a = createHostInt(buf2, STRUCT_ENDIAN_32, from_endianess); in createHostStruct()
164 memcpy(buf2, &a, STRUCT_ENDIAN_32); in createHostStruct()
168 uint64 q = createHostInt64(buf2, STRUCT_ENDIAN_64, from_endianess); in createHostStruct()
169 memcpy(buf2, &q, STRUCT_ENDIAN_64); in createHostStruct()
175 buf2 += table2; in createHostStruct()
182 uint8 *buf2 = (uint8*)buf; in createHostStructx() local
184 if (bufsize) ASSERT((uint)(buf2 - (uint8*)buf) < bufsize); in createHostStructx()
189 uint8 a = createHostInt(buf2, STRUCT_ENDIAN_8, from_endianess); in createHostStructx()
190 memcpy(buf2, &a, STRUCT_ENDIAN_8); in createHostStructx()
194 uint16 a = createHostInt(buf2, STRUCT_ENDIAN_16, from_endianess); in createHostStructx()
195 memcpy(buf2, &a, STRUCT_ENDIAN_16); in createHostStructx()
199 uint32 a = createHostInt(buf2, STRUCT_ENDIAN_32, from_endianess); in createHostStructx()
200 memcpy(buf2, &a, STRUCT_ENDIAN_32); in createHostStructx()
204 uint64 q = createHostInt64(buf2, STRUCT_ENDIAN_64, from_endianess); in createHostStructx()
205 memcpy(buf2, &q, STRUCT_ENDIAN_64); in createHostStructx()
211 buf2 += table2; in createHostStructx()
214 if (bufsize) ASSERT((uint)(buf2 - (uint8*)buf) == bufsize); in createHostStructx()