/system/chre/util/tests/ |
fixed_size_vector_test.cc | 44 FixedSizeVector<int, 8> testVector; 45 ASSERT_NE(testVector.data(), nullptr); 46 ASSERT_EQ(testVector.size(), 0); 47 ASSERT_EQ(testVector.capacity(), 8); 48 ASSERT_TRUE(testVector.empty()); 49 ASSERT_FALSE(testVector.full()); 53 FixedSizeVector<int, 8> testVector; 54 testVector.push_back(0x1337); 55 ASSERT_NE(testVector.data(), nullptr); 56 ASSERT_EQ(testVector.size(), 1) [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESCipherNistCavpKatTest.java | 177 TestVector testVector = null; 213 testVector = new TestVector(); 230 runKatTest(blockMode, encrypt, testVector); 232 testVector = null; 244 testVector.key = HexEncoding.decode(value); 246 testVector.iv = HexEncoding.decode(value); 248 testVector.plaintext = HexEncoding.decode(value); 250 testVector.ciphertext = HexEncoding.decode(value) [all...] |
MacTest.java | 319 for (KatVector testVector : SHORT_MSG_KAT_MACS.get(algorithm)) { 320 byte[] keyBytes = testVector.key; 327 byte[] goodMacBytes = testVector.mac.clone();
|
CipherTest.java | [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
CipherOutputStreamTest.java | 56 public static class TestVector { 64 public TestVector( 79 Iterable<TestVector> getTestVectors( 87 ArrayList<TestVector> result = new ArrayList<TestVector>(); 93 result.add(new TestVector(algorithm, keySize, ivSize, tagSize, ptSize, aadSize)); 103 public void testEncrypt(Iterable<TestVector> tests) throws Exception { 104 for (TestVector t : tests) { 117 public void testDecrypt(Iterable<TestVector> tests) throws Exception { 118 for (TestVector t : tests) [all...] |
CipherInputStreamTest.java | 56 public static class TestVector { 65 public TestVector( 80 Iterable<TestVector> getTestVectors( 88 ArrayList<TestVector> result = new ArrayList<TestVector>(); 94 result.add(new TestVector(algorithm, keySize, ivSize, tagSize, ptSize, aadSize)); 104 public void testEncrypt(Iterable<TestVector> tests) throws Exception { 105 for (TestVector t : tests) { 128 public void testDecrypt(Iterable<TestVector> tests) throws Exception { 129 for (TestVector t : tests) [all...] |
/external/parameter-framework/upstream/test/xml-generator/ |
test.py | 43 class TestVector: 50 def __init__(self, pfConfig, testVector): 58 if testVector.initialSettings: 59 self.command += ["--initial-settings", testVector.initialSettings] 60 if testVector.edds: 61 self.command += ["--add-edds"] + testVector.edds 62 if testVector.domains: 63 self.command += ["--add-domains"] + testVector.domains 91 vector_dir = os.path.join(basedir, "testVector") 98 self.nominal_vector = TestVector(os.path.join(vector_dir, "initialSettings.xml") [all...] |
/external/libopus/tests/ |
run_vectors.sh | 79 if [ -e $VECTOR_PATH/testvector$file.bit ]; then 80 echo Testing testvector$file 82 echo Bitstream file not found: testvector$file.bit 84 if $OPUS_DEMO -d $RATE 1 $VECTOR_PATH/testvector$file.bit tmp.out >> logs_mono.txt 2>&1; then 90 $OPUS_COMPARE -r $RATE $VECTOR_PATH/testvector$file.dec tmp.out >> logs_mono.txt 2>&1 108 if [ -e $VECTOR_PATH/testvector$file.bit ]; then 109 echo Testing testvector$file 111 echo Bitstream file not found: testvector$file 113 if $OPUS_DEMO -d $RATE 2 $VECTOR_PATH/testvector$file.bit tmp.out >> logs_stereo.txt 2>&1; then 119 $OPUS_COMPARE -s -r $RATE $VECTOR_PATH/testvector$file.dec tmp.out >> logs_stereo.txt 2>& [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSScriptTest.java | 40 native boolean testVector(String path); 42 assertTrue(testVector(this.getContext().getCacheDir().toString()));
|
/external/boringssl/src/crypto/base64/ |
base64_test.cc | 42 struct TestVector { 49 static const TestVector kTestVectors[] = { 106 class Base64Test : public testing::TestWithParam<TestVector> {}; 125 const TestVector &t = GetParam(); 143 const TestVector &t = GetParam(); 167 const TestVector &t = GetParam(); 191 const TestVector &t = GetParam(); 249 const TestVector &t = GetParam();
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
vktQueryPoolOcclusionTests.cpp | 291 BasicOcclusionQueryTestInstance (vkt::Context &context, const OcclusionQueryTestVector& testVector); 309 BasicOcclusionQueryTestInstance::BasicOcclusionQueryTestInstance (vkt::Context &context, const OcclusionQueryTestVector& testVector) 311 , m_testVector (testVector) 313 DE_ASSERT(testVector.queryResultSize == RESULT_SIZE_64_BIT 314 && testVector.queryWait == WAIT_QUEUE 315 && testVector.queryResultsMode == RESULTS_MODE_GET 316 && testVector.queryResultsStride == sizeof(deUint64) 317 && testVector.queryResultsAvailability == false 318 && testVector.primitiveTopology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST); 503 OcclusionQueryTestInstance (vkt::Context &context, const OcclusionQueryTestVector& testVector); [all...] |
/external/boringssl/src/crypto/digest_extra/ |
digest_test.cc | 55 struct TestVector { 66 static const TestVector kTestVectors[] = { 144 static void CompareDigest(const TestVector *test, 159 static void TestDigest(const TestVector *test) {
|
/external/clang/test/Analysis/inlining/ |
stl.cpp | 8 void testVector(std::vector<int> &nums) {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
VectorTest.java | 27 public void testVector() throws ClassNotFoundException {
|
/external/swiftshader/third_party/subzero/crosstest/ |
test_cast_main.cpp | 124 void testVector(size_t &TotalTests, size_t &Passes, size_t &Failures, 269 testVector<v4ui32, v4f32>(TotalTests, Passes, Failures, "v4ui32", "v4f32"); 270 testVector<v4si32, v4f32>(TotalTests, Passes, Failures, "v4si32", "v4f32"); 271 testVector<v4f32, v4si32>(TotalTests, Passes, Failures, "v4f32", "v4si32"); 272 testVector<v4f32, v4ui32>(TotalTests, Passes, Failures, "v4f32", "v4ui32");
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/ |
TestVectorFactory.py | 53 Function invoqued to generate TestVector object
|
/external/parameter-framework/upstream/test/functional-tests/ |
Handle.cpp | 550 struct TestVector 558 list<TestVector> testVectors = { 593 for (auto &testVector : testVectors) { 595 CHECK(cmdHandler->process("showMapping", {testVector.path}, output)); 596 CHECK(output == testVector.humanReadable);
|
/external/boringssl/src/crypto/curve25519/ |
x25519_test.cc | 27 TEST(X25519Test, TestVector) {
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
Storage.java | 540 /* carrierLockTest() { testVector } */ 550 resp = ((CarrierLock)locks[LOCK_CARRIER]).testVector(metadata,
|
/external/compiler-rt/test/builtins/Unit/ |
comparedf2_test.c | 25 struct TestVector { 37 int test__cmpdf2(const struct TestVector *vector) { 145 static const struct TestVector vectors[] = {
|
comparesf2_test.c | 25 struct TestVector { 37 int test__cmpsf2(const struct TestVector *vector) { 145 static const struct TestVector vectors[] = {
|
/external/compiler-rt/test/builtins/Unit/ppc/ |
fixtfdi_test.c | 6 struct testVector { double xhi; double xlo; int64_t result; }; 12 const struct testVector testCases[] = { 450 const int numTestCases = sizeof(testCases) / sizeof(struct testVector);
|
/external/libese/apps/boot/ |
README.md | 128 testVector = LAST_NONCE || DEVICE_DATA || unlockToken
|
/external/libchrome/crypto/ |
p224_unittest.cc | 28 // TestVector represents a test of scalar multiplication of the base point. 31 struct TestVector { 39 static const TestVector kNISTTestVectors[kNumNISTTestVectors] = { [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ComputeTest.java | 670 public void testVector() {
|