Home
last modified time | relevance | path

Searched refs:Numeric (Results 1 - 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
H A Dsafe_math_shared_impl.h133 template <typename Numeric,
134 bool IsInteger = std::is_integral<Numeric>::value,
135 bool IsFloat = std::is_floating_point<Numeric>::value>
138 template <typename Numeric>
139 struct UnsignedOrFloatForSize<Numeric, true, false>
141 using type = typename std::make_unsigned<Numeric>::type;
144 template <typename Numeric>
145 struct UnsignedOrFloatForSize<Numeric, false, true>
147 using type = Numeric;
205 /* Binary arithmetic operator for all CLASS##Numeric operation
[all...]
/third_party/gn/src/base/numerics/
H A Dsafe_math_shared_impl.h112 template <typename Numeric,
113 bool IsInteger = std::is_integral<Numeric>::value,
114 bool IsFloat = std::is_floating_point<Numeric>::value>
117 template <typename Numeric>
118 struct UnsignedOrFloatForSize<Numeric, true, false> {
119 using type = typename std::make_unsigned<Numeric>::type;
122 template <typename Numeric>
123 struct UnsignedOrFloatForSize<Numeric, false, true> {
124 using type = Numeric;
205 constexpr CLASS##Numeric< \
[all...]
/third_party/node/deps/v8/src/objects/
H A Djs-relative-time-format.h64 // Numeric: identifying whether numerical descriptions are always used, or
69 enum class Numeric { class in v8::internal::JSRelativeTimeFormat
74 inline void set_numeric(Numeric numeric);
75 inline Numeric numeric() const;
80 STATIC_ASSERT(Numeric::AUTO <= NumericBit::kMax);
81 STATIC_ASSERT(Numeric::ALWAYS <= NumericBit::kMax);
H A Djs-relative-time-format.cc161 Maybe<Numeric> maybe_numeric = GetStringOption<Numeric>( in New()
163 {Numeric::ALWAYS, Numeric::AUTO}, Numeric::ALWAYS); in New()
165 Numeric numeric_enum = maybe_numeric.FromJust(); in New()
167 // 19. Set relativeTimeFormat.[[Numeric]] to numeric. in New()
275 case Numeric::ALWAYS: in NumericAsString()
277 case Numeric::AUTO: in NumericAsString()
379 (format->numeric() == JSRelativeTimeFormat::Numeric in FormatCommon()
[all...]
H A Djs-relative-time-format-inl.h29 inline void JSRelativeTimeFormat::set_numeric(Numeric numeric) { in set_numeric()
36 inline JSRelativeTimeFormat::Numeric JSRelativeTimeFormat::numeric() const { in numeric()
H A Djs-locale.h66 static Handle<Object> Numeric(Isolate* isolate, Handle<JSLocale> locale);
H A Dobject-list-macros.h75 V(Numeric)
H A Djs-locale.cc822 Handle<Object> JSLocale::Numeric(Isolate* isolate, Handle<JSLocale> locale) {
/third_party/typescript/tests/baselines/reference/
H A DtypeInferenceLiteralUnion.js11 interface Numeric {
15 // Not very useful, but meets Numeric
30 export function extent<T extends Numeric>(array: Array<T | Primitive>): [T | Primitive, T | Primitive] | [undefined, undefined] {
43 // Not very useful, but meets Numeric
H A DmappedTypeRelationships.js185 type Numeric<T> = { [K in keyof T]?: number };
187 const n: Numeric<T> = { x: 1 };
412 type Numeric<T> = {
/third_party/rust/crates/humantime/benches/
H A Ddatetime_format.rs24 use chrono::format::Numeric::*; in rfc3339_chrono()
35 Numeric(Year, Zero), in rfc3339_chrono()
37 Numeric(Month, Zero), in rfc3339_chrono()
39 Numeric(Day, Zero), in rfc3339_chrono()
41 Numeric(Hour, Zero), in rfc3339_chrono()
43 Numeric(Minute, Zero), in rfc3339_chrono()
45 Numeric(Second, Zero), in rfc3339_chrono()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-conversion-gen.cc44 TNode<Numeric> result = ToNumberOrNumeric(context, input, &var_type_feedback, in TF_BUILTIN()
H A Dbuiltins-typed-array-gen.h100 TNode<Numeric> value,
H A Dbuiltins-typed-array-gen.cc466 TNode<UintPtrT> index, TNode<Numeric> value, ElementsKind elements_kind) { in StoreJSTypedArrayElementFromNumeric()
/third_party/qrcodegen/rust/src/
H A Dlib.rs1004 QrSegment::new(QrSegmentMode::Numeric, text.len(), bb.0) in make_numeric()
1159 Numeric,
1174 Numeric => 0x1, in mode_bits()
1188 Numeric => [10, 12, 14], in num_char_count_bits()
/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs178 let seg: QrSegment = if QrSegment::is_numeric(text) && QrSegment::calc_buffer_size(Numeric, textlen).map_or(false, |x| x <= buflen) {
1129 QrSegment::new(QrSegmentMode::Numeric, text.len(), bb.data, bb.length)
1238 Numeric => mul_frac_ceil(10, 3), in calc_bit_length()
1298 Numeric,
1313 Numeric => 0x1, in mode_bits()
1327 Numeric => [10, 12, 14], in num_char_count_bits()
/third_party/node/deps/v8/tools/torque/vim-torque/syntax/
H A Dtorque.vim51 syn keyword torqueType Oddball HeapNumber Number BigInt Numeric Boolean JSProxy
/third_party/qrcodegen/rust-no-heap/examples/
H A Dqrcodegen-demo.rs67 { // Numeric mode encoding (3.33 bits per digit) in do_variety_demo()
142 let (tempbuf1, tempbuf2) = tempbuffer.split_at_mut(QrSegment::calc_buffer_size(QrSegmentMode::Numeric, golden1.len()).unwrap()); in do_segment_demo()
/third_party/node/deps/v8/src/compiler/
H A Dtyper.cc409 return Type::Numeric(); in BinaryNumberOpTyper()
437 return Type::Numeric(); in BitwiseNot()
445 return Type::Numeric(); in Decrement()
453 return Type::Numeric(); in Increment()
461 return Type::Numeric(); in Negate()
1192 return Type::Numeric(); in JSExponentiateTyper()
H A Dtypes.h164 V(Numeric, kNumber | kBigInt) \
H A Dverifier.cc634 CheckTypeIs(node, Type::Numeric()); in Check()
651 CheckTypeIs(node, Type::Numeric()); in Check()
/third_party/node/deps/v8/src/codegen/
H A Dtnode.h260 using Numeric = UnionT<Number, BigInt>;
H A Dcode-stub-assembler.h1603 TNode<Numeric> LoadFixedTypedArrayElementAsTagged(TNode<RawPtrT> data_pointer,
1606 TNode<Numeric> LoadFixedTypedArrayElementAsTagged(
2444 TVariable<Numeric>* var_numeric);
2446 TVariable<Numeric>* var_numeric,
2769 // Convert a Non-Number object to a Numeric.
2770 TNode<Numeric> NonNumberToNumeric(TNode<Context> context,
2780 TNode<Numeric> ToNumberOrNumeric(
4190 TNode<Numeric> NonNumberToNumberOrNumeric(
4195 TVariable<Numeric>* var_numeric,
H A Dcode-stub-assembler.cc2546 TNode<Numeric> CodeStubAssembler::LoadFixedTypedArrayElementAsTagged(
2579 TNode<Numeric> CodeStubAssembler::LoadFixedTypedArrayElementAsTagged(
2582 TVARIABLE(Numeric, var_result);
5560 // convert the value to a Numeric, we cannot reach this path. We can
7415 TNode<Numeric> CodeStubAssembler::NonNumberToNumberOrNumeric(
7421 TVARIABLE(Numeric, var_result);
7440 // Check if the {result} is already a Number/Numeric.
7448 // The ToPrimitive conversion already gave us a Number/Numeric, so
7457 // Number/Numeric.
7556 TNode<Numeric> CodeStubAssemble
[all...]
/third_party/node/deps/v8/src/ic/
H A Dbinary-op-assembler.cc613 TVARIABLE(Numeric, var_right_maybe_bigint); in Generate_BitwiseBinaryOpWithOptionalFeedback()

Completed in 34 milliseconds

12