Home
last modified time | relevance | path

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

1234567891011

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
DMakefile7 bitfield.o \
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/skia/third_party/externals/angle2/extensions/
DANGLE_external_objects_flags.txt60 bitfield createFlags,
61 bitfield usageFlags,
72 bitfield createFlags,
73 bitfield usageFlags,
84 bitfield createFlags,
85 bitfield usageFlags,
97 bitfield createFlags,
98 bitfield usageFlags,
110 bitfield createFlags,
111 bitfield usageFlags,
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
D_bitfield_io.dart5 import 'bitfield.dart' as bitfield;
7 /// The dart:io implementation of [bitfield.kMaxUnsignedSMI].
10 /// The dart:io implementation of [bitfield.Bitfield].
11 class BitField<T extends dynamic> implements bitfield.BitField<T> {
12 /// The dart:io implementation of [bitfield.Bitfield()].
17 /// The dart:io implementation of [bitfield.Bitfield.filled].
D_bitfield_web.dart5 import 'bitfield.dart' as bitfield;
7 /// The dart:html implementation of [bitfield.kMaxUnsignedSMI].
16 /// The dart:html implementation of [bitfield.Bitfield].
17 class BitField<T extends dynamic> implements bitfield.BitField<T> {
18 /// The dart:html implementation of [bitfield.Bitfield].
23 /// The dart:html implementation of [bitfield.Bitfield.filled].
/third_party/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->DualSlotInputs |= 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()
139 prog->info.outputs_read |= bitfield; in mark()
/third_party/mesa3d/src/compiler/nir/
Dnir_gather_info.c90 uint64_t bitfield; in set_io_mask() local
94 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in set_io_mask()
98 bitfield = BITFIELD64_BIT(idx); in set_io_mask()
107 shader->info.patch_inputs_read |= bitfield; in set_io_mask()
109 shader->info.patch_inputs_read_indirectly |= bitfield; in set_io_mask()
111 shader->info.inputs_read |= bitfield; in set_io_mask()
113 shader->info.inputs_read_indirectly |= bitfield; in set_io_mask()
117 shader->info.tess.tcs_cross_invocation_inputs_read |= bitfield; in set_io_mask()
126 shader->info.patch_outputs_read |= bitfield; in set_io_mask()
128 shader->info.patch_outputs_accessed_indirectly |= bitfield; in set_io_mask()
[all …]
/third_party/mesa3d/src/freedreno/registers/
Drules-ng-ng.txt64 a register/bitfield, or discriminate between card variants.
172 on register/bitfield size
177 - "bitset": value decoded further according to the inline <bitfield>
180 The default is "bitset" if there are inline <bitfield> tags present,
182 "boolean" if this is a bitfield with width 1, otherwise "hex".
217 The <reg*> tags can also contain either bitfield definitions, or enum value
228 any <reg*> / <bitfield> definitions that reference it.
241 The <enum>s are referenced from inside <reg*> and <bitfield> tags by setting
308 a given register / bitfield / value / whatever will be automatically prepended
338 contains <bitfield> tags with the following attributes:
[all …]
/third_party/spirv-tools/source/
Dspirv_definition.h22 #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) argument
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dspirv_definition.h22 #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dspirv_definition.h22 #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) argument
/third_party/skia/third_party/externals/spirv-tools/source/
Dspirv_definition.h22 #define spvIsInBitfield(value, bitfield) ((value) == ((value)&bitfield)) argument
/third_party/mesa3d/src/mesa/main/
Dtexcompress_bptc_tmp.h882 const struct bptc_float_bitfield *bitfield; in extract_float_endpoints() local
895 for (bitfield = mode->bitfields; bitfield->endpoint != -1; bitfield++) { in extract_float_endpoints()
896 value = extract_bits(block, bit_offset, bitfield->n_bits); in extract_float_endpoints()
897 bit_offset += bitfield->n_bits; in extract_float_endpoints()
899 if (bitfield->reverse) { in extract_float_endpoints()
900 for (i = 0; i < bitfield->n_bits; i++) { in extract_float_endpoints()
902 endpoints[bitfield->endpoint][bitfield->component] |= in extract_float_endpoints()
903 1 << ((bitfield->n_bits - 1 - i) + bitfield->offset); in extract_float_endpoints()
906 endpoints[bitfield->endpoint][bitfield->component] |= in extract_float_endpoints()
907 value << bitfield->offset; in extract_float_endpoints()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_shader_thread_group.txt145 The variable gl_ThreadEqMaskNV is a bitfield in which the bit equal to the
146 current thread id is set. The variable gl_ThreadGeMaskNV is a bitfield in
148 gl_ThreadGtMaskNV is a bitfield in which bits greater than the current
149 thread id are set. The variable gl_ThreadLeMaskNV is a bitfield in which
151 gl_ThreadLtMaskNV is a bitfield in which bits lower than the current thread
158 application wants a bitfield in which bits lower or equal to the current
219 The function ballotThreadNV() computes a 32-bit bitfield. It looks at the
440 component is filled with a 32-bit unsigned integer bitfield in which the
444 component is filled with a 32-bit unsigned integer bitfield in which bits
448 component is filled with a 32-bit unsigned integer bitfield in which bits
[all …]
/third_party/openGLES/extensions/NV/
DNV_shader_thread_group.txt145 The variable gl_ThreadEqMaskNV is a bitfield in which the bit equal to the
146 current thread id is set. The variable gl_ThreadGeMaskNV is a bitfield in
148 gl_ThreadGtMaskNV is a bitfield in which bits greater than the current
149 thread id are set. The variable gl_ThreadLeMaskNV is a bitfield in which
151 gl_ThreadLtMaskNV is a bitfield in which bits lower than the current thread
158 application wants a bitfield in which bits lower or equal to the current
219 The function ballotThreadNV() computes a 32-bit bitfield. It looks at the
440 component is filled with a 32-bit unsigned integer bitfield in which the
444 component is filled with a 32-bit unsigned integer bitfield in which bits
448 component is filled with a 32-bit unsigned integer bitfield in which bits
[all …]
/third_party/vk-gl-cts/external/vulkancts/scripts/
Dohos_gen_framework.py686 bitfieldsByName = {bitfield.name: bitfield for bitfield in allBitfields}
767 if not bitfieldName in [bitfield.name for bitfield in bitfields]:
891 def genBitfieldSrc (bitfield): argument
892 if len(bitfield.values) > 0:
893 yield "enum %s" % getBitEnumNameForBitfield(bitfield.name)
895 for line in indentLines(["\t%s\t= %s," % v for v in bitfield.values]):
898 yield "typedef uint32_t %s;" % bitfield.name
988 for bitfield in api.bitfields:
989 if not bitfield.isAlias:
990 for line in genBitfieldSrc(bitfield):
[all …]
Dgen_framework.py685 bitfieldsByName = {bitfield.name: bitfield for bitfield in allBitfields}
766 if not bitfieldName in [bitfield.name for bitfield in bitfields]:
890 def genBitfieldSrc (bitfield): argument
891 if len(bitfield.values) > 0:
892 yield "enum %s" % getBitEnumNameForBitfield(bitfield.name)
894 for line in indentLines(["\t%s\t= %s," % v for v in bitfield.values]):
897 yield "typedef uint32_t %s;" % bitfield.name
987 for bitfield in api.bitfields:
988 if not bitfield.isAlias:
989 for line in genBitfieldSrc(bitfield):
[all …]
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c5128 static void bitfield(unsigned char *pageaddr, char *text, int mask, int shift) in bitfield() function
5244 bitfield(pagestart + 17, "RPL", 3, 0); in read_geometry()
5284 bitfield(pagestart + 2, "RLEC", 1, 0); in read_control_page()
5285 bitfield(pagestart + 3, "QErr", 1, 1); in read_control_page()
5286 bitfield(pagestart + 3, "DQue", 1, 0); in read_control_page()
5287 bitfield(pagestart + 4, "EECA", 1, 7); in read_control_page()
5288 bitfield(pagestart + 4, "RAENP", 1, 2); in read_control_page()
5289 bitfield(pagestart + 4, "UUAENP", 1, 1); in read_control_page()
5290 bitfield(pagestart + 4, "EAENP", 1, 0); in read_control_page()
5291 bitfield(pagestart + 3, "Queue Algorithm Modifier", 0xf, 4); in read_control_page()
[all …]
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.cpp49 SLuint32 bitfield = (1 << channelCount) - 1; in channelCountToChannelMaskDefault() local
53 return SL_ANDROID_MAKE_INDEXED_CHANNEL_MASK(bitfield); in channelCountToChannelMaskDefault()
58 return bitfield; in channelCountToChannelMaskDefault()
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_packed_6bytes.txt116 A new table is added to demonstrate bitfield locations <type>
117 UNSIGNED_6BYTES_12_12_12_12_SGIX. The bitfield locations for the first, second,
175 exponent are performed for each bitfield of the packed data type,
176 with N set to the number of bits in the bitfield.
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dmeson.build242 if cc.has_argument('-Wpacked-bitfield-compat')
243 freedreno_c_args += '-Wno-packed-bitfield-compat'
247 if cpp.has_argument('-Wpacked-bitfield-compat')
248 freedreno_cpp_args += '-Wno-packed-bitfield-compat'
/third_party/openGLES/extensions/SGIX/
DSGIX_packed_6bytes.txt116 A new table is added to demonstrate bitfield locations <type>
117 UNSIGNED_6BYTES_12_12_12_12_SGIX. The bitfield locations for the first, second,
175 exponent are performed for each bitfield of the packed data type,
176 with N set to the number of bits in the bitfield.

1234567891011