Home
last modified time | relevance | path

Searched refs:setbits (Results 1 – 12 of 12) sorted by relevance

/netbsd/sys/arch/arm/amlogic/
H A Dmeson_rtc.c77 setbits(struct meson_rtc_softc *sc, uint32_t reg, uint32_t bits) in setbits() function
95 setbits(sc, AO_RTC_REG3, AO_RTC_REG3_COUNT_ALWAYS); in meson_rtc_check_osc_clk()
161 setbits(sc, AO_RTC_REG0, AO_RTC_REG0_SCLK); in meson_rtc_sclk_pulse()
172 setbits(sc, AO_RTC_REG0, AO_RTC_REG0_SDI); in meson_rtc_send_bit()
228 setbits(sc, AO_RTC_REG0, AO_RTC_REG0_SDI); in meson_rtc_set_mode()
252 setbits(sc, AO_RTC_REG1, AO_RTC_REG1_S_READY); in meson_rtc_wait_s_ready()
267 setbits(sc, AO_RTC_REG0, AO_RTC_REG0_SEN); in meson_rtc_comm_init()
/netbsd/lib/libc/gen/
H A Dsetmode.c442 int setbits, clrbits, Xbits, op; in compress_mode() local
454 for (setbits = clrbits = Xbits = 0;; nset++) { in compress_mode()
457 setbits &= ~nset->bits; in compress_mode()
460 setbits |= nset->bits; in compress_mode()
464 Xbits |= nset->bits & ~setbits; in compress_mode()
474 if (setbits) { in compress_mode()
477 set->bits = setbits; in compress_mode()
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A Dregfree.c67 if (g->setbits != NULL) in llvm_regfree()
68 free((char *)g->setbits); in llvm_regfree()
H A Dregcomp.c342 g->setbits = NULL; in llvm_regcomp()
1218 ptr = (uch *)realloc((char *)p->g->setbits, nbytes); in allocset()
1221 p->g->setbits = ptr; in allocset()
1224 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1226 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css); in allocset()
1229 if (p->g->sets == NULL || p->g->setbits == NULL) in allocset()
1233 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1243 free(p->g->setbits); in allocset()
1244 p->g->setbits = NULL; in allocset()
1396 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
[all …]
H A Dregex2.h139 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */ member
/netbsd/external/bsd/nvi/dist/regex/
H A Dregfree.c82 if (g->setbits != NULL) in regfree()
83 free((char *)g->setbits); in regfree()
H A Dregcomp.c252 g->setbits = NULL; in regcomp()
1149 if (p->g->setbits == NULL) in allocset()
1150 p->g->setbits = (uch *)malloc(nbytes); in allocset()
1152 p->g->setbits = (uch *)realloc((char *)p->g->setbits, in allocset()
1156 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1158 if (p->g->sets != NULL && p->g->setbits != NULL) in allocset()
1159 (void) memset((char *)p->g->setbits + (nbytes - css), in allocset()
1171 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1386 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1405 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
H A Dregex2.h145 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */ member
/netbsd/usr.bin/bdes/
H A Dbdes.c162 static int setbits(char *, int);
226 if ((fbbits = setbits(optarg, 7)) > 56 || fbbits == 0) in main()
235 if ((fbbits = setbits(optarg, 8)) > 64 || fbbits == 0) in main()
248 if ((macbits = setbits(optarg, 1)) > 64) in main()
254 if ((fbbits = setbits(optarg, 8)) > 64 || fbbits == 0) in main()
474 setbits(char *s, int mult) in setbits() function
/netbsd/external/mit/lua/dist/src/
H A Dlgc.h63 #define setbits(x,m) ((x) |= (m)) macro
67 #define l_setbit(x,b) setbits(x, bitmask(b))
/netbsd/sys/dev/qbus/
H A Dqdreg.h372 #define setbits setctr /* output bits set command (write) */ macro
/netbsd/sys/arch/vax/include/
H A Dqdreg.h374 #define setbits setctr /* output bits set command (write) */ macro