Home
last modified time | relevance | path

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

/freebsd/lib/libc/gen/
H A Dsetmode.c439 int setbits, clrbits, Xbits, op; in compress_mode() local
449 for (setbits = clrbits = Xbits = 0;; nset++) { in compress_mode()
452 setbits &= ~nset->bits; in compress_mode()
455 setbits |= nset->bits; in compress_mode()
459 Xbits |= nset->bits & ~setbits; in compress_mode()
469 if (setbits) { in compress_mode()
472 set->bits = setbits; in compress_mode()
/freebsd/contrib/llvm-project/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()
1216 ptr = (uch *)realloc((char *)p->g->setbits, nbytes); in allocset()
1219 p->g->setbits = ptr; in allocset()
1222 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1224 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css); in allocset()
1227 if (p->g->sets == NULL || p->g->setbits == NULL) in allocset()
1231 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1241 free(p->g->setbits); in allocset()
1242 p->g->setbits = NULL; in allocset()
1394 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
/freebsd/contrib/nvi/regex/
H A Dregfree.c73 if (g->setbits != NULL) in regfree()
74 free((char *)g->setbits); in regfree()
H A Dregcomp.c235 g->setbits = NULL; in regcomp()
1111 if (p->g->setbits == NULL) in allocset()
1112 p->g->setbits = (uch *)malloc(nbytes); in allocset()
1114 p->g->setbits = (uch *)realloc((char *)p->g->setbits, in allocset()
1118 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1120 if (p->g->sets != NULL && p->g->setbits != NULL) in allocset()
1121 memset((char *)p->g->setbits + (nbytes - css), in allocset()
1133 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1286 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in isinsets()
1304 for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) in samesets()
H A Dregex2.h142 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */ member
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlgc.h77 #define setbits(x,m) ((x) |= (m)) macro
81 #define l_setbit(x,b) setbits(x, bitmask(b))
/freebsd/sys/arm/freescale/imx/
H A Dimx_iomuxvar.h45 void imx_iomux_gpr_set_masked(u_int regaddr, uint32_t clrbits, uint32_t setbits);
H A Dimx_iomux.c291 imx_iomux_gpr_set_masked(u_int regaddr, uint32_t clrbits, uint32_t setbits) in imx_iomux_gpr_set_masked() argument
303 val = (val & ~clrbits) | setbits; in imx_iomux_gpr_set_masked()
/freebsd/contrib/lua/src/
H A Dlgc.h61 #define setbits(x,m) ((x) |= (m)) macro
65 #define l_setbit(x,b) setbits(x, bitmask(b))