Home
last modified time | relevance | path

Searched refs:bit_offset (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_compress.c101 int bit_offset; member
186 state->bit_offset = 0; in archive_compressor_compress_open()
247 int bits, ret, clear_flg, bit_offset; in output_code() local
255 bit_offset = state->bit_offset % 8; in output_code()
260 ocode >>= 8 - bit_offset; in output_code()
268 state->bit_offset += state->code_len; in output_code()
271 state->bit_offset = 0; in output_code()
282 if (state->bit_offset > 0) { in output_code()
287 state->bit_offset += 8; in output_code()
292 state->bit_offset = 0; in output_code()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/bindings/interface/
H A DSBTypeExtensions.i13bit_offset = property(GetOffsetInBits, None, doc='''A read only property that returns offset in bi…
98 bit_offset = base.bit_offset
101 if member.bit_offset > bit_offset:
108 bit_offset = vbase.bit_offset
111 if member.bit_offset > bit_offset:
118 bit_offset = field.bit_offset
121 if member.bit_offset > bit_offset:
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h85 uint64_t bit_offset; member
96 : kind(kind), name(), bit_offset(0), bit_size(0), qt(), in Member()
98 Member(llvm::StringRef name, uint64_t bit_offset, uint64_t bit_size, in Member()
100 : kind(Field), name(name), bit_offset(bit_offset), bit_size(bit_size), in Member()
105 base_offset = bit_offset; in ConvertToStruct()
106 fields.push_back(std::make_unique<Member>(name, bit_offset, bit_size, qt, in ConvertToStruct()
111 bit_offset = bit_size = bitfield_width = 0; in ConvertToStruct()
137 uint64_t AddMember(TypeSystemClang &clang, Member *field, uint64_t bit_offset,
H A DUdtRecordCompleter.cpp341 uint64_t bit_offset, CompilerType parent_ct, in AddMember() argument
372 ? member->bit_offset - field->base_offset in AddMember()
397 parent_layout.field_offsets.insert({field_decl, bit_offset}); in AddMember()
409 AddMember(clang, field.get(), field->bit_offset, m_derived_ct, m_layout, in FinishRecord()
485 parent->bit_offset = offset; in ConstructRecord()
/freebsd-14.2/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c92 int bit_offset; member
1120 if (bit_offset != 0) { in decompress_sequences()
1605 in->bit_offset = (num_bits + in->bit_offset) % 8; in IO_read_bits()
1635 if (in->bit_offset != 0) { in IO_align_stream()
1641 in->bit_offset = 0; in IO_align_stream()
1668 if (in->bit_offset != 0) { in IO_get_read_ptr()
1694 if (in->bit_offset != 0) { in IO_advance_input()
1734 size_t bit_offset = offset % 8; in read_bits_LE() local
1744 shift += 8 - bit_offset; in read_bits_LE()
1745 left -= 8 - bit_offset; in read_bits_LE()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBType.cpp414 uint32_t bit_offset = 0; in GetDirectBaseClassAtIndex() local
417 idx, &bit_offset); in GetDirectBaseClassAtIndex()
420 TypeImplSP(new TypeImpl(base_class_type)), bit_offset)); in GetDirectBaseClassAtIndex()
430 uint32_t bit_offset = 0; in GetVirtualBaseClassAtIndex() local
433 idx, &bit_offset); in GetVirtualBaseClassAtIndex()
436 TypeImplSP(new TypeImpl(base_class_type)), bit_offset)); in GetVirtualBaseClassAtIndex()
470 uint64_t bit_offset = 0; in GetFieldAtIndex() local
475 idx, name_sstr, &bit_offset, &bitfield_bit_size, &is_bitfield)); in GetFieldAtIndex()
745 const uint32_t bit_offset = m_opaque_up->GetBitOffset(); in GetDescription() local
746 const uint32_t byte_offset = bit_offset / 8u; in GetDescription()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcessStructReader.h54 uint64_t bit_offset; in ProcessStructReader() local
58 idx, name, &bit_offset, &bitfield_bit_size, &is_bitfield); in ProcessStructReader()
66 size_t byte_index = static_cast<size_t>(bit_offset / 8); in ProcessStructReader()
/freebsd-14.2/sys/contrib/device-tree/Bindings/clock/
H A Dst,stm32-rcc.txt45 It is calculated as: index = register_offset / 4 * 32 + bit_offset.
46 Where bit_offset is the bit offset within the register (LSB is 0, MSB is 31).
129 It is calculated as: index = register_offset / 4 * 32 + bit_offset.
130 Where bit_offset is the bit offset within the register.
H A Dst,stm32h7-rcc.txt61 It is calculated as: index = register_offset / 4 * 32 + bit_offset.
62 Where bit_offset is the bit offset within the register.
H A Dst,stm32mp1-rcc.yaml35 It is calculated as: index = register_offset / 4 * 32 + bit_offset.
36 Where bit_offset is the bit offset within the register.
/freebsd-14.2/sys/dev/ice/
H A Dice_bitops.h508 u32 bit_offset = i * BITS_PER_U32; in ice_bitmap_from_array32() local
514 ice_set_bit((u16)(j + bit_offset), dst); in ice_bitmap_from_array32()
523 u32 bit_offset = i * BITS_PER_U32; in ice_bitmap_from_array32() local
529 ice_set_bit((u16)(j + bit_offset), dst); in ice_bitmap_from_array32()
/freebsd-14.2/usr.sbin/bhyve/
H A Dbasl.h67 uint8_t bit_width, uint8_t bit_offset, uint8_t access_width,
89 uint8_t bit_width, uint8_t bit_offset, uint8_t access_width,
H A Dbasl.c133 const uint8_t bit_width, const uint8_t bit_offset, in basl_fill_gas() argument
140 gas->BitOffset = bit_offset; in basl_fill_gas()
568 const uint8_t bit_width, const uint8_t bit_offset, in basl_table_append_gas() argument
574 .BitOffset = bit_offset, in basl_table_append_gas()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp2655 bit_offset = form_value.Signed(); in MemberAttributes()
2703 if (byte_size.value_or(0) == 0 && bit_offset < 0) { in MemberAttributes()
2705 bit_offset = 0; in MemberAttributes()
2967 this_field_info.bit_offset = field_bit_offset; in ParseSingleMember()
2980 this_field_info.bit_offset -= (attrs.bit_offset + attrs.bit_size); in ParseSingleMember()
2982 this_field_info.bit_offset += attrs.bit_offset; in ParseSingleMember()
2994 this_field_info.bit_offset == 0) && in ParseSingleMember()
2998 this_field_info.bit_offset)))) { in ParseSingleMember()
3011 field_bit_offset = this_field_info.bit_offset; in ParseSingleMember()
3060 last_field_info.bit_offset = field_bit_offset; in ParseSingleMember()
[all …]
H A DDWARFASTParserClang.h256 uint64_t bit_offset = 0; member
271 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid()
284 int64_t bit_offset = 0; member
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DType.h665 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset,
668 : m_type_impl_sp(type_impl_sp), m_bit_offset(bit_offset), m_name(name), in m_type_impl_sp()
671 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset) in TypeMemberImpl() argument
672 : m_type_impl_sp(type_impl_sp), m_bit_offset(bit_offset), in TypeMemberImpl()
/freebsd-14.2/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp406 uint32_t bit_offset; in IsVirtualBase() local
407 auto base = GetVirtualBaseClassAtIndex(i, &bit_offset); in IsVirtualBase()
420 uint32_t bit_offset; in IsVirtualBase() local
421 auto base = GetDirectBaseClassAtIndex(i, &bit_offset); in IsVirtualBase()
482 uint32_t bit_offset; in GetNumberOfNonEmptyBaseClasses() local
483 CompilerType base_type = GetDirectBaseClassAtIndex(i, &bit_offset); in GetNumberOfNonEmptyBaseClasses()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp285 uint64_t bit_offset; in GetValueOffset() local
286 if (node_type.GetIndexOfFieldWithName("__value_", nullptr, &bit_offset) != in GetValueOffset()
288 m_skip_size = bit_offset / 8u; in GetValueOffset()
/freebsd-14.2/sys/contrib/xen/
H A Dplatform.h393 uint32_t bit_offset; member
436 uint8_t bit_offset; member
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h443 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Get() local
444 return (buffer[index] >> bit_offset) & counter_mask; in Get()
450 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Inc() local
451 buffer[index] += 1ULL << bit_offset; in Inc()
/freebsd-14.2/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c120 reg->bit_offset = raw.gas.BitOffset; in acpi_get_pct()
313 cx_ptr->reg.bit_offset = gas.BitOffset; in acpi_fetch_cx()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp799 bool Scalar::ExtractBitfield(uint32_t bit_size, uint32_t bit_offset) { in ExtractBitfield() argument
809 m_integer >>= bit_offset; in ExtractBitfield()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h77 bool ExtractBitfield(uint32_t bit_size, uint32_t bit_offset);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp295 int32_t &bit_offset) { in GetVBaseBitOffset() argument
311 bit_offset = base_offset * 8; in GetVBaseBitOffset()
6101 int32_t bit_offset; in GetChildCompilerTypeAtIndex() local
6174 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6218 bit_offset = record_layout.getFieldOffset(field_idx); in GetChildCompilerTypeAtIndex()
6222 bit_offset - child_bitfield_bit_offset; in GetChildCompilerTypeAtIndex()
6225 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6325 bit_offset = INT32_MAX; in GetChildCompilerTypeAtIndex()
6331 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6341 if (bit_offset == INT32_MAX) in GetChildCompilerTypeAtIndex()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp2175 uint32_t bit_offset = 0; in Evaluate() local
2178 bit_size, bit_offset)) { in Evaluate()

12