Home
last modified time | relevance | path

Searched refs:test_vector (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_parser_test.cc49 static void test_vector(grpc_chttp2_hpack_parser* parser, in test_vector() function
88 test_vector(&parser, mode, in test_vectors()
93 test_vector(&parser, mode, "040c 2f73 616d 706c 652f 7061 7468", ":path", in test_vectors()
96 test_vector(&parser, mode, in test_vectors()
101 test_vector(&parser, mode, "82", ":method", "GET", NULL); in test_vectors()
106 test_vector(&parser, mode, in test_vectors()
112 test_vector(&parser, mode, "8286 84be 5808 6e6f 2d63 6163 6865", ":method", in test_vectors()
116 test_vector(&parser, mode, in test_vectors()
126 test_vector(&parser, mode, in test_vectors()
132 test_vector(&parser, mode, "8286 84be 5886 a8eb 1064 9cbf", ":method", "GET", in test_vectors()
[all …]
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc198 vector<int> test_vector(a, a + GTEST_ARRAY_SIZE_(a)); in TEST() local
201 Explain(m, test_vector)); in TEST()
229 vector<std::string> test_vector; in TEST() local
230 test_vector.push_back("test string"); in TEST()
232 EXPECT_THAT(test_vector, ElementsAre(StrEq("test string"))); in TEST()
243 vector<std::string> test_vector; in TEST() local
244 test_vector.push_back("one"); in TEST()
245 test_vector.push_back("two"); in TEST()
246 test_vector.push_back("three"); in TEST()
248 EXPECT_THAT(test_vector, ElementsAre("one", StrEq("two"), _)); in TEST()
[all …]
Dgmock-matchers_test.cc2753 vector<int> test_vector{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; in TEST() local
2755 EXPECT_THAT(test_vector, in TEST()
2762 vector<string> test_vector{ in TEST() local
2765 EXPECT_THAT(test_vector, UnorderedElementsAre("literal_string", _, _, _, _, _, in TEST()
2771 vector<int> test_vector{2, 1, 8, 5, 4, 6, 7, 3, 9, 12, 11, 10}; in TEST() local
2773 EXPECT_THAT(test_vector, UnorderedElementsAre( in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-generated-matchers_test.cc338 vector<int> test_vector(a, a + GMOCK_ARRAY_SIZE_(a)); in TEST() local
341 Explain(m, test_vector)); in TEST()
369 vector<string> test_vector; in TEST() local
370 test_vector.push_back("test string"); in TEST()
372 EXPECT_THAT(test_vector, ElementsAre(StrEq("test string"))); in TEST()
383 vector<string> test_vector; in TEST() local
384 test_vector.push_back("one"); in TEST()
385 test_vector.push_back("two"); in TEST()
386 test_vector.push_back("three"); in TEST()
388 EXPECT_THAT(test_vector, ElementsAre("one", StrEq("two"), _)); in TEST()
[all …]
/external/grpc-grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc683 gsec_aead_crypter* crypter, gsec_aead_test_vector* test_vector) { in gsec_test_encrypt_decrypt_test_vector() argument
688 crypter, test_vector->plaintext_length, &ciphertext_and_tag_length, in gsec_test_encrypt_decrypt_test_vector()
693 crypter, test_vector->nonce, test_vector->nonce_length, test_vector->aad, in gsec_test_encrypt_decrypt_test_vector()
694 test_vector->aad_length, test_vector->plaintext, in gsec_test_encrypt_decrypt_test_vector()
695 test_vector->plaintext_length, ciphertext_and_tag_bytes, in gsec_test_encrypt_decrypt_test_vector()
700 GPR_ASSERT(memcmp(test_vector->ciphertext_and_tag, ciphertext_and_tag_bytes, in gsec_test_encrypt_decrypt_test_vector()
710 crypter, test_vector->nonce, test_vector->nonce_length, test_vector->aad, in gsec_test_encrypt_decrypt_test_vector()
711 test_vector->aad_length, test_vector->ciphertext_and_tag, in gsec_test_encrypt_decrypt_test_vector()
712 test_vector->ciphertext_and_tag_length, plaintext_bytes, plaintext_length, in gsec_test_encrypt_decrypt_test_vector()
715 GPR_ASSERT(memcmp(test_vector->plaintext, plaintext_bytes, in gsec_test_encrypt_decrypt_test_vector()
[all …]
/external/vixl/test/
Dtest-api.cc162 #define TEST_UINT(test_vector) \ in TEST() argument
163 for (unsigned i = 0; i < ARRAY_SIZE(test_vector); i++) { \ in TEST()
164 if (test_vector[i].is_uintn) { \ in TEST()
165 VIXL_CHECK(IsUintN(test_vector[i].n, test_vector[i].x)); \ in TEST()
167 VIXL_CHECK(!IsUintN(test_vector[i].n, test_vector[i].x)); \ in TEST()
171 #define TEST_INT(test_vector) \ in TEST() argument
172 for (unsigned i = 0; i < ARRAY_SIZE(test_vector); i++) { \ in TEST()
173 if (test_vector[i].is_intn) { \ in TEST()
174 VIXL_CHECK(IsIntN(test_vector[i].n, test_vector[i].x)); \ in TEST()
176 VIXL_CHECK(!IsIntN(test_vector[i].n, test_vector[i].x)); \ in TEST()
/external/libcxx/utils/google-benchmark/test/
Dbenchmark_test.cc50 std::vector<int>* test_vector = nullptr; variable
131 test_vector = new std::vector<int>(); in BM_SetupTeardown()
137 test_vector->push_back(i); in BM_SetupTeardown()
139 test_vector->pop_back(); in BM_SetupTeardown()
143 delete test_vector; in BM_SetupTeardown()
164 test_vector = new std::vector<int>(static_cast<size_t>(size)); in BM_ParallelMemset()
171 benchmark::DoNotOptimize(test_vector->at(i) = 1); in BM_ParallelMemset()
176 delete test_vector; in BM_ParallelMemset()
/external/google-benchmark/test/
Dbenchmark_test.cc50 std::vector<int>* test_vector = nullptr; variable
131 test_vector = new std::vector<int>(); in BM_SetupTeardown()
137 test_vector->push_back(i); in BM_SetupTeardown()
139 test_vector->pop_back(); in BM_SetupTeardown()
143 delete test_vector; in BM_SetupTeardown()
164 test_vector = new std::vector<int>(static_cast<size_t>(size)); in BM_ParallelMemset()
171 benchmark::DoNotOptimize(test_vector->at(i) = 1); in BM_ParallelMemset()
176 delete test_vector; in BM_ParallelMemset()
/external/clang/test/CodeGen/
Dppc64-align-struct.c168 struct test_vector { vector int x; }; argument
169 struct test_vector testva_vector (int x, ...) in testva_vector()
171 struct test_vector y; in testva_vector()
174 y = va_arg (ap, struct test_vector); in testva_vector()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtransfer_manager_test.cc104 std::vector<float> test_vector(1024 * 1024); in XLA_TEST_F() local
105 std::iota(test_vector.begin(), test_vector.end(), 0); in XLA_TEST_F()
106 Literal literal = LiteralUtil::CreateR1<float>(test_vector); in XLA_TEST_F()
117 LiteralTestUtil::ExpectR1Equal<float>(test_vector, result); in XLA_TEST_F()
/external/grpc-grpc/test/core/slice/
Dpercent_encoding_test.cc30 test_vector(raw, sizeof(raw) - 1, encoded, sizeof(encoded) - 1, dict)
37 static void test_vector(const char* raw, size_t raw_length, const char* encoded, in test_vector() function
/external/u-boot/drivers/video/exynos/
Dexynos_dp.c73 unsigned char test_vector; in exynos_dp_read_edid() local
122 &test_vector); in exynos_dp_read_edid()
123 if (test_vector & DPCD_TEST_EDID_READ) { in exynos_dp_read_edid()
152 &test_vector); in exynos_dp_read_edid()
153 if (test_vector & DPCD_TEST_EDID_READ) { in exynos_dp_read_edid()
/external/spirv-llvm/test/SPIRV/transcoding/
Drelationals.ll63 define spir_kernel void @test_vector(<2 x i32> addrspace(1)* nocapture %out, <2 x float> %f) #0 {
102 !6 = !{void (<2 x i32> addrspace(1)*, <2 x float>)* @test_vector, !1, !2, !7, !8, !5}
Drelationals_half.ll63 define spir_kernel void @test_vector(<2 x i16> addrspace(1)* nocapture %out, <2 x half> %f) #0 {
102 !6 = !{void (<2 x i16> addrspace(1)*, <2 x half>)* @test_vector, !1, !2, !7, !8, !5}