Searched refs:swapByteOrder (Results 1 – 10 of 10) sorted by relevance
1002 sys::swapByteOrder(mh.magic); in swapStruct()1003 sys::swapByteOrder(mh.cputype); in swapStruct()1004 sys::swapByteOrder(mh.cpusubtype); in swapStruct()1005 sys::swapByteOrder(mh.filetype); in swapStruct()1006 sys::swapByteOrder(mh.ncmds); in swapStruct()1007 sys::swapByteOrder(mh.sizeofcmds); in swapStruct()1008 sys::swapByteOrder(mh.flags); in swapStruct()1012 sys::swapByteOrder(H.magic); in swapStruct()1013 sys::swapByteOrder(H.cputype); in swapStruct()1014 sys::swapByteOrder(H.cpusubtype); in swapStruct()[all …]
118 inline void swapByteOrder(T &Value) { in swapByteOrder() function
41 sys::swapByteOrder(value); in byte_swap()
128 TEST(swapByteOrder, uint8_t) { in TEST() argument130 sys::swapByteOrder(value); in TEST()134 TEST(swapByteOrder, uint16_t) { in TEST() argument136 sys::swapByteOrder(value); in TEST()140 TEST(swapByteOrder, uint32_t) { in TEST() argument142 sys::swapByteOrder(value); in TEST()146 TEST(swapByteOrder, uint64_t) { in TEST() argument148 sys::swapByteOrder(value); in TEST()152 TEST(swapByteOrder, int8_t) { in TEST() argument154 sys::swapByteOrder(value); in TEST()[all …]
30 sys::swapByteOrder(H.magic); in SwapStruct()31 sys::swapByteOrder(H.nfat_arch); in SwapStruct()36 sys::swapByteOrder(H.cputype); in SwapStruct()37 sys::swapByteOrder(H.cpusubtype); in SwapStruct()38 sys::swapByteOrder(H.offset); in SwapStruct()39 sys::swapByteOrder(H.size); in SwapStruct()40 sys::swapByteOrder(H.align); in SwapStruct()
688 sys::swapByteOrder(f); in DumpLiteral4Section()692 sys::swapByteOrder(l); in DumpLiteral4Section()736 sys::swapByteOrder(d); in DumpLiteral8Section()741 sys::swapByteOrder(l0); in DumpLiteral8Section()742 sys::swapByteOrder(l1); in DumpLiteral8Section()771 sys::swapByteOrder(l0); in DumpLiteral16Section()772 sys::swapByteOrder(l1); in DumpLiteral16Section()773 sys::swapByteOrder(l2); in DumpLiteral16Section()774 sys::swapByteOrder(l3); in DumpLiteral16Section()837 sys::swapByteOrder(lp); in DumpLiteralPointerSection()[all …]
279 sys::swapByteOrder(Value); in writeInt16BE()286 sys::swapByteOrder(Value); in writeInt32BE()295 sys::swapByteOrder(Value); in writeInt64BE()
24 sys::swapByteOrder(val); in getU()
149 sys::swapByteOrder(result); in fetch64()157 sys::swapByteOrder(result); in fetch32()
1174 sys::swapByteOrder(Size); in prependCompressionHeader()1639 sys::swapByteOrder(Val); in WriteObject()1645 sys::swapByteOrder(Val); in WriteObject()