Searched refs:ndev (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/ |
D | pipe_loader.h | 83 pipe_loader_probe(struct pipe_loader_device **devs, int ndev); 130 pipe_loader_release(struct pipe_loader_device **devs, int ndev); 177 pipe_loader_sw_probe(struct pipe_loader_device **devs, int ndev); 198 pipe_loader_drm_probe(struct pipe_loader_device **devs, int ndev);
|
D | pipe_loader.c | 60 pipe_loader_probe(struct pipe_loader_device **devs, int ndev) in pipe_loader_probe() argument 65 n += backends[i](&devs[n], MAX2(0, ndev - n)); in pipe_loader_probe() 71 pipe_loader_release(struct pipe_loader_device **devs, int ndev) in pipe_loader_release() argument 75 for (i = 0; i < ndev; i++) in pipe_loader_release()
|
D | pipe_loader_sw.c | 236 pipe_loader_sw_probe(struct pipe_loader_device **devs, int ndev) in pipe_loader_sw_probe() argument 240 if (i <= ndev) { in pipe_loader_sw_probe()
|
D | pipe_loader_drm.c | 210 pipe_loader_drm_probe(struct pipe_loader_device **devs, int ndev) in pipe_loader_drm_probe() argument 227 if (j < ndev) { in pipe_loader_drm_probe()
|
/third_party/libevdev/libevdev/ |
D | libevdev-uinput.c | 221 int ndev, i; in fetch_device_node() local 223 ndev = scandir(path, &namelist, is_event_device, alphasort); in fetch_device_node() 224 if (ndev <= 0) in fetch_device_node() 229 for (i = 0; i < ndev; i++) { in fetch_device_node() 249 int ndev, i; in fetch_syspath_and_devnode() local 262 ndev = scandir(SYS_INPUT_DIR, &namelist, is_input_device, alphasort); in fetch_syspath_and_devnode() 263 if (ndev <= 0) in fetch_syspath_and_devnode() 266 for (i = 0; i < ndev; i++) { in fetch_syspath_and_devnode() 317 for (i = 0; i < ndev; i++) in fetch_syspath_and_devnode()
|
/third_party/libinput/tools/ |
D | libinput-record.c | 1954 int ndev, selected_device; in select_device() local 1960 ndev = scandir("/dev/input", &namelist, is_event_node, versionsort); in select_device() 1961 if (ndev <= 0) in select_device() 1965 for (int i = 0; i < ndev; i++) { in select_device() 1991 for (int i = 0; i < ndev; i++) in select_device() 2020 int ndev; in all_devices() local 2024 ndev = scandir("/dev/input", &namelist, is_event_node, versionsort); in all_devices() 2025 if (ndev <= 0) in all_devices() 2028 devices = zalloc((ndev + 1)* sizeof *devices); /* NULL-terminated */ in all_devices() 2029 for (int i = 0; i < ndev; i++) { in all_devices()
|
/third_party/libinput/src/ |
D | quirks.c | 989 int ndev = -1; in parse_files() local 992 ndev = scandir(data_path, &namelist, is_data_file, versionsort); in parse_files() 993 if (ndev <= 0) { in parse_files() 1000 for (idx = 0; idx < ndev; idx++) { in parse_files() 1013 for (int i = 0; i < ndev; i++) in parse_files() 1017 return idx == ndev; in parse_files()
|
/third_party/libinput/test/ |
D | litest.c | 1484 int ndev; in litest_install_source_quirks() local 1486 ndev = scandir(LIBINPUT_QUIRKS_SRCDIR, in litest_install_source_quirks() 1490 litest_assert_int_ge(ndev, 0); in litest_install_source_quirks() 1492 for (int idx = 0; idx < ndev; idx++) { in litest_install_source_quirks()
|