|
SDL
2.0
|
Include dependency graph for testplatform.c:Go to the source code of this file.
Functions | |
| static int | badsize (size_t sizeoftype, size_t hardcodetype) |
| int | TestTypes (SDL_bool verbose) |
| int | TestEndian (SDL_bool verbose) |
| int | TestCPUInfo (SDL_bool verbose) |
| int | TestAssertions (SDL_bool verbose) |
| int | main (int argc, char *argv[]) |
Definition at line 23 of file testplatform.c.
Referenced by TestTypes().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 183 of file testplatform.c.
References SDL_FALSE, SDL_GetPlatform, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogSetPriority, SDL_strcmp, SDL_TRUE, TestAssertions(), TestCPUInfo(), TestEndian(), and TestTypes().
| int TestAssertions | ( | SDL_bool | verbose | ) |
Definition at line 154 of file testplatform.c.
References SDL_AssertData::always_ignore, SDL_AssertData::condition, SDL_AssertData::filename, SDL_AssertData::function, SDL_AssertData::linenum, SDL_AssertData::next, SDL_assert, SDL_assert_paranoid, SDL_assert_release, SDL_GetAssertionReport, SDL_Log, and SDL_AssertData::trigger_count.
Referenced by main().
| int TestCPUInfo | ( | SDL_bool | verbose | ) |
Definition at line 133 of file testplatform.c.
References SDL_GetCPUCacheLineSize, SDL_GetCPUCount, SDL_GetSystemRAM, SDL_Has3DNow, SDL_HasAltiVec, SDL_HasAVX, SDL_HasMMX, SDL_HasRDTSC, SDL_HasSSE, SDL_HasSSE2, SDL_HasSSE3, SDL_HasSSE41, SDL_HasSSE42, and SDL_Log.
Referenced by main().
| int TestEndian | ( | SDL_bool | verbose | ) |
Definition at line 64 of file testplatform.c.
References SDL_BIG_ENDIAN, SDL_BYTEORDER, SDL_LIL_ENDIAN, SDL_Log, SDL_PRIX64, SDL_Swap16(), SDL_Swap32(), and SDL_Swap64().
Referenced by main().