Home
last modified time | relevance | path

Searched refs:bits_ (Results 1 – 25 of 57) sorted by relevance

123

/third_party/spirv-tools/source/util/
Dbit_vector.cpp26 for (BitContainer e : bits_) { in ReportDensity()
36 << ", total size (bytes)=" << bits_.size() * sizeof(BitContainer) in ReportDensity()
38 << (double)(bits_.size() * sizeof(BitContainer)) / (double)(count); in ReportDensity()
42 auto this_it = this->bits_.begin(); in Or()
43 auto other_it = other.bits_.begin(); in Or()
46 while (this_it != this->bits_.end() && other_it != other.bits_.end()) { in Or()
56 if (other_it != other.bits_.end()) { in Or()
58 this->bits_.insert(this->bits_.end(), other_it, other.bits_.end()); in Or()
66 for (uint32_t i = 0; i < bv.bits_.size(); ++i) { in operator <<()
67 BitVector::BitContainer b = bv.bits_[i]; in operator <<()
Dbit_vector.h37 : bits_((reserved_size - 1) / kBitContainerSize + 1, 0) {}
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
84 if (element_index >= bits_.size()) { in Get()
88 return (bits_[element_index] & in Get()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbit_vector.cpp26 for (BitContainer e : bits_) { in ReportDensity()
36 << ", total size (bytes)=" << bits_.size() * sizeof(BitContainer) in ReportDensity()
38 << (double)(bits_.size() * sizeof(BitContainer)) / (double)(count); in ReportDensity()
42 auto this_it = this->bits_.begin(); in Or()
43 auto other_it = other.bits_.begin(); in Or()
46 while (this_it != this->bits_.end() && other_it != other.bits_.end()) { in Or()
56 if (other_it != other.bits_.end()) { in Or()
58 this->bits_.insert(this->bits_.end(), other_it, other.bits_.end()); in Or()
66 for (uint32_t i = 0; i < bv.bits_.size(); ++i) { in operator <<()
67 BitVector::BitContainer b = bv.bits_[i]; in operator <<()
Dbit_vector.h37 : bits_((reserved_size - 1) / kBitContainerSize + 1, 0) {}
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
84 if (element_index >= bits_.size()) { in Get()
88 return (bits_[element_index] & in Get()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbit_vector.cpp26 for (BitContainer e : bits_) { in ReportDensity()
36 << ", total size (bytes)=" << bits_.size() * sizeof(BitContainer) in ReportDensity()
38 << (double)(bits_.size() * sizeof(BitContainer)) / (double)(count); in ReportDensity()
42 auto this_it = this->bits_.begin(); in Or()
43 auto other_it = other.bits_.begin(); in Or()
46 while (this_it != this->bits_.end() && other_it != other.bits_.end()) { in Or()
56 if (other_it != other.bits_.end()) { in Or()
58 this->bits_.insert(this->bits_.end(), other_it, other.bits_.end()); in Or()
66 for (uint32_t i = 0; i < bv.bits_.size(); ++i) { in operator <<()
67 BitVector::BitContainer b = bv.bits_[i]; in operator <<()
Dbit_vector.h37 : bits_((reserved_size - 1) / kBitContainerSize + 1, 0) {}
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
84 if (element_index >= bits_.size()) { in Get()
88 return (bits_[element_index] & in Get()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dbit_reader_inl_utils.h100 br->bits_ += BITS; in VP8LoadNewBytes()
113 if (br->bits_ < 0) { in VP8GetBit()
117 const int pos = br->bits_; in VP8GetBit()
130 br->bits_ -= shift; in VP8GetBit()
141 if (br->bits_ < 0) { in VP8GetSigned()
145 const int pos = br->bits_; in VP8GetSigned()
149 br->bits_ -= 1; in VP8GetSigned()
164 if (br->bits_ < 0) { in VP8GetBitAlt()
168 const int pos = br->bits_; in VP8GetBitAlt()
183 br->bits_ -= shift; in VP8GetBitAlt()
Dbit_writer_utils.c248 dst->bits_ = src->bits_; in VP8LBitWriterClone()
264 bw->bits_ = bw_init->bits_; in VP8LBitWriterReset()
288 *(vp8l_wtype_t*)bw->cur_ = (vp8l_wtype_t)WSWAP((vp8l_wtype_t)bw->bits_); in VP8LPutBitsFlushBits()
290 bw->bits_ >>= VP8L_WRITER_BITS; in VP8LPutBitsFlushBits()
299 vp8l_atype_t lbits = bw->bits_; in VP8LPutBitsInternal()
329 bw->bits_ = lbits | ((vp8l_atype_t)bits << used); in VP8LPutBitsInternal()
338 *bw->cur_++ = (uint8_t)bw->bits_; in VP8LBitWriterFinish()
339 bw->bits_ >>= 8; in VP8LBitWriterFinish()
Dbit_reader_utils.c41 br->bits_ = -8; // to load the very first 8bits in VP8InitBitReader()
91 br->bits_ += 8; in VP8LoadFinalBytes()
95 br->bits_ += 8; in VP8LoadFinalBytes()
98 br->bits_ = 0; // This is to avoid undefined behaviour with shifts. in VP8LoadFinalBytes()
277 pos = (int)(br->buf_ - buf_start) * 8 - br->bits_; in BitTrace()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dbit_reader_inl_utils.h100 br->bits_ += BITS; in VP8LoadNewBytes()
113 if (br->bits_ < 0) { in VP8GetBit()
117 const int pos = br->bits_; in VP8GetBit()
130 br->bits_ -= shift; in VP8GetBit()
142 if (br->bits_ < 0) { in VP8GetSigned()
146 const int pos = br->bits_; in VP8GetSigned()
150 br->bits_ -= 1; in VP8GetSigned()
165 if (br->bits_ < 0) { in VP8GetBitAlt()
169 const int pos = br->bits_; in VP8GetBitAlt()
184 br->bits_ -= shift; in VP8GetBitAlt()
Dbit_writer_utils.c248 dst->bits_ = src->bits_; in VP8LBitWriterClone()
264 bw->bits_ = bw_init->bits_; in VP8LBitWriterReset()
288 *(vp8l_wtype_t*)bw->cur_ = (vp8l_wtype_t)WSWAP((vp8l_wtype_t)bw->bits_); in VP8LPutBitsFlushBits()
290 bw->bits_ >>= VP8L_WRITER_BITS; in VP8LPutBitsFlushBits()
299 vp8l_atype_t lbits = bw->bits_; in VP8LPutBitsInternal()
329 bw->bits_ = lbits | ((vp8l_atype_t)bits << used); in VP8LPutBitsInternal()
338 *bw->cur_++ = (uint8_t)bw->bits_; in VP8LBitWriterFinish()
339 bw->bits_ >>= 8; in VP8LBitWriterFinish()
Dbit_reader_utils.c41 br->bits_ = -8; // to load the very first 8bits in VP8InitBitReader()
91 br->bits_ += 8; in VP8LoadFinalBytes()
95 br->bits_ += 8; in VP8LoadFinalBytes()
98 br->bits_ = 0; // This is to avoid undefined behaviour with shifts. in VP8LoadFinalBytes()
277 pos = (int)(br->buf_ - buf_start) * 8 - br->bits_; in BitTrace()
/third_party/boost/boost/asio/
Dthread_pool.hpp197 bits_(other.bits_) in basic_executor_type()
209 bits_(other.bits_) in basic_executor_type()
255 pool_, allocator_, bits_ & ~blocking_mask); in require()
274 pool_, allocator_, bits_ & ~blocking_mask); in require()
292 pool_, allocator_, (bits_ & ~blocking_mask) | blocking_never); in require()
309 allocator_, bits_ & ~relationship_continuation); in require()
326 allocator_, bits_ | relationship_continuation); in require()
344 pool_, allocator_, bits_); in require()
362 pool_, allocator_, bits_); in require()
380 pool_, a.value(), bits_); in require()
[all …]
Dio_context.hpp680 bits_(other.bits_) in basic_executor_type()
692 bits_(other.bits_) in basic_executor_type()
737 allocator_, bits_ & ~blocking_never); in require()
754 allocator_, bits_ | blocking_never); in require()
771 allocator_, bits_ & ~relationship_continuation); in require()
788 allocator_, bits_ | relationship_continuation); in require()
806 io_context_, allocator_, bits_); in require()
824 io_context_, allocator_, bits_); in require()
842 io_context_, a.value(), bits_); in require()
859 io_context_, std::allocator<void>(), bits_); in require()
[all …]
/third_party/boost/libs/asio/include/boost/asio/
Dthread_pool.hpp197 bits_(other.bits_) in basic_executor_type()
209 bits_(other.bits_) in basic_executor_type()
255 pool_, allocator_, bits_ & ~blocking_mask); in require()
274 pool_, allocator_, bits_ & ~blocking_mask); in require()
292 pool_, allocator_, (bits_ & ~blocking_mask) | blocking_never); in require()
309 allocator_, bits_ & ~relationship_continuation); in require()
326 allocator_, bits_ | relationship_continuation); in require()
344 pool_, allocator_, bits_); in require()
362 pool_, allocator_, bits_); in require()
380 pool_, a.value(), bits_); in require()
[all …]
Dio_context.hpp680 bits_(other.bits_) in basic_executor_type()
692 bits_(other.bits_) in basic_executor_type()
737 allocator_, bits_ & ~blocking_never); in require()
754 allocator_, bits_ | blocking_never); in require()
771 allocator_, bits_ & ~relationship_continuation); in require()
788 allocator_, bits_ | relationship_continuation); in require()
806 io_context_, allocator_, bits_); in require()
824 io_context_, allocator_, bits_); in require()
842 io_context_, a.value(), bits_); in require()
859 io_context_, std::allocator<void>(), bits_); in require()
[all …]
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/
Dwindow.hpp57 std::uint8_t bits_ = 0; member in boost::beast::zlib::detail::window
63 return bits_; in bits()
81 if(bits_ != bits) in reset()
84 bits_ = static_cast<std::uint8_t>(bits); in reset()
85 capacity_ = 1U << bits_; in reset()
/third_party/boost/boost/beast/zlib/detail/
Dwindow.hpp57 std::uint8_t bits_ = 0; member in boost::beast::zlib::detail::window
63 return bits_; in bits()
81 if(bits_ != bits) in reset()
84 bits_ = static_cast<std::uint8_t>(bits); in reset()
85 capacity_ = 1U << bits_; in reset()
/third_party/boost/libs/asio/include/boost/asio/impl/
Dthread_pool.hpp59 bits_ = other.bits_; in operator =()
82 bits_ = other.bits_; in operator =()
110 if ((bits_ & blocking_never) == 0 && pool_->scheduler_.can_dispatch()) in do_execute()
142 if ((bits_ & relationship_continuation) != 0) in do_execute()
154 (bits_ & relationship_continuation) != 0); in do_execute()
213 if ((bits_ & relationship_continuation) != 0) in do_bulk_execute()
228 ops, (bits_ & relationship_continuation) != 0); in do_bulk_execute()
/third_party/boost/boost/asio/impl/
Dthread_pool.hpp59 bits_ = other.bits_; in operator =()
82 bits_ = other.bits_; in operator =()
110 if ((bits_ & blocking_never) == 0 && pool_->scheduler_.can_dispatch()) in do_execute()
142 if ((bits_ & relationship_continuation) != 0) in do_execute()
154 (bits_ & relationship_continuation) != 0); in do_execute()
213 if ((bits_ & relationship_continuation) != 0) in do_bulk_execute()
228 ops, (bits_ & relationship_continuation) != 0); in do_bulk_execute()
/third_party/spirv-tools/tools/sva/src/
Dtoken.js42 this.bits_ = 0;
51 get bits() { return this.bits_; }
52 set bits(val) { this.bits_ = val; }
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dtoken.js42 this.bits_ = 0;
51 get bits() { return this.bits_; }
52 set bits(val) { this.bits_ = val; }
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/
Dtoken.js42 this.bits_ = 0;
51 get bits() { return this.bits_; }
52 set bits(val) { this.bits_ = val; }
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dhuffman_codec.cpp55 TestBitReader(const std::string& bits) : bits_(bits) {} in TestBitReader()
58 if (pos_ < bits_.length()) { in ReadBit()
59 *bit = bits_[pos_++] == '0' ? false : true; in ReadBit()
66 std::string bits_; member in __anonbd6b9c510111::TestBitReader
/third_party/node/deps/brotli/c/enc/
Dblock_encoder_inc.h20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size); in FN()
28 alphabet_size, tree, &self->depths_[ix], &self->bits_[ix], in FN()

123