Searched refs:test_data (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/brotli/dist/python/tests/
H A Dbro_test.py16 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 Ddecompress_test.py12 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 Dcompress_test.py16 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 Ddecompressor_test.py13 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...]
H A Dcompressor_test.py23 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...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dmesa-sha1_test.c38 } test_data[] = { local in function:main
47 for (i = 0; i < ARRAY_SIZE(test_data); i++) {
49 _mesa_sha1_compute(test_data[i].string, strlen(test_data[i].string),
55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) {
58 test_data[i].string, strlen(test_data[i].string),
59 test_data[i].sha1, buf);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dmesa-sha1_test.c38 } test_data[] = { local in function:main
47 for (i = 0; i < ARRAY_SIZE(test_data); i++) {
49 _mesa_sha1_compute(test_data[i].string, strlen(test_data[i].string),
55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) {
58 test_data[i].string, strlen(test_data[i].string),
59 test_data[i].sha1, buf);
/xsrc/external/mit/libXau/dist/
H A DAutest.c37 Xauth test_data; local in function:main
58 test_data.family = 0;
59 test_data.address_length = 0;
60 test_data.address = empty;
61 test_data.number_length = 0;
62 test_data.number = empty;
63 test_data.name_length = strlen (name);
64 test_data.name = name;
65 test_data.data_length = strlen (data);
66 test_data
[all...]
/xsrc/external/mit/xorg-server/dist/test/xi2/
H A Dprotocol-xigetclientpointer.c50 } test_data; variable in typeref:struct:__anonfa31ae2e0108
68 assert(rep->set == test_data.cp_is_set);
70 assert(rep->deviceid == test_data.dev->id);
79 test_data.win = req->win;
120 test_data.cp_is_set = FALSE;
132 test_data.dev = devices.vcp;
133 test_data.cp_is_set = TRUE;
141 test_data.dev = devices.vcp;
142 test_data.cp_is_set = TRUE;
H A Dprotocol-xigetselectedevents.c64 } test_data; variable in typeref:struct:__anon8ab6a96c0108
88 assert(rep->num_masks == test_data.num_masks_expected);
102 for (i = 0; i < test_data.num_masks_expected; i++) {
113 test_data.mask[mask->deviceid], mask->mask_len * 4) == 0);
160 test_data.num_masks_expected = 0;
167 memset(test_data.mask, 0, sizeof(test_data.mask));
176 test_data.num_masks_expected = min(j + 1, devices.num_devices + 2);
178 mask = test_data.mask[j];
199 test_data
[all...]
H A Dprotocol-xiquerypointer.c55 } test_data; variable in typeref:struct:__anon1a08a3450108
83 sprite = test_data.dev->spriteInfo->sprite;
87 if (test_data.win == &root) {
157 test_data.win = &root;
159 test_data.dev = devices.vcp;
169 test_data.dev = devices.mouse;
181 test_data.dev = devices.vcp;
182 test_data.win = &window;
186 test_data.dev = devices.mouse;
H A Dprotocol-xiqueryversion.c55 struct test_data { struct
70 struct test_data *versions = (struct test_data *) closure;
96 struct test_data *versions = (struct test_data *) closure;
115 struct test_data versions;
203 struct test_data versions;
H A Dprotocol-xiquerydevice.c55 struct test_data { struct
72 struct test_data *querydata = (struct test_data *) userdata;
98 struct test_data *querydata = (struct test_data *) closure;
282 request_XIQueryDevice(struct test_data *querydata, int deviceid, int error)
318 struct test_data data;
H A Dprotocol-xipassivegrabdevice.c53 static struct test_data { struct
/xsrc/external/mit/xorg-server.old/dist/test/xi2/
H A Dprotocol-xigetclientpointer.c48 } test_data; variable in typeref:struct:__anonb4efba9b0108
82 g_assert(rep->set == test_data.cp_is_set);
84 g_assert(rep->deviceid == test_data.dev->id);
92 test_data.win = req->win;
133 test_data.cp_is_set = FALSE;
145 test_data.dev = devices.vcp;
146 test_data.cp_is_set = TRUE;
154 test_data.dev = devices.vcp;
155 test_data.cp_is_set = TRUE;
H A Dprotocol-xigetselectedevents.c61 } test_data; variable in typeref:struct:__anon9d3643790108
103 g_assert(rep->num_masks == test_data.num_masks_expected);
115 for (i = 0; i < test_data.num_masks_expected; i++)
129 test_data.mask[mask->deviceid],
174 test_data.num_masks_expected = 0;
181 memset(test_data.mask, 0,
182 sizeof(test_data.mask));
192 test_data.num_masks_expected = min(j + 1, devices.num_devices + 2);
194 mask = test_data.mask[j];
218 test_data
[all...]
H A Dprotocol-xiquerypointer.c51 } test_data; variable in typeref:struct:__anon29df81320108
102 sprite = test_data.dev->spriteInfo->sprite;
106 if (test_data.win == &root)
175 test_data.win = &root;
177 test_data.dev = devices.vcp;
187 test_data.dev = devices.mouse;
200 test_data.dev = devices.vcp;
201 test_data.win = &window;
205 test_data.dev = devices.mouse;
H A Dprotocol-xiqueryversion.c53 struct test_data { struct
63 struct test_data *versions = (struct test_data*)userdata;
97 struct test_data versions;
H A Dprotocol-xiquerydevice.c52 struct test_data { struct
64 struct test_data *querydata = (struct test_data*)userdata;
92 struct test_data *querydata = (struct test_data*)userdata;
244 static void request_XIQueryDevice(struct test_data *querydata,
281 struct test_data data;

Completed in 12 milliseconds