| /openbsd-src/sys/dev/i2c/ |
| H A D | rs5c372.c | 246 uint8_t bcd[RICOHRTC_NRTC_REGS]; in ricohrtc_clock_read() local 252 &cmd, sizeof cmd, bcd, RICOHRTC_NRTC_REGS, I2C_F_POLL)) { in ricohrtc_clock_read() 263 dt->dt_sec = FROMBCD(bcd[RICOHRTC_SECONDS] & RICOHRTC_SECONDS_MASK); in ricohrtc_clock_read() 264 dt->dt_min = FROMBCD(bcd[RICOHRTC_MINUTES] & RICOHRTC_MINUTES_MASK); in ricohrtc_clock_read() 265 dt->dt_hour = FROMBCD(bcd[RICOHRTC_HOURS] & RICOHRTC_HOURS_24MASK); in ricohrtc_clock_read() 266 dt->dt_day = FROMBCD(bcd[RICOHRTC_DATE] & RICOHRTC_DATE_MASK); in ricohrtc_clock_read() 267 dt->dt_mon = FROMBCD(bcd[RICOHRTC_MONTH] & RICOHRTC_MONTH_MASK); in ricohrtc_clock_read() 268 dt->dt_year = FROMBCD(bcd[RICOHRTC_YEAR]) + POSIX_BASE_YEAR; in ricohrtc_clock_read() 275 uint8_t bcd[RICOHRTC_NRTC_REGS]; in ricohrtc_clock_write() local 282 bcd[RICOHRTC_SECONDS] = TOBCD(dt->dt_sec); in ricohrtc_clock_write() [all …]
|
| /openbsd-src/gnu/gcc/libdecnumber/ |
| H A D | decUtility.c | 235 uInt bcd; /* BCD result */ in decDenseUnpackCoeff() local 292 bcd = DPD2BCD[dpd]; /* convert 10 bits to 12 bits BCD */ in decDenseUnpackCoeff() 296 nibble = bcd & 0x000f; in decDenseUnpackCoeff() 312 nibble = bcd & 0x00f0; in decDenseUnpackCoeff() 327 nibble = bcd & 0x0f00; in decDenseUnpackCoeff()
|
| /openbsd-src/games/bcd/ |
| H A D | Makefile | 3 PROG= bcd 4 MAN= bcd.6
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
| H A D | scope0.c | 11 int autovars (int bcd, int abc); 82 autovars (int bcd, int abc) in autovars() argument 85 autovars (bcd, abc) in autovars() 86 int bcd; in autovars() 148 useit (abc); useit (bcd); 160 + i91 + i92 + i93 + i94 + i95 + i96 + i97 + i98 + i99 + abc + bcd;
|
| /openbsd-src/regress/usr.bin/sed/ |
| H A D | hanoi.expected | 8 :a : :bcd : 9 : :a :bcd :
|
| /openbsd-src/sys/arch/luna88k/stand/boot/ |
| H A D | getsecs.c | 47 bcdtobin(unsigned int bcd) in bcdtobin() argument 50 return (((bcd >> 4) & 0x0f) * 10 + (bcd & 0x0f)); in bcdtobin()
|
| /openbsd-src/gnu/usr.bin/perl/lib/Tie/ |
| H A D | SubstrHash.t | 13 $a{bcd} = 234; 21 is( $a{bcd}, 234 );
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | study.t | 64 ok(/bcd|xyz/); 65 ok(/xyz|bcd/);
|
| H A D | range.t | 24 ($a,@bcd[0..2],$e) = ('a','b','c','d','e'); 25 is(join(':',$a,@bcd[0..2],$e), 'a:b:c:d:e');
|
| H A D | substr.t | 625 is($_, 'bcd'); 659 is($_, 'bcd');
|
| H A D | tr.t | 731 is($_, '.bcd....ijklm.op'); 747 'abcdef' =~ /(bcd)/; 751 'abcdef' =~ /(bcd)/;
|
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | print-gtp.c | 391 u_int8_t *data, bcd; in gtp_print_tbcd() local 396 bcd = *data & 0xf; in gtp_print_tbcd() 397 if (bcd != 0xf) in gtp_print_tbcd() 398 printf("%u", bcd); in gtp_print_tbcd() 399 bcd = *data >> 4; in gtp_print_tbcd() 400 if (bcd != 0xf) in gtp_print_tbcd() 401 printf("%u", bcd); in gtp_print_tbcd()
|
| /openbsd-src/games/ |
| H A D | Makefile | 3 SUBDIR= adventure arithmetic atc backgammon banner battlestar bcd boggle \
|
| /openbsd-src/sys/dev/usb/ |
| H A D | usb_subr.c | 70 int usbd_printBCD(char *cp, size_t len, int bcd); 279 usbd_printBCD(char *cp, size_t len, int bcd) in usbd_printBCD() argument 283 l = snprintf(cp, len, "%x.%02x", bcd >> 8, bcd & 0xff); in usbd_printBCD()
|
| /openbsd-src/gnu/usr.bin/perl/t/re/ |
| H A D | pat.t | 113 ok /bcd|xyz/, qq [\$_ = '$_'; /bcd|xyz/]; 114 ok /xyz|bcd/, qq [\$_ = '$_'; /xyz|bcd/];
|
| H A D | re_tests | 226 ([abc])*bcd abcd y $&-$1 abcd-a 240 (a|b)c*d abcd y $&-$1 bcd-b 258 a[bcd]*dcdcde adcdcde y $& adcdcde 259 a[bcd]+dcdcde adcdcde n - - 425 '([abc])*bcd'i ABCD y $&-$1 ABCD-A 441 'a[bcd]*dcdcde'i ADCDCDE y $& ADCDCDE 442 'a[bcd]+dcdcde'i ADCDCDE n - - 646 ^[^bcd]*(c+) aexycd y $1 c 651 ^[^bcd]*(c+) aexycd y $1 c 1969 [bcd] [all...] |
| /openbsd-src/gnu/gcc/libcpp/ |
| H A D | ucnid.tab | 71 0ba3-0ba4 0ba8-0baa 0bae-0bb5 0bb7-0bb9 0bbe-0bc2 0bc6-0bc8 0bca-0bcd
|
| /openbsd-src/regress/lib/libc/regex/ |
| H A D | tests | 173 \(a\)\1bcd b aabcd aabcd
|