/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
testcapi_long.h | 13 const int NBITS = sizeof(TYPENAME) * 8;
27 i < NBITS + 1; /* on last, base overflows to 0 */
107 /* Unsigned complains about 2**NBITS? */
108 y = PyLong_FromLong((long)NBITS);
113 x = PyNumber_Lshift(one, y); /* 1L << NBITS, == 2**NBITS */
122 "PyLong_AsUnsignedXXX(2**NBITS) didn't "
126 "PyLong_AsUnsignedXXX(2**NBITS) raised "
130 /* Signed complains about 2**(NBITS-1)?
131 x still has 2**NBITS. */ [all...] |
/external/python/cpython2/Modules/ |
testcapi_long.h | 13 const int NBITS = sizeof(TYPENAME) * 8; 27 i < NBITS + 1; /* on last, base overflows to 0 */ 107 /* Unsigned complains about 2**NBITS? */ 108 y = PyLong_FromLong((long)NBITS); 113 x = PyNumber_Lshift(one, y); /* 1L << NBITS, == 2**NBITS */ 122 "PyLong_AsUnsignedXXX(2**NBITS) didn't " 126 "PyLong_AsUnsignedXXX(2**NBITS) raised " 130 /* Signed complains about 2**(NBITS-1)? 131 x still has 2**NBITS. * [all...] |
/external/python/cpython3/Modules/ |
testcapi_long.h | 13 const int NBITS = sizeof(TYPENAME) * 8; 27 i < NBITS + 1; /* on last, base overflows to 0 */ 106 /* Unsigned complains about 2**NBITS? */ 107 y = PyLong_FromLong((long)NBITS); 112 x = PyNumber_Lshift(one, y); /* 1L << NBITS, == 2**NBITS */ 121 "PyLong_AsUnsignedXXX(2**NBITS) didn't " 125 "PyLong_AsUnsignedXXX(2**NBITS) raised " 129 /* Signed complains about 2**(NBITS-1)? 130 x still has 2**NBITS. * [all...] |
/external/u-boot/include/ |
lcd.h | 170 #define NBITS(bit_code) (1 << (bit_code)) 171 #define NCOLORS(bit_code) (1 << NBITS(bit_code)) 193 #define NBYTES(bit_code) (NBITS(bit_code) >> 3)
|
/external/u-boot/drivers/video/ |
pxa_lcd.c | 401 int line_length = (panel_info.vl_col * NBITS (panel_info.vl_bpix)) / 8; 413 int fb_size = vid->vl_row * (vid->vl_col * NBITS (vid->vl_bpix)) / 8; 417 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; 558 (vid->vl_col * vid->vl_row * NBITS(vid->vl_bpix) / 8 / 2) : \ 559 (vid->vl_col * vid->vl_row * NBITS(vid->vl_bpix) / 8)) 577 if( NBITS(vid->vl_bpix) < 12)
|
am335x-fb.c | 108 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8;
|
atmel_lcdfb.c | 238 NBITS(panel_info.vl_bpix)) / 8) + PAGE_SIZE;
|
atmel_hlcdfb.c | 174 switch (NBITS(panel_info.vl_bpix)) {
|
/external/autotest/client/site_tests/hardware_Keyboard/src/ |
evtest.c | 303 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
352 unsigned long bit[EV_MAX][NBITS(KEY_MAX)];
374 unsigned long bit[EV_MAX][NBITS(KEY_MAX)];
397 unsigned long bit[EV_MAX][NBITS(KEY_MAX)];
491 unsigned long bit[EV_MAX][NBITS(KEY_MAX)];
|
/external/u-boot/common/ |
lcd.c | 144 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; 298 panel_info.vl_row, NBITS(panel_info.vl_bpix)); 349 unsigned bpix = NBITS(panel_info.vl_bpix); 598 bpix = NBITS(panel_info.vl_bpix);
|
/external/u-boot/board/compulab/common/ |
omap3_display.c | 144 lcd_line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8;
|
/external/adhd/cras/src/server/ |
cras_alsa_jack.c | 153 #define NBITS(x) ((((x) - 1) / BITS_PER_LONG) + 1) 161 unsigned long bits[NBITS(SW_CNT)]; 459 unsigned long bits[NBITS(SW_CNT)]; [all...] |
/external/adhd/cras/src/tests/ |
alsa_jack_unittest.cc | 29 #define NBITS(x) ((((x) - 1) / BITS_PER_LONG) + 1) 84 static unsigned long eviocbit_ret[NBITS(SW_CNT)]; [all...] |
/external/lua/src/ |
lvm.c | 588 #define NBITS cast_int(sizeof(lua_Integer) * CHAR_BIT) 595 if (y <= -NBITS) return 0; 599 if (y >= NBITS) return 0; [all...] |
/external/autotest/client/bin/input/ |
linux_input.py | 1101 def NBITS(x): [all...] |