/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | HostnameVerifierTest.java | 41 @Test public void verify() throws Exception { in verify() method in HostnameVerifierTest 43 assertFalse(verifier.verify("localhost", session)); in verify() 74 assertTrue(verifier.verify("foo.com", session)); in verifyCn() 75 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn() 76 assertFalse(verifier.verify("bar.com", session)); in verifyCn() 107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 108 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 140 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt() 141 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt() 142 assertTrue(verifier.verify("bar.com", session)); in verifySubjectAlt() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_common.c | 206 int tls_verify_hash_init(struct tls_verify_hash *verify) in tls_verify_hash_init() argument 208 tls_verify_hash_free(verify); in tls_verify_hash_init() 209 verify->md5_client = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init() 210 verify->md5_server = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init() 211 verify->md5_cert = crypto_hash_init(CRYPTO_HASH_ALG_MD5, NULL, 0); in tls_verify_hash_init() 212 verify->sha1_client = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init() 213 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init() 214 verify->sha1_cert = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0); in tls_verify_hash_init() 215 if (verify->md5_client == NULL || verify->md5_server == NULL || in tls_verify_hash_init() 216 verify->md5_cert == NULL || verify->sha1_client == NULL || in tls_verify_hash_init() [all …]
|
D | tlsv1_client_write.c | 111 tls_verify_hash_add(&conn->verify, hs_start, pos - hs_start); in tls_send_client_hello() 200 tls_verify_hash_add(&conn->verify, hs_start, pos - hs_start); in tls_write_client_certificate() 421 tls_verify_hash_add(&conn->verify, hs_start, pos - hs_start); in tls_write_client_key_exchange() 476 if (conn->verify.sha256_cert == NULL || in tls_write_client_certificate_verify() 477 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify() 479 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify() 484 conn->verify.sha256_cert = NULL; in tls_write_client_certificate_verify() 508 if (conn->verify.md5_cert == NULL || in tls_write_client_certificate_verify() 509 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 512 conn->verify.md5_cert = NULL; in tls_write_client_certificate_verify() [all …]
|
D | tlsv1_server_read.c | 873 if (conn->verify.sha256_cert == NULL || in tls_process_certificate_verify() 874 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify() 876 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify() 881 conn->verify.sha256_cert = NULL; in tls_process_certificate_verify() 886 if (conn->verify.md5_cert == NULL || in tls_process_certificate_verify() 887 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify() 890 conn->verify.md5_cert = NULL; in tls_process_certificate_verify() 891 crypto_hash_finish(conn->verify.sha1_cert, NULL, NULL); in tls_process_certificate_verify() 892 conn->verify.sha1_cert = NULL; in tls_process_certificate_verify() 897 conn->verify.md5_cert = NULL; in tls_process_certificate_verify() [all …]
|
/external/littlemock/tests/com/google/testing/littlemock/ |
D | LittleMockTest.java | 49 import static com.google.testing.littlemock.LittleMock.verify; 173 verify("hello").contains("something"); in testVerify_FailsIfNotDoneOnAProxy() 180 verify(createNotARealMock()).add("something"); in testVerify_FailsIfNotCreatedByOurMockMethod() 187 verify(mFoo).add("something"); in testVerify_SuccessfulVerification() 193 verify(mFoo).add("something"); in testVerify_SuccessfulVerification_NormalOrder() 194 verify(mFoo).add("something else"); in testVerify_SuccessfulVerification_NormalOrder() 200 verify(mFoo).add("something else"); in testVerify_SuccessfulVerification_ReverseOrder() 201 verify(mFoo).add("something"); in testVerify_SuccessfulVerification_ReverseOrder() 208 verify(mFoo).add("something"); in testVerify_MeansOnlyOnceSoShouldFailIfCalledTwice() 216 verify(mFoo).add("something"); in testVerify_FailedVerification_CalledWithWrongArgument() [all …]
|
/external/vogar/test/vogar/target/ |
D | JUnitRunnerTest.java | 25 import static org.mockito.Mockito.verify; 75 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest_should_perform_test() 77 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest_should_perform_test() 85 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests() 87 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests() 89 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests() 91 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests() 93 verify(monitor, times(4)).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SuiteTest_should_perform_tests() 102 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test() 104 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | ForwardingLoadingCacheTest.java | 22 import static org.easymock.EasyMock.verify; 60 verify(mock); in testGet() 67 verify(mock); in testGetUnchecked() 74 verify(mock); in testGetAll() 81 verify(mock); in testApply() 88 verify(mock); in testInvalidate() 95 verify(mock); in testRefresh() 102 verify(mock); in testInvalidateAll() 109 verify(mock); in testSize() 116 verify(mock); in testStats() [all …]
|
D | ForwardingCacheTest.java | 22 import static org.easymock.EasyMock.verify; 60 verify(mock); in testGetIfPresent() 69 verify(mock); in testGetAllPresent() 76 verify(mock); in testInvalidate() 83 verify(mock); in testInvalidateAllIterable() 90 verify(mock); in testInvalidateAll() 97 verify(mock); in testSize() 104 verify(mock); in testStats() 111 verify(mock); in testAsMap() 118 verify(mock); in testCleanUp()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | FunnelsTest.java | 21 import static org.mockito.Mockito.verify; 46 verify(primitiveSink).putBytes(new byte[] { 4, 3, 2, 1 }); in testForBytes() 56 verify(primitiveSink).putUnencodedChars("test"); in testForStrings() 67 verify(primitiveSink).putString("test", charset); in testForStringsCharset() 81 verify(primitiveSink).putInt(1234); in testForInts() 92 verify(primitiveSink).putLong(1234); in testForLongs() 106 inOrder.verify(elementFunnel).funnel("foo", primitiveSink); in testSequential() 107 inOrder.verify(elementFunnel).funnel("bar", primitiveSink); in testSequential() 108 inOrder.verify(elementFunnel).funnel("baz", primitiveSink); in testSequential() 109 inOrder.verify(elementFunnel).funnel("quux", primitiveSink); in testSequential() [all …]
|
D | HashingOutputStreamTest.java | 52 EasyMock.verify(hashFunction); in testWrite_putSingleByte() 53 EasyMock.verify(hasher); in testWrite_putSingleByte() 64 EasyMock.verify(hashFunction); in testWrite_putByteArray() 65 EasyMock.verify(hasher); in testWrite_putByteArray() 76 EasyMock.verify(hashFunction); in testWrite_putByteArrayAtPos() 77 EasyMock.verify(hasher); in testWrite_putByteArrayAtPos()
|
D | HashingInputStreamTest.java | 57 EasyMock.verify(hashFunction); in testRead_putSingleByte() 58 EasyMock.verify(hasher); in testRead_putSingleByte() 74 EasyMock.verify(hashFunction); in testRead_putByteArray() 75 EasyMock.verify(hasher); in testRead_putByteArray() 91 EasyMock.verify(hashFunction); in testRead_putByteArrayAtPos() 92 EasyMock.verify(hasher); in testRead_putByteArrayAtPos() 111 EasyMock.verify(hashFunction); in testRead_putByteArrayOutOfBound() 112 EasyMock.verify(hasher); in testRead_putByteArrayOutOfBound()
|
/external/vboot_reference/tests/futility/ |
D | test_show_vs_verify.sh | 22 if ${FUTILITY} verify ${DEVKEYS}/firmware.keyblock ; then false; fi 24 ${FUTILITY} verify ${DEVKEYS}/firmware.keyblock \ 44 if ${FUTILITY} verify ${TMP}.vblock_a ; then false ; fi 46 if ${FUTILITY} verify ${TMP}.vblock_a \ 49 ${FUTILITY} verify ${TMP}.vblock_a \ 64 if ${FUTILITY} verify ${SCRIPTDIR}/data/rec_kernel_part.bin ; then false ; fi 66 if ${FUTILITY} verify ${SCRIPTDIR}/data/rec_kernel_part.bin \ 69 ${FUTILITY} verify ${SCRIPTDIR}/data/rec_kernel_part.bin \
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | VerifyTest.java | 17 import static com.google.common.base.Verify.verify; 31 verify(true); in testVerify_simple_success() 36 verify(false); in testVerify_simple_failure() 43 verify(true, "message"); in testVerify_simpleMessage_success() 48 verify(false, "message"); in testVerify_simpleMessage_failure() 56 verify(true, "%s", IGNORE_ME); in testVerify_complexMessage_success() 61 verify(false, FORMAT, 5); in testVerify_complexMessage_failure()
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferMapTests.cpp | 110 …t char* name, const char* desc, deUint32 bufferTarget, deUint32 usage, int size, VerifyType verify) in BufferMapWriteCase() argument 115 , m_verify (verify) in BufferMapWriteCase() 141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); in iterate() 159 …Uint32 bufferTarget, deUint32 usage, int bufferSize, int mapOffset, int mapSize, VerifyType verify) in BufferPartialMapWriteCase() argument 166 , m_verify (verify) in BufferPartialMapWriteCase() 195 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget); in iterate() 215 …ame, const char* desc, deUint32 bufferTarget, deUint32 usage, bool partialWrite, VerifyType verify) in BufferMapInvalidateCase() argument 220 , m_verify (verify) in BufferMapInvalidateCase() 256 bool isOk = verifier.verify(buf, refBuf.getPtr(), verifyOffset, verifySize, m_bufferTarget); in iterate() 274 …ame, const char* desc, deUint32 bufferTarget, deUint32 usage, bool partialWrite, VerifyType verify) in BufferMapPartialInvalidateCase() argument [all …]
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/ |
D | XLoggerTest.java | 61 void verify(LoggingEvent le, String expectedMsg) { in verify() method in XLoggerTest 67 verify(le, expectedMsg); in verifyWithException() 72 verify(le, expectedMsg); in verifyWithLevelAndException() 87 verify((LoggingEvent) listAppender.list.get(0), "entry"); in testEntering() 88 verify((LoggingEvent) listAppender.list.get(1), "entry with (1)"); in testEntering() 89 verify((LoggingEvent) listAppender.list.get(2), "entry with (test)"); in testEntering() 99 verify((LoggingEvent) listAppender.list.get(0), "exit"); in testExiting() 100 verify((LoggingEvent) listAppender.list.get(1), "exit with (0)"); in testExiting() 101 verify((LoggingEvent) listAppender.list.get(2), "exit with (false)"); in testExiting()
|
/external/llvm/test/CodeGen/R600/ |
D | llvm.AMDGPU.umul24.ll | 1 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s 2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s 3 ; RUN: llc -march=r600 -mcpu=cayman -verify-machineinstrs < %s | FileCheck -check-prefix=EG -check-… 4 ; RUN: llc -march=r600 -mcpu=redwood -verify-machineinstrs < %s | FileCheck -check-prefix=EG -check… 5 ; XUN: llc -march=r600 -mcpu=r600 -verify-machineinstrs < %s | FileCheck -check-prefix=R600 -check-… 6 ; XUN: llc -march=r600 -mcpu=r770 -verify-machineinstrs < %s | FileCheck -check-prefix=R600 -check-…
|
D | elf.ll | 1 ; RUN: llc < %s -march=amdgcn -mcpu=SI -verify-machineinstrs -filetype=obj | llvm-readobj -s -symbo… 2 ; RUN: llc < %s -march=amdgcn -mcpu=SI -verify-machineinstrs -o - | FileCheck --check-prefix=CONFIG… 3 ; RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs -filetype=obj | llvm-readobj -s -sy… 4 ; RUN: llc < %s -march=amdgcn -mcpu=tonga -verify-machineinstrs -o - | FileCheck --check-prefix=CON… 5 ; RUN: llc < %s -march=amdgcn -mcpu=carrizo -verify-machineinstrs -filetype=obj | llvm-readobj -s -… 6 ; RUN: llc < %s -march=amdgcn -mcpu=carrizo -verify-machineinstrs -o - | FileCheck --check-prefix=C… 9 ; RUN: llc < %s -mtriple=amdgcn-pc-mingw -mcpu=SI -verify-machineinstrs -filetype=obj | llvm-readob…
|
D | llvm.AMDGPU.imad24.ll | 1 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-pr… 2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check… 3 ; RUN: llc -march=r600 -mcpu=cayman -verify-machineinstrs < %s | FileCheck -check-prefix=CM -check-… 4 ; RUN: llc -march=r600 -mcpu=redwood -verify-machineinstrs < %s | FileCheck -check-prefix=R600 -che… 5 ; XUN: llc -march=r600 -mcpu=r600 -verify-machineinstrs < %s | FileCheck -check-prefix=R600 -check-… 6 ; XUN: llc -march=r600 -mcpu=r770 -verify-machineinstrs < %s | FileCheck -check-prefix=R600 -check-…
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConcurrentHashMultisetTest.java | 89 verify(); 99 verify(); 107 verify(); 116 verify(); 127 verify(); 140 verify(); 156 verify(); 195 verify(); 204 verify(); 212 verify(); [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | fast-isel-align.ll | 1 …-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios -verify-machineinstrs | Fi… 2 …sel-abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios -verify-machineinstrs | Fi… 3 …-strict-align -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios -verify-machineinstrs | Fi… 4 …trict-align -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios -verify-machineinstrs | Fi… 6 …l-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi -verify-machineinstrs | Fi… 7 …abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-linux-gnueabi -verify-machineinstrs | Fi… 8 …ict-align -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi -verify-machineinstrs | Fi… 9 …t-align -relocation-model=dynamic-no-pic -mtriple=thumbv7-linux-gnueabi -verify-machineinstrs | Fi… 11 …el-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-unknown-nacl -verify-machineinstrs | Fi… 12 …rict-align -relocation-model=dynamic-no-pic -mtriple=armv7-unknown-nacl -verify-machineinstrs | Fi… [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | JcaContentVerifierProviderBuilder.java | 218 public boolean verify(byte[] expected) 222 return stream.verify(expected); 243 public boolean verify(byte[] expected) 247 return super.verify(expected); 255 rawSignature.verify(expected); 264 public boolean verify(byte[] digest, byte[] expected) 270 return rawSignature.verify(expected); 282 stream.verify(expected); 341 boolean verify(byte[] expected) 344 return sig.verify(expected);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SignatureTest.java | 135 s.verify(b); in testVerifybyteArray() 142 s.verify(b); in testVerifybyteArray() 148 s.verify(b); in testVerifybyteArray() 160 s.verify(b, 0, 3); in testVerifybyteArrayintint() 168 s.verify(b, 0, 3); in testVerifybyteArrayintint() 176 s.verify(b, 0, 5); in testVerifybyteArrayintint() 181 s.verify(b, 0, 3); in testVerifybyteArrayintint() 306 public void verify(PublicKey key) { in verify() method in SignatureTest.MyCertificate 309 public void verify(PublicKey key, String sigProvider) { in verify() method in SignatureTest.MyCertificate
|
/external/fio/t/ |
D | lfsr-test.c | 32 int verify = 0; in main() local 44 verify = 1; in main() 77 if (verify) { in main() 93 if (verify) in main() 102 if (verify) { in main() 122 if (verify) in main()
|
/external/clang/test/Modules/ |
D | Werror.m | 7 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 13 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella 18 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 25 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 31 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 37 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 46 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 50 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 56 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 63 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ [all …]
|
D | ignored_macros.m | 3 …=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c-header %s -verify 4 …1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch %s -verify 10 …s-cache-path=%t.modules -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c-header %s -verify 19 …s-cache-path=%t.modules -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c-header %s -verify 20 …es -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch -fmodules-ignore-macro=IGNORED %s -verify 26 …es-ignore-macro=IGNORED -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c-header %s -verify 27 …es-ignore-macro=IGNORED -DNO_IGNORED_ANYWHERE -fmodules-ignore-macro=NO_IGNORED_ANYWHERE %s -verify 33 …-ignore-macro=IGNORED=1 -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c-header %s -verify 34 …-ignore-macro=IGNORED=1 -DNO_IGNORED_ANYWHERE -fmodules-ignore-macro=NO_IGNORED_ANYWHERE %s -verify
|