Searched defs:is_signed (Results 1 - 25 of 35) sorted by relevance

12

/external/perfetto/include/perfetto/ftrace_reader/
H A Dformat_parser.h36 bool is_signed; member in struct:perfetto::FtraceEvent::Field
39 return std::tie(type_and_name, offset, size, is_signed) ==
41 other.is_signed);
/external/tensorflow/tensorflow/core/framework/
H A Dtype_traits.h95 // Specialize is_signed for quantized types.
97 struct is_signed<tensorflow::qint8> : public is_signed<tensorflow::int8> {}; struct in namespace:std
99 struct is_signed<tensorflow::quint8> : public is_signed<tensorflow::uint8> {}; struct in namespace:std
101 struct is_signed<tensorflow::qint16> : public is_signed<tensorflow::int16> {}; struct in namespace:std
103 struct is_signed<tensorflow::quint16> : public is_signed<tensorflow::uint16> {}; struct in namespace:std
105 struct is_signed<tensorflo struct in namespace:std
[all...]
/external/eigen/test/
H A Dinteger_types.cpp24 enum { is_signed = (Scalar(-1) > Scalar(0)) ? 0 : 1 }; enumerator in enum:__anon6474
25 VERIFY(is_signed == 1);
56 enum { is_signed = (Scalar(-1) > Scalar(0)) ? 0 : 1 }; enumerator in enum:__anon6475
57 VERIFY(int(NumTraits<Scalar>::IsSigned) == is_signed);
/external/mesa3d/src/compiler/nir/
H A Dnir_lower_idiv.c44 bool is_signed; local
51 is_signed = (op == nir_op_idiv);
58 if (is_signed) {
77 if (is_signed) {
101 if (is_signed) {
/external/tensorflow/tensorflow/core/kernels/
H A Ddequantize_op.cc44 half_range_ = !std::is_signed<T>::value
103 bool is_signed = std::is_signed<T>::value; variable
111 const int target_bits = is_signed ? (num_bits - 1) : num_bits;
H A Dquantize_op.cc63 !std::is_signed<T>::value
151 bool is_signed = std::is_signed<T>::value; variable
152 if (is_signed) {
188 const bool is_signed = std::is_signed<T>::value; variable
190 if (is_signed) {
/external/perfetto/src/ftrace_reader/
H A Dformat_parser.cc114 int is_signed = 0; local
119 buffer, &offset, &size, &is_signed) == 4) {
122 FtraceEvent::Field field{type_and_name, offset, size, is_signed == 1};
170 << ", " << field.size << ", " << field.is_signed << ")";
H A Dproto_translation_table.cc63 ftrace_field.is_signed, &field->ftrace_type)) {
69 ftrace_field.is_signed);
155 bool is_signed,
222 if (size == 1 && is_signed) {
225 } else if (size == 1 && !is_signed) {
228 } else if (size == 2 && is_signed) {
231 } else if (size == 2 && !is_signed) {
234 } else if (size == 4 && is_signed) {
237 } else if (size == 4 && !is_signed) {
240 } else if (size == 8 && is_signed) {
153 InferFtraceType(const std::string& type_and_name, size_t size, bool is_signed, FtraceFieldType* out) argument
[all...]
/external/google-breakpad/src/common/
H A Dbyte_cursor.h119 ByteCursor &Read(size_t size, bool is_signed, T *result) { argument
131 if (is_signed && size < sizeof(T)) {
H A Ddwarf_cu_to_module_unittest.cc172 void SetLanguageSigned(bool is_signed) { language_signed_ = is_signed; } argument
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dir-a2xx.h80 bool is_signed : 1; member in struct:ir2_instruction::__anon16151::__anon16152
159 enum a2xx_sq_surfaceformat fmt, bool is_signed, int stride)
166 instr->fetch.is_signed = is_signed;
158 ir2_instr_create_vtx_fetch(struct ir2_cf *cf, int ci, int cis, enum a2xx_sq_surfaceformat fmt, bool is_signed, int stride) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_nir.cpp507 bool is_signed)
512 if (is_signed) {
504 emit_find_msb_using_lzd(const fs_builder &bld, const fs_reg &result, const fs_reg &src, bool is_signed) argument
H A Dbrw_fs_surface_builder.cpp745 const color_u &widths, bool is_signed)
747 const unsigned s = (is_signed ? 1 : 0);
749 is_signed ? BRW_REGISTER_TYPE_D : BRW_REGISTER_TYPE_UD, 4);
760 if (is_signed)
770 if (is_signed && widths[c] < 32)
785 const color_u &widths, bool is_signed)
787 const unsigned s = (is_signed ? 1 : 0);
800 if (is_signed)
815 const color_u &widths, bool is_signed)
817 const unsigned s = (is_signed
744 emit_convert_to_integer(const fs_builder &bld, const fs_reg &src, const color_u &widths, bool is_signed) argument
784 emit_convert_from_scaled(const fs_builder &bld, const fs_reg &src, const color_u &widths, bool is_signed) argument
814 emit_convert_to_scaled(const fs_builder &bld, const fs_reg &src, const color_u &widths, bool is_signed) argument
[all...]
H A Dbrw_reg.h323 brw_int_type(unsigned sz, bool is_signed) argument
327 return (is_signed ? BRW_REGISTER_TYPE_B : BRW_REGISTER_TYPE_UB);
329 return (is_signed ? BRW_REGISTER_TYPE_W : BRW_REGISTER_TYPE_UW);
331 return (is_signed ? BRW_REGISTER_TYPE_D : BRW_REGISTER_TYPE_UD);
333 return (is_signed ? BRW_REGISTER_TYPE_Q : BRW_REGISTER_TYPE_UQ);
H A Dbrw_vec4_nir.cpp1127 bool is_signed)
1132 if (is_signed) {
1124 emit_find_msb_using_lzd(const vec4_builder &bld, const dst_reg &dst, const src_reg &src, bool is_signed) argument
/external/mesa3d/src/mesa/main/
H A Dformat_utils.c278 bool normalized, dst_integer, src_integer, is_signed; local
456 is_signed = false;
461 is_signed = _mesa_array_format_is_signed(dst_array_format);
466 is_signed = false;
469 is_signed = true;
472 is_signed = true;
475 is_signed = false;
479 is_signed = true;
501 common_type = is_signed ? MESA_ARRAY_FORMAT_TYPE_INT :
544 } else if (is_signed || bit
[all...]
H A Dglformats.c3408 bool normalized = false, is_float = false, is_signed = false; local
3418 is_signed = true;
3425 is_signed = true;
3432 is_signed = true;
3437 is_signed = true;
3442 is_signed = true;
3461 return MESA_ARRAY_FORMAT(type_size, is_signed, is_float,
H A Dtexcompress_bptc.c761 bool is_signed)
805 if (is_signed) {
846 bool is_signed)
879 endpoints, is_signed);
912 if (is_signed)
927 bool is_signed)
933 fetch_rgb_float_from_block(block, texel, (i % 4) + (j % 4) * 4, is_signed);
1339 clamp_value(float value, bool is_signed) argument
1344 if (is_signed) {
1361 bool is_signed)
757 extract_float_endpoints(const struct bptc_float_mode *mode, const uint8_t *block, int bit_offset, int32_t endpoints[][3], bool is_signed) argument
843 fetch_rgb_float_from_block(const uint8_t *block, float *result, int texel, bool is_signed) argument
924 fetch_bptc_rgb_float(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel, bool is_signed) argument
1358 get_endpoints_float(int width, int height, const float *src, int src_rowstride, float average_luminance, float endpoints[][3], bool is_signed) argument
1490 get_endpoint_value(float value, bool is_signed) argument
1520 compress_rgb_float_block(int src_width, int src_height, const float *src, int src_rowstride, uint8_t *dst, bool is_signed) argument
1558 compress_rgb_float(int width, int height, const float *src, int src_rowstride, uint8_t *dst, int dst_rowstride, bool is_signed) argument
1579 is_signed); local
1587 texstore_bptc_rgb_float(TEXSTORE_PARAMS, bool is_signed) argument
[all...]
/external/eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h483 static const bool is_signed = true; member in struct:std::numeric_limits
/external/mesa3d/src/gallium/tests/trivial/
H A Dcompute.c1247 bool is_signed = (util_format_description(surface_fmts[i]) local
1268 check_tex(ctx, 1, (is_int && is_signed ? test_surface_st_expects :
1269 is_int && !is_signed ? test_surface_st_expectu :
/external/tensorflow/tensorflow/compiler/xla/service/
H A Delemental_ir_emitter.cc283 bool is_signed = local
285 if (is_signed) {
297 bool is_signed = local
303 if (is_signed) {
1008 bool is_signed) const {
1018 return is_signed ? ir_builder_->CreateSDiv(lhs_value, rhs_value)
1021 return is_signed ? ir_builder_->CreateSRem(lhs_value, rhs_value)
1031 is_signed ? llvm::CmpInst::ICMP_SLT : llvm::CmpInst::ICMP_ULT,
1035 is_signed ? llvm::CmpInst::ICMP_SGT : llvm::CmpInst::ICMP_UGT,
1039 is_signed
[all...]
/external/v8/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp253 bool is_signed = false; local
262 is_signed = current_value.isSigned();
265 if (is_signed != current_value.isSigned()) {
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h2996 static const bool is_signed = true; member in class:std::numeric_limits
/external/python/cpython2/Lib/
H A Ddecimal.py3041 def is_signed(self): member in class:Decimal
4414 def is_signed(self, a): member in class:Context
4417 >>> ExtendedContext.is_signed(Decimal('2.50'))
4419 >>> ExtendedContext.is_signed(Decimal('-12'))
4421 >>> ExtendedContext.is_signed(Decimal('-0'))
4423 >>> ExtendedContext.is_signed(8)
4425 >>> ExtendedContext.is_signed(-8)
4429 return a.is_signed()
/external/clang/test/SemaCXX/
H A Dtype-traits.cpp1209 void is_signed() function

Completed in 707 milliseconds

12