Home
last modified time | relevance | path

Searched refs:bitfields (Results 1 - 18 of 18) sorted by relevance

/third_party/rust/crates/bindgen/bindgen-integration/src/
H A Dlib.rs65 let mut first: bindings::bitfields::First = unsafe { mem::zeroed() }; in test_bitfields_first()
75 let mut second: bindings::bitfields::Second = unsafe { mem::zeroed() }; in test_bitfields_second()
84 let mut third: bindings::bitfields::Third = unsafe { mem::zeroed() }; in test_bitfields_third()
86 third.assert(0, false, bindings::bitfields::ItemKind::ITEM_KIND_UNO) in test_bitfields_third()
90 third.set_kind(bindings::bitfields::ItemKind::ITEM_KIND_TRES); in test_bitfields_third()
92 third.assert(12345, true, bindings::bitfields::ItemKind::ITEM_KIND_TRES) in test_bitfields_third()
98 let mut fourth: bindings::bitfields::Fourth = unsafe { mem::zeroed() }; in test_bitfields_fourth()
99 assert!(unsafe { fourth.assert(bindings::bitfields::MyEnum::ONE, 0) }); in test_bitfields_fourth()
101 fourth.set_tag(bindings::bitfields::MyEnum::THREE); in test_bitfields_fourth()
104 fourth.assert(bindings::bitfields in test_bitfields_fourth()
[all...]
/third_party/mesa3d/src/freedreno/rnn/
H A Drnndec.c150 /* The name UNK%u is used as a placeholder for bitfields that exist but
165 struct rnnbitfield **bitfields; in rnndec_decodeval() local
197 bitfields = ti->ebitset->bitfields; in rnndec_decodeval()
201 bitfields = ti->bitfields; in rnndec_decodeval()
207 if (!rnndec_varmatch(ctx, &bitfields[i]->varinfo)) in rnndec_decodeval()
209 uint64_t type_mask = typeinfo_mask(&bitfields[i]->typeinfo); in rnndec_decodeval()
210 if (((value & type_mask) == 0) && is_unknown(bitfields[i]->name)) in rnndec_decodeval()
213 if (bitfields[ in rnndec_decodeval()
[all...]
H A Drnn.h133 struct rnnbitfield **bitfields; member
158 struct rnnbitfield **bitfields; member
H A Drnn.c176 ADDARRAY(ti->bitfields, bf); in trytypetag()
454 ADDARRAY(cur->bitfields, bf); in parsebitset()
986 ADDARRAY(dst->bitfields, copybitfield(src->bitfields[i], file)); in copytypeinfo()
1177 ADDARRAY(ti->bitfields, copybitfield(bs->bitfields[j], file)); in preptypeinfo()
1228 prepbitfield(db, ti->bitfields[i], prefix, vi); in preptypeinfo()
1310 prepbitfield(db, bs->bitfields[i], bs->bare?0:bs->name, &bs->varinfo); in prepbitset()
H A Dheadergen2.c225 printbitfield(ti->bitfields[i], ti->low); in printtypeinfo()
492 printbitfield (db->bitsets[i]->bitfields[j], 0); in main()
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomp.rs159 /// A contiguous set of logical bitfields that live within the same physical
167 bitfields: Vec<Bitfield>,
173 /// of bitfields.
178 /// Get the layout within which these bitfields reside.
183 /// Get the bitfields within this unit.
184 pub fn bitfields(&self) -> &[Bitfield] { in bitfields() functions
185 &self.bitfields in bitfields()
195 /// A physical allocation unit containing many logical bitfields.
222 Field::Bitfields(BitfieldUnit { ref bitfields, .. }) => { in trace()
223 for bf in bitfields { in trace()
521 let mut bitfields = raw_fields raw_fields_to_fields_and_bitfield_units() variables
[all...]
/third_party/mesa3d/src/freedreno/decode/
H A Dscript.c222 /* if a register has no bitfields, just return in l_rnn_etype()
344 struct rnnbitfield **bitfields; in l_rnn_reg_meta_index() local
350 bitfields = info->ebitset->bitfields; in l_rnn_reg_meta_index()
354 bitfields = info->bitfields; in l_rnn_reg_meta_index()
363 struct rnnbitfield *bf = bitfields[i]; in l_rnn_reg_meta_index()
687 * for matching bitfields.. so that the script could do something like in l_rnn_meta_dom_index()
702 * decoding for the individual dwords and bitfields.
/third_party/mesa3d/src/amd/addrlib/src/chip/gfx11/
H A Dgfx11_gb_reg.h70 } bitfields, bits; member
/third_party/mesa3d/src/amd/addrlib/src/chip/gfx10/
H A Dgfx10_gb_reg.h62 } bitfields, bits; member
/third_party/mesa3d/src/amd/addrlib/src/chip/gfx9/
H A Dgfx9_gb_reg.h80 } bitfields, bits; member
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Dgen_framework_sc.py429 def __init__ (self, name, handles, enums, bitfields, compositeTypes, functions, definitions, additionalDefinitions, typedefs, versionInCore):
435 self.bitfields = bitfields
442 return 'EXT:\n%s ->\nENUMS:\n%s\nCOMPOS:\n%s\nFUNCS:\n%s\nBITF:\n%s\nHAND:\n%s\nDEFS:\n%s\n' % (self.name, self.enums, self.compositeTypes, self.functions, self.bitfields, self.handles, self.definitions, self.versionInCore)
445 def __init__ (self, versions, definitions, handles, enums, bitfields, bitfields64, compositeTypes, functions, extensions, additionalExtensionData):
450 self.bitfields = bitfields
512 # \note Parses raw enums, some are mapped to bitfields later
807 bitfields = []
825 bitfields
[all...]
/third_party/elfutils/libcpu/
H A Di386_parse.y199 static void *bitfields;
375 res = tfind (&search, &bitfields, bitfield_compare);
438 res = tfind (&search, &bitfields, bitfield_compare);
498 res = tfind (&search, &bitfields, bitfield_compare);
576 if (tfind (newp, &bitfields, bitfield_compare) != NULL)
585 if (tsearch (newp, &bitfields, bitfield_compare) == NULL)
/third_party/rust/crates/bindgen/bindgen-integration/cpp/
H A DTest.h69 namespace bitfields { namespace
79 /// Returns true if the bitfields match the arguments, false otherwise.
89 /// Returns true if the bitfields match the arguments, false otherwise.
105 /// Returns true if the bitfields match the arguments, false otherwise.
120 /// Returns true if the bitfields match the arguments, false otherwise.
146 /// Returns true if the bitfields match the arguments, false otherwise.
160 /// Returns true if the bitfields match the arguments, false otherwise.
176 /// Returns true if the bitfields match the arguments, false otherwise.
186 } // namespace bitfields
H A DTest.cc45 namespace bitfields { namespace
133 } // namespace bitfields
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dimpl_partialeq.rs52 for bitfield in bu.bitfields() { in gen_partialeq_impl()
H A Dimpl_debug.rs93 for (i, bitfield) in self.bitfields().iter().enumerate() { in impl_debug()
H A Dmod.rs1635 for bf in self.bitfields() { in codegen()
1636 // Codegen not allowed for anonymous bitfields in codegen()
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_bptc_tmp.h67 struct bptc_float_bitfield bitfields[24]; member
885 for (bitfield = mode->bitfields; bitfield->endpoint != -1; bitfield++) { in extract_float_endpoints()

Completed in 19 milliseconds