Home
last modified time | relevance | path

Searched refs:CHAR_BIT (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/include/sys/
Dlimits.h49 #define CHAR_BIT 8 /* number of bits in a char */ macro
/bionic/libc/regex/
Dregcomp.c497 # define BACKSL (1<<CHAR_BIT) in p_simp_re()
1034 p->ncsalloc += CHAR_BIT; in allocset()
1036 assert(nc % CHAR_BIT == 0); in allocset()
1037 nbytes = nc / CHAR_BIT * css; in allocset()
1050 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1059 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1060 cs->mask = 1 << ((no) % CHAR_BIT); in allocset()
1219 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets()
1236 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets()
Dregexec.c156 if (g->nstates <= (int)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE)) in regexec()
/bionic/libc/tzcode/
Dprivate.h263 #define TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
/bionic/libc/netbsd/net/
Dgetaddrinfo.c1449 for (j = 0; j < CHAR_BIT; ++j) { in _common_prefix_len()
1450 if (x & (1 << (CHAR_BIT - 1))) { in _common_prefix_len()
1451 return i * CHAR_BIT + j; in _common_prefix_len()
1456 return sizeof(*a1) * CHAR_BIT; in _common_prefix_len()