Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_compress.c103 int bit_offset; member
193 state->bit_offset = 0; in archive_compressor_compress_open()
254 int bits, ret, clear_flg, bit_offset; in output_code() local
262 bit_offset = state->bit_offset % 8; in output_code()
267 ocode >>= 8 - bit_offset; in output_code()
275 state->bit_offset += state->code_len; in output_code()
278 state->bit_offset = 0; in output_code()
289 if (state->bit_offset > 0) { in output_code()
294 state->bit_offset += 8; in output_code()
299 state->bit_offset = 0; in output_code()
[all …]
/freebsd-12.1/contrib/gcc/
H A Dtree-dfa.c868 tree bit_offset = bitsize_zero_node; in get_ref_base_and_extent() local
905 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
920 bit_offset = size_binop (PLUS_EXPR, in get_ref_base_and_extent()
921 bit_offset, this_offset); in get_ref_base_and_extent()
922 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
935 - TREE_INT_CST_LOW (bit_offset)); in get_ref_base_and_extent()
960 bit_offset = size_binop (PLUS_EXPR, bit_offset, index); in get_ref_base_and_extent()
977 - TREE_INT_CST_LOW (bit_offset)); in get_ref_base_and_extent()
993 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
1020 && TREE_INT_CST_LOW (bit_offset) + maxsize in get_ref_base_and_extent()
[all …]
H A Dtree-ssa-loop-prefetch.c402 HOST_WIDE_INT bit_offset; in analyze_ref() local
418 bit_offset = TREE_INT_CST_LOW (off); in analyze_ref()
419 gcc_assert (bit_offset % BITS_PER_UNIT == 0); in analyze_ref()
421 *delta += bit_offset / BITS_PER_UNIT; in analyze_ref()
H A Dtree-vect-transform.c913 int bit_offset; in vect_create_epilog_for_reduction() local
953 for (bit_offset = vec_size_in_bits/2; in vect_create_epilog_for_reduction()
954 bit_offset >= element_bitsize; in vect_create_epilog_for_reduction()
955 bit_offset /= 2) in vect_create_epilog_for_reduction()
957 tree bitpos = size_int (bit_offset); in vect_create_epilog_for_reduction()
1001 for (bit_offset = element_bitsize; in vect_create_epilog_for_reduction()
1002 bit_offset < vec_size_in_bits; in vect_create_epilog_for_reduction()
1003 bit_offset += element_bitsize) in vect_create_epilog_for_reduction()
1005 tree bitpos = bitsize_int (bit_offset); in vect_create_epilog_for_reduction()
H A Dstor-layout.c799 excess_unit_span (HOST_WIDE_INT byte_offset, HOST_WIDE_INT bit_offset, in excess_unit_span() argument
804 unsigned HOST_WIDE_INT offset = byte_offset * BITS_PER_UNIT + bit_offset; in excess_unit_span()
954 HOST_WIDE_INT bit_offset = tree_low_cst (rli->bitpos, 0); in place_field() local
963 if (excess_unit_span (offset, bit_offset, field_size, type_align, type)) in place_field()
986 HOST_WIDE_INT bit_offset = tree_low_cst (rli->bitpos, 0); in place_field() local
1002 if (excess_unit_span (offset, bit_offset, field_size, type_align, type)) in place_field()
H A Dggc-page.c1379 unsigned int bit_offset, word, bit; in ggc_free() local
1384 bit_offset = OFFSET_TO_BIT (((const char *) p) - pe->page, order); in ggc_free()
1385 word = bit_offset / HOST_BITS_PER_LONG; in ggc_free()
1386 bit = bit_offset % HOST_BITS_PER_LONG; in ggc_free()
1423 pe->next_bit_hint = bit_offset; in ggc_free()
H A Dtree-browser.def54 DEFTBCODE (TB_BIT_OFFSET, "bit_offset", "Field accessor.")
H A Dexpr.c5658 tree bit_offset = bitsize_zero_node; in get_inner_reference() local
5703 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_inner_reference()
5719 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_inner_reference()
5752 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_inner_reference()
5786 tem = double_int_add (tem, tree_to_double_int (bit_offset)); in get_inner_reference()
5796 *pbitpos = tree_low_cst (bit_offset, 0); in get_inner_reference()
H A Dexpmed.c576 unsigned int bit_offset = (backwards in store_bit_field() local
584 bitnum + bit_offset, word_mode, in store_bit_field()
1311 unsigned int bit_offset = (WORDS_BIG_ENDIAN in extract_bit_field() local
1319 bitnum + bit_offset, 1, target_part, mode, in extract_bit_field()
H A Dtree.h2696 #define DECL_FIELD_BIT_OFFSET(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.bit_offset)
2744 tree bit_offset; member
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBType.cpp313 uint32_t bit_offset = 0; in GetDirectBaseClassAtIndex() local
316 idx, &bit_offset); in GetDirectBaseClassAtIndex()
319 TypeImplSP(new TypeImpl(base_class_type)), bit_offset)); in GetDirectBaseClassAtIndex()
327 uint32_t bit_offset = 0; in GetVirtualBaseClassAtIndex() local
330 idx, &bit_offset); in GetVirtualBaseClassAtIndex()
333 TypeImplSP(new TypeImpl(base_class_type)), bit_offset)); in GetVirtualBaseClassAtIndex()
363 uint64_t bit_offset = 0; in GetFieldAtIndex() local
368 idx, name_sstr, &bit_offset, &bitfield_bit_size, &is_bitfield)); in GetFieldAtIndex()
546 const uint32_t bit_offset = m_opaque_ap->GetBitOffset(); in GetDescription() local
547 const uint32_t byte_offset = bit_offset / 8u; in GetDescription()
[all …]
/freebsd-12.1/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c74 int bit_offset; member
1152 if (bit_offset != 0) { in decompress_sequences()
1547 in->bit_offset = (num_bits + in->bit_offset) % 8; in IO_read_bits()
1577 if (in->bit_offset != 0) { in IO_align_stream()
1583 in->bit_offset = 0; in IO_align_stream()
1610 if (in->bit_offset != 0) { in IO_get_read_ptr()
1636 if (in->bit_offset != 0) { in IO_advance_input()
1676 size_t bit_offset = offset % 8; in read_bits_LE() local
1686 shift += 8 - bit_offset; in read_bits_LE()
1687 left -= 8 - bit_offset; in read_bits_LE()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DProcessStructReader.h53 uint64_t bit_offset; in ProcessStructReader() local
57 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-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp92 uint64_t bit_offset; member
99 bit_offset = LLDB_INVALID_ADDRESS; in Clear()
104 (bit_offset != LLDB_INVALID_ADDRESS); in IsValid()
112 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid()
2726 int64_t bit_offset = 0; in ParseChildMembers() local
2754 bit_offset = form_value.Signed(); in ParseChildMembers()
2868 if (byte_size == 0 && bit_offset < 0) { in ParseChildMembers()
2870 bit_offset = 0; in ParseChildMembers()
2936 this_field_info.bit_offset -= (bit_offset + bit_size); in ParseChildMembers()
2938 this_field_info.bit_offset += bit_offset; in ParseChildMembers()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DType.h480 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset,
483 : m_type_impl_sp(type_impl_sp), m_bit_offset(bit_offset), m_name(name), in m_type_impl_sp()
486 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset) in TypeMemberImpl() argument
487 : m_type_impl_sp(type_impl_sp), m_bit_offset(bit_offset), m_name(), in TypeMemberImpl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp295 uint64_t bit_offset; in GetValueOffset() local
296 if (node_type.GetIndexOfFieldWithName("__value_", nullptr, &bit_offset) != in GetValueOffset()
298 m_skip_size = bit_offset / 8u; in GetValueOffset()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h374 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Get() local
375 return (buffer[index] >> bit_offset) & counter_mask; in Get()
381 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Inc() local
382 buffer[index] += 1ULL << bit_offset; in Inc()
/freebsd-12.1/sys/xen/interface/
H A Dplatform.h385 uint32_t bit_offset; member
428 uint8_t bit_offset; member
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DScalar.h132 bool ExtractBitfield(uint32_t bit_size, uint32_t bit_offset);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp303 int32_t &bit_offset) { in GetVBaseBitOffset() argument
319 bit_offset = base_offset * 8; in GetVBaseBitOffset()
6615 int32_t bit_offset; in GetChildCompilerTypeAtIndex() local
6689 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6734 bit_offset = record_layout.getFieldOffset(field_idx); in GetChildCompilerTypeAtIndex()
6739 bit_offset - child_bitfield_bit_offset; in GetChildCompilerTypeAtIndex()
6742 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6843 bit_offset = INT32_MAX; in GetChildCompilerTypeAtIndex()
6849 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6860 if (bit_offset == INT32_MAX) in GetChildCompilerTypeAtIndex()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DScalar.cpp2533 bool Scalar::ExtractBitfield(uint32_t bit_size, uint32_t bit_offset) { in ExtractBitfield() argument
2549 m_integer = m_integer.ashr(bit_offset) in ExtractBitfield()
2559 m_integer = m_integer.lshr(bit_offset) in ExtractBitfield()
/freebsd-12.1/contrib/gdb/gdb/
H A Dada-lang.c1365 int bit_offset, int bit_size, in ada_value_primitive_packed_val() argument
1380 int len = (bit_size + bit_offset + HOST_CHAR_BIT - 1) / 8; in ada_value_primitive_packed_val()
1411 VALUE_BITPOS (v) = bit_offset + VALUE_BITPOS (obj); in ada_value_primitive_packed_val()
1436 ((bytes[0] << bit_offset) & (1 << (HOST_CHAR_BIT - 1)))) in ada_value_primitive_packed_val()
1440 (HOST_CHAR_BIT - (bit_size + bit_offset) % HOST_CHAR_BIT) in ada_value_primitive_packed_val()
1463 int sign_bit_offset = (bit_size + bit_offset - 1) % 8; in ada_value_primitive_packed_val()
1466 unusedLS = bit_offset; in ada_value_primitive_packed_val()
/freebsd-12.1/contrib/gcc/config/i386/
H A Di386.c3324 (offset + bit_offset) % 256); in classify_argument()
3329 int pos = (offset + (bit_offset % 64)) / 8 / 8; in classify_argument()
3351 i < ((int_bit_position (field) + (bit_offset % 64)) in classify_argument()
3363 + bit_offset) % 256); in classify_argument()
3369 (int_bit_position (field) + (bit_offset % 64)) / 8 / 8; in classify_argument()
3383 TREE_TYPE (type), subclasses, bit_offset); in classify_argument()
3417 bit_offset); in classify_argument()
3465 if (bit_offset % mode_alignment) in classify_argument()
3492 if (bit_offset + GET_MODE_BITSIZE (mode) <= 32) in classify_argument()
3504 if (!(bit_offset % 64)) in classify_argument()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DDWARFExpression.cpp2634 uint32_t bit_offset = 0; in Evaluate() local
2636 bit_size, bit_offset)) { in Evaluate()
/freebsd-12.1/contrib/gdb/gdb/doc/
H A Dstabs.texinfo2481 elem_name(delta):type_ref(short int),bit_offset(0),field_bits(16);
2482 elem_name(index):type_ref(short int),bit_offset(16),field_bits(16);
2484 bit_offset(32),field_bits(32);
2485 elem_name(delta2):type_def(short int);bit_offset(32),field_bits(16);;"
2584 field_name(Adat):type(int),bit_offset(0),field_bits(32);
2938 field_name(Adat):type_ref(int),bit_offset(0),field_bits(32);
2942 bit_offset(32);

12