Home
last modified time | relevance | path

Searched refs:test_device (Results 1 - 7 of 7) sorted by relevance

/third_party/backends/backend/
H A Dtest.c309 Test_Device *test_device = first_test_device; in check_handle() local
311 while (test_device) in check_handle()
313 if (test_device == (Test_Device *) handle) in check_handle()
315 test_device = test_device->next; in check_handle()
321 cleanup_options (Test_Device * test_device) in cleanup_options() argument
323 DBG (2, "cleanup_options: test_device=%p\n", (void *) test_device); in cleanup_options()
325 free(test_device->val[opt_mode].s); in cleanup_options()
326 test_device in cleanup_options()
353 init_options(Test_Device * test_device) init_options() argument
1280 cleanup_test_device(Test_Device * test_device) cleanup_test_device() argument
1436 reader_process(Test_Device * test_device, SANE_Int fd) reader_process() argument
1507 struct Test_Device *test_device = (struct Test_Device *) data; reader_task() local
1532 finish_pass(Test_Device * test_device) finish_pass() argument
1579 print_options(Test_Device * test_device) print_options() argument
1648 Test_Device *test_device, *previous_device; sane_init() local
1911 Test_Device *test_device, *previous_device; sane_exit() local
1964 Test_Device *test_device = first_test_device; sane_open() local
2030 Test_Device *test_device = handle; sane_close() local
2056 Test_Device *test_device = handle; sane_get_option_descriptor() local
2094 Test_Device *test_device = handle; sane_control_option() local
2620 Test_Device *test_device = handle; sane_get_parameters() local
2767 Test_Device *test_device = handle; sane_start() local
2873 Test_Device *test_device = handle; sane_read() local
3012 Test_Device *test_device = handle; sane_cancel() local
3051 Test_Device *test_device = handle; sane_set_io_mode() local
3096 Test_Device *test_device = handle; sane_get_select_fd() local
[all...]
H A Dtest-picture.c47 init_picture_buffer (Test_Device * test_device, SANE_Byte ** buffer, in init_picture_buffer() argument
54 SANE_Word bpl = test_device->bytes_per_line; in init_picture_buffer()
55 SANE_Word ppl = test_device->pixels_per_line; in init_picture_buffer()
59 if (test_device->val[opt_invert_endianess].w) in init_picture_buffer()
62 DBG (2, "(child) init_picture_buffer test_device=%p, buffer=%p, " in init_picture_buffer()
63 "buffer_size=%p\n",(void*)test_device,(void*)buffer,(void*)buffer_size); in init_picture_buffer()
65 if (strcmp (test_device->val[opt_test_picture].s, "Solid black") == 0 in init_picture_buffer()
66 || strcmp (test_device->val[opt_test_picture].s, "Solid white") == 0) in init_picture_buffer()
84 if (strcmp (test_device->val[opt_test_picture].s, "Solid black") == 0) in init_picture_buffer()
88 if (test_device in init_picture_buffer()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
H A Dtbase.c98 struct device test_device; variable
106 if (drv == &test_driver && dev == &test_device) { in test_device_match()
142 struct device test_device = { variable
170 .dev = &test_device,
469 if (bus_add_device(&test_device)) { in test_bus_add()
660 struct device *dev = &test_device; in test_dev_file()
866 device_register(&test_device); in tbase_init_module()
896 device_unregister(&test_device); in tbase_exit_module()
/third_party/ffmpeg/libavutil/tests/
H A Dhwdevice.c97 static int test_device(enum AVHWDeviceType type, const char *name, in test_device() function
167 err = test_device(type, name, NULL, NULL, 0); in test_device_type()
182 err = test_device(type, name, in test_device_type()
/third_party/eudev/test/
H A Dtest-libudev.c111 static int test_device(struct udev *udev, const char *syspath) { in test_device() function
466 test_device(udev, syspath); in main()
/third_party/libinput/test/
H A Dlitest.h48 struct test_device { struct
61 static const struct test_device _test_device \
H A Dlitest.c4792 extern const struct test_device __start_test_section, __stop_test_section;
4797 const struct test_device *t; in litest_init_test_devices()

Completed in 12 milliseconds