Searched refs:kBase (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | cfx_imagetransformer.cpp | 20 constexpr int kBase = 256; variable 161 : a(FXSYS_round(src.a * kBase)), in CPDF_FixedMatrix() 162 b(FXSYS_round(src.b * kBase)), in CPDF_FixedMatrix() 163 c(FXSYS_round(src.c * kBase)), in CPDF_FixedMatrix() 164 d(FXSYS_round(src.d * kBase)), in CPDF_FixedMatrix() 165 e(FXSYS_round(src.e * kBase)), in CPDF_FixedMatrix() 166 f(FXSYS_round(src.f * kBase)) {} in CPDF_FixedMatrix() 170 *x1 = pdfium::base::saturated_cast<int>(val.first / kBase); in Transform() 171 *y1 = pdfium::base::saturated_cast<int>(val.second / kBase); in Transform() 176 return std::make_pair(a * x + c * y + e + kBase / 2, in TransformInternal() [all …]
|
/external/v8/tools/ |
D | bigint-tester.py | 17 kBase = 16 variable 54 s.append(kChars[random.randint(1, kBase - 1)]) # No leading zero. 56 s.append(kChars[random.randint(0, kBase - 1)]) 62 return int(x[:-1], kBase) 73 s = kChars[x % kBase] + s 74 x = x / kBase 143 }""" % {"op": self.GetOpString(), "base": kBase} 178 }""" % {"op": self.GetOpString(), "base": kBase} 241 right_length = 1 + int(math.log((kLineLength - left_length), kBase))
|
/external/libchrome/base/strings/ |
D | string_number_conversions.cc | 185 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' && in Invoke() 193 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke() 201 *output *= traits::kBase; in Invoke() 213 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds() 214 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds() 215 new_digit > traits::max() % traits::kBase)) { in CheckBounds() 229 if (*output < traits::min() / traits::kBase || in CheckBounds() 230 (*output == traits::min() / traits::kBase && in CheckBounds() 231 new_digit > 0 - traits::min() % traits::kBase)) { in CheckBounds() 254 static const int kBase = BASE; member in base::__anon208f710c0111::BaseIteratorRangeToNumberTraits
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | flatrep.h | 48 static const uint32 kBase = 3; 49 static const uint32 kWidth = (1 << kBase); 150 Bucket* b = &array_[index >> kBase]; in Find() 177 Bucket* b = &array_[index >> kBase]; in FindOrInsert() 214 Bucket* b = &array_[index >> kBase]; in Prefetch() 327 Bucket* b = &array_[index >> kBase]; in FreshInsert()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | type_conversion_unittest.cc | 115 const RedmondRect kBase = {10, 20, 30, 40}; in TEST() local 119 RedmondRect rr = kBase; in TEST() 135 const RedmondRect kBase = {10, 20, 30, 40}; in TEST() local 138 RedmondRect rect = kBase; in TEST()
|
/external/v8/src/builtins/ |
D | builtins-math-gen.cc | 397 Return(MathPow(Parameter(Descriptor::kContext), Parameter(Descriptor::kBase), in TF_BUILTIN()
|
D | builtins-definitions.h | 722 TFJ(MathPow, 2, kReceiver, kBase, kExponent) \
|
/external/v8/src/regexp/ |
D | jsregexp.h | 312 static const int kBase = 0;
|
D | jsregexp.cc | 4832 table_.AddRange(base->at(i), kBase, zone_); in UnicodeRangeSplitter() 4853 if (!outset->Get(kBase)) return; in Call()
|