Home
last modified time | relevance | path

Searched refs:ibit (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dbitset.h16 #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0) argument
17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */
24 #define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE) argument
25 #define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE) argument
26 #define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit)) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dbitset.h16 #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0) argument
17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */
24 #define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE) argument
25 #define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE) argument
26 #define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit)) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dbitset.c29 addbit(bitset ss, int ibit) in addbit() argument
31 int ibyte = BIT2BYTE(ibit); in addbit()
32 BYTE mask = BIT2MASK(ibit); in addbit()
42 testbit(bitset ss, int ibit)
44 return (ss[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0;
Dacceler.c89 int ibit; in fixstate() local
94 for (ibit = 0; ibit < g->g_ll.ll_nlabels; ibit++) { in fixstate()
95 if (testbit(d1->d_first, ibit)) { in fixstate()
96 if (accel[ibit] != -1) in fixstate()
98 accel[ibit] = a->a_arrow | (1 << 7) | in fixstate()
Dpgen.c392 int istate, jstate, iarc, jarc, ibit; in makedfa() local
421 for (ibit = 0; ibit < nf->nf_nstates; ++ibit) { in makedfa()
422 if (!testbit(ss, ibit)) in makedfa()
424 st = &nf->nf_state[ibit]; in makedfa()
497 int i, ibit, iarc; in printssdfa() local
510 for (ibit = 0; ibit < nbits; ibit++) { in printssdfa()
511 if (testbit(yy->ss_ss, ibit)) in printssdfa()
512 printf("%d ", ibit); in printssdfa()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dbitset.c29 addbit(bitset ss, int ibit) in addbit() argument
31 int ibyte = BIT2BYTE(ibit); in addbit()
32 BYTE mask = BIT2MASK(ibit); in addbit()
42 testbit(bitset ss, int ibit)
44 return (ss[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0;
Dacceler.c89 int ibit; in fixstate() local
94 for (ibit = 0; ibit < g->g_ll.ll_nlabels; ibit++) { in fixstate()
95 if (testbit(d1->d_first, ibit)) { in fixstate()
96 if (accel[ibit] != -1) in fixstate()
98 accel[ibit] = a->a_arrow | (1 << 7) | in fixstate()