/external/wpa_supplicant_8/src/utils/ |
bitfield.h | 2 * Bitfield 12 struct bitfield; 14 struct bitfield * bitfield_alloc(size_t max_bits); 15 void bitfield_free(struct bitfield *bf); 16 void bitfield_set(struct bitfield *bf, size_t bit); 17 void bitfield_clear(struct bitfield *bf, size_t bit); 18 int bitfield_is_set(struct bitfield *bf, size_t bit); 19 int bitfield_get_first_zero(struct bitfield *bf);
|
bitfield.c | 2 * Bitfield 12 #include "bitfield.h" 15 struct bitfield { struct 21 struct bitfield * bitfield_alloc(size_t max_bits) 23 struct bitfield *bf; 34 void bitfield_free(struct bitfield *bf) 40 void bitfield_set(struct bitfield *bf, size_t bit) 48 void bitfield_clear(struct bitfield *bf, size_t bit) 56 int bitfield_is_set(struct bitfield *bf, size_t bit) 76 int bitfield_get_first_zero(struct bitfield *bf [all...] |
Makefile | 17 bitfield.o \
|
/external/chromium_org/gpu/command_buffer/common/ |
bitfield_helpers_test.cc | 5 // Tests for the bitfield helper class. 12 // Tests that BitField<>::Get returns the right bits. 15 EXPECT_EQ(0x8u, (BitField<0, 4>::Get(value))); 16 EXPECT_EQ(0x45u, (BitField<12, 8>::Get(value))); 17 EXPECT_EQ(0x12345678u, (BitField<0, 32>::Get(value))); 20 // Tests that BitField<>::MakeValue generates the right bits. 22 EXPECT_EQ(0x00000003u, (BitField<0, 4>::MakeValue(0x3))); 23 EXPECT_EQ(0x00023000u, (BitField<12, 8>::MakeValue(0x123))); 24 EXPECT_EQ(0x87654321u, (BitField<0, 32>::MakeValue(0x87654321))); 27 // Tests that BitField<>::Set modifies the right bits [all...] |
bitfield_helpers.h | 13 // Bitfield template class, used to access bit fields in unsigned int_ts. 14 template<int shift, int length> class BitField {
|
/external/llvm/test/TableGen/ |
BitsInitOverflow.td | 4 bits<2> X = 5; // bitfield is too small, reject
|
/ndk/tests/device/bitfield/jni/ |
Android.mk | 6 LOCAL_MODULE := bitfield
|
/external/clang/test/CodeGenCXX/ |
reference-init.cpp | 24 struct { int bitfield : 3; } s = { 3 }; member in struct:__anon16711 25 const int &s2 = s.bitfield;
|
/external/clang/test/SemaTemplate/ |
enum-argument.cpp | 31 unsigned long long bitfield : e0; member in struct:rdar8020920::X 34 bitfield + j;
|
instantiate-expr-1.cpp | 15 int bitfield : I + J; // expected-error{{bit-field 'bitfield' has zero width}} member in struct:BitfieldPlus 25 int bitfield : I - J; // expected-error{{bit-field 'bitfield' has negative width (-1)}} \ member in struct:BitfieldMinus 26 // expected-error{{bit-field 'bitfield' has zero width}} 37 int bitfield : I / J; // expected-error{{expression is not an integral constant expression}} \ member in struct:BitfieldDivide 48 int bitfield : I + J; member in struct:BitfieldDep 57 int bitfield : (-I); // expected-error{{bit-field 'bitfield' has negative width (-5)}} member in struct:BitfieldNeg 62 int bitfield : (-I); // expected-error{{bit-field 'bitfield' has negative width (-5)} member in struct:BitfieldNeg2 [all...] |
instantiate-field.cpp | 8 T bitfield : 12; // expected-error{{bit-field 'bitfield' has non-integral type 'float'}} \ member in struct:X 18 int i3 = xi->bitfield;
|
/external/clang/test/Sema/ |
constant-conversion.c | 14 a.i5 = 36; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 36 to 4}} 34 struct A a = { 0, 10 }; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 10 to -2}} 35 struct A b[] = { 0, 10, 0, 0 }; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 10 to -2}} 36 struct A c[] = {{10, 0}}; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 10 to 2}} 37 struct A d = (struct A) { 10, 0 }; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 10 to 2}} 38 struct A e = { .foo = 10 }; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 10 to 2}} 46 a.c = 0x101; // expected-warning {{implicit truncation from 'int' to bitfield changes value from 257 to 1}} 55 // don't warn about it just because it's a bitfield. 72 f.twoBits1 = ~1; // expected-warning {{implicit truncation from 'int' to bitfield changes value from -2 to 2}} 73 f.twoBits2 = ~2; // expected-warning {{implicit truncation from 'int' to bitfield changes value from -3 to 1} [all...] |
bitfield.c | 51 (void) sizeof(t->bitX = 4); // not a bitfield designator in C 52 (void) sizeof(t->bitX += 4); // not a bitfield designator in C 53 (void) sizeof((void) 0, t->bitX); // not a bitfield designator in C 54 (void) sizeof(t->var ? t->bitX : t->bitY); // not a bitfield designator in C 55 (void) sizeof(t->var ? t->bitX : t->bitX); // not a bitfield designator in C
|
/external/clang/test/CodeGenObjC/ |
unname-bf-metadata.m | 2 // Test that meta-data for ivar lists with unnamed bitfield are generated.
|
2010-03-17-StructRef.m | 2 // Bitfield references must not touch memory outside of the enclosing 33 // We're expecting these three bitfield assignments will generate i8 stores.
|
/external/clang/test/CodeGen/ |
2009-12-07-BitFieldAlignment.c | 2 // Set alignment on bitfield accesses.
|
PR2001-bitfield-reload.c | 5 the bitfield* as opposed to the RHS. */
|
2003-09-18-BitfieldTests.c | 11 return &b->B; // Must be able to address non-bitfield
|
/external/clang/test/SemaCXX/ |
ms_struct.cpp | 19 "We can't allocate the bitfield into the padding under ms_struct")
|
/external/clang/test/Parser/ |
objc-property-syntax.m | 7 @property unsigned char bufferedUTFBytes:1; // expected-error {{property name cannot be a bitfield}}
|
/external/chromium_org/v8/src/ |
code-stubs.h | 250 class MajorKeyBits: public BitField<uint32_t, 0, kStubMajorKeyBits> {}; 251 class MinorKeyBits: public BitField<uint32_t, 381 class MinorKeyBits: public BitField<int, 0, kStubMinorKeyBits - 1> {}; 382 class IsMissBits: public BitField<bool, kStubMinorKeyBits - 1, 1> {}; 520 class StrictModeBits: public BitField<bool, 0, 1> {}; 521 class IsGeneratorBits: public BitField<bool, 1, 1> {}; 624 class AllocationSiteModeBits: public BitField<AllocationSiteMode, 0, 1> {}; 625 class ModeBits: public BitField<Mode, 1, 4> {}; 626 class LengthBits: public BitField<int, 5, 4> {}; 794 class KindBits: public BitField<Code::Kind, 0, 4> {} [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
syncable_enum_conversions.h | 33 const char* GetBitFieldString(BitField bit_field);
|
/external/llvm/test/CodeGen/AArch64/ |
bitfield-insert-0.ll | 3 ; The encoding of lsb -> immr in the CGed bitfield instructions was wrong at one
|
/frameworks/av/media/libmedia/ |
autodetect.h | 34 // returns a bitfield containing the possible native encodings for the given character
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
matroxfb.h | 21 /* bitfield */
|