Home
last modified time | relevance | path

Searched refs:bit_offset_ (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/base/
Dbitbuffer.cc77 : bytes_(bytes), byte_count_(byte_count), byte_offset_(), bit_offset_() { in BitBuffer()
83 return (static_cast<uint64_t>(byte_count_) - byte_offset_) * 8 - bit_offset_; in RemainingBitCount()
115 size_t remaining_bits_in_current_byte = 8 - bit_offset_; in PeekBits()
120 *val = HighestBits(bits, bit_offset_ + bit_count); in PeekBits()
153 byte_offset_ += (bit_offset_ + bit_count) / 8; in ConsumeBits()
154 bit_offset_ = (bit_offset_ + bit_count) % 8; in ConsumeBits()
165 size_t original_bit_offset = bit_offset_; in ReadExponentialGolomb()
208 *out_bit_offset = bit_offset_; in GetCurrentOffset()
217 bit_offset_ = bit_offset; in Seek()
251 size_t remaining_bits_in_current_byte = 8 - bit_offset_; in WriteBits()
[all …]
Dbitbuffer.h86 size_t bit_offset_; variable
/external/bcc/src/cc/frontends/b/
Dnode.h227 size_t bit_offset_; variable
230 : bit_offset_(strtoul(bofs.c_str(), NULL, 0)), bit_width_(strtoul(bsz.c_str(), NULL, 0)) {} in BitopExprNode()
439 size_t bit_offset_; variable
443 : id_(move(id)), storage_type_(t), bit_width_(bit_width), bit_offset_(bit_offset), slot_(0) {} in id_()
Dcodegen_llvm.cc253 … n->bitop_->bit_offset_, bits_to_uint(n->bitop_->bit_width_ + 1), n->bitop_->bit_width_); in visit_ident_expr_node()
299 … n->bitop_->bit_offset_, bits_to_uint(n->bitop_->bit_width_ + 1), n->bitop_->bit_width_); in visit_ident_expr_node()
320 n->bitop_->bit_width_, n->bitop_->bit_offset_); in visit_assign_expr_node()
322 emit(" << %d)", n->bitop_->bit_offset_); in visit_assign_expr_node()
369 size_t bit_offset = f->bit_offset_; in visit_packet_expr_node()
372 bit_offset += f->bit_width_ - (n->bitop_->bit_offset_ + n->bitop_->bit_width_); in visit_packet_expr_node()
373 bit_width = std::min(bit_width - n->bitop_->bit_offset_, n->bitop_->bit_width_); in visit_packet_expr_node()
Dparser.cc165 (*it)->bit_offset_ = offset; in struct_add()