Home
last modified time | relevance | path

Searched refs:bcd (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/sys/dev/iicbus/rtc/
H A Drx8803.c103 struct bcd_clocktime bcd; in rx8803_gettime() local
117 bcd.nsec = 0; in rx8803_gettime()
124 bcd.year = data.year; in rx8803_gettime()
136 struct bcd_clocktime bcd; in rx8803_settime() local
147 data.sec = bcd.sec; in rx8803_settime()
148 data.min = bcd.min; in rx8803_settime()
149 data.hour = bcd.hour; in rx8803_settime()
150 data.dow = 1 << bcd.dow; in rx8803_settime()
151 data.day = bcd.day; in rx8803_settime()
152 data.mon = bcd.mon; in rx8803_settime()
[all …]
/freebsd-13.1/contrib/netbsd-tests/lib/libc/regex/data/att/
H A Drepetition.dat108 # "ab" then "a" then "bcd".
113 :HA#260:E (a|ab|c|bcd){0,}(d*) ababcd (0,6)(3,6)(6,6)
114 :HA#261:E (a|ab|c|bcd){1,}(d*) ababcd (0,6)(3,6)(6,6)
117 :HA#264:E (a|ab|c|bcd){4,}(d*) ababcd NOMATCH
122 :HA#269:E (a|ab|c|bcd){4,10}(d*) ababcd NOMATCH
123 :HA#270:E (a|ab|c|bcd)*(d*) ababcd (0,6)(3,6)(6,6)
124 :HA#271:E (a|ab|c|bcd)+(d*) ababcd (0,6)(3,6)(6,6)
133 :HA#284:E (ab|a|c|bcd){4,}(d*) ababcd NOMATCH
138 :HA#289:E (ab|a|c|bcd){4,10}(d*) ababcd NOMATCH
139 :HA#290:E (ab|a|c|bcd)*(d*) ababcd (0,6)(3,6)(6,6)
[all …]
H A Dforcedassoc.dat3 E (a|ab)(c|bcd) abcd (0,4)(0,1)(1,4)
4 E (a|ab)(bcd|c) abcd (0,4)(0,1)(1,4)
5 E (ab|a)(c|bcd) abcd (0,4)(0,1)(1,4)
6 E (ab|a)(bcd|c) abcd (0,4)(0,1)(1,4)
7 E ((a|ab)(c|bcd))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
8 E ((a|ab)(bcd|c))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
9 E ((ab|a)(c|bcd))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
10 E ((ab|a)(bcd|c))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
11 E (a|ab)((c|bcd)(d*)) abcd (0,4)(0,2)(2,4)(2,3)(3,4)
12 E (a|ab)((bcd|c)(d*)) abcd (0,4)(0,2)(2,4)(2,3)(3,4)
[all …]
H A Drightassoc.dat3 E (a|ab)(c|bcd)(d*) abcd (0,4)(0,2)(2,3)(3,4)
4 E (a|ab)(bcd|c)(d*) abcd (0,4)(0,2)(2,3)(3,4)
5 E (ab|a)(c|bcd)(d*) abcd (0,4)(0,2)(2,3)(3,4)
6 E (ab|a)(bcd|c)(d*) abcd (0,4)(0,2)(2,3)(3,4)
13 E (a|ab)(c|bcd)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
14 E (a|ab)(bcd|c)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
15 E (ab|a)(c|bcd)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
16 E (ab|a)(bcd|c)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
H A Dleftassoc.dat3 E (a|ab)(c|bcd)(d*) abcd (0,4)(0,1)(1,4)(4,4)
4 E (a|ab)(bcd|c)(d*) abcd (0,4)(0,1)(1,4)(4,4)
5 E (ab|a)(c|bcd)(d*) abcd (0,4)(0,1)(1,4)(4,4)
6 E (ab|a)(bcd|c)(d*) abcd (0,4)(0,1)(1,4)(4,4)
13 E (a|ab)(c|bcd)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
14 E (a|ab)(bcd|c)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
15 E (ab|a)(c|bcd)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
16 E (ab|a)(bcd|c)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
H A Dbasic.dat136 E ([abc])*bcd abcd (0,4)(0,1)
151 E a[bcd]*dcdcde adcdcde (0,7)
/freebsd-13.1/sys/dev/iicbus/
H A Ds35390a.c299 uint8_t bcd[S390_RT1_NBYTES]; in s390rtc_gettime() local
314 bct.sec = bcd[S390_RT1_SECOND]; in s390rtc_gettime()
317 bct.day = bcd[S390_RT1_DAY]; in s390rtc_gettime()
319 bct.mon = bcd[S390_RT1_MONTH]; in s390rtc_gettime()
320 bct.year = bcd[S390_RT1_YEAR]; in s390rtc_gettime()
329 uint8_t bcd[S390_RT1_NBYTES]; in s390rtc_settime() local
339 bcd[S390_RT1_SECOND] = bct.sec; in s390rtc_settime()
340 bcd[S390_RT1_MINUTE] = bct.min; in s390rtc_settime()
342 bcd[S390_RT1_DAY] = bct.day; in s390rtc_settime()
343 bcd[S390_RT1_WDAY] = bct.dow; in s390rtc_settime()
[all …]
/freebsd-13.1/sys/sys/
H A Dlibkern.h59 bcd2bin(int bcd) in bcd2bin() argument
62 KASSERT(bcd >= 0 && bcd < LIBKERN_LEN_BCD2BIN, in bcd2bin()
63 ("invalid bcd %d", bcd)); in bcd2bin()
64 return (bcd2bin_data[bcd]); in bcd2bin()
86 validbcd(int bcd) in validbcd() argument
89 return (bcd == 0 || (bcd > 0 && bcd <= 0x99 && bcd2bin_data[bcd] != 0)); in validbcd()
/freebsd-13.1/stand/userboot/userboot/
H A Duserboot_disk.c194 struct bcache_devdata bcd; in userdisk_strategy() local
198 bcd.dv_strategy = userdisk_realstrategy; in userdisk_strategy()
199 bcd.dv_devdata = devdata; in userdisk_strategy()
200 bcd.dv_cache = ud_info[dev->dd.d_unit].ud_bcache; in userdisk_strategy()
201 return (bcache_strategy(&bcd, rw, dblk + dev->d_offset, in userdisk_strategy()
/freebsd-13.1/usr.bin/sed/tests/
H A Dregress.hanoi.out8 :a : :bcd :
9 : :a :bcd :
/freebsd-13.1/stand/libsa/
H A Dstand.h373 #define bcd2bin(bcd) (bcd2bin_data[bcd]) argument
376 #define validbcd(bcd) (bcd == 0 || (bcd > 0 && bcd <= 0x99 && bcd2bin_data[bcd] != 0)) argument
H A DMakefile16 SRCS+= gzguts.h zutil.h __main.c abort.c assert.c bcd.c environment.c \
/freebsd-13.1/sys/dev/usb/
H A Dusb_util.c159 usb_printbcd(char *p, uint16_t p_len, uint16_t bcd) in usb_printbcd() argument
161 if (snprintf(p, p_len, "%x.%02x", bcd >> 8, bcd & 0xff)) { in usb_printbcd()
H A Dusb_util.h36 void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd);
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c68 static inline uint8_t bcd2bin(uint8_t bcd) in bcd2bin() argument
70 return (bcd >> 4) * 10 + (bcd & 0xf); in bcd2bin()
/freebsd-13.1/sys/powerpc/powernv/
H A Dopal_dev.c240 bcd2bin32(int bcd) in bcd2bin32() argument
244 out += bcd2bin(bcd & 0xff); in bcd2bin32()
245 out += 100*bcd2bin((bcd & 0x0000ff00) >> 8); in bcd2bin32()
246 out += 10000*bcd2bin((bcd & 0x00ff0000) >> 16); in bcd2bin32()
247 out += 1000000*bcd2bin((bcd & 0xffff0000) >> 24); in bcd2bin32()
/freebsd-13.1/usr.sbin/apm/
H A Dapm.c99 bcd2int(int bcd) in bcd2int() argument
104 if (bcd > 0x9999) in bcd2int()
107 while (bcd) { in bcd2int()
108 retval += (bcd & 0xf) * place; in bcd2int()
109 bcd >>= 4; in bcd2int()
/freebsd-13.1/contrib/bmake/unit-tests/
H A Dvarmod-sysv.mk101 .if ${a.bcd.e:L:a.%=%} != "bcd.e"
105 .if ${a.bcd.e:L:a.%=&} != "&"
/freebsd-13.1/contrib/ntp/kernel/sys/
H A Di8253.h26 unsigned int bcd : 1; member
H A Dpcl720.h53 ctrl.s.bcd = i8253_binary; \
/freebsd-13.1/lib/libpmc/pmu-events/arch/powerpc/
H A Dmapfile.csv16 004[bcd][[:xdigit:]]{4},1,power8,core
/freebsd-13.1/bin/sh/tests/builtins/
H A Dcase9.026 check b bcd
/freebsd-13.1/stand/efi/libefi/
H A Defipart.c1047 struct bcache_devdata bcd; in efipart_strategy() local
1063 bcd.dv_strategy = efipart_realstrategy; in efipart_strategy()
1064 bcd.dv_devdata = devdata; in efipart_strategy()
1065 bcd.dv_cache = pd->pd_bcache; in efipart_strategy()
1072 return (bcache_strategy(&bcd, rw, blk + offset, in efipart_strategy()
1075 return (bcache_strategy(&bcd, rw, blk, size, buf, rsize)); in efipart_strategy()
/freebsd-13.1/contrib/netbsd-tests/lib/libc/regex/data/
H A Dbackref.in16 \(a\)\1bcd b aabcd aabcd
/freebsd-13.1/stand/i386/libi386/
H A Dbiosdisk.c943 struct bcache_devdata bcd; in bd_strategy() local
952 bcd.dv_strategy = bd_realstrategy; in bd_strategy()
953 bcd.dv_devdata = devdata; in bd_strategy()
954 bcd.dv_cache = bd->bd_bcache; in bd_strategy()
962 return (bcache_strategy(&bcd, rw, dblk + offset, size, in bd_strategy()

12