RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed_test::anonymous_namespace{EndiannessTest.cpp} Namespace Reference

Classes

struct  HexEquals
class  AbstractGetByteSwappedTest
class  ushort16Test
class  short16Test
class  uint32Test
class  int32Test
class  uint64Test
class  floatTest
class  doubleTest

Functions

 TEST (EndiannessTest, getHostEndiannessTests)
template<typename T>
::std::ostream & operator<< (::std::ostream &os, const intPair< T > &p)
 INSTANTIATE_TEST_SUITE_P (ushort16Test, ushort16Test, ::testing::Combine(::testing::ValuesIn(ushort16Values), ::testing::Bool()))
 TEST_P (ushort16Test, swap)
 TEST_P (ushort16Test, NOP)
 TEST_P (ushort16Test, typedSwap)
 TEST_P (ushort16Test, get)
 TEST_P (ushort16Test, getNOP)
 TEST_P (ushort16Test, getU16)
 TEST_P (ushort16Test, getU16NOP)
 INSTANTIATE_TEST_SUITE_P (short16Test, short16Test, ::testing::Combine(::testing::ValuesIn(ushort16Values), ::testing::Bool()))
 TEST_P (short16Test, swap)
 TEST_P (short16Test, NOP)
 TEST_P (short16Test, typedSwap)
 TEST_P (short16Test, get)
 TEST_P (short16Test, getNOP)
 INSTANTIATE_TEST_SUITE_P (uint32Test, uint32Test, ::testing::Combine(::testing::ValuesIn(uint32Values), ::testing::Bool()))
 TEST_P (uint32Test, swap)
 TEST_P (uint32Test, NOP)
 TEST_P (uint32Test, typedSwap)
 TEST_P (uint32Test, get)
 TEST_P (uint32Test, getNOP)
 TEST_P (uint32Test, getU32)
 TEST_P (uint32Test, getU32NOP)
 INSTANTIATE_TEST_SUITE_P (int32Test, int32Test, ::testing::Combine(::testing::ValuesIn(uint32Values), ::testing::Bool()))
 TEST_P (int32Test, swap)
 TEST_P (int32Test, NOP)
 TEST_P (int32Test, typedSwap)
 TEST_P (int32Test, get)
 TEST_P (int32Test, getNOP)
 INSTANTIATE_TEST_SUITE_P (uint64Test, uint64Test, ::testing::Combine(::testing::ValuesIn(uint64Values), ::testing::Bool()))
 TEST_P (uint64Test, swap)
 TEST_P (uint64Test, NOP)
 TEST_P (uint64Test, typedSwap)
 TEST_P (uint64Test, get)
 TEST_P (uint64Test, getNOP)
 INSTANTIATE_TEST_SUITE_P (floatTest, floatTest, ::testing::Combine(::testing::ValuesIn(uint32Values), ::testing::Bool()))
 TEST_P (floatTest, swap)
 TEST_P (floatTest, NOP)
 TEST_P (floatTest, typedSwap)
 TEST_P (floatTest, get)
 TEST_P (floatTest, getNOP)
 INSTANTIATE_TEST_SUITE_P (doubleTest, doubleTest, ::testing::Combine(::testing::ValuesIn(uint64Values), ::testing::Bool()))
 TEST_P (doubleTest, swap)
 TEST_P (doubleTest, NOP)
 TEST_P (doubleTest, typedSwap)
 TEST_P (doubleTest, get)
 TEST_P (doubleTest, getNOP)

Function Documentation

