Home
last modified time | relevance | path

Searched refs:bitfield (Results 1 – 25 of 163) sorted by relevance

1234567

/external/wpa_supplicant_8/src/utils/
Dbitfield.h12 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);
Dbitfield.c15 struct bitfield { struct
21 struct bitfield * bitfield_alloc(size_t max_bits) in bitfield_alloc() argument
23 struct bitfield *bf; in bitfield_alloc()
34 void bitfield_free(struct bitfield *bf) in bitfield_free()
40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set()
48 void bitfield_clear(struct bitfield *bf, size_t bit) in bitfield_clear()
56 int bitfield_is_set(struct bitfield *bf, size_t bit) in bitfield_is_set()
76 int bitfield_get_first_zero(struct bitfield *bf) in bitfield_get_first_zero()
/external/libhevc/encoder/
Dihevce_common_utils.h194 static INLINE UWORD32 ihevce_num_ones_generic(UWORD32 bitfield) in ihevce_num_ones_generic() argument
196 bitfield = bitfield - ((bitfield >> 1) & 0x55555555); in ihevce_num_ones_generic()
197 bitfield = (bitfield & 0x33333333) + ((bitfield >> 2) & 0x33333333); in ihevce_num_ones_generic()
198 return (((bitfield + (bitfield >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24; in ihevce_num_ones_generic()
201 static INLINE UWORD32 ihevce_num_ones_popcnt(UWORD32 bitfield) in ihevce_num_ones_popcnt() argument
203 return __builtin_popcount(bitfield); in ihevce_num_ones_popcnt()
/external/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp101 GLbitfield64 bitfield; in mark() local
105 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in mark()
109 bitfield = BITFIELD64_BIT(idx); in mark()
114 prog->info.patch_inputs_read |= bitfield; in mark()
116 prog->info.inputs_read |= bitfield; in mark()
121 prog->info.double_inputs_read |= bitfield; in mark()
127 prog->info.system_values_read |= bitfield; in mark()
131 prog->info.patch_outputs_written |= bitfield; in mark()
133 prog->info.outputs_written |= bitfield; in mark()
135 prog->SecondaryOutputsWritten |= bitfield; in mark()
[all …]
/external/clang/test/SemaTemplate/
Dinstantiate-expr-1.cpp15 int bitfield : I + J; // expected-error{{bit-field 'bitfield' has zero width}} member
25 int bitfield : I - J; // expected-error{{bit-field 'bitfield' has negative width (-1)}} \ member
37 int bitfield : I / J; // expected-error{{expression is not an integral constant expression}} \ member
48 int bitfield : I + J; member
57 int bitfield : (-I); // expected-error{{bit-field 'bitfield' has negative width (-5)}}
62 int bitfield : (-I); // expected-error{{bit-field 'bitfield' has negative width (-5)}}
Denum-argument.cpp31 unsigned long long bitfield : e0; member
34 bitfield + j; in f()
Dinstantiate-field.cpp8 T bitfield : 12; // expected-error{{bit-field 'bitfield' has non-integral type 'float'}} \ member
18 int i3 = xi->bitfield; in test1()
/external/mesa3d/src/compiler/nir/
Dnir_gather_info.c40 uint64_t bitfield; in set_io_mask() local
44 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in set_io_mask()
48 bitfield = BITFIELD64_BIT(idx); in set_io_mask()
53 shader->info.patch_inputs_read |= bitfield; in set_io_mask()
55 shader->info.inputs_read |= bitfield; in set_io_mask()
64 shader->info.patch_outputs_read |= bitfield; in set_io_mask()
66 shader->info.outputs_read |= bitfield; in set_io_mask()
70 shader->info.patch_outputs_written |= bitfield; in set_io_mask()
72 shader->info.outputs_written |= bitfield; in set_io_mask()
78 shader->info.outputs_read |= bitfield; in set_io_mask()
/external/llvm/test/DebugInfo/AArch64/
Dbitfields.ll5 ; struct bitfield {
11 ; struct bitfield b;
49 %struct.bitfield = type <{ i8, [3 x i8], i64 }>
51 @b = common global %struct.bitfield zeroinitializer, align 4
61 …0, file: !5, line: 8, type: !6, isLocal: false, isDefinition: true, variable: %struct.bitfield* @b)
63 !6 = !DICompositeType(tag: DW_TAG_structure_type, name: "bitfield", file: !5, line: 1, size: 96, al…
/external/llvm/test/DebugInfo/X86/
Dbitfields.ll5 ; struct bitfield {
11 ; struct bitfield b;
49 %struct.bitfield = type <{ i8, [3 x i8], i64 }>
51 @b = common global %struct.bitfield zeroinitializer, align 4
61 …0, file: !5, line: 8, type: !6, isLocal: false, isDefinition: true, variable: %struct.bitfield* @b)
63 !6 = !DICompositeType(tag: DW_TAG_structure_type, name: "bitfield", file: !5, line: 1, size: 96, al…
/external/v8/src/builtins/
Dbuiltins-data-view-gen.h54 TNode<WordT> bitfield = LoadBigIntBitfield(value); in DataViewDecodeBigIntLength() local
55 return DecodeWord<BigIntBase::LengthBits>(bitfield); in DataViewDecodeBigIntLength()
59 TNode<WordT> bitfield = LoadBigIntBitfield(value); in DataViewDecodeBigIntSign() local
60 return DecodeWord<BigIntBase::SignBits>(bitfield); in DataViewDecodeBigIntSign()
/external/u-boot/board/hisilicon/hikey/
Dhikey.c149 void hi6220_clk_enable(u32 bitfield, unsigned int *clk_base) in hi6220_clk_enable() argument
154 data |= bitfield; in hi6220_clk_enable()
156 writel(bitfield, clk_base); in hi6220_clk_enable()
159 } while ((data & bitfield) == 0); in hi6220_clk_enable()
165 void hi6220_clk_disable(u32 bitfield, unsigned int *clk_base) in hi6220_clk_disable() argument
170 data |= bitfield; in hi6220_clk_disable()
175 } while (data & bitfield); in hi6220_clk_disable()
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Dbitfields.ll5 ; struct bitfield {
11 ; struct bitfield b;
50 %struct.bitfield = type <{ i8, [3 x i8], i64 }>
52 @b = common global %struct.bitfield zeroinitializer, align 4, !dbg !0
64 !6 = !DICompositeType(tag: DW_TAG_structure_type, name: "bitfield", file: !3, line: 1, size: 96, el…
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/AArch64/
Dbitfields.ll5 ; struct bitfield {
11 ; struct bitfield b;
50 %struct.bitfield = type <{ i8, [3 x i8], i64 }>
52 @b = common global %struct.bitfield zeroinitializer, align 4, !dbg !0
64 !6 = !DICompositeType(tag: DW_TAG_structure_type, name: "bitfield", file: !3, line: 1, size: 96, el…
/external/v8/src/objects/
Dbigint.h27 intptr_t bitfield = READ_INTPTR_FIELD(this, kBitfieldOffset); in length() local
28 return LengthBits::decode(static_cast<uint32_t>(bitfield)); in length()
60 intptr_t bitfield = READ_INTPTR_FIELD(this, kBitfieldOffset); in sign() local
61 return SignBits::decode(static_cast<uint32_t>(bitfield)); in sign()
207 static int DigitsByteLengthForBitfield(uint32_t bitfield);
212 Isolate* isolate, uint32_t bitfield, Vector<const uint8_t> digits_storage,
/external/deqp/external/vulkancts/scripts/
Dgen_framework.py622 bitfieldsByName = {bitfield.name: bitfield for bitfield in allBitfields}
673 if not bitfieldName in [bitfield.name for bitfield in bitfields]:
770 def genBitfieldSrc (bitfield): argument
771 if len(bitfield.values) > 0:
772 yield "enum %s" % getBitEnumNameForBitfield(bitfield.name)
774 for line in indentLines(["\t%s\t= %s," % v for v in bitfield.values]):
777 yield "typedef deUint32 %s;" % bitfield.name
834 for bitfield in api.bitfields:
835 if not bitfield.isAlias:
836 for line in genBitfieldSrc(bitfield):
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c763 const struct bptc_float_bitfield *bitfield; in extract_float_endpoints() local
776 for (bitfield = mode->bitfields; bitfield->endpoint != -1; bitfield++) { in extract_float_endpoints()
777 value = extract_bits(block, bit_offset, bitfield->n_bits); in extract_float_endpoints()
778 bit_offset += bitfield->n_bits; in extract_float_endpoints()
780 if (bitfield->reverse) { in extract_float_endpoints()
781 for (i = 0; i < bitfield->n_bits; i++) { in extract_float_endpoints()
783 endpoints[bitfield->endpoint][bitfield->component] |= in extract_float_endpoints()
784 1 << ((bitfield->n_bits - 1 - i) + bitfield->offset); in extract_float_endpoints()
787 endpoints[bitfield->endpoint][bitfield->component] |= in extract_float_endpoints()
788 value << bitfield->offset; in extract_float_endpoints()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dspirv_definition.h22 #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) argument
/external/deqp-deps/SPIRV-Tools/source/
Dspirv_definition.h22 #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) argument
/external/clang/test/CodeGenCXX/
Dreference-init.cpp24 struct { int bitfield : 3; } s = { 3 }; member
25 const int &s2 = s.bitfield;
/external/clang/test/SemaCXX/
Dptrtomember.cpp15 int bitfield : 1; member
18 int S2::*pf = &S2::bitfield; // expected-error {{address of bit-field requested}}
/external/clang/test/Sema/
Dauto-type.c19 struct bitfield { int field:2; }; in i() argument
20 …__auto_type j = (struct bitfield){1}.field; // expected-error {{cannot pass bit-field as __auto_ty… in i()
/external/clang/test/Analysis/
Dunused-ivars.m99 // <rdar://problem/8481311> Unused bitfield ivars trigger cause weird
105 …unsigned bitfield:1; // expected-warning {{Instance variable 'bitfield' in class 'RDar8481311' is … field
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dbitfield.ll13 ; N.b. this doesn't actually produce a bitfield instruction at the
29 ; N.b. this doesn't actually produce a bitfield instruction at the
45 ; N.b. this doesn't actually produce a bitfield instruction at the
61 ; N.b. this doesn't actually produce a bitfield instruction at the
135 ; the bitfield ops.
158 ; These instructions don't actually select to official bitfield
/external/llvm/test/CodeGen/AArch64/
Dbitfield.ll13 ; N.b. this doesn't actually produce a bitfield instruction at the
29 ; N.b. this doesn't actually produce a bitfield instruction at the
45 ; N.b. this doesn't actually produce a bitfield instruction at the
61 ; N.b. this doesn't actually produce a bitfield instruction at the
135 ; the bitfield ops.
158 ; These instructions don't actually select to official bitfield

1234567