Searched refs:bit (Results 126 - 150 of 852) sorted by relevance

1234567891011>>

/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit )
91 return (src[bit/8] & (1<<(bit % 8))) ? 1 : 0;
94 static void set_bit( GLubyte *dest, GLuint bit )
96 dest[bit/8] |= 1 << (bit % 8);
113 GLuint bit = 0; local
141 for (col = 0; col < w; col++, bit++) {
143 set_bit(dest, bit ^ 7);
149 bit
[all...]
/external/chromium_org/third_party/icu/source/extra/scrptrun/
H A Dscrptrun.cpp53 int8_t bit = 0; local
57 bit += 16;
62 bit += 8;
67 bit += 4;
72 bit += 2;
77 bit += 1;
80 return bit;
/external/e2fsprogs/debugfs/
H A Dzap.c38 int bit = -1; local
52 bit = parse_ulong(optarg, argv[0],
53 "bit", &err);
56 if (bit >= (int) current_fs->blocksize * 8) {
57 com_err(argv[0], 0, "The bit to flip "
70 "be an 8-bit value\n");
99 if (bit > 0 && offset > 0) {
117 com_err(0, 0, "\tzap_block [-f file] [-b bit] "
152 if (bit >= 0)
153 buf[bit >>
[all...]
/external/icu/icu4c/source/extra/scrptrun/
H A Dscrptrun.cpp53 int8_t bit = 0; local
57 bit += 16;
62 bit += 8;
67 bit += 4;
72 bit += 2;
77 bit += 1;
80 return bit;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimports.c236 * Find the first bit set in a word.
241 register int bit = 0; local
244 bit += 16;
248 bit += 8;
252 bit += 4;
256 bit++;
259 bit++;
261 return bit;
266 * Find position of first bit set in given value.
267 * XXX Warning: this function can only be used on 64-bit system
274 int bit; local
[all...]
/external/mesa3d/src/mesa/main/
H A Dimports.c236 * Find the first bit set in a word.
241 register int bit = 0; local
244 bit += 16;
248 bit += 8;
252 bit += 4;
256 bit++;
259 bit++;
261 return bit;
266 * Find position of first bit set in given value.
267 * XXX Warning: this function can only be used on 64-bit system
274 int bit; local
[all...]
/external/sepolicy/tools/sepolicy-analyze/
H A Dneverallow.c30 unsigned int bit; local
144 for (bit = 0; bit < policydb->p_types.nprim; bit++) {
145 if (ebitmap_get_bit(&typeset->negset, bit))
147 if (policydb->type_val_to_struct[bit] &&
148 policydb->type_val_to_struct[bit]->flavor == TYPE_ATTRIB)
150 if (ebitmap_set_bit(&typeset->types, bit, 1))
155 ebitmap_for_each_bit(&typeset->negset, n, bit) {
156 if (!ebitmap_node_get_bit(n, bit))
[all...]
/external/fio/lib/
H A Daxmap.c7 * A set bit at layer N indicates a full word at layer N-1, and so forth. As
12 * Axmaps get pretty close to optimal (1 bit per block) space usage, since
142 unsigned int bit = index & BLOCKS_PER_UNIT_MASK; local
146 if (func(al, offset, bit, data))
163 unsigned int bit = index & BLOCKS_PER_UNIT_MASK; local
167 if (func(al, offset, bit, data))
175 unsigned int bit, void *unused)
177 if (!(al->map[offset] & (1UL << bit)))
180 al->map[offset] &= ~(1UL << bit);
217 unsigned int bit, voi
174 axmap_clear_fn(struct axmap_level *al, unsigned long offset, unsigned int bit, void *unused) argument
216 axmap_set_fn(struct axmap_level *al, unsigned long offset, unsigned int bit, void *__data) argument
318 axmap_isset_fn(struct axmap_level *al, unsigned long offset, unsigned int bit, void *unused) argument
384 uint64_t bit; member in struct:axmap_next_free_data
387 axmap_next_free_fn(struct axmap_level *al, unsigned long offset, unsigned int bit, void *__data) argument
[all...]
/external/chromium_org/third_party/opus/src/tests/
H A Drun_vectors.sh79 if [ -e $VECTOR_PATH/testvector$file.bit ]; then
82 echo Bitstream file not found: testvector$file.bit
84 if $OPUS_DEMO -d $RATE 1 $VECTOR_PATH/testvector$file.bit tmp.out >> logs_mono.txt 2>&1; then
108 if [ -e $VECTOR_PATH/testvector$file.bit ]; then
113 if $OPUS_DEMO -d $RATE 2 $VECTOR_PATH/testvector$file.bit tmp.out >> logs_stereo.txt 2>&1; then
/external/libopus/tests/
H A Drun_vectors.sh79 if [ -e $VECTOR_PATH/testvector$file.bit ]; then
82 echo Bitstream file not found: testvector$file.bit
84 if $OPUS_DEMO -d $RATE 1 $VECTOR_PATH/testvector$file.bit tmp.out >> logs_mono.txt 2>&1; then
108 if [ -e $VECTOR_PATH/testvector$file.bit ]; then
113 if $OPUS_DEMO -d $RATE 2 $VECTOR_PATH/testvector$file.bit tmp.out >> logs_stereo.txt 2>&1; then
/external/libvorbis/doc/
H A D02-bitpacking.tex23 seven, ten, eleven and sixteen bit 'bytes' have been used. For
36 the native bit-width of a given storage system. This document assumes
39 \subsubsection{bit order}
41 A byte has a well-defined 'least significant' bit (LSb), which is the
42 only bit set when the byte is storing the two's complement integer
43 value +1. A byte's 'most significant' bit (MSb) is at the opposite
70 The Vorbis codec has need to code arbitrary bit-width integers, from
73 is written at the bit position at which the previous field ends.
77 significant bit, etc, until the requested number of bits have been
80 significant unused bit positio
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Drandom.c118 int ret = 0, bit, bytes, mask; local
130 bit = (bits - 1) % 8;
131 mask = 0xff << (bit + 1);
145 if (bit == 0) {
149 buf[0] |= (3 << (bit - 1));
152 buf[0] |= (1 << bit);
158 /* set bottom bit if requested */
197 * so 3*range (= 11..._2) is exactly one bit longer than range */
/external/google-tv-pairing-protocol/cpp/
H A Dmain.scons46 # Detect 64-bit build platform
47 DeclareBit('arch_64', 'Target platform is 64-bit')
48 DeclareBit('64bit', 'Target environment is 64-bit')
49 if platform.architecture()[0] == '64bit':
71 BUILD_TYPE_DESCRIPTION = 'Linux 32-bit Debug Build',
79 BUILD_TYPE_DESCRIPTION = 'Linux 32-bit Release Build',
88 # Add 64-bit linux environment if supported by build platform
101 BUILD_TYPE_DESCRIPTION = 'Linux 64-bit Debug Build',
105 linux_dbg_64_env.SetBits('64bit')
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_mouse.c55 unsigned char bit, databit, maskbit; local
94 for (bit = 0; bit < 8; bit++)
96 databit = data[i] & (1 << bit);
97 maskbit = mask[i] & (1 << bit);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dboolhuff.h62 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) argument
73 if (bit)
85 if (bit)
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DIntersections.h63 int bit = 1 << index; local
64 fIsCoincident[0] |= bit;
65 fIsCoincident[1] |= bit;
130 unsigned short fIsCoincident[2]; // bit arrays, one bit set for each coincident T
/external/libvpx/libvpx/vp8/encoder/
H A Dboolhuff.h39 /* Variables used to track bit costs without outputing to the bitstream */
66 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) argument
77 if (bit)
89 if (bit)
/external/skia/experimental/Intersection/
H A DIntersections.h63 int bit = 1 << index; local
64 fIsCoincident[0] |= bit;
65 fIsCoincident[1] |= bit;
130 unsigned short fIsCoincident[2]; // bit arrays, one bit set for each coincident T
/external/yaffs2/yaffs2/
H A Dyaffs_ecc.c20 * The two unused bit are set to 1.
21 * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
188 /* Single bit (recoverable) error in data */
191 unsigned bit; local
202 bit = byte = 0;
222 bit |= 0x04;
224 bit |= 0x02;
226 bit |= 0x01;
228 data[byte] ^= (1 << bit);
289 unsigned bit; local
[all...]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A Dgenerate_parser.sh27 patch --silent --forward < 64bit-tokenizer-safety.patch
/external/chromium_org/third_party/angle/src/compiler/translator/
H A Dgenerate_parser.sh28 patch --silent --forward < 64bit-lexer-safety.patch
/external/chromium_org/tools/android/memdump/
H A Dmemsymbols.py29 def _TestBit(word, bit):
30 assert(bit >= 0 and bit < 8)
31 return not not ((word >> bit) & 1)
/external/e2fsprogs/lib/uuid/
H A Duuid_types.h.in34 ?==error: undefined 16 bit type
47 ?== error: undefined 32 bit type
/external/elfutils/0.153/libcpu/
H A Di386_parse.h78 struct bitvalue *bit; member in union:YYSTYPE
/external/llvm/test/MC/AArch64/
H A Dneon-bitwise-instructions.s39 bit v0.8b, v1.8b, v2.8b
40 bit v0.16b, v1.16b, v2.16b
50 // CHECK: bit v0.8b, v1.8b, v2.8b // encoding: [0x20,0x1c,0xa2,0x2e]
51 // CHECK: bit v0.16b, v1.16b, v2.16b // encoding: [0x20,0x1c,0xa2,0x6e]

Completed in 1089 milliseconds

1234567891011>>