/third_party/mesa3d/src/mesa/main/ |
D | format_info.py | 32 elif fmat.has_channel('r'): 33 if fmat.has_channel('g'): 34 if fmat.has_channel('b'): 35 if fmat.has_channel('a'): 43 elif fmat.has_channel('l'): 44 if fmat.has_channel('a'): 48 elif fmat.has_channel('a') and fmat.num_channels() == 1: 50 elif fmat.has_channel('z'): 51 if fmat.has_channel('s'): 55 elif fmat.has_channel('s'): [all …]
|
D | format_fallback.py | 73 if not fmt.has_channel('r') or not fmt.has_channel('x'):
|
D | format_parser.py | 446 def has_channel(self, name): member in Format
|
/third_party/alsa-utils/alsamixer/ |
D | mixer_controls.c | 93 int (*has_channel)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t)) in has_any_control_channel() 95 return has_channel(elem, channels[0]) || in has_any_control_channel() 96 (channels[1] != SND_MIXER_SCHN_UNKNOWN && has_channel(elem, channels[1])); in has_any_control_channel() 223 bool has_channel[LAST_SUPPORTED_CHANNEL + 1]; in create_controls_for_elem() local 289 has_channel[supported_channels[i]] = in create_controls_for_elem() 292 has_ch0 = has_channel[control_channels[i][0]]; in create_controls_for_elem() 294 has_channel[control_channels[i][1]]; in create_controls_for_elem() 392 has_channel[supported_channels[i]] = in create_controls_for_elem() 395 has_ch0 = has_channel[control_channels[i][0]]; in create_controls_for_elem() 397 has_channel[control_channels[i][1]]; in create_controls_for_elem()
|
/third_party/mindspore/mindspore/explainer/explanation/_attribution/_perturbation/ |
D | ablation.py | 153 has_channel = num_channels is not None 156 if has_channel: 177 masks = masks if has_channel else np.squeeze(masks, axis=2)
|
/third_party/mesa3d/src/util/format/ |
D | u_format_parse.py | 320 def has_channel(self, id): member in Format 324 return self.colorspace == ZS and self.has_channel(0) 327 return self.colorspace == ZS and self.has_channel(1)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | p2p_supplicant.c | 3587 static enum chan_allowed has_channel(struct wpa_global *global, in has_channel() function 3675 res = has_channel(wpa_s->global, mode, op_class, adj_chan, in wpas_p2p_verify_80mhz() 3757 res = has_channel(wpa_s->global, mode, op_class, adj_chan, in wpas_p2p_verify_160mhz() 3816 res2 = res = has_channel(wpa_s->global, mode, op_class, channel, &flag); in wpas_p2p_verify_channel() 3820 res2 = has_channel(wpa_s->global, mode, op_class, channel - 4, in wpas_p2p_verify_channel() 3825 res2 = has_channel(wpa_s->global, mode, op_class, channel + 4, in wpas_p2p_verify_channel() 3831 res2 = has_channel(wpa_s->global, mode, op_class, in wpas_p2p_verify_channel() 3834 res2 = has_channel(wpa_s->global, mode, op_class, in wpas_p2p_verify_channel()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-mixer.c | 1836 bool has_channel; in element_probe_volume() local 1842 has_channel = snd_mixer_selem_has_playback_channel(me, alsa_channel_ids[p]) > 0; in element_probe_volume() 1844 has_channel = snd_mixer_selem_has_capture_channel(me, alsa_channel_ids[p]) > 0; in element_probe_volume() 1846 … e->masks[alsa_channel_ids[p]][e->n_channels-1] = has_channel ? PA_CHANNEL_POSITION_MASK(p) : 0; in element_probe_volume()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | p2p_supplicant.c | 3413 static int has_channel(struct wpa_global *global, in has_channel() function 3483 res = has_channel(wpa_s->global, mode, adj_chan, &flags); in wpas_p2p_verify_80mhz() 3543 res = has_channel(wpa_s->global, mode, adj_chan, &flags); in wpas_p2p_verify_160mhz() 3579 res2 = res = has_channel(wpa_s->global, mode, channel, &flag); in wpas_p2p_verify_channel() 3583 res2 = has_channel(wpa_s->global, mode, channel - 4, NULL); in wpas_p2p_verify_channel() 3587 res2 = has_channel(wpa_s->global, mode, channel + 4, NULL); in wpas_p2p_verify_channel()
|