Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 25 of 168) sorted by relevance

1234567

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dquote.py52 for i in range(ord("A"), ord("Z") + 1):
54 for i in range(ord("a"), ord("z") + 1):
56 for i in range(ord("0"), ord("9") + 1):
59 chars[ord(' ')] |= PRINTABLE
60 chars[ord('+')] |= PRINTABLE
61 chars[ord(',')] |= PRINTABLE
62 chars[ord('-')] |= PRINTABLE
63 chars[ord('.')] |= PRINTABLE
64 chars[ord('/')] |= PRINTABLE
65 chars[ord(':')] |= PRINTABLE
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Doacc-init.c220 acc_dev_num_out_of_range (acc_device_t d, int ord, int ndevs) in acc_dev_num_out_of_range() argument
225 gomp_fatal ("device %u out of range", ord); in acc_dev_num_out_of_range()
500 goacc_attach_host_thread_to_device (int ord) in goacc_attach_host_thread_to_device() argument
506 if (thr && thr->dev && (thr->dev->target_id == ord || ord < 0)) in goacc_attach_host_thread_to_device()
509 if (ord < 0) in goacc_attach_host_thread_to_device()
510 ord = goacc_device_num; in goacc_attach_host_thread_to_device()
524 if (num_devices <= 0 || ord >= num_devices) in goacc_attach_host_thread_to_device()
525 acc_dev_num_out_of_range (acc_device_type (base_dev->type), ord, in goacc_attach_host_thread_to_device()
532 thr->dev = acc_dev = &base_dev[ord]; in goacc_attach_host_thread_to_device()
541 = acc_dev->openacc.create_thread_data_func (ord); in goacc_attach_host_thread_to_device()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Doacc-init.c220 acc_dev_num_out_of_range (acc_device_t d, int ord, int ndevs) in acc_dev_num_out_of_range() argument
225 gomp_fatal ("device %u out of range", ord); in acc_dev_num_out_of_range()
500 goacc_attach_host_thread_to_device (int ord) in goacc_attach_host_thread_to_device() argument
506 if (thr && thr->dev && (thr->dev->target_id == ord || ord < 0)) in goacc_attach_host_thread_to_device()
509 if (ord < 0) in goacc_attach_host_thread_to_device()
510 ord = goacc_device_num; in goacc_attach_host_thread_to_device()
524 if (num_devices <= 0 || ord >= num_devices) in goacc_attach_host_thread_to_device()
525 acc_dev_num_out_of_range (acc_device_type (base_dev->type), ord, in goacc_attach_host_thread_to_device()
532 thr->dev = acc_dev = &base_dev[ord]; in goacc_attach_host_thread_to_device()
541 = acc_dev->openacc.create_thread_data_func (ord); in goacc_attach_host_thread_to_device()
[all …]
/netbsd-src/sys/dev/ic/
H A Duda1341.c348 mi->un.e.member[0].ord = 0; in uda1341_query_devinfo()
352 mi->un.e.member[1].ord = 1; in uda1341_query_devinfo()
356 mi->un.e.member[2].ord = 3; in uda1341_query_devinfo()
370 mi->un.e.member[0].ord = 0; in uda1341_query_devinfo()
374 mi->un.e.member[1].ord = 1; in uda1341_query_devinfo()
387 mi->un.e.member[0].ord = 0; in uda1341_query_devinfo()
391 mi->un.e.member[1].ord = 1; in uda1341_query_devinfo()
404 mi->un.e.member[0].ord = 0; in uda1341_query_devinfo()
408 mi->un.e.member[1].ord = 1; in uda1341_query_devinfo()
412 mi->un.e.member[2].ord = 2; in uda1341_query_devinfo()
[all …]
H A Dam7930.c532 if (cp->un.ord != AUDIOAMD_MIC_VOL) in am7930_set_port()
536 sc->sc_mic_mute = cp->un.ord; in am7930_set_port()
539 if (cp->un.ord != AUDIOAMD_SPEAKER_VOL && in am7930_set_port()
540 cp->un.ord != AUDIOAMD_HEADPHONES_VOL) in am7930_set_port()
542 sc->sc_out_port = cp->un.ord; in am7930_set_port()
580 cp->un.ord = AUDIOAMD_MIC_VOL; in am7930_get_port()
583 cp->un.ord = sc->sc_mic_mute; in am7930_get_port()
586 cp->un.ord = sc->sc_out_port; in am7930_get_port()
646 dip->un.e.member[0].ord = AUDIOAMD_MIC_VOL; in am7930_query_devinfo()
655 dip->un.e.member[0].ord = AUDIOAMD_SPEAKER_VOL; in am7930_query_devinfo()
[all …]
/netbsd-src/sys/dev/isa/
H A Daria.c1118 if (cp->un.ord>=0 && cp->un.ord<=6) { in aria_mixer_set_port()
1119 sc->aria_mix_source = cp->un.ord; in aria_mixer_set_port()
1125 if (cp->un.ord == 0 || cp->un.ord == 1) { in aria_mixer_set_port()
1126 sc->aria_mix[ARIAMIX_MIC_LVL].mute =cp->un.ord; in aria_mixer_set_port()
1132 if (cp->un.ord == 0 || cp->un.ord == 1) { in aria_mixer_set_port()
1134 cp->un.ord; in aria_mixer_set_port()
1140 if (cp->un.ord == 0 || cp->un.ord == 1) { in aria_mixer_set_port()
1141 sc->aria_mix[ARIAMIX_CD_LVL].mute = cp->un.ord; in aria_mixer_set_port()
1147 if (cp->un.ord == 0 || cp->un.ord == 1) { in aria_mixer_set_port()
1148 sc->aria_mix[ARIAMIX_DAC_LVL].mute =cp->un.ord; in aria_mixer_set_port()
[all …]
H A Dym.c571 DVNAME(sc), cp->dev, cp->type, cp->un.ord, in ym_mixer_set_port()
593 sc->master_mute = (cp->un.ord != 0); in ym_mixer_set_port()
607 sc->sc_eqmode = cp->un.ord & SA3_SYS_CTL_YMODE; in ym_mixer_set_port()
626 if ((unsigned) cp->un.ord > YM_POWER_NOSAVE) in ym_mixer_set_port()
629 sc->sc_pow_mode = cp->un.ord; in ym_mixer_set_port()
648 if (cp->un.ord) { in ym_mixer_set_port()
673 cp->un.ord == 0); in ym_mixer_set_port()
687 sc->mic_mute = (cp->un.ord != 0); in ym_mixer_set_port()
742 cp->un.ord = sc->master_mute; in ym_mixer_get_port()
752 cp->un.ord = sc->sc_eqmode; in ym_mixer_get_port()
[all …]
/netbsd-src/sys/arch/arm/sunxi/
H A Dsun50i_a64_acodec.c305 if (mc->un.ord < 0 || mc->un.ord > 1) in a64_acodec_set_port()
307 if (mc->un.ord) { in a64_acodec_set_port()
315 if (mc->un.ord < 0 || mc->un.ord > 1) in a64_acodec_set_port()
317 if (mc->un.ord) { in a64_acodec_set_port()
325 if (mc->un.ord < 0 || mc->un.ord > 1) in a64_acodec_set_port()
327 if (mc->un.ord) { in a64_acodec_set_port()
393 mc->un.ord = !!(a64_acodec_pr_read(sc, A64_MIC1_CTRL) & A64_MIC1AMPEN); in a64_acodec_get_port()
397 mc->un.ord = !!(a64_acodec_pr_read(sc, A64_MIC2_CTRL) & A64_MIC2AMPEN); in a64_acodec_get_port()
401 mc->un.ord = 1; in a64_acodec_get_port()
403 mc->un.ord = 0; in a64_acodec_get_port()
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/
H A Dord.cgs1 # cr16 testcase for ord $imm32, regp
8 .global ord
9 ord:
13 ord (r4,r3), (r6,r5)
/netbsd-src/external/bsd/less/dist/
H A Dmkhelp.py31 if ((ord(ch) >= ord(' ')) and (ord(ch) < 0x7f)):
34 print("0x%02x," % ord(ch), end='')
/netbsd-src/sys/arch/sgimips/mace/
H A Dmavb.c346 value |= ((mc->un.ord << AD1843_LSS_SHIFT) & AD1843_LSS_MASK); in mavb_set_port()
347 value |= ((mc->un.ord << AD1843_RSS_SHIFT) & AD1843_RSS_MASK); in mavb_set_port()
373 if (mc->un.ord == 0) in mavb_set_port()
412 if (mc->un.ord == 0) in mavb_set_port()
421 if (mc->un.ord == 0) in mavb_set_port()
430 if (mc->un.ord == 0) in mavb_set_port()
439 if (mc->un.ord == 0) in mavb_set_port()
468 mc->un.ord = (value & AD1843_LSS_MASK) >> AD1843_LSS_SHIFT; in mavb_get_port()
491 mc->un.ord = (value & AD1843_LDA1GM) ? 1 : 0; in mavb_get_port()
525 mc->un.ord = (value & AD1843_LD2MM) ? 1 : 0; in mavb_get_port()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
H A Dorder_statistics_imp.hpp108 size_type ord = 0; in order_of_prefix() local
123 ord + 1 : ord; in order_of_prefix()
134 ord += child_nd_it.get_metadata(); in order_of_prefix()
144 return ord; in order_of_prefix()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
H A Dorder_statistics_imp.hpp108 size_type ord = 0; in order_of_prefix() local
123 ord + 1 : ord; in order_of_prefix()
134 ord += child_nd_it.get_metadata(); in order_of_prefix()
144 return ord; in order_of_prefix()
/netbsd-src/usr.bin/aiomixer/
H A Ddraw.c106 draw_enum(control, value.un.ord, selected, aio->use_colour); in draw_control()
162 draw_enum(struct aiomixer_control *control, int ord, in draw_enum() argument
171 if (ord == e->member[i].ord && selected) { in draw_enum()
178 if (ord == e->member[i].ord) { in draw_enum()
188 if (ord == control->info.un.e.member[i].ord) { in draw_enum()
195 if (ord == e->member[i].ord && selected) { in draw_enum()
H A Dmain.c176 if (info->un.e.member[i].ord == value.un.ord) { in slide_control()
182 value.un.ord = cur_index < (info->un.e.num_mem - 1) ? in slide_control()
183 info->un.e.member[cur_index + 1].ord : in slide_control()
184 info->un.e.member[0].ord; in slide_control()
186 value.un.ord = cur_index > 0 ? in slide_control()
187 info->un.e.member[cur_index - 1].ord : in slide_control()
188 info->un.e.member[control->info.un.e.num_mem - 1].ord; in slide_control()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/tree_policy/
H A Dorder_statistics_imp.hpp85 size_type ord = 0; in order_of_key() local
94 ord += (l_it == end_it)? 1 : 1 + l_it.get_metadata(); in order_of_key()
99 ord += (l_it == end_it)? 0 : l_it.get_metadata(); in order_of_key()
103 return ord; in order_of_key()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/tree_policy/
H A Dorder_statistics_imp.hpp85 size_type ord = 0; in order_of_key() local
94 ord += (l_it == end_it)? 1 : 1 + l_it.get_metadata(); in order_of_key()
99 ord += (l_it == end_it)? 0 : l_it.get_metadata(); in order_of_key()
103 return ord; in order_of_key()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/plugin/
H A Dplugin-nvptx.c286 int ord; member
410 ptx_dev->ord = n; in nvptx_open_device()
1207 GOMP_OFFLOAD_load_image (int ord, unsigned version, const void *target_data, in GOMP_OFFLOAD_load_image() argument
1228 if (!nvptx_attach_host_thread_to_device (ord) in GOMP_OFFLOAD_load_image()
1232 dev = ptx_devices[ord]; in GOMP_OFFLOAD_load_image()
1302 GOMP_OFFLOAD_unload_image (int ord, unsigned version, const void *target_data) in GOMP_OFFLOAD_unload_image() argument
1305 struct ptx_device *dev = ptx_devices[ord]; in GOMP_OFFLOAD_unload_image()
1332 GOMP_OFFLOAD_alloc (int ord, size_t size) in GOMP_OFFLOAD_alloc() argument
1334 if (!nvptx_attach_host_thread_to_device (ord)) in GOMP_OFFLOAD_alloc()
1337 struct ptx_device *ptx_dev = ptx_devices[ord]; in GOMP_OFFLOAD_alloc()
[all …]
/netbsd-src/sys/dev/pci/
H A Deso.c985 sc->sc_spatializer = (cp->un.ord != 0); in eso_set_port()
1002 sc->sc_mvmute = (cp->un.ord != 0); in eso_set_port()
1027 error = eso_set_monooutsrc(sc, cp->un.ord); in eso_set_port()
1036 error = (eso_set_monoinbypass(sc, cp->un.ord)); in eso_set_port()
1045 sc->sc_recmon = (cp->un.ord != 0); in eso_set_port()
1061 error = eso_set_recsrc(sc, cp->un.ord); in eso_set_port()
1070 error = eso_set_preamp(sc, cp->un.ord); in eso_set_port()
1143 cp->un.ord = sc->sc_recmon; in eso_get_port()
1147 cp->un.ord = sc->sc_recsrc; in eso_get_port()
1151 cp->un.ord = sc->sc_monooutsrc; in eso_get_port()
[all …]
H A Dcmpci.c759 dip->un.e.member[0].ord = 0; in cmpci_query_devinfo()
761 dip->un.e.member[1].ord = 1; in cmpci_query_devinfo()
808 dip->un.e.member[0].ord = CMPCI_PLAYBACK_MODE_WAVE; in cmpci_query_devinfo()
810 dip->un.e.member[1].ord = CMPCI_PLAYBACK_MODE_SPDIF; in cmpci_query_devinfo()
819 dip->un.e.member[i++].ord = CMPCI_SPDIF_IN_SPDIN1; in cmpci_query_devinfo()
822 dip->un.e.member[i++].ord = CMPCI_SPDIF_IN_SPDIN2; in cmpci_query_devinfo()
825 dip->un.e.member[i++].ord = CMPCI_SPDIF_IN_SPDOUT; in cmpci_query_devinfo()
835 dip->un.e.member[0].ord = CMPCI_SPDIF_IN_PHASE_POSITIVE; in cmpci_query_devinfo()
837 dip->un.e.member[1].ord = CMPCI_SPDIF_IN_PHASE_NEGATIVE; in cmpci_query_devinfo()
846 dip->un.e.member[0].ord = CMPCI_SPDIF_LOOP_OFF; in cmpci_query_devinfo()
[all …]
H A Dsv.c941 dip->un.e.member[0].ord = 0; in sv_query_devinfo()
943 dip->un.e.member[1].ord = 1; in sv_query_devinfo()
961 dip->un.e.member[i].ord = record_sources[i].idx; in sv_query_devinfo()
991 dip->un.e.member[0].ord = 0; in sv_query_devinfo()
993 dip->un.e.member[1].ord = 1; in sv_query_devinfo()
1022 if (cp->un.ord) in sv_mixer_set_port()
1030 if (cp->un.ord) in sv_mixer_set_port()
1093 if (record_sources[idx].idx == cp->un.ord) in sv_mixer_set_port()
1103 reg |= (((cp->un.ord) << SV_REC_SOURCE_SHIFT) & SV_REC_SOURCE_MASK); in sv_mixer_set_port()
1108 reg |= (((cp->un.ord) << SV_REC_SOURCE_SHIFT) & SV_REC_SOURCE_MASK); in sv_mixer_set_port()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgomp/plugin/
H A Dplugin-nvptx.c300 int ord; member
432 ptx_dev->ord = n; in nvptx_open_device()
1267 GOMP_OFFLOAD_load_image (int ord, unsigned version, const void *target_data, in GOMP_OFFLOAD_load_image() argument
1288 if (!nvptx_attach_host_thread_to_device (ord) in GOMP_OFFLOAD_load_image()
1292 dev = ptx_devices[ord]; in GOMP_OFFLOAD_load_image()
1380 GOMP_OFFLOAD_unload_image (int ord, unsigned version, const void *target_data) in GOMP_OFFLOAD_unload_image() argument
1383 struct ptx_device *dev = ptx_devices[ord]; in GOMP_OFFLOAD_unload_image()
1410 GOMP_OFFLOAD_alloc (int ord, size_t size) in GOMP_OFFLOAD_alloc() argument
1412 if (!nvptx_attach_host_thread_to_device (ord)) in GOMP_OFFLOAD_alloc()
1415 struct ptx_device *ptx_dev = ptx_devices[ord]; in GOMP_OFFLOAD_alloc()
[all …]
/netbsd-src/sys/arch/hppa/gsc/
H A Dharmony.c666 sc->sc_outputgain = cp->un.ord ? 1 : 0; in harmony_set_port()
682 if (cp->un.ord != HARMONY_IN_LINE && in harmony_set_port()
683 cp->un.ord != HARMONY_IN_MIC) in harmony_set_port()
685 sc->sc_in_port = cp->un.ord; in harmony_set_port()
692 if (cp->un.ord != HARMONY_OUT_LINE && in harmony_set_port()
693 cp->un.ord != HARMONY_OUT_SPEAKER && in harmony_set_port()
694 cp->un.ord != HARMONY_OUT_HEADPHONE) in harmony_set_port()
696 sc->sc_out_port = cp->un.ord; in harmony_set_port()
732 cp->un.ord = sc->sc_ov ? 1 : 0; in harmony_get_port()
753 cp->un.ord = sc->sc_outputgain ? 1 : 0; in harmony_get_port()
[all …]
/netbsd-src/usr.bin/mixerctl/
H A Dmixerctl.c97 if (p->infp->un.e.member[i].ord == m->un.ord) in prfield()
164 m->un.ord = p->infp->un.e.member[i].ord; in rdfield()
226 m->un.ord += inc; in incfield()
227 if (m->un.ord < 0) in incfield()
228 m->un.ord = p->infp->un.e.num_mem - 1; in incfield()
229 if (m->un.ord >= p->infp->un.e.num_mem) in incfield()
230 m->un.ord = 0; in incfield()
/netbsd-src/external/bsd/unbound/dist/libunbound/python/
H A Dlibunbound.i73 def ord(s):
76 return builtins.ord(s)
706 return ';'.join([' '.join(map(lambda x:"%02X" % ord(x),a)) for a in self.data])
726 complen = ord(s[idx])
744 …return [(256*ord(rdf[0])+ord(rdf[1]),'.'.join([a for a in self.dname2str(rdf,2)])) for rdf in self…
753 …return [(256*ord(rdf[0])+ord(rdf[1]),'.'.join([encodings.idna.ToUnicode(a) for a in self.dname2str…
762 return ['.'.join(map(lambda x:str(ord(x)),a)) for a in self.data]

1234567