Lines Matching refs:T
35 template <class T>
36 static dex::u4 OptIndex(const T* ir_node) { in OptIndex()
49 template <class T>
50 static void WriteIntValue(dex::u1 type, T value, Section& data) { in WriteIntValue()
51 dex::u1 buff[sizeof(T)] = {}; in WriteIntValue()
54 if (std::is_signed<T>::value) { in WriteIntValue()
69 assert(size > 0 && size <= sizeof(T)); in WriteIntValue()
75 template <class T>
76 static void WriteFloatValue(dex::u1 type, T value, Section& data) { in WriteFloatValue()
77 dex::u1 buff[sizeof(T)] = {}; in WriteFloatValue()
79 size_t size = sizeof(T); in WriteFloatValue()
92 assert(size > 0 && size <= sizeof(T)); in WriteFloatValue()
219 template <class T>
220 static void CopySection(const T& section, dex::u1* image, dex::u4 image_size) { in CopySection()
381 template <class T>
382 static void AddMapItem(const T& section, std::vector<dex::MapItem>& items) { in AddMapItem()