Lines Matching refs:structure
103 // Populates |structure| with a pointer to a desired structure of type T at
105 // false if the structure does not fully fit within the image at the given
107 template<typename T> bool GetStructureAt(size_t offset, const T** structure) {
108 return GetStructureAt(offset, sizeof(**structure), structure);
111 // Populates |structure| with a pointer to a desired structure of type T at
113 // |structure_size| bytes. Returns false if the structure does not fully fit
117 const T** structure) {
122 *structure = reinterpret_cast<const T*>(image_data_ + offset);