Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libc/gen/
H A Dsetmode.c442 int setbits, clrbits, Xbits, op; in compress_mode() local
452 for (setbits = clrbits = Xbits = 0;; nset++) { in compress_mode()
455 setbits &= ~nset->bits; in compress_mode()
458 setbits |= nset->bits; in compress_mode()
462 Xbits |= nset->bits & ~setbits; in compress_mode()
472 if (setbits) { in compress_mode()
475 set->bits = setbits; in compress_mode()
/freebsd-12.1/contrib/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.c341 g->setbits = NULL; in llvm_regcomp()
1217 ptr = (uch *)realloc((char *)p->g->setbits, nbytes); in allocset()
1220 p->g->setbits = ptr; in allocset()
1223 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1225 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css); in allocset()
1228 if (p->g->sets == NULL || p->g->setbits == NULL) in allocset()
1232 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1242 free(p->g->setbits); in allocset()
1243 p->g->setbits = NULL; in allocset()
1395 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-12.1/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-12.1/contrib/lua/src/
H A Dlgc.h68 #define setbits(x,m) ((x) |= (m)) macro
72 #define l_setbit(x,b) setbits(x, bitmask(b))
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlgc.h77 #define setbits(x,m) ((x) |= (m)) macro
81 #define l_setbit(x,b) setbits(x, bitmask(b))
/freebsd-12.1/sys/arm/freescale/imx/
H A Dimx_iomuxvar.h47 void imx_iomux_gpr_set_masked(u_int regaddr, uint32_t clrbits, uint32_t setbits);
H A Dimx_iomux.c292 imx_iomux_gpr_set_masked(u_int regaddr, uint32_t clrbits, uint32_t setbits) in imx_iomux_gpr_set_masked() argument
304 val = (val & ~clrbits) | setbits; in imx_iomux_gpr_set_masked()