/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | FileOutputBufferTest.cpp | 22 #define ASSERT_NO_ERROR(x) \ macro 38 ASSERT_NO_ERROR( in TEST() 48 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST() 55 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST() 60 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); in TEST() 62 ASSERT_NO_ERROR(fs::remove(File1.str())); in TEST() 70 ASSERT_NO_ERROR(errorToErrorCode(Buffer2OrErr.takeError())); in TEST() 79 ASSERT_NO_ERROR(fs::remove(File2.str())); in TEST() 87 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST() 93 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST() [all …]
|
D | Path.cpp | 42 #define ASSERT_NO_ERROR(x) \ macro 175 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); in TEST() 190 ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative)); in TEST() 457 ASSERT_NO_ERROR( in SetUp() 469 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 476 ASSERT_NO_ERROR( in TEST_F() 481 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F() 482 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F() 488 ASSERT_NO_ERROR( in TEST_F() 492 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F() [all …]
|
D | ReplaceFileTest.cpp | 21 #define ASSERT_NO_ERROR(x) \ macro 73 ASSERT_NO_ERROR(fs::createUniqueDirectory( in TEST() 83 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST() 84 ASSERT_NO_ERROR(CreateFileWithContent(TargetFileName, "!!target!!")); in TEST() 89 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 114 ASSERT_NO_ERROR(fs::remove(SourceFileName)); in TEST() 115 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST() 122 ASSERT_NO_ERROR( in TEST() 137 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST() 138 ASSERT_NO_ERROR(CreateFileWithContent(TargetFileName, "!!target!!")); in TEST() [all …]
|
D | ProgramTest.cpp | 39 #define ASSERT_NO_ERROR(x) \ macro 133 ASSERT_NO_ERROR( in TEST_F() 150 ASSERT_NO_ERROR(fs::remove(Twine(LongPath))); in TEST_F() 151 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory))); in TEST_F() 310 ASSERT_NO_ERROR(fs::createUniqueDirectory("program-test", TestDirectory)); in TEST() 316 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST() 319 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST() 336 ASSERT_NO_ERROR(fs::remove(file_pathname.str())); in TEST() 337 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
D | Host.cpp | 19 #define ASSERT_NO_ERROR(x) \ macro 183 ASSERT_NO_ERROR(fs::createUniqueDirectory("host_test", TestDirectory)); in TEST_F() 197 ASSERT_NO_ERROR(fs::openFileForRead(OutputPath, FD)); in TEST_F() 218 ASSERT_NO_ERROR(fs::remove(OutputPath)); in TEST_F() 219 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST_F()
|
D | raw_pwrite_stream_test.cpp | 19 #define ASSERT_NO_ERROR(x) \ macro 63 ASSERT_NO_ERROR(sys::fs::openFileForRead(Path, FD)); in TEST() 65 ASSERT_NO_ERROR(sys::fs::createTemporaryFile("foo", "bar", FD, Path)); in TEST()
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 32 #define ASSERT_NO_ERROR(x) \ macro 142 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); in TEST() 157 ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative)); in TEST() 432 ASSERT_NO_ERROR( in SetUp() 439 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 446 ASSERT_NO_ERROR( in TEST_F() 451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F() 452 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F() 458 ASSERT_NO_ERROR( in TEST_F() 462 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F() [all …]
|
D | FileOutputBufferTest.cpp | 21 #define ASSERT_NO_ERROR(x) \ macro 34 ASSERT_NO_ERROR( in TEST() 44 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 51 ASSERT_NO_ERROR(Buffer->commit()); in TEST() 56 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); in TEST() 58 ASSERT_NO_ERROR(fs::remove(File1.str())); in TEST() 66 ASSERT_NO_ERROR(Buffer2OrErr.getError()); in TEST() 75 ASSERT_NO_ERROR(fs::remove(File2.str())); in TEST() 83 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 89 ASSERT_NO_ERROR(Buffer->commit()); in TEST() [all …]
|
D | ReplaceFileTest.cpp | 21 #define ASSERT_NO_ERROR(x) \ macro 58 ASSERT_NO_ERROR(fs::createUniqueDirectory( in TEST() 68 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST() 69 ASSERT_NO_ERROR(CreateFileWithContent(TargetFileName, "!!target!!")); in TEST() 74 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 94 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 109 ASSERT_NO_ERROR(fs::remove(SourceFileName)); in TEST() 110 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
D | ProgramTest.cpp | 38 #define ASSERT_NO_ERROR(x) \ macro 141 ASSERT_NO_ERROR( in TEST_F() 159 ASSERT_NO_ERROR(fs::remove(Twine(LongPath))); in TEST_F() 160 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory))); in TEST_F() 325 ASSERT_NO_ERROR(fs::createUniqueDirectory("program-test", TestDirectory)); in TEST() 331 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST() 334 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST() 351 ASSERT_NO_ERROR(fs::remove(file_pathname.str())); in TEST() 352 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
/external/nos/test/system-test-harness/src/ |
D | avb_tests.cc | 132 ASSERT_NO_ERROR(code, ""); in SetUp() 324 ASSERT_NO_ERROR(code, ""); in TEST_F() 330 ASSERT_NO_ERROR(code, ""); in TEST_F() 335 ASSERT_NO_ERROR(code, ""); in TEST_F() 366 ASSERT_NO_ERROR(service.CarrierLockTest(request, &response), ""); in TEST_F() 384 ASSERT_NO_ERROR(code, ""); in TEST_F() 394 ASSERT_NO_ERROR(code, ""); in TEST_F() 410 ASSERT_NO_ERROR(code, ""); in TEST_F() 417 ASSERT_NO_ERROR(SetDeviceLock(0x65), ""); in TEST_F() 418 ASSERT_NO_ERROR(SetDeviceLock(0x65), ""); in TEST_F() [all …]
|
D | keymaster-import-key-tests.cc | 124 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 136 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 148 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 160 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 172 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 184 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 198 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 211 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 224 ASSERT_NO_ERROR(service->ImportKey(request, &response), ""); in TEST_F() 245 ASSERT_NO_ERROR(service->ImportKey(request, &response), ss.str()); in TEST_F() [all …]
|
D | keymaster-provision-tests.cc | 85 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 98 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 102 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 118 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 135 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 152 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 167 ASSERT_NO_ERROR(service.ProvisionDeviceIds(request, &response), ""); in TEST_F() 806 ASSERT_NO_ERROR(service.ProvisionCertificates(request, &response), ""); in TEST_F()
|
D | nugget_core_tests.cc | 56 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F() 63 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F() 94 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F() 113 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F() 128 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F() 145 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F() 160 ASSERT_NO_ERROR(NuggetCoreTest::client->CallApp( in TEST_F()
|
D | weaver_tests.cc | 94 ASSERT_NO_ERROR(service.Write(request, &response), msg); in testWrite() 105 ASSERT_NO_ERROR(service.Read(request, &response), msg); in testRead() 121 ASSERT_NO_ERROR(service.EraseValue(request, &response), msg); in testEraseValue() 132 ASSERT_NO_ERROR(service.Read(request, &response), msg); in testReadWrongKey() 150 ASSERT_NO_ERROR(service.Read(request, &response), msg); in testReadThrottle() 180 ASSERT_NO_ERROR(service.GetConfig(request, &response), ""); in TEST_F()
|
D | aes-cmac-tests.cc | 86 ASSERT_NO_ERROR(harness->SendOneofProto( in TEST_F() 92 ASSERT_NO_ERROR(harness->GetData(&msg, 4096 * BYTE_TIME), ""); in TEST_F()
|
D | keymaster-import-wrapped-key-tests.cc | 238 ASSERT_NO_ERROR(service->ImportKey(importRequest, &importResponse), ""); in TEST_F() 261 ASSERT_NO_ERROR(service->ImportWrappedKey(request, &response), ""); in TEST_F()
|
D | cavptests.cc | 110 ASSERT_NO_ERROR(harness->SendOneofProto( in TEST_F() 116 ASSERT_NO_ERROR(harness->GetData(&msg, 4096 * BYTE_TIME), ""); in TEST_F()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | Path.cpp | 20 #define ASSERT_NO_ERROR(x) \ macro 129 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); in TEST() 152 ASSERT_NO_ERROR( in SetUp() 164 ASSERT_NO_ERROR(fs::remove_all(TestDirectory.str(), removed)); in TearDown() 172 ASSERT_NO_ERROR( in TEST_F() 177 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists)); in TEST_F() 183 ASSERT_NO_ERROR(fs::unique_file("%%-%%-%%-%%.temp", FD2, TempPath2)); in TEST_F() 192 ASSERT_NO_ERROR(fs::copy_file(Twine(TempPath), Twine(TempPath2), in TEST_F() 195 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2), TempFileExists)); in TEST_F() 199 ASSERT_NO_ERROR(fs::exists(Twine(TempPath2), TempFileExists)); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/ |
D | TestFileMagic.cpp | 21 #define ASSERT_NO_ERROR(x) \ macro 39 ASSERT_NO_ERROR( in SetUp() 46 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 133 ASSERT_NO_ERROR(fs::remove(Twine(file_pathname))); in TEST_F()
|
/external/nos/test/system-test-harness/tools/ |
D | keymaster_tools.cc | 40 ASSERT_NO_ERROR(service.SetRootOfTrust(request, &response), ""); in SetRootOfTrust() 57 ASSERT_NO_ERROR(service.SetBootState(request, &response), ""); in SetBootState()
|
D | avb_tools.cc | 46 ASSERT_NO_ERROR(service.BootloaderDone(request, nullptr), ""); in BootloaderDone() 55 ASSERT_NO_ERROR(service.GetState(request, &response), ""); in GetState() 141 ASSERT_NO_ERROR(code, ""); in ResetProduction()
|
D | nugget_tools.h | 12 #define ASSERT_NO_ERROR(code, msg) \ macro
|
D | avb_tools.h | 15 #define ASSERT_NO_ERROR(code, msg) \ macro
|