/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderAdjacencyTests.cpp | 133 void GeometryShaderAdjacencyTests::configureTestDataLines(AdjacencyTestData& test_data, bool withGS, bool indiced) in configureTestDataLines() argument 158 test_data.m_gs_code = (withGS) ? gsCode : 0; in configureTestDataLines() 159 test_data.m_mode = GL_LINES_ADJACENCY_EXT; in configureTestDataLines() 160 test_data.m_tf_mode = GL_LINES; in configureTestDataLines() 162 createGrid(test_data); in configureTestDataLines() 166 setLinePointsindiced(test_data); in configureTestDataLines() 170 setLinePointsNonindiced(test_data); in configureTestDataLines() 181 void GeometryShaderAdjacencyTests::configureTestDataLineStrip(AdjacencyTestData& test_data, bool withGS, bool indiced) in configureTestDataLineStrip() argument 206 test_data.m_gs_code = (withGS) ? gsCode : 0; in configureTestDataLineStrip() 207 test_data in configureTestDataLineStrip() 229 configureTestDataTriangles(AdjacencyTestData& test_data, bool withGS, bool indiced) configureTestDataTriangles() argument 280 configureTestDataTriangleStrip(AdjacencyTestData& test_data, bool withGS, bool indiced) configureTestDataTriangleStrip() argument 329 createGrid(AdjacencyTestData& test_data) createGrid() argument 406 createGridLineSegments(AdjacencyTestData& test_data) createGridLineSegments() argument 522 createGridLineStrip(AdjacencyTestData& test_data) createGridLineStrip() argument 563 createGridTriangles(AdjacencyTestData& test_data) createGridTriangles() argument 607 createGridTriangleStrip(AdjacencyTestData& test_data) createGridTriangleStrip() argument 664 setLinePointsNonindiced(AdjacencyTestData& test_data) setLinePointsNonindiced() argument 748 setLinePointsindiced(AdjacencyTestData& test_data) setLinePointsindiced() argument 837 setLineStripPointsNonindiced(AdjacencyTestData& test_data) setLineStripPointsNonindiced() argument 910 setLineStripPointsIndiced(AdjacencyTestData& test_data) setLineStripPointsIndiced() argument 999 setTrianglePointsNonindiced(AdjacencyTestData& test_data) setTrianglePointsNonindiced() argument 1107 setTrianglePointsIndiced(AdjacencyTestData& test_data) setTrianglePointsIndiced() argument 1216 setTriangleStripPointsNonindiced(AdjacencyTestData& test_data) setTriangleStripPointsNonindiced() argument 1422 setTriangleStripPointsIndiced(AdjacencyTestData& test_data) setTriangleStripPointsIndiced() argument [all...] |
H A D | esextcGeometryShaderAdjacencyTests.hpp | 219 void configureTestDataLines(AdjacencyTestData& test_data, bool withGS = false, bool indiced = false); 220 void configureTestDataLineStrip(AdjacencyTestData& test_data, bool withGS = false, bool indiced = false); 221 void configureTestDataTriangles(AdjacencyTestData& test_data, bool withGS = false, bool indiced = false); 222 void configureTestDataTriangleStrip(AdjacencyTestData& test_data, bool withGS = false, bool indiced = false); 224 void createGrid(AdjacencyTestData& test_data); 225 void createGridLineSegments(AdjacencyTestData& test_data); 226 void createGridLineStrip(AdjacencyTestData& test_data); 227 void createGridTriangles(AdjacencyTestData& test_data); 228 void createGridTriangleStrip(AdjacencyTestData& test_data); 230 void setLinePointsNonindiced(AdjacencyTestData& test_data); [all...] |
/third_party/skia/third_party/externals/brotli/python/tests/ |
H A D | bro_test.py | 16 def _get_original_name(test_data): 17 return test_data.split('.compressed')[0] 22 def _check_decompression(self, test_data): 24 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 25 original = _get_original_name(test_data) 28 def _decompress_file(self, test_data): 29 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 30 args = BRO_ARGS + ['-f', '-d', '-i', test_data, '-o', temp_uncompressed] 33 def _decompress_pipe(self, test_data): 34 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) [all...] |
H A D | compressor_test.py | 23 def _check_decompression(self, test_data): 25 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 26 temp_compressed = _test_utils.get_temp_compressed_name(test_data) 27 original = test_data 33 def _test_single_process(self, test_data): 35 temp_compressed = _test_utils.get_temp_compressed_name(test_data) 37 with open(test_data, 'rb') as in_file: 40 self._check_decompression(test_data) 42 def _test_multiple_process(self, test_data): 44 temp_compressed = _test_utils.get_temp_compressed_name(test_data) [all...] |
H A D | decompress_test.py | 12 def _get_original_name(test_data): 13 return test_data.split('.compressed')[0] 18 def _check_decompression(self, test_data): 20 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 21 original = _get_original_name(test_data) 24 def _decompress(self, test_data): 25 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 27 with open(test_data, 'rb') as in_file: 30 def _test_decompress(self, test_data): 31 self._decompress(test_data) [all...] |
H A D | compress_test.py | 16 def _check_decompression(self, test_data, **kwargs): 19 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 20 temp_compressed = _test_utils.get_temp_compressed_name(test_data) 21 original = test_data 27 def _compress(self, test_data, **kwargs): 28 temp_compressed = _test_utils.get_temp_compressed_name(test_data) 30 with open(test_data, 'rb') as in_file: 33 def _test_compress(self, test_data, **kwargs): 34 self._compress(test_data, **kwargs) 35 self._check_decompression(test_data, **kwarg [all...] |
H A D | decompressor_test.py | 13 def _get_original_name(test_data): 14 return test_data.split('.compressed')[0] 27 def _check_decompression(self, test_data): 29 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 30 original = _get_original_name(test_data) 33 def _decompress(self, test_data): 34 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data) 36 with open(test_data, 'rb') as in_file: 42 def _test_decompress(self, test_data): 43 self._decompress(test_data) [all...] |
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate02.c | 72 } test_data[] = { variable 86 int TST_TOTAL = ARRAY_SIZE(test_data); 132 TEST(fallocate(*test_data[i].fd, test_data[i].mode, in fallocate_verify() 133 test_data[i].offset * BLOCK_SIZE, in fallocate_verify() 134 test_data[i].len * BLOCK_SIZE)); in fallocate_verify() 135 if (TEST_ERRNO != test_data[i].error) { in fallocate_verify() 143 "failed, expected errno:%d", test_data[i].fname, in fallocate_verify() 144 *test_data[i].fd, test_data[ in fallocate_verify() [all...] |
H A D | fallocate03.c | 50 * fallocate() in-puts are specified through test_data 119 } test_data[] = { variable 134 int TST_TOTAL = sizeof(test_data) / sizeof(test_data[0]); 242 (fd, test_data[test_index].mode, in main() 243 test_data[test_index].offset * block_size, in main() 244 test_data[test_index].len * block_size)); in main() 247 if (TEST_RETURN != test_data[test_index].error) { in main() 256 test_data[test_index].mode, in main() 257 test_data[test_inde in main() [all...] |
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
H A D | setregid04.c | 29 } test_data[] = { variable 67 TEST(SETREGID(*test_data[i].real_gid, *test_data[i].eff_gid)); in run() 71 *test_data[i].real_gid, *test_data[i].eff_gid); in run() 75 gid_verify(*test_data[i].exp_real_usr, *test_data[i].exp_eff_usr, in run() 76 test_data[i].test_msg); in run() 90 .tcnt = ARRAY_SIZE(test_data),
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-blob.c | 81 static const char test_data[] = "test\0data"; variable 154 data = test_data; in fixture_init() 155 len = sizeof (test_data); in fixture_init() 160 data = test_data; in fixture_init() 161 len = sizeof (test_data); in fixture_init() 166 data = malloc (sizeof (test_data)); in fixture_init() 167 memcpy ((char *) data, test_data, sizeof (test_data)); in fixture_init() 168 len = sizeof (test_data); in fixture_init() 179 memcpy ((char *) data, test_data, sizeo in fixture_init() [all...] |
H A D | hb-test.h | 212 gconstpointer test_data, in hb_test_add_data_func() 216 g_test_add_data_func (normal_path, test_data, test_func); in hb_test_add_data_func() 224 gconstpointer test_data, in hb_test_add_data_func_flavor() 228 hb_test_add_data_func (path, test_data, test_func); in hb_test_add_data_func_flavor() 237 gconstpointer test_data, in hb_test_add_vtable() 243 g_test_add_vtable (normal_path, data_size, test_data, data_setup, data_test, data_teardown); in hb_test_add_vtable() 265 gconstpointer test_data, in hb_test_add_vtable_flavor() 271 hb_test_add_vtable (path, data_size, test_data, data_setup, data_test, data_teardown); in hb_test_add_vtable_flavor() 211 hb_test_add_data_func(const char *test_path, gconstpointer test_data, hb_test_data_func_t test_func) hb_test_add_data_func() argument 222 hb_test_add_data_func_flavor(const char *test_path, const char *flavor, gconstpointer test_data, hb_test_data_func_t test_func) hb_test_add_data_func_flavor() argument 235 hb_test_add_vtable(const char *test_path, gsize data_size, gconstpointer test_data, hb_test_fixture_func_t data_setup, hb_test_fixture_func_t data_test, hb_test_fixture_func_t data_teardown) hb_test_add_vtable() argument 262 hb_test_add_vtable_flavor(const char *test_path, const char *flavor, gsize data_size, gconstpointer test_data, hb_test_fixture_func_t data_setup, hb_test_fixture_func_t data_test, hb_test_fixture_func_t data_teardown) hb_test_add_vtable_flavor() argument
|
H A D | test-font.c | 32 static const char test_data[] = "test\0data"; variable 63 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL); in test_face_create() 89 return hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL); in get_table() 112 g_assert_cmpint (len, ==, sizeof (test_data)); in test_face_createfortables() 113 g_assert (0 == memcmp (data, test_data, sizeof (test_data))); in test_face_createfortables() 160 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONL in _test_fontfuncs_nil() [all...] |
/third_party/curl/tests/unit/ |
H A D | unit2601.c | 89 static unsigned char test_data[32*1024]; variable 117 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq() 126 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq() 145 n = Curl_bufq_read(&q, test_data, rsize, &result); in check_bufq() 166 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq() 171 n = Curl_bufq_read(&q, test_data, rsize, &result); in check_bufq() 183 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq() 197 n = Curl_bufq_write(&q, test_data, wsize, &result); in check_bufq() 203 n = Curl_bufq_read(&q, test_data, rsize, &result); in check_bufq()
|
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | datum_type_parser_test.cc | 64 const auto& test_data = GetParam(); in TEST_P() local 67 auto type = tp.Parse(test_data.name); in TEST_P() 71 EXPECT_TRUE(AllCompsAreType(&fmt, test_data.type, test_data.num_bits)); in TEST_P() 72 EXPECT_EQ(test_data.column_count, type->ColumnCount()); in TEST_P() 73 EXPECT_EQ(test_data.row_count, type->RowCount()); in TEST_P() 157 auto test_data = GetParam(); in TEST_P() local 160 auto type = tp.Parse(test_data.name); in TEST_P() 162 ASSERT_TRUE(type != nullptr) << test_data.name; in TEST_P() 165 ASSERT_EQ(test_data in TEST_P() [all...] |
H A D | command_parser_test.cc | 1372 const auto& test_data = GetParam(); in TEST_P() local 1374 std::string data = "topology " + std::string(test_data.name); in TEST_P() 1381 EXPECT_EQ(test_data.value, cp.PipelineDataForTesting()->GetTopology()); in TEST_P() 1421 const auto& test_data = GetParam(); in TEST_P() local 1423 std::string data = std::string(test_data.name) + " 123"; in TEST_P() 1431 std::string("1: Invalid value for ") + test_data.name + " command: 123", in TEST_P() 1436 const auto& test_data = GetParam(); in TEST_P() local 1438 std::string data = test_data.name; in TEST_P() 1445 EXPECT_EQ(std::string("1: Missing value for ") + test_data.name + " command", in TEST_P() 1450 const auto& test_data in TEST_P() local 1465 const auto& test_data = GetParam(); TEST_P() local 1774 const auto& test_data = GetParam(); TEST_P() local 1788 const auto& test_data = GetParam(); TEST_P() local 1803 const auto& test_data = GetParam(); TEST_P() local 1840 const auto& test_data = GetParam(); TEST_P() local 1870 const auto& test_data = GetParam(); TEST_P() local 1905 const auto& test_data = GetParam(); TEST_P() local 1934 const auto& test_data = GetParam(); TEST_P() local 2041 const auto& test_data = GetParam(); TEST_P() local 2055 const auto& test_data = GetParam(); TEST_P() local 2068 const auto& test_data = GetParam(); TEST_P() local 2147 const auto& test_data = GetParam(); TEST_P() local 2210 const auto& test_data = GetParam(); TEST_P() local 2225 const auto& test_data = GetParam(); TEST_P() local 2240 const auto& test_data = GetParam(); TEST_P() local 2292 const auto& test_data = GetParam(); TEST_P() local 2383 const auto& test_data = GetParam(); TEST_P() local 2398 const auto& test_data = GetParam(); TEST_P() local 2413 const auto& test_data = GetParam(); TEST_P() local 2475 const auto& test_data = GetParam(); TEST_P() local 2517 const auto& test_data = GetParam(); TEST_P() local 2532 const auto& test_data = GetParam(); TEST_P() local 2547 const auto& test_data = GetParam(); TEST_P() local 2645 const auto& test_data = GetParam(); TEST_P() local 2690 const auto& test_data = GetParam(); TEST_P() local 2705 const auto& test_data = GetParam(); TEST_P() local 2720 const auto& test_data = GetParam(); TEST_P() local 2819 const auto& test_data = GetParam(); TEST_P() local 2833 const auto& test_data = GetParam(); TEST_P() local 2847 const auto& test_data = GetParam(); TEST_P() local 2874 const auto& test_data = GetParam(); TEST_P() local 4217 const auto& test_data = GetParam(); TEST_P() local [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | color_utils.c | 28 static const double test_data[] = { in main() local 36 for(j = 0; j < FF_ARRAY_ELEMS(test_data); j++) { in main() 38 double result = func(test_data[j]); in main() 40 i, test_data[j], result); in main()
|
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
H A D | parser_clear_depth_test.cc | 98 auto test_data = GetParam(); in TEST_P() local 113 test_data.data; in TEST_P() 117 ASSERT_FALSE(r.IsSuccess()) << test_data.data; in TEST_P() 118 EXPECT_EQ(std::string("13: ") + test_data.error, r.Error()) << test_data.data; in TEST_P()
|
H A D | parser_clear_stencil_test.cc | 98 auto test_data = GetParam(); in TEST_P() local 113 test_data.data; in TEST_P() 117 ASSERT_FALSE(r.IsSuccess()) << test_data.data; in TEST_P() 118 EXPECT_EQ(std::string("13: ") + test_data.error, r.Error()) << test_data.data; in TEST_P()
|
H A D | parser_clear_color_test.cc | 101 auto test_data = GetParam(); in TEST_P() local 116 test_data.data; in TEST_P() 120 ASSERT_FALSE(r.IsSuccess()) << test_data.data; in TEST_P() 121 EXPECT_EQ(std::string("13: ") + test_data.error, r.Error()) << test_data.data; in TEST_P()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | endian_test.cc | 28 uint8_t test_data[] = { in TestEndian() local 39 for (size_t i = 0; i < sizeof(test_data); ++i) { in TestEndian() 40 ba1->Put(i, test_data[i]); in TestEndian() 68 EXPECT_EQ(memcmp(os.Get(), test_data, sizeof(test_data)), 0); in TestEndian()
|
/third_party/skia/infra/bots/recipe_modules/run/ |
H A D | api.py | 54 def asset_version(self, asset_name, skia_dir, test_data=None): 57 If test_data is not specified, reads the property 62 if not test_data: 63 test_data = self.m.properties.get( 67 test_data=test_data).rstrip()
|
/third_party/musl/libc-test/src/functionalext/supplement/prng/ |
H A D | srand48.c | 30 struct srand48_data test_data[2] = { in srand48_0100() local 46 srand48(test_data[i].seed); in srand48_0100() 48 EXPECT_TRUE("srand48_0100", fabs(drand48() - test_data[i].value[j]) < 0.00000000001); in srand48_0100()
|
/third_party/python/Lib/test/ |
H A D | test_sax.py | 1370 self.test_data = StringIO() 1371 self.test_data.write('<?xml version="{}" encoding="{}"?>\n'. 1374 self.test_data.write('<!DOCTYPE {} [\n'. 1376 self.test_data.write('<!-- {} -->\n'. 1378 self.test_data.write('<!ELEMENT {} (to,from,heading,body,footer)>\n'. 1380 self.test_data.write('<!ELEMENT to (#PCDATA)>\n') 1381 self.test_data.write('<!ELEMENT from (#PCDATA)>\n') 1382 self.test_data.write('<!ELEMENT heading (#PCDATA)>\n') 1383 self.test_data.write('<!ELEMENT body (#PCDATA)>\n') 1384 self.test_data [all...] |
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/ |
H A D | tls_test_common.c | 77 len = strlen (test_data); in test_daemon_get() 126 if (memcmp (cbc.buf, test_data, len) != 0) in test_daemon_get() 182 response = MHD_create_response_from_buffer (strlen (test_data), in http_ahc() 183 (void *) test_data, in http_ahc() 323 len = strlen (test_data); in test_https_transfer() 345 if ( (len != strlen (test_data)) || in test_https_transfer() 347 test_data, in test_https_transfer()
|