Home
last modified time | relevance | path

Searched refs:default_idx (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c277 int default_idx = -1; in device_select_find_explicit_default() local
281 return default_idx; in device_select_find_explicit_default()
286 default_idx = i; in device_select_find_explicit_default()
288 return default_idx; in device_select_find_explicit_default()
295 int default_idx = -1; in device_select_find_dri_prime_tag_default() local
304 default_idx = i; in device_select_find_dri_prime_tag_default()
308 return default_idx; in device_select_find_dri_prime_tag_default()
315 int default_idx = -1; in device_select_find_boot_vga_default() local
325 default_idx = i; in device_select_find_boot_vga_default()
329 if (default_idx != -1) in device_select_find_boot_vga_default()
[all …]
Ddevice_select_x11.c69 int default_idx = -1; in device_select_find_xcb_pci_default() local
107 default_idx = i; in device_select_find_xcb_pci_default()
112 default_idx = i; in device_select_find_xcb_pci_default()
114 if (default_idx != -1) in device_select_find_xcb_pci_default()
121 return default_idx; in device_select_find_xcb_pci_default()
Ddevice_select_wayland.c103 unsigned default_idx = -1; in device_select_find_wayland_pci_default() local
131 default_idx = i; in device_select_find_wayland_pci_default()
135 default_idx = i; in device_select_find_wayland_pci_default()
137 if (default_idx != -1) in device_select_find_wayland_pci_default()
147 return default_idx; in device_select_find_wayland_pci_default()
/third_party/mindspore/mindspore/core/ops/
Dsplit_v.cc45 auto default_idx = std::find(size_splits.begin(), size_splits.end(), -1); in InferShape() local
46 if (default_idx == size_splits.end()) { in InferShape()
56 (void)size_splits.erase(default_idx); in InferShape()
68 (void)size_splits.insert(default_idx, default_value); in InferShape()