/external/boringssl/src/crypto/test/ |
D | file_test.cc | 33 FileTest::FileTest(std::unique_ptr<FileTest::LineReader> reader, in FileTest() function in FileTest 40 FileTest::~FileTest() {} in ~FileTest() 80 FileTest::ReadResult FileTest::ReadNext() { in ReadNext() 229 void FileTest::PrintLine(const char *format, ...) { in PrintLine() 240 const std::string &FileTest::GetType() { in GetType() 245 const std::string &FileTest::GetParameter() { in GetParameter() 250 bool FileTest::HasAttribute(const std::string &key) { in HasAttribute() 255 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { in GetAttribute() 266 const std::string &FileTest::GetAttributeOrDie(const std::string &key) { in GetAttributeOrDie() 273 bool FileTest::HasInstruction(const std::string &key) { in HasInstruction() [all …]
|
D | file_test_gtest.cc | 31 class StringLineReader : public FileTest::LineReader { 36 FileTest::ReadResult ReadLine(char *out, size_t len) override { in ReadLine() 39 return FileTest::kReadEOF; in ReadLine() 51 return FileTest::kReadError; in ReadLine() 57 return FileTest::kReadSuccess; in ReadLine() 68 void FileTestGTest(const char *path, std::function<void(FileTest *)> run_test) { in FileTestGTest() 71 FileTest t(std::move(reader), nullptr, false); in FileTestGTest() 75 case FileTest::kReadError: in FileTestGTest() 78 case FileTest::kReadEOF: in FileTestGTest() 80 case FileTest::kReadSuccess: in FileTestGTest()
|
D | file_test.h | 87 class FileTest; 88 typedef bool (*FileTestFunc)(FileTest *t, void *arg); 90 class FileTest { 123 explicit FileTest(std::unique_ptr<LineReader> reader, 126 ~FileTest(); 247 FileTest(const FileTest &) = delete; 248 FileTest &operator=(const FileTest &) = delete; 265 int FileTestMain(const FileTest::Options &opts); 269 void FileTestGTest(const char *path, std::function<void(FileTest *)> run_test);
|
D | wycheproof_util.h | 23 class FileTest; variable 32 bool GetWycheproofResult(FileTest *t, WycheproofResult *out); 36 const EVP_MD *GetWycheproofDigest(FileTest *t, const char *key, 41 bssl::UniquePtr<EC_GROUP> GetWycheproofCurve(FileTest *t, const char *key, 46 bssl::UniquePtr<BIGNUM> GetWycheproofBIGNUM(FileTest *t, const char *key,
|
D | wycheproof_util.cc | 25 bool GetWycheproofResult(FileTest *t, WycheproofResult *out) { in GetWycheproofResult() 43 const EVP_MD *GetWycheproofDigest(FileTest *t, const char *key, in GetWycheproofDigest() 70 bssl::UniquePtr<EC_GROUP> GetWycheproofCurve(FileTest *t, const char *key, in GetWycheproofCurve() 94 bssl::UniquePtr<BIGNUM> GetWycheproofBIGNUM(FileTest *t, const char *key, in GetWycheproofBIGNUM()
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 21 TEST(FileTest, Create) { in TEST() argument 110 TEST(FileTest, SelfSwap) { in TEST() argument 120 TEST(FileTest, Async) { in TEST() argument 138 TEST(FileTest, DeleteOpenFile) { in TEST() argument 165 TEST(FileTest, ReadWrite) { in TEST() argument 241 TEST(FileTest, GetLastFileError) { in TEST() argument 260 TEST(FileTest, Append) { in TEST() argument 312 TEST(FileTest, Length) { in TEST() argument 368 TEST(FileTest, TouchGetInfo) { argument 370 TEST(FileTest, DISABLED_TouchGetInfo) { [all …]
|
/external/boringssl/src/fipstools/ |
D | cavp_ecdsa2_siggen_test.cc | 34 static bool TestECDSA2SigGenImpl(FileTest *t, bool is_component) { in TestECDSA2SigGenImpl() 93 static bool TestECDSA2SigGen(FileTest *t, void *arg) { in TestECDSA2SigGen() 97 static bool TestECDSA2SigGenComponent(FileTest *t, void *arg) { in TestECDSA2SigGenComponent() 108 static bool (*test_func)(FileTest *, void *); in cavp_ecdsa2_siggen_test_main() 118 FileTest::Options opts; in cavp_ecdsa2_siggen_test_main()
|
D | cavp_test_util.h | 51 bssl::UniquePtr<BIGNUM> GetBIGNUM(FileTest *t, const char *attribute); 53 int GetECGroupNIDFromInstruction(FileTest *t, const char **out_str = nullptr); 55 const EVP_MD *GetDigestFromInstruction(FileTest *t);
|
D | cavp_aes_gcm_test.cc | 46 static bool TestAEADEncrypt(FileTest *t, void *arg) { in TestAEADEncrypt() 84 static bool TestAEADDecrypt(FileTest *t, void *arg) { in TestAEADDecrypt() 139 bool (*test_fn)(FileTest * t, void *arg); in cavp_aes_gcm_test_main() 156 FileTest::Options opts; in cavp_aes_gcm_test_main()
|
D | cavp_ecdsa2_pkv_test.cc | 30 static bool TestECDSA2PKV(FileTest *t, void *arg) { in TestECDSA2PKV() 60 FileTest::Options opts; in cavp_ecdsa2_pkv_test_main()
|
D | cavp_hmac_test.cc | 27 static bool TestHMAC(FileTest *t, void *arg) { in TestHMAC() 97 FileTest::Options opts; in cavp_hmac_test_main()
|
D | cavp_sha_test.cc | 34 static bool TestSHA(FileTest *t, void *arg) { in TestSHA() 89 FileTest::Options opts; in cavp_sha_test_main()
|
D | cavp_aes_test.cc | 42 static bool MonteCarlo(const TestCtx *ctx, FileTest *t, in MonteCarlo() 130 static bool TestCipher(FileTest *t, void *arg) { in TestCipher() 220 FileTest::Options opts; in cavp_aes_test_main()
|
D | cavp_ecdsa2_sigver_test.cc | 32 static bool TestECDSA2SigVer(FileTest *t, void *arg) { in TestECDSA2SigVer() 78 FileTest::Options opts; in cavp_ecdsa2_sigver_test_main()
|
D | cavp_ecdsa2_keypair_test.cc | 32 static bool TestECDSA2KeyPair(FileTest *t, void *arg) { in TestECDSA2KeyPair() 87 FileTest::Options opts; in cavp_ecdsa2_keypair_test_main()
|
D | cavp_keywrap_test.cc | 63 static bool TestCipher(FileTest *t, void *arg) { in TestCipher() 118 FileTest::Options opts; in cavp_keywrap_test_main()
|
D | cavp_tlskdf_test.cc | 30 static bool TestTLSKDF(FileTest *t, void *arg) { in TestTLSKDF() 107 FileTest::Options opts; in cavp_tlskdf_test_main()
|
D | cavp_sha_monte_test.cc | 35 static bool TestSHAMonte(FileTest *t, void *arg) { in TestSHAMonte() 95 FileTest::Options opts; in cavp_sha_monte_test_main()
|
D | cavp_rsa2_keygen_test.cc | 29 static bool TestRSA2KeyGen(FileTest *t, void *arg) { in TestRSA2KeyGen() 88 FileTest::Options opts; in cavp_rsa2_keygen_test_main()
|
D | cavp_rsa2_sigver_test.cc | 40 static bool TestRSA2SigVer(FileTest *t, void *arg) { in TestRSA2SigVer() 118 FileTest::Options opts; in cavp_rsa2_sigver_test_main()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | file_test.cc | 16 class FileTest : public AfterStreamingFixture { class 35 TEST_F(FileTest, ManualRecordToFileForThreeSecondsAndPlayback) { 63 TEST_F(FileTest, ManualRecordPlayoutToWavFileForThreeSecondsAndPlayback) { in TEST_F() argument
|
/external/boringssl/src/crypto/evp/ |
D | evp_test.cc | 91 static const EVP_MD *GetDigest(FileTest *t, const std::string &name) { in OPENSSL_MSVC_PRAGMA() 109 static int GetKeyType(FileTest *t, const std::string &name) { in GetKeyType() 126 static int GetRSAPadding(FileTest *t, int *out, const std::string &name) { in GetRSAPadding() 145 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey() 193 static bool SetupContext(FileTest *t, EVP_PKEY_CTX *ctx) { in SetupContext() 236 static bool TestEVP(FileTest *t, KeyMap *key_map) { in TestEVP() 407 FileTestGTest("crypto/evp/evp_tests.txt", [&](FileTest *t) { in TEST() 421 FileTestGTest(path, [](FileTest *t) { in RunWycheproofTest()
|
/external/libchrome/mojo/public/cpp/base/ |
D | file_unittest.cc | 14 TEST(FileTest, File) { in TEST() argument 39 TEST(FileTest, AsyncFile) { in TEST() argument 58 TEST(FileTest, InvalidFile) { in TEST() argument
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | p256-x86_64_test.cc | 168 static bool GetFieldElement(FileTest *t, BN_ULONG out[P256_LIMBS], in GetFieldElement() 301 static void TestNegate(FileTest *t) { in TestNegate() 324 static void TestMulMont(FileTest *t) { in TestMulMont() 363 static void TestFromMont(FileTest *t) { in TestFromMont() 377 static void TestPointAdd(FileTest *t) { in TestPointAdd() 446 static void TestOrdMulMont(FileTest *t) { in TestOrdMulMont() 489 [](FileTest *t) { in TEST()
|
/external/boringssl/src/crypto/ecdh_extra/ |
D | ecdh_test.cc | 38 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { in GetCurve() 62 static bssl::UniquePtr<BIGNUM> GetBIGNUM(FileTest *t, const char *key) { in GetBIGNUM() 72 FileTestGTest("crypto/ecdh_extra/ecdh_tests.txt", [](FileTest *t) { in TEST() 130 static void RunWycheproofTest(FileTest *t) { in RunWycheproofTest()
|