gem5  v20.1.0.0
Functions
byteswap.test.cc File Reference
#include <gtest/gtest.h>
#include "sim/byteswap.hh"

Go to the source code of this file.

Functions

 TEST (ByteswapTest, swap_byte64)
 
 TEST (ByteswapTest, swap_byte32)
 
 TEST (ByteswapTest, swap_byte16)
 
 TEST (ByteswapTest, swap_byte)
 
 TEST (ByteswapTest, htog)
 
 TEST (ByteswapTest, gtoh)
 
 TEST (ByteswapTest, betole)
 
 TEST (ByteswapTest, letobe)
 

Function Documentation

◆ TEST() [1/8]

TEST ( ByteswapTest  ,
betole   
)

Definition at line 295 of file byteswap.test.cc.

References betole(), and EXPECT_EQ.

◆ TEST() [2/8]

TEST ( ByteswapTest  ,
gtoh   
)

Definition at line 190 of file byteswap.test.cc.

References EXPECT_EQ, and gtoh().

◆ TEST() [3/8]

TEST ( ByteswapTest  ,
htog   
)

Definition at line 85 of file byteswap.test.cc.

References EXPECT_EQ, and htog().

◆ TEST() [4/8]

TEST ( ByteswapTest  ,
letobe   
)

Definition at line 317 of file byteswap.test.cc.

References EXPECT_EQ, and letobe().

◆ TEST() [5/8]

TEST ( ByteswapTest  ,
swap_byte   
)

Definition at line 63 of file byteswap.test.cc.

References EXPECT_EQ, and swap_byte().

◆ TEST() [6/8]

TEST ( ByteswapTest  ,
swap_byte16   
)

Definition at line 53 of file byteswap.test.cc.

References EXPECT_EQ, and swap_byte16().

◆ TEST() [7/8]

TEST ( ByteswapTest  ,
swap_byte32   
)

Definition at line 43 of file byteswap.test.cc.

References EXPECT_EQ, and swap_byte32().

◆ TEST() [8/8]

TEST ( ByteswapTest  ,
swap_byte64   
)

Definition at line 33 of file byteswap.test.cc.

References EXPECT_EQ, and swap_byte64().


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17