/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
D | int128_stream_test.cc | 96 constexpr std::ios::fmtflags kBase = std::ios::showbase; variable 241 {0, kBase, /*width = */ 0, "0"}, in GetInt128FormatCases() 242 {0, kBase, /*width = */ 6, "_____0"}, in GetInt128FormatCases() 243 {0, kBase | kPos, /*width = */ 0, "+0"}, in GetInt128FormatCases() 244 {0, kBase | kPos, /*width = */ 6, "____+0"}, in GetInt128FormatCases() 249 {0, kUpper | kBase, /*width = */ 0, "0"}, in GetInt128FormatCases() 250 {0, kUpper | kBase, /*width = */ 6, "_____0"}, in GetInt128FormatCases() 251 {0, kUpper | kBase | kPos, /*width = */ 0, "+0"}, in GetInt128FormatCases() 252 {0, kUpper | kBase | kPos, /*width = */ 6, "____+0"}, in GetInt128FormatCases() 257 {0, kLeft | kBase, /*width = */ 0, "0"}, in GetInt128FormatCases() [all …]
|
/third_party/abseil-cpp/absl/numeric/ |
D | int128_stream_test.cc | 96 constexpr std::ios::fmtflags kBase = std::ios::showbase; variable 241 {0, kBase, /*width = */ 0, "0"}, in GetInt128FormatCases() 242 {0, kBase, /*width = */ 6, "_____0"}, in GetInt128FormatCases() 243 {0, kBase | kPos, /*width = */ 0, "+0"}, in GetInt128FormatCases() 244 {0, kBase | kPos, /*width = */ 6, "____+0"}, in GetInt128FormatCases() 249 {0, kUpper | kBase, /*width = */ 0, "0"}, in GetInt128FormatCases() 250 {0, kUpper | kBase, /*width = */ 6, "_____0"}, in GetInt128FormatCases() 251 {0, kUpper | kBase | kPos, /*width = */ 0, "+0"}, in GetInt128FormatCases() 252 {0, kUpper | kBase | kPos, /*width = */ 6, "____+0"}, in GetInt128FormatCases() 257 {0, kLeft | kBase, /*width = */ 0, "0"}, in GetInt128FormatCases() [all …]
|
/third_party/gn/src/base/strings/ |
D | string_number_conversions.cc | 189 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' && in Invoke() 197 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke() 205 *output *= traits::kBase; in Invoke() 217 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds() 218 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds() 219 new_digit > traits::max() % traits::kBase)) { in CheckBounds() 233 if (*output < traits::min() / traits::kBase || in CheckBounds() 234 (*output == traits::min() / traits::kBase && in CheckBounds() 235 new_digit > 0 - traits::min() % traits::kBase)) { in CheckBounds() 254 static const int kBase = BASE; member in base::__anon28376e0d0111::BaseIteratorRangeToNumberTraits
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | ssl_wrapper.cc | 169 t.tm_year = (str[i++] - '0') * kBase; in ConvertAsn1Time() 177 t.tm_year += (str[i++] - '0') * kBase; in ConvertAsn1Time() 181 t.tm_mon = (str[i++] - '0') * kBase; in ConvertAsn1Time() 184 t.tm_mday = (str[i++] - '0') * kBase; in ConvertAsn1Time() 186 t.tm_hour = (str[i++] - '0') * kBase; in ConvertAsn1Time() 188 t.tm_min = (str[i++] - '0') * kBase; in ConvertAsn1Time() 190 t.tm_sec = (str[i++] - '0') * kBase; in ConvertAsn1Time()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | node_recovery.cc | 29 …t worker_num = std::strtol(recovery_storage_->Get(kRecoveryWorkerNum, "").c_str(), nullptr, kBase); in Recover() 37 …t server_num = std::strtol(recovery_storage_->Get(kRecoveryServerNum, "").c_str(), nullptr, kBase); in Recover() 53 …ler_port = std::strtol(recovery_storage_->Get(kRecoverySchedulerPort, "").c_str(), nullptr, kBase); in Recover()
|
/third_party/abseil-cpp/absl/container/ |
D | btree_test.h | 66 constexpr unsigned kBase = 64; // avoid integer division. 70 buf[p--] = ' ' + (val % kBase); 71 val /= kBase; 72 maxval /= kBase;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | btree_test.h | 66 constexpr unsigned kBase = 64; // avoid integer division. 70 buf[p--] = ' ' + (val % kBase); 71 val /= kBase; 72 maxval /= kBase;
|
/third_party/mindspore/mindspore/core/ops/fusion/ |
D | exp_fusion.cc | 32 void ExpFusion::set_base(const float base) { (void)this->AddAttr(kBase, MakeValue(base)); } in set_base() 39 auto value_ptr = GetAttr(kBase); in get_base()
|
/third_party/mindspore/mindspore/lite/tools/common/ |
D | string_util.cc | 77 constexpr int kBase = 10; in ConvertIntNum() local 78 *value = strtol(str.c_str(), &ptr, kBase); in ConvertIntNum()
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | ps_context.cc | 51 worker_num_ = std::strtol(common::GetEnv(kEnvWorkerNum).c_str(), nullptr, kBase); in SetPSEnable() 52 server_num_ = std::strtol(common::GetEnv(kEnvPServerNum).c_str(), nullptr, kBase); in SetPSEnable() 57 scheduler_port_ = std::strtol(common::GetEnv(kEnvSchedulerPort).c_str(), nullptr, kBase); in SetPSEnable() 62 …tic_cast<uint16_t>((std::strtol(common::GetEnv(kEnvSchedulerManagePort).c_str(), nullptr, kBase))); in SetPSEnable()
|
D | constants.h | 84 constexpr int64_t kBase = 10; variable
|
D | parameter_server.cc | 50 pserver_num_ = std::strtol(mindspore::common::GetEnv(kEnvPServerNum).c_str(), nullptr, kBase); in Init() 51 worker_num_ = std::strtol(mindspore::common::GetEnv(kEnvWorkerNum).c_str(), nullptr, kBase); in Init()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | FramebufferMultiviewTest.cpp | 20 const size_t kBase = static_cast<size_t>(GL_COLOR_ATTACHMENT0); in GetDrawBufferRange() local 23 drawBuffers[i] = static_cast<GLenum>(kBase + i); in GetDrawBufferRange()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | FramebufferMultiviewTest.cpp | 20 const size_t kBase = static_cast<size_t>(GL_COLOR_ATTACHMENT0); in GetDrawBufferRange() local 23 drawBuffers[i] = static_cast<GLenum>(kBase + i); in GetDrawBufferRange()
|
/third_party/mindspore/mindspore/core/ops/ |
D | op_utils.h | 218 constexpr auto kBase = "base"; variable
|