HomeSort by relevance Sort by last modified time
    Searched refs:bit (Results 1 - 25 of 316) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bootable/bootloader/legacy/arch_msm7k/
vic.c 77 unsigned reg, bit; local
80 bit = 1 << (n & 31);
82 writel(readl(reg) | bit, reg);
87 unsigned reg, bit; local
90 bit = 1 << (n & 31);
92 writel(bit, reg);
97 unsigned reg, bit, tmp; local
100 bit = 1 << (n & 31);
104 writel(tmp | bit, reg);
106 writel(tmp & (~bit), reg)
    [all...]
  /external/blktrace/
blkrawverify.c 104 static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit)
107 fprintf(ofp, " %8s: %08x\n", "magic", bit->magic);
108 fprintf(ofp, " %8s: %u\n", "sequence", bit->sequence);
109 fprintf(ofp, " %8s: %llu\n", "time", (unsigned long long) bit->time);
110 fprintf(ofp, " %8s: %llu\n", "sector", (unsigned long long) bit->sector);
111 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes);
112 fprintf(ofp, " %8s: %s\n", "action", act_to_str(bit->action));
113 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes);
114 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu);
115 fprintf(ofp, " %8s: %u\n", "error", bit->error)
148 struct blk_io_trace *bit = malloc(sizeof(struct blk_io_trace)); local
    [all...]
blkiomon.c 45 struct blk_io_trace bit; member in struct:trace
108 struct blk_io_trace *bit = &t->bit; local
114 fprintf(debug.fp, "magic %16d\n", bit->magic);
115 fprintf(debug.fp, "sequence %16d\n", bit->sequence);
116 fprintf(debug.fp, "time %16ld\n", (unsigned long)bit->time);
117 fprintf(debug.fp, "sector %16ld\n", (unsigned long)bit->sector);
118 fprintf(debug.fp, "bytes %16d\n", bit->bytes);
119 fprintf(debug.fp, "action %16x\n", bit->action);
120 fprintf(debug.fp, "pid %16d\n", bit->pid)
454 struct blk_io_trace *bit; local
    [all...]
  /bionic/libc/kernel/arch-x86/asm/
cpufeature_32.h 111 #define cpu_has(c, bit) (__builtin_constant_p(bit) && ( (((bit)>>5)==0 && (1UL<<((bit)&31) & REQUIRED_MASK0)) || (((bit)>>5)==1 && (1UL<<((bit)&31) & REQUIRED_MASK1)) || (((bit)>>5)==2 && (1UL<<((bit)&31) & REQUIRED_MASK2)) || (((bit)>>5)==3 && (1UL<<((bit)&31) & REQUIRED_MASK3)) || (((bit)>>5)==4 && (1UL<<((bit)&31) & REQUIRED_MASK4)) || (((bit)>>5 (…)
    [all...]
  /development/ndk/platforms/android-5/arch-x86/include/asm/
cpufeature_32.h 111 #define cpu_has(c, bit) (__builtin_constant_p(bit) && ( (((bit)>>5)==0 && (1UL<<((bit)&31) & REQUIRED_MASK0)) || (((bit)>>5)==1 && (1UL<<((bit)&31) & REQUIRED_MASK1)) || (((bit)>>5)==2 && (1UL<<((bit)&31) & REQUIRED_MASK2)) || (((bit)>>5)==3 && (1UL<<((bit)&31) & REQUIRED_MASK3)) || (((bit)>>5)==4 && (1UL<<((bit)&31) & REQUIRED_MASK4)) || (((bit)>>5 (…)
    [all...]
  /external/kernel-headers/original/asm-x86/
