Home
last modified time | relevance | path

Searched refs:SwapByteOrder (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/Support/
DSwapByteOrderTest.cpp23 TEST(SwapByteOrder, UnsignedRoundTrip) { in TEST() argument
30 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint8))); in TEST()
34 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint16))); in TEST()
38 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint32))); in TEST()
42 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint64))); in TEST()
48 TEST(SwapByteOrder, SignedRoundTrip) { in TEST() argument
55 sys::SwapByteOrder(sys::SwapByteOrder(origional_int8))); in TEST()
59 sys::SwapByteOrder(sys::SwapByteOrder(origional_int16))); in TEST()
63 sys::SwapByteOrder(sys::SwapByteOrder(origional_int32))); in TEST()
67 sys::SwapByteOrder(sys::SwapByteOrder(origional_int64))); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSwapByteOrder.h71 inline unsigned char SwapByteOrder(unsigned char C) { return C; } in SwapByteOrder() function
72 inline signed char SwapByteOrder(signed char C) { return C; } in SwapByteOrder() function
73 inline char SwapByteOrder(char C) { return C; } in SwapByteOrder() function
75 inline unsigned short SwapByteOrder(unsigned short C) { return SwapByteOrder_16(C); } in SwapByteOrder() function
76 inline signed short SwapByteOrder( signed short C) { return SwapByteOrder_16(C); } in SwapByteOrder() function
78 inline unsigned int SwapByteOrder(unsigned int C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
79 inline signed int SwapByteOrder( signed int C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
82 inline unsigned long SwapByteOrder(unsigned long C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
83 inline signed long SwapByteOrder( signed long C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
85 inline unsigned long SwapByteOrder(unsigned long C) { return SwapByteOrder_64(C); } in SwapByteOrder() function
[all …]
DEndian.h57 return sys::SwapByteOrder(t);
64 value = sys::SwapByteOrder(value);
75 return sys::SwapByteOrder(t);
82 value = sys::SwapByteOrder(value);
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp105 void SwapByteOrder(wchar_t* pStr, size_t iLength) { in SwapByteOrder() function
244 SwapByteOrder(pStr, iMaxLength); in ReadString()
/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp24 val = sys::SwapByteOrder(val); in getU()
/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObject.cpp26 Value = sys::SwapByteOrder(Value); in SwapValue()