Home
last modified time | relevance | path

Searched refs:test_data (Results 1 – 25 of 147) sorted by relevance

123456

/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacencyTests.cpp133 void GeometryShaderAdjacencyTests::configureTestDataLines(AdjacencyTestData& test_data, bool withGS… 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 wi… in configureTestDataLineStrip() argument
206 test_data.m_gs_code = (withGS) ? gsCode : 0; in configureTestDataLineStrip()
207 test_data.m_mode = GL_LINE_STRIP_ADJACENCY_EXT; in configureTestDataLineStrip()
[all …]
DesextcGeometryShaderAdjacencyTests.hpp219 …void configureTestDataLines(AdjacencyTestData& test_data, bool withGS = false, bool indiced = fals…
220 …void configureTestDataLineStrip(AdjacencyTestData& test_data, bool withGS = false, bool indiced = …
221 …void configureTestDataTriangles(AdjacencyTestData& test_data, bool withGS = false, bool indiced = …
222 …void configureTestDataTriangleStrip(AdjacencyTestData& test_data, bool withGS = false, bool indice…
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 …]
/external/brotli/python/tests/
Dbro_test.py16 def _get_original_name(test_data): argument
17 return test_data.split('.compressed')[0]
22 def _check_decompression(self, test_data): argument
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): argument
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): argument
34 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data)
[all …]
Dcompressor_test.py23 def _check_decompression(self, test_data): argument
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): argument
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): argument
44 temp_compressed = _test_utils.get_temp_compressed_name(test_data)
[all …]
Ddecompress_test.py12 def _get_original_name(test_data): argument
13 return test_data.split('.compressed')[0]
18 def _check_decompression(self, test_data): argument
20 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data)
21 original = _get_original_name(test_data)
24 def _decompress(self, test_data): argument
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): argument
31 self._decompress(test_data)
[all …]
Ddecompressor_test.py13 def _get_original_name(test_data): argument
14 return test_data.split('.compressed')[0]
27 def _check_decompression(self, test_data): argument
29 temp_uncompressed = _test_utils.get_temp_uncompressed_name(test_data)
30 original = _get_original_name(test_data)
33 def _decompress(self, test_data): argument
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): argument
43 self._decompress(test_data)
[all …]
Dcompress_test.py16 def _check_decompression(self, test_data, **kwargs): argument
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): argument
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): argument
34 self._compress(test_data, **kwargs)
35 self._check_decompression(test_data, **kwargs)
/external/u-boot/drivers/video/rockchip/
Drk_mipi.c173 unsigned char *test_data, unsigned char size) in rk_mipi_phy_write() argument
187 rk_mipi_dsi_write(regs, PHY_TESTDIN, test_data[i]); in rk_mipi_phy_write()
209 unsigned char test_data[2] = {0}; in rk_mipi_phy_enable() local
233 test_data[0] = 0x80 | (ddr_clk / (200 * MHz)) << 3 | 0x3; in rk_mipi_phy_enable()
234 rk_mipi_phy_write(regs, CODE_PLL_VCORANGE_VCOCAP, test_data, 1); in rk_mipi_phy_enable()
236 test_data[0] = 0x8; in rk_mipi_phy_enable()
237 rk_mipi_phy_write(regs, CODE_PLL_CPCTRL, test_data, 1); in rk_mipi_phy_enable()
239 test_data[0] = 0x80 | 0x40; in rk_mipi_phy_enable()
240 rk_mipi_phy_write(regs, CODE_PLL_LPF_CP, test_data, 1); in rk_mipi_phy_enable()
251 test_data[0] = freq_rang[i][1] << 1; in rk_mipi_phy_enable()
[all …]
/external/autotest/client/common_lib/
Dmail_unittest.py6 class test_data: class
18 test_data.mail_host = host
19 test_data.mail_port = port
21 if test_data.mail_host:
22 self.connect(test_data.mail_host, test_data.mail_port)
26 test_data.mail_connect = True
30 test_data.mail_connect = False
34 test_data.mail_from_address = from_address
35 test_data.mail_to_address = to_address
36 test_data.mail_message = message
[all …]
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate02.c71 } test_data[] = { variable
85 int TST_TOTAL = ARRAY_SIZE(test_data);
131 TEST(fallocate(*test_data[i].fd, test_data[i].mode, in fallocate_verify()
132 test_data[i].offset * BLOCK_SIZE, in fallocate_verify()
133 test_data[i].len * BLOCK_SIZE)); in fallocate_verify()
134 if (TEST_ERRNO != test_data[i].error) { in fallocate_verify()
142 "failed, expected errno:%d", test_data[i].fname, in fallocate_verify()
143 *test_data[i].fd, test_data[i].mode, in fallocate_verify()
144 test_data[i].offset * BLOCK_SIZE, in fallocate_verify()
145 test_data[i].len * BLOCK_SIZE, test_data[i].error); in fallocate_verify()
[all …]
Dfallocate03.c119 } 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_index].offset * in main()
259 test_data[test_index].len * in main()
266 test_data[test_index].mode, in main()
[all …]
/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid02.c95 } test_data[] = { variable
104 int TST_TOTAL = sizeof(test_data) / sizeof(test_data[0]);
138 TEST(SETRESUID(NULL, *test_data[i].real_uid, in main()
139 *test_data[i].eff_uid, in main()
140 *test_data[i].sav_uid)); in main()
145 *test_data[i].real_uid, in main()
146 *test_data[i].eff_uid, in main()
147 *test_data[i].sav_uid); in main()
151 *test_data[i].real_uid, in main()
152 *test_data[i].eff_uid, in main()
[all …]
Dsetresuid03.c102 } test_data[] = { variable
112 int TST_TOTAL = sizeof(test_data) / sizeof(test_data[0]);
147 TEST(SETRESUID(NULL, *test_data[i].real_uid, in main()
148 *test_data[i].eff_uid, in main()
149 *test_data[i].sav_uid)); in main()
152 test_data[i].exp_errno) { in main()
155 *test_data[i].real_uid, in main()
156 *test_data[i].eff_uid, in main()
157 *test_data[i].sav_uid); in main()
161 *test_data[i].real_uid, in main()
[all …]
Dsetresuid01.c93 } test_data[] = { variable
114 int TST_TOTAL = sizeof(test_data) / sizeof(test_data[0]);
138 TEST(SETRESUID(cleanup, *test_data[i].real_uid, in main()
139 *test_data[i].eff_uid, in main()
140 *test_data[i].sav_uid)); in main()
144 *test_data[i].real_uid, in main()
145 *test_data[i].eff_uid, in main()
146 *test_data[i].sav_uid); in main()
148 uid_verify(test_data[i].exp_real_usr, in main()
149 test_data[i].exp_eff_usr, in main()
[all …]
/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid03.c56 } test_data[] = { variable
87 int TST_TOTAL = ARRAY_SIZE(test_data);
109 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
110 *test_data[i].eff_uid)); in main()
112 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
119 *test_data[i].real_uid, in main()
120 *test_data[i].eff_uid); in main()
125 *test_data[i].real_uid, in main()
126 *test_data[i].eff_uid); in main()
130 *test_data[i].real_uid, in main()
[all …]
Dsetreuid05.c49 } test_data[] = { variable
79 int TST_TOTAL = ARRAY_SIZE(test_data);
105 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
106 *test_data[i].eff_uid)); in main()
108 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
115 *test_data in main()
117 *test_data in main()
124 *test_data[i].real_uid, in main()
125 *test_data[i].eff_uid); in main()
130 *test_data[i].real_uid, in main()
[all …]
Dsetreuid04.c51 } test_data[] = { variable
57 int TST_TOTAL = ARRAY_SIZE(test_data);
83 TEST(SETREUID(cleanup, *test_data[i].real_uid, in main()
84 *test_data[i].eff_uid)); in main()
89 *test_data[i].real_uid, in main()
90 *test_data[i].eff_uid); in main()
94 *test_data[i].real_uid, in main()
95 *test_data[i].eff_uid); in main()
98 uid_verify(test_data[i].exp_real_usr, in main()
99 test_data[i].exp_eff_usr, in main()
[all …]
/external/mesa3d/src/util/
Dmesa-sha1_test.c38 } test_data[] = { in main() local
47 for (i = 0; i < ARRAY_SIZE(test_data); i++) { in main()
49 _mesa_sha1_compute(test_data[i].string, strlen(test_data[i].string), in main()
55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) { in main()
58 test_data[i].string, strlen(test_data[i].string), in main()
59 test_data[i].sha1, buf); in main()
/external/libchrome/base/test/
Dgtest_util.cc42 TestIdentifier test_data; in GetCompiledInTests() local
43 test_data.test_case_name = test_case->name(); in GetCompiledInTests()
44 test_data.test_name = test_info->name(); in GetCompiledInTests()
45 test_data.file = test_info->file(); in GetCompiledInTests()
46 test_data.line = test_info->line(); in GetCompiledInTests()
47 tests.push_back(test_data); in GetCompiledInTests()
90 TestIdentifier test_data; in ReadTestNamesFromFile() local
92 if (!test->GetStringASCII("test_case_name", &test_data.test_case_name)) in ReadTestNamesFromFile()
95 if (!test->GetStringASCII("test_name", &test_data.test_name)) in ReadTestNamesFromFile()
98 if (!test->GetStringASCII("file", &test_data.file)) in ReadTestNamesFromFile()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec_unittest.cpp20 static const std::vector<pdfium::NullTermWstrFuncTestData> test_data = { in TEST() local
50 for (const auto& data : test_data) { in TEST()
62 static const pdfium::NullTermWstrFuncTestData test_data = { in TEST() local
74 auto str_obj = pdfium::MakeUnique<CPDF_String>(nullptr, test_data.input); in TEST()
76 EXPECT_STREQ(test_data.expected, file_spec.GetFileName().c_str()); in TEST()
80 static const pdfium::NullTermWstrFuncTestData test_data[] = { in TEST() local
103 static_assert(FX_ArraySize(test_data) == FX_ArraySize(keywords), in TEST()
109 dict_obj->SetNewFor<CPDF_String>(keywords[i], test_data[i].input); in TEST()
110 EXPECT_STREQ(test_data[i].expected, file_spec.GetFileName().c_str()); in TEST()
116 EXPECT_STREQ(test_data[4].input, file_spec.GetFileName().c_str()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io_test.cc240 std::vector<uint8> test_data = { in TEST() local
243 string test_string(test_data.begin(), test_data.end()); in TEST()
263 std::vector<uint8> test_data = { in TEST() local
266 string test_string(test_data.begin(), test_data.end()); in TEST()
283 std::vector<uint8> test_data = {0x00, 0x05, 0xff, 0x80}; in TEST() local
284 string test_string(test_data.begin(), test_data.end()); in TEST()
309 std::vector<uint8> test_data = {0x00, 0x05, 0xff, 0x80}; in TEST() local
310 string test_string(test_data.begin(), test_data.end()); in TEST()
335 std::vector<uint8> test_data = { in TEST() local
342 string test_string(test_data.begin(), test_data.end()); in TEST()
[all …]
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c30 } test_data[] = { variable
69 TEST(SETREGID(*test_data[i].real_gid, *test_data[i].eff_gid)); in run()
73 *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()
89 .tcnt = ARRAY_SIZE(test_data),
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator_unittest.cpp69 std::vector<uint8_t> test_data(kTestDataSize); in TEST() local
70 auto file = pdfium::MakeRetain<CFX_MemoryStream>(test_data.data(), in TEST()
71 test_data.size(), false); in TEST()
93 std::vector<uint8_t> test_data(kTestDataSize); in TEST() local
94 auto file = pdfium::MakeRetain<CFX_MemoryStream>(test_data.data(), in TEST()
95 test_data.size(), false); in TEST()
149 std::vector<uint8_t> test_data(kTestDataSize); in TEST() local
150 auto file = pdfium::MakeRetain<CFX_MemoryStream>(test_data.data(), in TEST()
151 test_data.size(), false); in TEST()
168 std::vector<uint8_t> test_data(kTestDataSize); in TEST() local
[all …]
Dfpdf_parser_decode_unittest.cpp11 pdfium::DecodeTestData test_data[] = { in TEST() local
29 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST()
30 pdfium::DecodeTestData* ptr = &test_data[i]; in TEST()
46 pdfium::DecodeTestData test_data[] = { in TEST() local
64 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST()
65 pdfium::DecodeTestData* ptr = &test_data[i]; in TEST()
85 } test_data[] = { in TEST() local
100 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST()
101 const auto& test_case = test_data[i]; in TEST()
/external/autotest/cli/
Dcompose_query29 test_data = frontend.get_matrix_data(db, options.x_axis, options.y_axis, where) variable
32 widest_row_header = max([len(y) for y in test_data.y_values])
33 data_column_width = max([max(13,len(x)) for x in test_data.x_values])
34 column_widths = [widest_row_header] + [data_column_width] * len(test_data.x_values)
37 print format % tuple([''] + test_data.x_values)
40 for y in test_data.y_values:
42 for x in test_data.x_values:
44 data_point = test_data.data[x][y]

123456