/external/bzip2/ |
unzcrash.c | 6 and then repeatedly decompress it, each time with a different bit of 7 the compressed data inverted, so as to test all possible one-bit errors. 64 void flip_bit ( int bit ) 66 int byteno = bit / 8; 67 int bitno = bit % 8; 69 //fprintf ( stderr, "(byte %d bit %d mask %d)", 78 int bit; local 102 for (bit = 0; bit < nZ*8; bit++) [all...] |
/external/lldb/source/Plugins/Process/Utility/ |
InstructionUtils.h | 13 // Common utilities for manipulating instruction bit fields. 17 // Return the bit field(s) from the most significant bit (msbit) to the 18 // least significant bit (lsbit) of a 64-bit unsigned value. 26 // Return the bit field(s) from the most significant bit (msbit) to the 27 // least significant bit (lsbit) of a 32-bit unsigned value. 35 // Return the bit value from the 'bit' position of a 32-bit unsigned value [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
Tables1kGCMExponentiator.java | 28 int bit = 0; local 33 ensureAvailable(bit); 34 GCMUtil.multiply(y, (int[])lookupPowX2.elementAt(bit)); 36 ++bit; 43 private void ensureAvailable(int bit) 46 if (count <= bit) 55 while (++count <= bit);
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
vp9_boolcoder_test.cc | 57 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local 60 bit = (i & 1); 62 bit = bit_rnd(2); 64 vp9_write(&bw, bit, static_cast<int>(probas[i])); 69 // First bit should be zero 77 bit = (i & 1); 79 bit = bit_rnd(2); 81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
|
/external/chromium_org/v8/src/compiler/arm/ |
linkage-arm.cc | 25 return r4.bit() | r5.bit() | r6.bit() | r7.bit() | r8.bit() | r9.bit() | 26 r10.bit();
|
/external/icu/icu4c/source/layoutex/ |
LXUtilities.cpp | 14 // Finds the high bit by binary searching 23 le_int8 bit = 0; local 27 bit += 16; 32 bit += 8; 37 bit += 4; 42 bit += 2; 47 bit += 1; 50 return bit;
|
/external/libvpx/libvpx/test/ |
vp9_boolcoder_test.cc | 57 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local 60 bit = (i & 1); 62 bit = bit_rnd(2); 64 vp9_write(&bw, bit, static_cast<int>(probas[i])); 69 // First bit should be zero 77 bit = (i & 1); 79 bit = bit_rnd(2); 81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccServiceTable.java | 22 * Wrapper class for an ICC EF containing a bit field of enabled services. 50 int bit = service % 8; local 51 return (mServiceTable[offset] & (1 << bit)) != 0; 64 for (int bit = 0; bit < 8; bit++) { 65 if ((currentByte & (1 << bit)) != 0) { 71 int ordinal = (i * 8) + bit;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
vp9_boolcoder_test.cc | 57 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local 60 bit = (i & 1); 62 bit = bit_rnd(2); 64 vp9_write(&bw, bit, static_cast<int>(probas[i])); 69 // First bit should be zero 77 bit = (i & 1); 79 bit = bit_rnd(2); 81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_writer.h | 33 static INLINE void vp9_write(vp9_writer *br, int bit, int probability) { 44 if (bit) { 81 static INLINE void vp9_write_bit(vp9_writer *w, int bit) { 82 vp9_write(w, bit, 128); // vp9_prob_half 86 int bit; local 88 for (bit = bits - 1; bit >= 0; bit--) 89 vp9_write_bit(w, 1 & (data >> bit));
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_writer.h | 30 // Variables used to track bit costs without outputing to the bitstream 38 static void vp9_write(vp9_writer *br, int bit, int probability) { 49 if (bit) { 86 static void vp9_write_bit(vp9_writer *w, int bit) { 87 vp9_write(w, bit, 128); // vp9_prob_half 91 int bit; local 93 for (bit = bits - 1; bit >= 0; bit--) 94 vp9_write_bit(w, 1 & (data >> bit)); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_writer.h | 30 // Variables used to track bit costs without outputing to the bitstream 38 static void vp9_write(vp9_writer *br, int bit, int probability) { 49 if (bit) { 86 static void vp9_write_bit(vp9_writer *w, int bit) { 87 vp9_write(w, bit, 128); // vp9_prob_half 91 int bit; local 93 for (bit = bits - 1; bit >= 0; bit--) 94 vp9_write_bit(w, 1 & (data >> bit)); [all...] |
/external/chromium_org/v8/src/compiler/ |
machine-type.cc | 12 #define PRINT(bit) \ 13 if (type & bit) { \ 15 os << #bit; \
|
/external/libsepol/include/sepol/policydb/ |
ebitmap.h | 14 * an explicitly specified starting bit position within 26 #define MAPBIT 1ULL /* a bit in the node bitmap */ 56 static inline unsigned int ebitmap_next(ebitmap_node_t ** n, unsigned int bit) 58 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) { 63 return (bit + 1); 66 static inline int ebitmap_node_get_bit(ebitmap_node_t * n, unsigned int bit) 68 if (n->map & (MAPBIT << (bit - n->startbit))) 73 #define ebitmap_for_each_bit(e, n, bit) \ 74 for (bit = ebitmap_start(e, &n); bit < ebitmap_length(e); bit = ebitmap_next(&n, bit)) [all...] |
/hardware/intel/img/psb_video/src/android/ |
psb_mds.h | 56 inline bool checkMode(int value, int bit) { 57 return (value & bit) == bit ? true : false;
|
/external/chromium_org/third_party/smhasher/src/ |
Bitvec.h | 17 uint32_t getbit ( const void * blob, int len, uint32_t bit ); 18 uint32_t getbit_wrap ( const void * blob, int len, uint32_t bit ); 20 void setbit ( void * blob, int len, uint32_t bit ); 21 void setbit ( void * blob, int len, uint32_t bit, uint32_t val ); 23 void clearbit ( void * blob, int len, uint32_t bit ); 25 void flipbit ( void * blob, int len, uint32_t bit ); 37 inline uint32_t getbit ( T & blob, uint32_t bit ) 39 return getbit(&blob,sizeof(blob),bit); 42 template<> inline uint32_t getbit ( uint32_t & blob, uint32_t bit ) { return (blob >> (bit & 31)) & 1; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_blit_0.c | 48 Uint8 byte = 0, bit; local 53 bit = (byte&0x80)>>7; 55 *dst = map[bit]; 65 Uint8 byte = 0, bit; local 70 bit = (byte&0x80)>>7; 72 *dst = bit; 101 Uint8 byte = 0, bit; local 106 bit = (byte&0x80)>>7; 108 *dst = map[bit]; 135 Uint8 byte = 0, bit; local 173 Uint8 byte = 0, bit; local 207 Uint8 byte = 0, bit; local 224 Uint8 byte = 0, bit; local 259 Uint8 byte = 0, bit; local 292 Uint8 byte = 0, bit; local 326 Uint8 byte = 0, bit; local 362 Uint8 byte = 0, bit; local 409 Uint8 byte = 0, bit; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_state.h | 54 extern void r200Fallback( struct gl_context *ctx, GLuint bit, GLboolean mode ); 55 #define FALLBACK( rmesa, bit, mode ) do { \ 57 __FUNCTION__, bit, mode ); \ 58 r200Fallback( rmesa->radeon.glCtx, bit, mode ); \
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_state.h | 56 extern void radeonFallback( struct gl_context *ctx, GLuint bit, GLboolean mode ); 57 #define FALLBACK( rmesa, bit, mode ) do { \ 59 __FUNCTION__, bit, mode ); \ 60 radeonFallback( rmesa->radeon.glCtx, bit, mode ); \
|
/external/chromium_org/third_party/skia/src/sfnt/ |
SkOTTableTypes.h | 49 /** SkOTSetUSHORTBit<N>::value is an SK_OT_USHORT with the Nth BE bit set. */ 52 static const uint16_t bit = 1u << N; 53 static const SK_OT_USHORT value = SkTEndian_SwapBE16(bit); 56 /** SkOTSetULONGBit<N>::value is an SK_OT_ULONG with the Nth BE bit set. */ 59 static const uint32_t bit = 1u << N; 60 static const SK_OT_ULONG value = SkTEndian_SwapBE32(bit);
|
/external/e2fsprogs/lib/blkid/ |
blkid_types.h | 32 ?==error: undefined 16 bit type 46 ?==error: undefined 16 bit type 64 ?== error: undefined 32 bit type 82 ?== error: undefined 32 bit type
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state.h | 54 extern void r200Fallback( struct gl_context *ctx, GLuint bit, GLboolean mode ); 55 #define FALLBACK( rmesa, bit, mode ) do { \ 57 __FUNCTION__, bit, mode ); \ 58 r200Fallback( rmesa->radeon.glCtx, bit, mode ); \
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state.h | 56 extern void radeonFallback( struct gl_context *ctx, GLuint bit, GLboolean mode ); 57 #define FALLBACK( rmesa, bit, mode ) do { \ 59 __FUNCTION__, bit, mode ); \ 60 radeonFallback( rmesa->radeon.glCtx, bit, mode ); \
|
/external/skia/src/sfnt/ |
SkOTTableTypes.h | 49 /** SkOTSetUSHORTBit<N>::value is an SK_OT_USHORT with the Nth BE bit set. */ 52 static const uint16_t bit = 1u << N; 53 static const SK_OT_USHORT value = SkTEndian_SwapBE16(bit); 56 /** SkOTSetULONGBit<N>::value is an SK_OT_ULONG with the Nth BE bit set. */ 59 static const uint32_t bit = 1u << N; 60 static const SK_OT_ULONG value = SkTEndian_SwapBE32(bit);
|
/external/smack/src/org/xbill/DNS/ |
Header.java | 86 validFlag(int bit) { 87 return (bit >= 0 && bit <= 0xF && Flags.isFlag(bit)); 91 checkFlag(int bit) { 92 if (!validFlag(bit)) 93 throw new IllegalArgumentException("invalid flag bit " + bit); 101 setFlag(int bit) { 102 checkFlag(bit); [all...] |