Lines Matching full:data
41 #define process_block(crc, data) \
42 __libelf_crc32 (crc, data->d_buf, data->d_size)
80 Elf_Data *data;
96 /* To compute the checksum we need to get to the data. For
97 repeatable results we must use the external format. The data
100 this function can fail if the data was constructed by the
102 eventually convert the data to the external format. */
103 data = INTUSE(elf_rawdata) (scn, NULL);
104 if (data != NULL)
106 /* The raw data is available. */
107 result = process_block (result, data);
109 /* Maybe the user added more data. These blocks cannot be
111 for more data block with 'elf_getdata'. */
114 /* Iterate through the list of data blocks. */
115 while ((data = INTUSE(elf_getdata) (scn, data)) != NULL)
117 process the buffer directly. If the data is just a stream
120 if (likely (same_byte_order) || data->d_type == ELF_T_BYTE)
121 result = process_block (result, data);
124 /* Convert the data to file byte order. */
125 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA])
129 result = process_block (result, data);
132 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])