| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
| D | gss_store_cred.c | 50 OM_uint32 maj = GSS_S_FAILURE; in gss_store_cred() local 65 maj = gss_create_empty_oid_set(minor_status, elements_stored); in gss_store_cred() 66 if (maj != GSS_S_COMPLETE) in gss_store_cred() 67 return maj; in gss_store_cred() 80 maj = (m->gm_store_cred)(minor_status, mc->gmc_cred, in gss_store_cred() 83 if (maj == GSS_S_COMPLETE) { in gss_store_cred() 89 return maj; in gss_store_cred() 95 if (maj != GSS_S_COMPLETE) in gss_store_cred() 96 return maj; /* last failure */ in gss_store_cred()
|
| D | context.c | 112 _gss_mg_error(gssapi_mech_interface m, OM_uint32 maj, OM_uint32 min) in _gss_mg_error() argument 133 mg->maj_stat = maj; in _gss_mg_error() 137 maj, in _gss_mg_error() 159 gss_mg_collect_error(gss_OID mech, OM_uint32 maj, OM_uint32 min) in gss_mg_collect_error() argument 164 _gss_mg_error(m, maj, min); in gss_mg_collect_error()
|
| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_pack_dev.c | 85 #define makedev(maj,min) ((0xff00 & ((maj)<<8)) | (0xffff00ff & (min))) argument 92 #define apd_makedev(maj, min) makedev(ND_LOCAL_NODE, (maj), (min)) argument 95 #define apd_makedev(maj, min) makedev((maj), (min)) argument 98 #define apd_makedev(maj, min) mkdev((maj), (min)) argument 101 #define apd_makedev(maj, min) makedev((maj), (min)) argument
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | producer.c | 49 int maj, min; in producer_is_gcc() local 52 major = &maj; in producer_is_gcc() 104 int maj, min; in producer_is_gas() local 106 major = &maj; in producer_is_gas() 143 int maj, min; in producer_is_icc() local 145 major = &maj; in producer_is_icc() 181 int maj, min; in producer_is_clang() local 183 major = &maj; in producer_is_clang()
|
| /netbsd/src/external/bsd/tcpdump/dist/ |
| D | autogen.sh | 7 maj=`echo "$AUTORECONFVERSION" | cut -d. -f1` 10 if [ "$maj" = "" ] || [ "$min" = "" ] || \ 11 [ "$maj" -lt 2 ] || { [ "$maj" -eq 2 ] && [ "$min" -lt 69 ]; }; then
|
| /netbsd/src/external/bsd/libpcap/dist/ |
| D | autogen.sh | 7 maj=`echo "$AUTORECONFVERSION" | cut -d. -f1` 10 if [ "$maj" = "" ] || [ "$min" = "" ] || \ 11 [ "$maj" -lt 2 ] || { [ "$maj" -eq 2 ] && [ "$min" -lt 69 ]; }; then
|
| /netbsd/src/sys/arch/mac68k/dev/ |
| D | maccons.c | 75 int maj, unit; in maccnprobe() local 83 maj = cdevsw_lookup_major(&wsdisplay_cdevsw); in maccnprobe() 84 if (maj != -1) { in maccnprobe() 86 cp->cn_dev = makedev(maj, unit); in maccnprobe()
|
| D | ite_compat.c | 97 int maj; in iteattach() local 99 maj = cdevsw_lookup_major(&wsdisplay_cdevsw); in iteattach() 100 KASSERT(maj != -1); in iteattach() 102 if (maj != major(cn_tab->cn_dev)) in iteattach()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | issuid.c | 56 #define HAVE_GLIBC_API_VERSION_SUPPORT(maj, min) __GLIBC_PREREQ(maj, min) argument 58 #define HAVE_GLIBC_API_VERSION_SUPPORT(maj, min) \ argument 59 ((__GLIBC << 16) + GLIBC_MINOR >= ((maj) << 16) + (min))
|
| /netbsd/src/sys/arch/amigappc/amigappc/ |
| D | autoconf.c | 245 int i, maj, unit; in findroot() local 277 maj = bdevsw_lookup_major(bdp); in findroot() 278 if ((*bdp->d_open)(MAKEDISKDEV(maj, unit, RAW_PART), in findroot() 281 (*bdp->d_close)(MAKEDISKDEV(maj, unit, RAW_PART), in findroot() 347 maj = bdevsw_lookup_major(bdp); in findroot() 350 if ((*bdp->d_open)(MAKEDISKDEV(maj, in findroot() 353 (void)(*bdp->d_close)(MAKEDISKDEV(maj, in findroot()
|
| /netbsd/src/sys/arch/atari/atari/ |
| D | autoconf.c | 243 int i, maj, unit; in findroot() local 265 maj = devsw_name2blk(genericconf[i]->cd_name, NULL, 0); in findroot() 266 if (maj == -1) in findroot() 268 bdev = bdevsw_lookup(makedev(maj, 0)); in findroot() 278 if ((*bdev->d_open)(MAKEDISKDEV(maj, in findroot() 281 (void)(*bdev->d_close)(MAKEDISKDEV(maj, in findroot()
|
| /netbsd/src/external/bsd/openpam/dist/include/security/ |
| D | openpam_attr.h | 8 # define OPENPAM_GNUC_PREREQ(maj, min) \ argument 9 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) 11 # define OPENPAM_GNUC_PREREQ(maj, min) 0 argument
|
| /netbsd/src/sys/arch/amiga/amiga/ |
| D | autoconf.c | 405 int i, maj, unit; in findroot() local 437 maj = bdevsw_lookup_major(bdp); in findroot() 438 if ((*bdp->d_open)(MAKEDISKDEV(maj, unit, RAW_PART), in findroot() 441 (*bdp->d_close)(MAKEDISKDEV(maj, unit, RAW_PART), in findroot() 507 maj = bdevsw_lookup_major(bdp); in findroot() 510 if ((*bdp->d_open)(MAKEDISKDEV(maj, unit, RAW_PART), in findroot() 513 (void)(*bdp->d_close)(MAKEDISKDEV(maj, unit, RAW_PART), in findroot()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/ |
| D | test_add_store_cred.c | 52 OM_uint32 maj; in print_gss_err() local 58 maj = gss_display_status(&min, stat, status_type, mech, &msg_ctx, in print_gss_err() 60 if (maj != GSS_S_COMPLETE) { in print_gss_err() 63 (unsigned long)stat, (unsigned long)maj, in print_gss_err()
|
| /netbsd/src/external/gpl2/xcvs/dist/lib/ |
| D | md5.h | 36 # define __GNUC_PREREQ(maj, min) \ argument 37 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) 39 # define __GNUC_PREREQ(maj, min) 0 argument
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | refclock_bancomm.c | 588 struct tm maj; in tvme_fill() local 595 gmtime_r(&dmaj, &maj); in tvme_fill() 596 time_vme->day = maj.tm_yday+1; in tvme_fill() 597 time_vme->hr = maj.tm_hour; in tvme_fill() 598 time_vme->mn = maj.tm_min; in tvme_fill() 599 time_vme->sec = maj.tm_sec; in tvme_fill()
|
| /netbsd/src/sys/arch/sparc64/dev/ |
| D | consinit.c | 88 int maj; in prom_cnprobe() local 91 maj = cdevsw_lookup_major(&pcons_cdevsw); in prom_cnprobe() 92 cd->cn_dev = makedev(maj, 0); in prom_cnprobe()
|
| /netbsd/src/sys/dev/arcbios/ |
| D | arcbios.c | 73 int maj; in arcbios_init() local 93 maj = cdevsw_lookup_major(&arcbios_cdevsw); in arcbios_init() 95 arcbios_cn.cn_dev = makedev(maj, 0); in arcbios_init()
|
| /netbsd/src/sys/dev/ic/ |
| D | joy.c | 142 int maj, mn; in joydetach() local 144 maj = cdevsw_lookup_major(&joy_cdevsw); in joydetach() 146 vdevgone(maj, mn, mn, VCHR); in joydetach() 147 vdevgone(maj, mn + 1, mn + 1, VCHR); in joydetach()
|
| /netbsd/src/sys/arch/hpcsh/dev/hd64465/ |
| D | hd64465uart.c | 95 int maj; in hd64465uartcnprobe() local 98 maj = cdevsw_lookup_major(&com_cdevsw); in hd64465uartcnprobe() 101 cp->cn_dev = makedev(maj, 0); in hd64465uartcnprobe()
|
| /netbsd/src/sys/arch/hpcsh/dev/hd64461/ |
| D | hd64461uart.c | 103 int maj; in hd64461uartcnprobe() local 106 maj = cdevsw_lookup_major(&com_cdevsw); in hd64461uartcnprobe() 109 cp->cn_dev = makedev(maj, 0); in hd64461uartcnprobe()
|
| /netbsd/src/external/bsd/elftosb/dist/common/ |
| D | Version.h | 31 version_t(uint16_t maj, uint16_t min, uint16_t rev) in version_t() 32 : m_major(maj), m_pad0(0), m_minor(min), m_pad1(0), m_revision(rev), m_pad2(0) in version_t()
|
| /netbsd/src/sys/dev/mvme/ |
| D | clmpcc_pcctwo.c | 231 int maj; in clmpcccnprobe() local 246 maj = cdevsw_lookup_major(&clmpcc_cdevsw); in clmpcccnprobe() 249 cp->cn_dev = makedev(maj, 0); in clmpcccnprobe()
|
| /netbsd/src/sys/dev/ |
| D | radio.c | 194 int maj, mn; in radiodetach() local 197 maj = cdevsw_lookup_major(&radio_cdevsw); in radiodetach() 201 vdevgone(maj, mn, mn, VCHR); in radiodetach()
|
| /netbsd/src/sys/dev/hpc/ |
| D | biconsdev.c | 118 int maj; in biconsdevattach() local 121 maj = cdevsw_lookup_major(&biconsdev_cdevsw); in biconsdevattach() 132 tp->t_dev = makedev(maj, 0); in biconsdevattach()
|