Lines Matching defs:bytes
1034 /// Read N bytes and convert their value into an integer type T.
1039 /// @param bytes the array of bytes to read the next 8 bytes from.
1040 /// Note that this array must be at least 8 bytes long.
1042 /// @param number_of_bytes the number of bytes to read. This number
1045 /// @param is_big_endian if true, read the 8 bytes in Big Endian
1051 /// @param true if the 8 bytes could be read, false otherwise.
1054 read_int_from_array_of_bytes(const uint8_t* bytes,
1059 if (!bytes)
1067 const uint8_t* cur = bytes;
1075 // Now read the remaining least significant bytes.
1085 // Now read the remaining most significant bytes.
1094 /// Read 8 bytes and convert their value into an uint64_t.
1096 /// @param bytes the array of bytes to read the next 8 bytes from.
1097 /// Note that this array must be at least 8 bytes long.
1101 /// @param is_big_endian if true, read the 8 bytes in Big Endian
1104 /// @param true if the 8 bytes could be read, false otherwise.
1106 read_uint64_from_array_of_bytes(const uint8_t* bytes,
1110 return read_int_from_array_of_bytes(bytes, 8, is_big_endian, result);
1163 // Ensure that the opd_section has at least 8 bytes, starting from
1170 uint8_t* bytes = (uint8_t*)elf_data->d_buf;
1175 ABG_ASSERT(read_uint64_from_array_of_bytes(bytes + fn_desc_offset,