Home
last modified time | relevance | path

Searched refs:words_ (Results 1 – 25 of 41) sorted by relevance

12

/external/cronet/base/
Dtoken.h32 constexpr Token(uint64_t high, uint64_t low) : words_{high, low} {} in Token()
45 constexpr uint64_t high() const { return words_[0]; } in high()
46 constexpr uint64_t low() const { return words_[1]; } in low()
48 constexpr bool is_zero() const { return words_[0] == 0 && words_[1] == 0; } in is_zero()
51 return as_bytes(make_span(words_)); in AsBytes()
55 return words_[0] == other.words_[0] && words_[1] == other.words_[1];
63 return std::tie(words_[0], words_[1]) <
64 std::tie(other.words_[0], other.words_[1]);
79 uint64_t words_[2] = {0, 0};
/external/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/cronet/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill(words_, words_ + word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
302 answer.words_); in FiveToTheNth()
325 uint64_t product = words_[this_i]; in MultiplyStep()
332 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint.h62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned()
65 words_{static_cast<uint32_t>(v & 0xffffffffu), in BigUnsigned()
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned()
112 std::copy_backward(words_, words_ + size_ - word_shift, words_ + size_); in ShiftLeft()
115 words_[i] = (words_[i - word_shift] << count) | in ShiftLeft()
116 (words_[i - word_shift - 1] >> (32 - count)); in ShiftLeft()
118 words_[word_shift] = words_[0] << count; in ShiftLeft()
120 if (size_ < max_words && words_[size_]) { in ShiftLeft()
124 std::fill_n(words_, word_shift, 0u); in ShiftLeft()
141 window += factor * words_[i]; in MultiplyBy()
[all …]
Dcharconv_bigint.cc178 words_[0] = fp.mantissa & 0xffffffffu; in ReadFloatMantissa()
179 words_[1] = fp.mantissa >> 32; in ReadFloatMantissa()
180 if (words_[1]) { in ReadFloatMantissa()
182 } else if (words_[0]) { in ReadFloatMantissa()
300 LargePowerOfFiveSize(big_power), answer.words_); in FiveToTheNth()
323 uint64_t product = words_[this_i]; in MultiplyStep()
330 words_[step] = this_word & 0xffffffff; in MultiplyStep()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dbitmap256.h27 memset(words_, 0, sizeof words_); in Clear()
35 return (words_[c / 64] & (uint64_t{1} << (c % 64))) != 0; in Test()
43 words_[c / 64] |= (uint64_t{1} << (c % 64)); in Set()
82 uint64_t words_[4]; variable
91 uint64_t word = words_[i] & (~uint64_t{0} << (c % 64)); in FindNextSetBit()
99 if (words_[1] != 0) in FindNextSetBit()
100 return (1 * 64) + FindLSBSet(words_[1]); in FindNextSetBit()
103 if (words_[2] != 0) in FindNextSetBit()
104 return (2 * 64) + FindLSBSet(words_[2]); in FindNextSetBit()
107 if (words_[3] != 0) in FindNextSetBit()
[all …]
/external/perfetto/src/protozero/filtering/
Dfilter_bytecode_parser.cc167 message_offset_.emplace_back(static_cast<uint32_t>(words_.size())); in LoadInternal()
168 words_.emplace_back(static_cast<uint32_t>(direct_indexed_fields.size())); in LoadInternal()
169 words_.insert(words_.end(), direct_indexed_fields.begin(), in LoadInternal()
171 words_.insert(words_.end(), ranges.begin(), ranges.end()); in LoadInternal()
196 message_offset_.emplace_back(static_cast<uint32_t>(words_.size())); in LoadInternal()
213 PERFETTO_DCHECK(start_offset < words_.size()); in Query()
214 const uint32_t* word = &words_[start_offset]; in Query()
216 const uint32_t* const end = words_.data() + end_off; in Query()
217 PERFETTO_DCHECK(end > word && end <= words_.data() + words_.size()); in Query()
/external/perfetto/src/trace_processor/containers/
Dbit_vector.cc85 : size_(size), counts_(std::move(counts)), words_(std::move(words)) { in BitVector()
86 uint32_t words_size = static_cast<uint32_t>(words_.size()); in BitVector()
88 words_.resize(words_.size() + 8 - (words_.size() % 8u)); in BitVector()
99 words_.clear(); in Resize()
111 words_.resize(Block::kWords * new_blocks_size); in Resize()
162 return BitVector(words_, counts_, size_); in Copy()
179 builder.AppendWord(ConstBitWord(&words_[i]).Not()); in Not()
184 ConstBitWord last_word(&words_[full_words]); in Not()
201 uint64_t* ptr = words_.data(); in UpdateSetBits()
206 const uint64_t* update_ptr = update.words_.data(); in UpdateSetBits()
[all …]
Dbit_vector.h57 explicit Builder(uint32_t size) : words_(WordCount(size)), size_(size) {} in Builder()
71 words_[global_bit_offset_ / BitWord::kBits] |= in Append()
81 words_[global_bit_offset_ / BitWord::kBits] = word; in AppendWord()
94 ConstBlock(&words_[Block::kWords * (i - 1)]).CountSetBits(); in Build()
96 return BitVector{std::move(words_), std::move(counts), size_}; in Build()
128 std::vector<uint64_t> words_;
267 words_.resize(words_.size() + Block::kWords); in AppendFalse()
316 PERFETTO_DCHECK(bv.words_.size() % Block::kWords == 0); in Range()
317 PERFETTO_DCHECK(bv.words_.size() * BitWord::kBits == bv.size_); in Range()
320 bv.words_.resize(bv.words_.size() + in Range()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dinstruction.h66 uint32_t word(size_t index) const { return words_[index]; } in word()
69 const std::vector<uint32_t>& words() const { return words_; } in words()
106 return *reinterpret_cast<const T*>(&words_[o.offset]); in GetOperandAs()
113 const std::vector<uint32_t> words_;
Dinstruction.cpp26 : words_(inst->words, inst->words + inst->num_words), in Instruction()
28 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
51 return spvtools::utils::MakeString(words_.data() + o.offset, o.num_words); in GetOperandAs()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dinstruction.h66 uint32_t word(size_t index) const { return words_[index]; } in word()
69 const std::vector<uint32_t>& words() const { return words_; } in words()
106 return *reinterpret_cast<const T*>(&words_[o.offset]); in GetOperandAs()
113 const std::vector<uint32_t> words_;
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h66 uint32_t word(size_t index) const { return words_[index]; } in word()
69 const std::vector<uint32_t>& words() const { return words_; } in words()
106 return *reinterpret_cast<const T*>(&words_[o.offset]); in GetOperandAs()
113 const std::vector<uint32_t> words_;

12