Lines Matching refs:data
48 #define process_block(crc, data) \
49 __libelf_crc32 (crc, data->d_buf, data->d_size)
81 convert the data with xlate functions. We do it upfront instead
94 Elf_Data *data;
115 /* To compute the checksum we need to get to the data. For
116 repeatable results we must use the external format. The data
119 this function can fail if the data was constructed by the
121 eventually convert the data to the external format. */
122 data = INTUSE(elf_rawdata) (scn, NULL);
123 if (data != NULL)
125 /* The raw data is available. */
126 result = process_block (result, data);
128 /* Maybe the user added more data. These blocks cannot be
130 for more data block with 'elf_getdata'. */
133 /* Iterate through the list of data blocks. */
134 while ((data = INTUSE(elf_getdata) (scn, data)) != NULL)
136 process the buffer directly. If the data is just a stream
139 if (likely (same_byte_order) || data->d_type == ELF_T_BYTE)
140 result = process_block (result, data);
143 /* Convert the data to file byte order. */
144 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA])
151 result = process_block (result, data);
154 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])