◆ INSTANTIATE_TEST_SUITE_P() [1/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( doubleTest ,
doubleTest ,
::testing::Combine(::testing::ValuesIn(uint64Values), ::testing::Bool())  )

◆ INSTANTIATE_TEST_SUITE_P() [2/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( floatTest ,
floatTest ,
::testing::Combine(::testing::ValuesIn(uint32Values), ::testing::Bool())  )

◆ INSTANTIATE_TEST_SUITE_P() [3/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( int32Test ,
int32Test ,
::testing::Combine(::testing::ValuesIn(uint32Values), ::testing::Bool())  )

◆ INSTANTIATE_TEST_SUITE_P() [4/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( short16Test ,
short16Test ,
::testing::Combine(::testing::ValuesIn(ushort16Values), ::testing::Bool())  )

◆ INSTANTIATE_TEST_SUITE_P() [5/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( uint32Test ,
uint32Test ,
::testing::Combine(::testing::ValuesIn(uint32Values), ::testing::Bool())  )

◆ INSTANTIATE_TEST_SUITE_P() [6/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( uint64Test ,
uint64Test ,
::testing::Combine(::testing::ValuesIn(uint64Values), ::testing::Bool())  )

◆ INSTANTIATE_TEST_SUITE_P() [7/7]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::INSTANTIATE_TEST_SUITE_P ( ushort16Test ,
ushort16Test ,
::testing::Combine(::testing::ValuesIn(ushort16Values), ::testing::Bool())  )

◆ operator<<()

template<typename T>
::std::ostream & rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::operator<< ( ::std::ostream & os,
const intPair< T > & p )

Definition at line 80 of file EndiannessTest.cpp.

References operator<<(), and setupHex.

Referenced by operator<<().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST()

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST ( EndiannessTest ,
getHostEndiannessTests  )

Definition at line 46 of file EndiannessTest.cpp.

References getHostEndianness(), getHostEndiannessRuntime(), and TEST().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST_P() [1/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( doubleTest ,
get  )

Definition at line 357 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [2/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( doubleTest ,
getNOP  )

Definition at line 364 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [3/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( doubleTest ,
NOP  )

Definition at line 351 of file EndiannessTest.cpp.

◆ TEST_P() [4/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( doubleTest ,
swap  )

Definition at line 348 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [5/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( doubleTest ,
typedSwap  )

Definition at line 354 of file EndiannessTest.cpp.

◆ TEST_P() [6/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( floatTest ,
get  )

Definition at line 329 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [7/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( floatTest ,
getNOP  )

Definition at line 336 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [8/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( floatTest ,
NOP  )

Definition at line 323 of file EndiannessTest.cpp.

◆ TEST_P() [9/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( floatTest ,
swap  )

Definition at line 320 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [10/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( floatTest ,
typedSwap  )

Definition at line 326 of file EndiannessTest.cpp.

◆ TEST_P() [11/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( int32Test ,
get  )

Definition at line 270 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [12/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( int32Test ,
getNOP  )

Definition at line 277 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [13/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( int32Test ,
NOP  )

Definition at line 264 of file EndiannessTest.cpp.

◆ TEST_P() [14/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( int32Test ,
swap  )

Definition at line 261 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [15/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( int32Test ,
typedSwap  )

Definition at line 267 of file EndiannessTest.cpp.

◆ TEST_P() [16/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( short16Test ,
get  )

Definition at line 196 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [17/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( short16Test ,
getNOP  )

Definition at line 203 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [18/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( short16Test ,
NOP  )

Definition at line 190 of file EndiannessTest.cpp.

◆ TEST_P() [19/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( short16Test ,
swap  )

Definition at line 187 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [20/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( short16Test ,
typedSwap  )

Definition at line 193 of file EndiannessTest.cpp.

◆ TEST_P() [21/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
get  )

Definition at line 227 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [22/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
getNOP  )

Definition at line 234 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [23/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
getU32  )

Definition at line 242 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), getU32BE(), getU32LE(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [24/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
getU32NOP  )

Definition at line 249 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), getU32BE(), getU32LE(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [25/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
NOP  )

Definition at line 221 of file EndiannessTest.cpp.

◆ TEST_P() [26/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
swap  )

Definition at line 218 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [27/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint32Test ,
typedSwap  )

Definition at line 224 of file EndiannessTest.cpp.

◆ TEST_P() [28/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint64Test ,
get  )

Definition at line 301 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [29/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint64Test ,
getNOP  )

Definition at line 308 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [30/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint64Test ,
NOP  )

Definition at line 295 of file EndiannessTest.cpp.

◆ TEST_P() [31/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint64Test ,
swap  )

Definition at line 292 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [32/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( uint64Test ,
typedSwap  )

Definition at line 298 of file EndiannessTest.cpp.

◆ TEST_P() [33/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
get  )

Definition at line 152 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [34/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
getNOP  )

Definition at line 159 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [35/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
getU16  )

Definition at line 167 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), getU16BE(), getU16LE(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [36/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
getU16NOP  )

Definition at line 174 of file EndiannessTest.cpp.

References rawspeed::big, getHostEndianness(), getU16BE(), getU16LE(), and rawspeed::little.

Here is the call graph for this function:

◆ TEST_P() [37/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
NOP  )

Definition at line 146 of file EndiannessTest.cpp.

◆ TEST_P() [38/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
swap  )

Definition at line 143 of file EndiannessTest.cpp.

References getByteSwapped().

Here is the call graph for this function:

◆ TEST_P() [39/39]

rawspeed_test::anonymous_namespace{EndiannessTest.cpp}::TEST_P ( ushort16Test ,
typedSwap  )

Definition at line 149 of file EndiannessTest.cpp.