Home
last modified time | relevance | path

Searched refs:is_signed (Results 1 – 25 of 141) sorted by relevance

123456

/external/tensorflow/tensorflow/core/framework/
Dtype_traits.h97 struct is_signed<tensorflow::qint8> : public is_signed<tensorflow::int8> {};
99 struct is_signed<tensorflow::quint8> : public is_signed<tensorflow::uint8> {};
101 struct is_signed<tensorflow::qint16> : public is_signed<tensorflow::int16> {};
103 struct is_signed<tensorflow::quint16> : public is_signed<tensorflow::uint16> {};
105 struct is_signed<tensorflow::qint32> : public is_signed<tensorflow::int32> {};
/external/libcxx/test/std/depr/depr.c.headers/
Dstdint_h.pass.cpp26 static_assert(std::is_signed<int8_t>::value, in main()
31 static_assert(std::is_signed<int16_t>::value, in main()
36 static_assert(std::is_signed<int32_t>::value, in main()
41 static_assert(std::is_signed<int64_t>::value, in main()
68 static_assert(std::is_signed<int_least8_t>::value, in main()
73 static_assert(std::is_signed<int_least16_t>::value, in main()
78 static_assert(std::is_signed<int_least32_t>::value, in main()
83 static_assert(std::is_signed<int_least64_t>::value, in main()
110 static_assert(std::is_signed<int_fast8_t>::value, in main()
115 static_assert(std::is_signed<int_fast16_t>::value, in main()
[all …]
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_signed.pass.cpp20 static_assert( std::is_signed<T>::value, ""); in test_is_signed()
21 static_assert( std::is_signed<const T>::value, ""); in test_is_signed()
22 static_assert( std::is_signed<volatile T>::value, ""); in test_is_signed()
23 static_assert( std::is_signed<const volatile T>::value, ""); in test_is_signed()
35 static_assert(!std::is_signed<T>::value, ""); in test_is_not_signed()
36 static_assert(!std::is_signed<const T>::value, ""); in test_is_not_signed()
37 static_assert(!std::is_signed<volatile T>::value, ""); in test_is_not_signed()
38 static_assert(!std::is_signed<const volatile T>::value, ""); in test_is_not_signed()
/external/libcxx/test/std/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp27 static_assert(std::is_signed<std::int8_t>::value, in main()
32 static_assert(std::is_signed<std::int16_t>::value, in main()
37 static_assert(std::is_signed<std::int32_t>::value, in main()
42 static_assert(std::is_signed<std::int64_t>::value, in main()
69 static_assert(std::is_signed<std::int_least8_t>::value, in main()
74 static_assert(std::is_signed<std::int_least16_t>::value, in main()
79 static_assert(std::is_signed<std::int_least32_t>::value, in main()
84 static_assert(std::is_signed<std::int_least64_t>::value, in main()
111 static_assert(std::is_signed<std::int_fast8_t>::value, in main()
116 static_assert(std::is_signed<std::int_fast16_t>::value, in main()
[all …]
/external/perfetto/src/ftrace_reader/
Dproto_translation_table.cc63 ftrace_field.is_signed, &field->ftrace_type)) { in MergeFieldInfo()
69 ftrace_field.is_signed); in MergeFieldInfo()
155 bool is_signed, in InferFtraceType() argument
222 if (size == 1 && is_signed) { in InferFtraceType()
225 } else if (size == 1 && !is_signed) { in InferFtraceType()
228 } else if (size == 2 && is_signed) { in InferFtraceType()
231 } else if (size == 2 && !is_signed) { in InferFtraceType()
234 } else if (size == 4 && is_signed) { in InferFtraceType()
237 } else if (size == 4 && !is_signed) { in InferFtraceType()
240 } else if (size == 8 && is_signed) { in InferFtraceType()
[all …]
Dformat_parser.cc114 int is_signed = 0; in ParseFtraceEvent() local
119 buffer, &offset, &size, &is_signed) == 4) { in ParseFtraceEvent()
122 FtraceEvent::Field field{type_and_name, offset, size, is_signed == 1}; in ParseFtraceEvent()
170 << ", " << field.size << ", " << field.is_signed << ")"; in PrintTo()
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h31 std::is_signed<NumericType>::value;
44 typename std::enable_if<std::is_signed<T>::value>::type* = nullptr>
51 typename std::enable_if<!std::is_signed<T>::value>::type* = nullptr>
100 IntegerRepresentation DstSign = std::is_signed<Dst>::value
103 IntegerRepresentation SrcSign = std::is_signed<Src>::value
230 IntegerRepresentation DstSign = std::is_signed<Dst>::value
233 IntegerRepresentation SrcSign = std::is_signed<Src>::value
358 std::is_signed<I>::value> { \
378 template <typename Integer, bool IsSigned = std::is_signed<Integer>::value>
413 std::is_signed<Lhs>::value
[all …]
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h30 std::is_signed<NumericType>::value;
43 typename std::enable_if<std::is_signed<T>::value>::type* = nullptr>
50 typename std::enable_if<!std::is_signed<T>::value>::type* = nullptr>
99 IntegerRepresentation DstSign = std::is_signed<Dst>::value
102 IntegerRepresentation SrcSign = std::is_signed<Src>::value
229 IntegerRepresentation DstSign = std::is_signed<Dst>::value
232 IntegerRepresentation SrcSign = std::is_signed<Src>::value
357 std::is_signed<I>::value> { \
377 template <typename Integer, bool IsSigned = std::is_signed<Integer>::value>
412 std::is_signed<Lhs>::value
[all …]
Dsafe_numerics_unittest.cc191 numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic() argument
278 !numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic()
421 if (DstLimits::is_signed) { in TestArithmetic()
438 if (numeric_limits<Dst>::is_signed) in TestArithmetic()
447 if (numeric_limits<Dst>::is_signed) { in TestArithmetic()
458 if (numeric_limits<Dst>::is_signed) { in TestArithmetic()
615 ((SrcLimits::is_signed == DstLimits::is_signed && in Test()
618 (DstLimits::is_signed && in Test()
646 } else if (numeric_limits<Src>::is_signed) { in Test()
658 static_assert(SrcLimits::is_signed == DstLimits::is_signed, in Test()
[all …]
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dis_signed.pass.cpp20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1"); in test()
21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2"); in test()
22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3"); in test()
23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4"); in test()
Dmin.pass.cpp25 assert(std::numeric_limits<T>::is_bounded || !std::numeric_limits<T>::is_signed); in test()
27 assert(std::numeric_limits<const T>::is_bounded || !std::numeric_limits<const T>::is_signed); in test()
29 …assert(std::numeric_limits<volatile T>::is_bounded || !std::numeric_limits<volatile T>::is_signed); in test()
31 …numeric_limits<const volatile T>::is_bounded || !std::numeric_limits<const volatile T>::is_signed); in test()
/external/tensorflow/tensorflow/core/kernels/
Dquantize_op.cc63 !std::is_signed<T>::value in QuantizeV2Op()
151 bool is_signed = std::is_signed<T>::value; in Compute() local
152 if (is_signed) { in Compute()
188 const bool is_signed = std::is_signed<T>::value; in Compute() local
190 if (is_signed) { in Compute()
Ddequantize_op.cc44 half_range_ = !std::is_signed<T>::value in DequantizeOp()
103 bool is_signed = std::is_signed<T>::value; in Compute() local
111 const int target_bits = is_signed ? (num_bits - 1) : num_bits; in Compute()
/external/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c44 bool is_signed; in convert_instr() local
51 is_signed = (op == nir_op_idiv); in convert_instr()
58 if (is_signed) { in convert_instr()
77 if (is_signed) { in convert_instr()
101 if (is_signed) { in convert_instr()
/external/v8/src/base/
Dsafe_math_impl.h115 std::numeric_limits<Integer>::is_signed>::type>::type type;
154 if (std::numeric_limits<T>::is_signed) {
177 if (std::numeric_limits<T>::is_signed) {
207 std::numeric_limits<T>::is_signed &&
237 !std::numeric_limits<T>::is_signed &&
254 if (std::numeric_limits<T>::is_signed && x == std::numeric_limits<T>::min() &&
266 std::numeric_limits<T>::is_integer && std::numeric_limits<T>::is_signed,
275 std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed,
284 std::numeric_limits<T>::is_integer && std::numeric_limits<T>::is_signed,
295 std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed,
[all …]
Dsafe_conversions_impl.h28 std::numeric_limits<NumericType>::is_signed);
52 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
56 std::numeric_limits<Src>::is_signed
119 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
122 IntegerRepresentation SrcSign = std::numeric_limits<Src>::is_signed
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c761 bool is_signed) in extract_float_endpoints() argument
805 if (is_signed) { in extract_float_endpoints()
846 bool is_signed) in fetch_rgb_float_from_block() argument
879 endpoints, is_signed); in fetch_rgb_float_from_block()
912 if (is_signed) in fetch_rgb_float_from_block()
927 bool is_signed) in fetch_bptc_rgb_float() argument
933 fetch_rgb_float_from_block(block, texel, (i % 4) + (j % 4) * 4, is_signed); in fetch_bptc_rgb_float()
1339 clamp_value(float value, bool is_signed) in clamp_value() argument
1344 if (is_signed) { in clamp_value()
1361 bool is_signed) in get_endpoints_float() argument
[all …]
/external/perfetto/include/perfetto/ftrace_reader/
Dformat_parser.h36 bool is_signed; member
39 return std::tie(type_and_name, offset, size, is_signed) ==
41 other.is_signed);
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir-a2xx.h80 bool is_signed : 1; member
159 enum a2xx_sq_surfaceformat fmt, bool is_signed, int stride) in ir2_instr_create_vtx_fetch() argument
166 instr->fetch.is_signed = is_signed; in ir2_instr_create_vtx_fetch()
/external/webrtc/webrtc/base/
Dsafe_conversions_impl.h40 DstSign IsDstSigned = std::numeric_limits<Dst>::is_signed ?
42 SrcSign IsSrcSigned = std::numeric_limits<Src>::is_signed ?
102 DstSign IsDstSigned = std::numeric_limits<Dst>::is_signed ?
104 SrcSign IsSrcSigned = std::numeric_limits<Src>::is_signed ?
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_surface_builder.cpp745 const color_u &widths, bool is_signed) in emit_convert_to_integer() argument
747 const unsigned s = (is_signed ? 1 : 0); in emit_convert_to_integer()
749 is_signed ? BRW_REGISTER_TYPE_D : BRW_REGISTER_TYPE_UD, 4); in emit_convert_to_integer()
760 if (is_signed) in emit_convert_to_integer()
770 if (is_signed && widths[c] < 32) in emit_convert_to_integer()
785 const color_u &widths, bool is_signed) in emit_convert_from_scaled() argument
787 const unsigned s = (is_signed ? 1 : 0); in emit_convert_from_scaled()
800 if (is_signed) in emit_convert_from_scaled()
815 const color_u &widths, bool is_signed) in emit_convert_to_scaled() argument
817 const unsigned s = (is_signed ? 1 : 0); in emit_convert_to_scaled()
[all …]
/external/skqp/include/private/
DSkTFitsIn.h82 using S_is_signed = skstd::bool_constant<std::numeric_limits<S>::is_signed>; in fits()
83 using D_is_signed = skstd::bool_constant<std::numeric_limits<D>::is_signed>; in fits()
180 using S_is_signed = skstd::bool_constant<std::numeric_limits<S>::is_signed>;
181 using D_is_signed = skstd::bool_constant<std::numeric_limits<D>::is_signed>;
/external/skia/include/private/
DSkTFitsIn.h82 using S_is_signed = skstd::bool_constant<std::numeric_limits<S>::is_signed>; in fits()
83 using D_is_signed = skstd::bool_constant<std::numeric_limits<D>::is_signed>; in fits()
180 using S_is_signed = skstd::bool_constant<std::numeric_limits<S>::is_signed>;
181 using D_is_signed = skstd::bool_constant<std::numeric_limits<D>::is_signed>;
/external/libcxx/include/
Dlimits32 static constexpr bool is_signed = false;
155 static _LIBCPP_CONSTEXPR const bool is_signed = false;
206 static _LIBCPP_CONSTEXPR const bool is_signed = type(-1) < type(0);
207 …ic _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_signed);
210 … static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
211 static _LIBCPP_CONSTEXPR const type __max = is_signed ? type(type(~0) ^ __min) : type(~0);
239 static _LIBCPP_CONSTEXPR const bool is_modulo = !_VSTD::is_signed<_Tp>::value;
259 static _LIBCPP_CONSTEXPR const bool is_signed = false;
307 static _LIBCPP_CONSTEXPR const bool is_signed = true;
353 static _LIBCPP_CONSTEXPR const bool is_signed = true;
[all …]
/external/llvm/include/llvm/Support/
DScaledNumber.h55 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getRounded()
82 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
116 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getProduct()
155 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getQuotient()
190 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getLgImpl()
253 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in compare()
289 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in matchScales()
335 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getSum()
375 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getDifference()
495 static_assert(!std::numeric_limits<DigitsT>::is_signed,

123456