{"name": "vringh_is_little_endian", "code": "_BOOL8 __fastcall vringh_is_little_endian ( _BYTE * @@a1@@ ) { return * @@a1@@ || ( unsigned __int8 ) virtio_legacy_is_little_endian ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}]}
{"name": "vringh16_to_cpu", "code": "__int64 __fastcall vringh16_to_cpu ( _BYTE * @@a1@@ , unsigned __int16 @@a2@@ ) { bool @@v2@@ ; @@v2@@ = vringh_is_little_endian ( @@a1@@ ) ; return _virtio16_to_cpu ( @@v2@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}]} {"name": "cpu_to_vringh16", "code": "__int64 __fastcall cpu_to_vringh16 ( _BYTE * @@a1@@ , unsigned __int16 @@a2@@ ) { bool @@v2@@ ; @@v2@@ = vringh_is_little_endian ( @@a1@@ ) ; return _cpu_to_virtio16 ( @@v2@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}]} {"name": "vringh32_to_cpu", "code": "__int64 __fastcall vringh32_to_cpu ( _BYTE * @@a1@@ , unsigned int @@a2@@ ) { bool @@v2@@ ; @@v2@@ = vringh_is_little_endian ( @@a1@@ ) ; return _virtio32_to_cpu ( @@v2@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}]} {"name": "cpu_to_vringh32", "code": "__int64 __fastcall cpu_to_vringh32 ( _BYTE * @@a1@@ , unsigned int @@a2@@ ) { bool @@v2@@ ; @@v2@@ = vringh_is_little_endian ( @@a1@@ ) ; return _cpu_to_virtio32 ( @@v2@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}]} {"name": "vringh64_to_cpu", "code": "unsigned __int64 __fastcall vringh64_to_cpu ( _BYTE * @@a1@@ , unsigned __int64 @@a2@@ ) { bool @@v2@@ ; @@v2@@ = vringh_is_little_endian ( @@a1@@ ) ; return _virtio64_to_cpu ( @@v2@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}]} {"name": "cpu_to_vringh64", "code": "unsigned __int64 __fastcall cpu_to_vringh64 ( _BYTE * @@a1@@ , unsigned __int64 @@a2@@ ) { bool @@v2@@ ; @@v2@@ = vringh_is_little_endian ( @@a1@@ ) ; return _cpu_to_virtio64 ( @@v2@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}]}