Home
last modified time | relevance | path

Searched refs:kBase (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_imagetransformer.cpp20 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/
Dbigint-tester.py17 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/
Dstring_number_conversions.cc185 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/
Dflatrep.h48 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/
Dtype_conversion_unittest.cc115 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/
Dbuiltins-math-gen.cc397 Return(MathPow(Parameter(Descriptor::kContext), Parameter(Descriptor::kBase), in TF_BUILTIN()
Dbuiltins-definitions.h722 TFJ(MathPow, 2, kReceiver, kBase, kExponent) \
/external/v8/src/regexp/
Djsregexp.h312 static const int kBase = 0;
Djsregexp.cc4832 table_.AddRange(base->at(i), kBase, zone_); in UnicodeRangeSplitter()
4853 if (!outset->Get(kBase)) return; in Call()