cpufeature_32.h 15 #define NCAPINTS 8 /* N 32-bit words worth of info */
34 #define X86_FEATURE_PSE36 (0*32+17) /* 36-bit PSEs */
119 #define cpu_has(c, bit) \
120 (__builtin_constant_p(bit) && \
121 ( (((bit)>>5)==0 && (1UL<<((bit)&31) & REQUIRED_MASK0)) || \
122 (((bit)>>5)==1 && (1UL<<((bit)&31) & REQUIRED_MASK1)) || \
123 (((bit)>>5)==2 && (1UL<<((bit)&31) & REQUIRED_MASK2)) ||
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/
cpufeature_32.h 111 #define cpu_has(c, bit) (__builtin_constant_p(bit) && ( (((bit)>>5)==0 && (1UL<<((bit)&31) & REQUIRED_MASK0)) || (((bit)>>5)==1 && (1UL<<((bit)&31) & REQUIRED_MASK1)) || (((bit)>>5)==2 && (1UL<<((bit)&31) & REQUIRED_MASK2)) || (((bit)>>5)==3 && (1UL<<((bit)&31) & REQUIRED_MASK3)) || (((bit)>>5)==4 && (1UL<<((bit)&31) & REQUIRED_MASK4)) || (((bit)>>5 (…)
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/
cpufeature_32.h 111 #define cpu_has(c, bit) (__builtin_constant_p(bit) && ( (((bit)>>5)==0 && (1UL<<((bit)&31) & REQUIRED_MASK0)) || (((bit)>>5)==1 && (1UL<<((bit)&31) & REQUIRED_MASK1)) || (((bit)>>5)==2 && (1UL<<((bit)&31) & REQUIRED_MASK2)) || (((bit)>>5)==3 && (1UL<<((bit)&31) & REQUIRED_MASK3)) || (((bit)>>5)==4 && (1UL<<((bit)&31) & REQUIRED_MASK4)) || (((bit)>>5 (…)
    [all...]
  /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...]
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicMarkableReference.java 11 * along with a mark bit, that can be updated atomically.
25 private final boolean bit; field in class:AtomicMarkableReference.ReferenceBooleanPair
27 reference = r; bit = i;
59 return atomicRef.get().bit;
72 markHolder[0] = p.bit;
98 expectedMark == current.bit &&
99 ((newReference == current.reference && newMark == current.bit) ||
123 expectedMark == current.bit &&
124 ((newReference == current.reference && newMark == current.bit) ||
138 if (newReference != current.reference || newMark != current.bit)
    [all...]
  /external/icu4c/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/qemu/distrib/sdl-1.2.12/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/e2fsprogs/lib/uuid/
uuid_types.h 34 ?==error: undefined 16 bit type
47 ?== error: undefined 32 bit type
  /external/libvpx/vp8/decoder/
dboolhuff.c 77 unsigned int bit=0;
96 bit = 1;
103 return bit;
117 return bit;
123 int bit;
124 for ( bit=bits-1; bit>=0; bit-- )
126 z |= (vp8dx_decode_bool(br, 0x80)<<bit);
dboolhuff.h 146 unsigned int bit = 0; local
166 bit = 1;
173 return bit
187 return bit;
199 int bit; local
201 for (bit = bits - 1; bit >= 0; bit--)
203 z |= (vp8dx_decode_bool(br, 0x80) << bit);
  /external/libvpx/vp8/encoder/
boolhuff.c 77 void vp8_encode_bool(BOOL_CODER *br, int bit, int probability)
88 if (bit)
100 if (bit)
143 int bit; local
145 for (bit = bits - 1; bit >= 0; bit--)
146 vp8_encode_bool(br, (1 & (data >> bit)), 0x80);
  /development/simulator/wrapsim/
BitVector.c 4 * Simple bit vector.
17 * Allocate a bit vector with enough space to hold at least the specified
25 assert(sizeof(bv->storage[0]) == 4); /* assuming 32-bit units */
52 * "Allocate" the first-available bit in the bitmap.
63 int word, bit; local
71 bit = ffs(pBits->storage[word]) -1;
72 assert(bit >= 0 && bit < 32);
73 pBits->storage[word] &= ~(1 << bit);
74 return (word << 5) | bit;
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/gcm/
GCMUtil.java 17 // P is the value with only bit i=1 set
41 int bit = 0; local
45 block[i] = (byte) ((b >>> 1) | bit);
50 bit = (b & 1) << 7;
57 int bit = 0; local
61 block[i] = (b >>> 1) | bit;
66 bit = b << 31;
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BitString.java 26 * Represents ASN.1 bit string value
50 * Constructs bit string
52 * @param bytes - array of bytes that represents bit string,
65 throw new IllegalArgumentException("For empty bit string unused bits MUST be 0");
73 * Constructs bit string from array of booleans
89 public boolean getBit(int bit) {
90 int offset = bit % 8;
91 int index = bit / 8;
95 public void setBit(int bit, boolean value) {
96 int offset = bit % 8
    [all...]
  /external/ppp/android/
ip-up-vpn.c 59 uint32_t bit = ntohl(*netmask); local
60 bit = htonl(bit ^ (1 << 31 | bit >> 1));
61 if (bit) {
62 *netmask |= bit;
66 *address ^= bit;
  /external/v8/src/ia32/
debug-ia32.cc 131 Generate_DebugBreakCallHelper(masm, eax.bit() | ecx.bit(), false);
142 Generate_DebugBreakCallHelper(masm, eax.bit() | ecx.bit() | edx.bit(), false);
162 Generate_DebugBreakCallHelper(masm, eax.bit(), false);
193 Generate_DebugBreakCallHelper(masm, eax.bit(), true);
  /external/ping/
ping_common.h 32 #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */
33 #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */
34 #define SET(bit) (A(bit) |= B(bit))
35 #define CLR(bit) (A(bit) &= (~B(bit))
    [all...]
  /dalvik/dx/src/com/android/dx/util/
Bits.java 20 * Utilities for treating {@code int[]}s as bit sets.
31 * Constructs a bit set to contain bits up to the given index (exclusive).
33 * @param max {@code >= 0;} the maximum bit index (exclusive)
42 * Gets the maximum index (exclusive) for the given bit set.
44 * @param bits {@code non-null;} bit set in question
52 * Gets the value of the bit at the given index.
54 * @param bits {@code non-null;} bit set to operate on
55 * @param idx {@code >= 0, < getMax(set);} which bit
56 * @return the value of the indicated bit
60 int bit = 1 << (idx & 0x1f) local
73 int bit = 1 << (idx & 0x1f); local
90 int bit = 1 << (idx & 0x1f); local
102 int bit = 1 << (idx & 0x1f); local
    [all...]
  /external/webkit/WebKitTools/Scripts/
set-webkit-configuration 37 --32-bit Set the default architecture to 32-bit
38 --64-bit Set the default architecture to 64-bit
47 # Handle --64-bit explicitly here, as we don't want our other scripts to accept it
50 if ($opt =~ /^--64-bit$/i) {
  /external/v8/src/arm/
debug-arm.cc 133 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit());
147 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit());
181 Generate_DebugBreakCallHelper(masm, r1.bit());
189 Generate_DebugBreakCallHelper(masm, r0.bit());
197 Generate_DebugBreakCallHelper(masm, r0.bit());

Completed in 806 milliseconds

1 2 3 4 5 6 7 8 91011>>