Home
last modified time | relevance | path

Searched refs:digits_ (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/flang/lib/Decimal/
Dbig-radix-floating-point.h77 digits_ = 0; in SetToZero()
117 : digits_{that.digits_}, exponent_{that.exponent_}, in BigRadixFloatingPointNumber()
119 for (int j{0}; j < digits_; ++j) {
126 for (int j{0}; j < digits_; ++j) { in IsZero()
139 return digits_ == digitLimit_ && digit_[digits_ - 1] >= radix / 10; in IsFull()
158 digit_[digits_++] = n; in SetTo()
162 while (n != 0 && digits_ < digitLimit_) { in SetTo()
164 digit_[digits_++] = static_cast<Digit>(n - q * radix); in SetTo()
173 if (digits_ > 0 && digit_[0] == 0) { in RemoveLeastOrderZeroDigits()
174 while (remove < digits_ && digit_[remove] == 0) { in RemoveLeastOrderZeroDigits()
[all …]
Dbinary-to-decimal.cpp82 if (n < static_cast<std::size_t>(3 + digits_ * LOG10RADIX)) { in ConvertToDecimal()
104 Digit dig{digit_[digits_ - 1]}; in ConvertToDecimal()
121 for (int j{digits_ - 1}; j-- > 0;) { in ConvertToDecimal()
189 while (digits_ < that.digits_) { in Mean()
190 digit_[digits_++] = 0; in Mean()
193 for (int j{0}; j < that.digits_; ++j) { in Mean()
204 AddCarry(that.digits_, carry); in Mean()
237 while (less.digits_ < more.digits_) { in Minimize()
238 less.digit_[less.digits_++] = 0; in Minimize()
240 while (more.digits_ < less.digits_) { in Minimize()
[all …]
Ddecimal-to-binary.cpp90 digit_[digits_++] = *q - '0'; in ParseNumber()
93 digit_[digits_ - 1] += times * (*q - '0'); in ParseNumber()
146 for (int j{0}; j < digits_ - 1; ++j) { in LoseLeastSignificantDigit()
149 digit_[digits_ - 1] = 0; in LoseLeastSignificantDigit()
310 if (digits_ == 0) { // zero value in ConvertToBinary()
316 exponent_ += digits_ * log10Radix; in ConvertToBinary()
330 digitLimit_ = digits_; in ConvertToBinary()
341 digitLimit_ = digits_; in ConvertToBinary()
364 int guardShift{f.SetTo(digit_[--digits_])}; in ConvertToBinary()
366 digitLimit_ = digits_; in ConvertToBinary()
/external/tensorflow/tensorflow/core/platform/
Dstrcat.h104 : piece_(digits_, FastInt32ToBufferLeft(i32, digits_)) {} in AlphaNum()
106 : piece_(digits_, FastUInt32ToBufferLeft(u32, digits_)) {} in AlphaNum()
108 : piece_(digits_, FastInt64ToBufferLeft(x, digits_)) {} in AlphaNum()
110 : piece_(digits_, FastUInt64ToBufferLeft(x, digits_)) {} in AlphaNum()
112 : piece_(digits_, FastInt64ToBufferLeft(i64, digits_)) {} in AlphaNum()
114 : piece_(digits_, FastUInt64ToBufferLeft(u64, digits_)) {} in AlphaNum()
117 : piece_(digits_, FloatToBuffer(f, digits_)) {} in AlphaNum()
119 : piece_(digits_, DoubleToBuffer(f, digits_)) {} in AlphaNum()
121 : piece_(digits_, FloatToBuffer(static_cast<float>(bf), digits_)) {} in AlphaNum()
141 char digits_[kFastToBufferSize]; variable
Dstrcat.cc30 char *const end = &digits_[kFastToBufferSize]; in AlphaNum()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstr_cat.h217 : piece_(digits_, in AlphaNum()
218 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
220 : piece_(digits_, in AlphaNum()
221 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
223 : piece_(digits_, in AlphaNum()
224 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
226 : piece_(digits_, in AlphaNum()
227 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
229 : piece_(digits_, in AlphaNum()
230 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
[all …]
Dstr_cat.cc33 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
50 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dstr_cat.h217 : piece_(digits_, in AlphaNum()
218 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
220 : piece_(digits_, in AlphaNum()
221 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
223 : piece_(digits_, in AlphaNum()
224 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
226 : piece_(digits_, in AlphaNum()
227 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
229 : piece_(digits_, in AlphaNum()
230 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
[all …]
Dstr_cat.cc33 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
50 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
/external/abseil-cpp/absl/strings/
Dstr_cat.h217 : piece_(digits_, in AlphaNum()
218 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
220 : piece_(digits_, in AlphaNum()
221 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
223 : piece_(digits_, in AlphaNum()
224 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
226 : piece_(digits_, in AlphaNum()
227 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
229 : piece_(digits_, in AlphaNum()
230 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
[all …]
Dstr_cat.cc33 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
50 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dstr_cat.h217 : piece_(digits_, in AlphaNum()
218 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
220 : piece_(digits_, in AlphaNum()
221 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
223 : piece_(digits_, in AlphaNum()
224 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
226 : piece_(digits_, in AlphaNum()
227 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
229 : piece_(digits_, in AlphaNum()
230 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
[all …]
Dstr_cat.cc33 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
50 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
/external/angle/third_party/abseil-cpp/absl/strings/
Dstr_cat.h217 : piece_(digits_, in AlphaNum()
218 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
220 : piece_(digits_, in AlphaNum()
221 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
223 : piece_(digits_, in AlphaNum()
224 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
226 : piece_(digits_, in AlphaNum()
227 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
229 : piece_(digits_, in AlphaNum()
230 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
[all …]
Dstr_cat.cc33 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
50 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
/external/openscreen/third_party/abseil/src/absl/strings/
Dstr_cat.h217 : piece_(digits_, in AlphaNum()
218 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
220 : piece_(digits_, in AlphaNum()
221 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
223 : piece_(digits_, in AlphaNum()
224 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
226 : piece_(digits_, in AlphaNum()
227 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
229 : piece_(digits_, in AlphaNum()
230 numbers_internal::FastIntToBuffer(x, digits_) - &digits_[0]) {} in AlphaNum()
[all …]
Dstr_cat.cc33 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
50 char* const end = &digits_[numbers_internal::kFastToBufferSize]; in AlphaNum()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dstring_generator.cc36 digits_.clear(); in Reset()
47 for (int i = static_cast<int>(digits_.size()) - 1; i >= 0; i--) { in IncrementDigits()
48 if (++digits_[i] < static_cast<int>(alphabet_.size())) in IncrementDigits()
50 digits_[i] = 0; in IncrementDigits()
54 if (static_cast<int>(digits_.size()) < maxlen_) { in IncrementDigits()
55 digits_.push_back(0); in IncrementDigits()
74 digits_.resize(len); in RandomDigits()
76 digits_[i] = random_alphabet_index(rng_); in RandomDigits()
92 for (size_t i = 0; i < digits_.size(); i++) { in Next()
93 s_ += alphabet_[digits_[i]]; in Next()
Dstring_generator.h51 std::vector<int> digits_; // Alphabet indices for next string. variable
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dfloat_conversion.cc153 return absl::string_view(digits_ + kDigitsPerChunk - size_, size_); in CurrentDigits()
163 digits_[kDigitsPerChunk - ++size_] = w % 10 + '0'; in AdvanceDigits()
217 digits_[kDigitsPerChunk - ++size_] = first % 10 + '0'; in BinaryToDecimal()
227 char digits_[kDigitsPerChunk]; member in absl::str_format_internal::__anonf12d9c5d0111::BinaryToDecimal
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc139 return absl::string_view(digits_ + kDigitsPerChunk - size_, size_); in CurrentDigits()
149 digits_[kDigitsPerChunk - ++size_] = w % 10 + '0'; in AdvanceDigits()
203 digits_[kDigitsPerChunk - ++size_] = first % 10 + '0'; in BinaryToDecimal()
213 char digits_[kDigitsPerChunk]; member in absl::str_format_internal::__anonb8b6229d0111::BinaryToDecimal
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc159 return absl::string_view(digits_ + kDigitsPerChunk - size_, size_); in CurrentDigits()
169 digits_[kDigitsPerChunk - ++size_] = w % 10 + '0'; in AdvanceDigits()
223 digits_[kDigitsPerChunk - ++size_] = first % 10 + '0'; in BinaryToDecimal()
233 char digits_[kDigitsPerChunk]; member in absl::str_format_internal::__anon3b2bfa8b0111::BinaryToDecimal
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc139 return absl::string_view(digits_ + kDigitsPerChunk - size_, size_); in CurrentDigits()
149 digits_[kDigitsPerChunk - ++size_] = w % 10 + '0'; in AdvanceDigits()
203 digits_[kDigitsPerChunk - ++size_] = first % 10 + '0'; in BinaryToDecimal()
213 char digits_[kDigitsPerChunk]; member in absl::str_format_internal::__anondfc6c48c0111::BinaryToDecimal
/external/grpc-grpc/doc/
DPROTOCOL-HTTP2.md32 * **TimeoutValue** → {_positive integer as ASCII string of at most 8 digits_}