Home
last modified time | relevance | path

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

/freebsd-12-stable/lib/libc/gen/
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-stable/contrib/llvm-project/llvm/lib/Support/
Dregfree.c67 if (g->setbits != NULL) in llvm_regfree()
68 free((char *)g->setbits); in llvm_regfree()
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 …]
Dregex2.h139 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */ member
/freebsd-12-stable/contrib/nvi/regex/
Dregfree.c73 if (g->setbits != NULL) in regfree()
74 free((char *)g->setbits); in regfree()
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()
Dregex2.h142 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */ member
/freebsd-12-stable/contrib/lua/src/
Dlgc.h68 #define setbits(x,m) ((x) |= (m)) macro
72 #define l_setbit(x,b) setbits(x, bitmask(b))
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
Dlgc.h77 #define setbits(x,m) ((x) |= (m)) macro
81 #define l_setbit(x,b) setbits(x, bitmask(b))
/freebsd-12-stable/sys/arm/freescale/imx/
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()
Dimx_iomuxvar.h47 void imx_iomux_gpr_set_masked(u_int regaddr, uint32_t clrbits, uint32_t setbits);