Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 25 of 186) sorted by relevance

12345678

/netbsd-src/usr.bin/tip/
H A Dcu.c55 int parity = 0; /* 0 is no parity */ in cumain() local
66 { "parity", required_argument, NULL, 'P' }, in cumain()
112 parity = -1; in cumain()
115 parity = 1; in cumain()
118 errx(3, "bad parity setting"); in cumain()
120 parity = 0; in cumain()
151 if (parity != 0) in cumain()
152 errx(3, "more than one parity specified"); in cumain()
153 parity in cumain()
[all...]
H A Dtip.c617 const char *parity; in setparity() local
625 parity = value(PARITY); in setparity()
626 if (strcmp(parity, "none") == 0) { in setparity()
634 if (strcmp(parity, "odd") == 0) in setparity()
636 else if (strcmp(parity, "zero") == 0) in setparity()
638 else if (strcmp(parity, "one") == 0) in setparity()
640 else if (strcmp(parity, "even") != 0) { in setparity()
641 (void)fprintf(stderr, "%s: unknown parity value\r\n", parity); in setparity()
/netbsd-src/sys/dev/microcode/aic7xxx/
H A Daicasm_insformat.h52 parity : 1; member
54 uint32_t parity : 1,
70 parity : 1; member
72 uint32_t parity : 1,
87 parity : 1; member
89 uint32_t parity : 1,
/netbsd-src/external/bsd/ekermit/dist/
H A Dmain.c97 int parity = 0; /* Parity */ variable
269 case 's': parity = x; break; /* Space */ in doarg()
270 case 'n': parity = 0; break; /* None */ in doarg()
299 parity = P_PARITY; /* Set this to desired parity */ in main()
340 k.parity = parity; /* Communications parity */ in main()
H A Dkermit.c525 debug(DB_CHR,"Parity",0,k->parity); in kermit()
1026 if (!k->parity) /* They want it */ in spar()
1027 k->parity = 1; /* Set parity to something nonzero */ in spar()
1029 } else if (s[7] == 'Y' && k->parity) { in spar()
1128 if ((k->ebq == 'Y') && (k->parity)) /* 8th-bit prefix */ in rpar()
1207 if (k->parity && (a == k->ebq)) { /* Have 8th-bit prefix? */ in decode()
/netbsd-src/external/bsd/ntp/dist/html/hints/
H A Dchanges4 - Made Linux ignore parity errors with CLOCK_RAWDCF.
9 - Made Linux ignore parity errors.
13 - Made Linux ignore parity errors.
/netbsd-src/usr.sbin/memswitch/
H A Dmethods.c432 int baud, bit, parity, stop, flow; local
472 parity = q - parities;
512 (parity << 12) +
686 char bit, parity, flow; in print_serial() local
704 parity = parities[(v & 0x3000) >> 12]; in print_serial()
707 sprintf(str, "%s,%c,%c,%s,%c", baud, bit, parity, stop, flow); in print_serial()
/netbsd-src/sys/dev/ic/
H A Daic7xxxvar.h89 parity : 1; member
91 uint32_t parity : 1,
107 parity : 1; member
109 uint32_t parity : 1,
124 parity : 1; member
126 uint32_t parity : 1,
H A Dbhareg.h412 parity :1, member
416 parity :1,
/netbsd-src/sys/arch/amiga/dev/
H A Dkbd.c366 * Output a raw byte to the keyboard (+ parity and stop bit).
372 u_int8_t parity; in drkbdrputc() local
376 parity = 0; in drkbdrputc()
383 ++parity; in drkbdrputc()
390 /* parity bit */ in drkbdrputc()
391 if (parity & 1) { in drkbdrputc()
/netbsd-src/usr.sbin/sysinst/
H A Dmsg.pm.en39 message raid0 {0 - No parity, simple striping.}
40 message raid1 {1 - Mirroring. The parity is the mirror.}
41 message raid4 {4 - Striping with parity stored on the last component.}
42 message raid5 {5 - Striping with distributed parity.}
/netbsd-src/sys/arch/ia64/ia64/
H A Dconsinit.c192 switch (ent->parity) { in pcdp_cninit()
207 ent->parity); in pcdp_cninit()
/netbsd-src/sys/arch/arm/ti/
H A Domap2_nand.c503 uint16_t parity, offset; in omap2_nand_ecc_correct() local
519 parity = xor >> 16; in omap2_nand_ecc_correct()
520 bit = (parity & 0x07); in omap2_nand_ecc_correct()
521 offset = (parity >> 3) & 0x01ff; in omap2_nand_ecc_correct()
/netbsd-src/sys/net/
H A Dtoeplitz.c101 parity(uint16_t n16) in parity() function
121 if (parity(seed) == 0) in stoeplitz_random_seed()
/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Dn_pow_ui.c510 int parity; in mpz_n_pow_ui() local
513 ULONG_PARITY (parity, e); in mpz_n_pow_ui()
514 if (((parity ^ i) & 1) != 0) in mpz_n_pow_ui()
/netbsd-src/external/lgpl3/gmp/dist/tests/
H A DMakefile.in137 t-modlinv$(EXEEXT) t-popc$(EXEEXT) t-parity$(EXEEXT) \
178 t_parity_SOURCES = t-parity.c
179 t_parity_OBJECTS = t-parity.$(OBJEXT)
225 t-modlinv.c t-parity.c t-popc.c t-sub.c
228 t-modlinv.c t-parity.c t-popc.c t-sub.c
783 t-parity$(EXEEXT): $(t_parity_OBJECTS) $(t_parity_DEPENDENCIES) $(EXTRA_t_parity_DEPENDENCIES)
784 @rm -f t-parity$(EXEEXT)
1098 t-parity.log: t-parity$(EXEEXT)
H A DMakefile.am39 t-modlinv t-popc t-parity t-sub
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DDES_random_key.pod111 consists of 8 bytes with odd parity. The least significant bit in
112 each byte is the parity bit. The key schedule is an expanded form of
125 DES_set_key_checked() will check that the key passed is of odd parity
126 and is not a weak or semi-weak key. If the parity is wrong, then -1
133 DES_set_odd_parity() sets the parity of the passed I<key> to odd.
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DDES_random_key.pod103 consists of 8 bytes with odd parity. The least significant bit in
104 each byte is the parity bit. The key schedule is an expanded form of
117 DES_set_key_checked() will check that the key passed is of odd parity
118 and is not a weak or semi-weak key. If the parity is wrong, then -1
128 DES_set_odd_parity() sets the parity of the passed I<key> to odd.
/netbsd-src/external/bsd/jemalloc/dist/test/src/
H A DSFMT.c115 static uint32_t parity[4] = {PARITY1, PARITY2, PARITY3, PARITY4}; variable
390 inner ^= psfmt32[idxof(i)] & parity[i]; in period_certification()
402 if ((work & parity[i]) != 0) { in period_certification()
/netbsd-src/sys/arch/ia64/include/
H A Ddig64.h58 uint8_t parity; member
/netbsd-src/sys/arch/hppa/include/
H A Dpdc.h335 #define PZL_ENCODE(bits, parity, speed) \ argument
336 (((bits) - 5) & 0x03) | (((parity) & 0x3) << 3) | \
/netbsd-src/sys/dev/raidframe/
H A Drf_parityscan.c341 int parity) in rf_TryToRedirectPDA() argument
351 if (parity) { in rf_TryToRedirectPDA()
/netbsd-src/crypto/external/bsd/openssl/lib/libdes/
H A Ddes.pod121 consists of 8 bytes with odd parity. The least significant bit in
122 each byte is the parity bit. The key schedule is an expanded form of
136 des_set_key_checked() will check that the key passed is of odd parity
137 and is not a week or semi-weak key. If the parity is wrong, then -1
148 library) sets the parity of the passed I<key> to odd.
/netbsd-src/crypto/external/bsd/openssl.old/lib/libdes/
H A Ddes.pod121 consists of 8 bytes with odd parity. The least significant bit in
122 each byte is the parity bit. The key schedule is an expanded form of
136 des_set_key_checked() will check that the key passed is of odd parity
137 and is not a week or semi-weak key. If the parity is wrong, then -1
148 library) sets the parity of the passed I<key> to odd.

12345678