Lines Matching refs:tmp

58 	char *tmp;
80 if ((tmp = malloc(sz)) == NULL) {
101 free(tmp);
109 free(tmp);
112 (void) memcpy(tmp+offset, (char *)(resp->ic_data)+1, count);
115 *buf = tmp;
124 char *tmp;
141 tmp = fru_area + (fru_hdr.ifh_product_info_off * 8) + 3;
143 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
145 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifpi_manuf_name);
146 tmp += len + 1;
148 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
150 ipmi_decode_string((typelen >> 6), len, tmp+1,
152 tmp += len + 1;
154 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
156 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifpi_part_number);
157 tmp += len + 1;
159 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
161 ipmi_decode_string((typelen >> 6), len, tmp+1,
163 tmp += len + 1;
165 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
167 ipmi_decode_string((typelen >> 6), len, tmp+1,
169 tmp += len + 1;
171 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
173 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifpi_asset_tag);
188 char *tmp;
204 tmp = fru_area + (fru_hdr.ifh_board_info_off * 8) + 3;
206 (void) memcpy(buf->ifbi_manuf_date, tmp, 3);
207 tmp += 3;
209 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
211 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifbi_manuf_name);
212 tmp += len + 1;
214 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
216 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifbi_board_name);
217 tmp += len + 1;
219 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
221 ipmi_decode_string((typelen >> 6), len, tmp+1,
223 tmp += len + 1;
225 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
227 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifbi_part_number);