Home
last modified time | relevance | path

Searched refs:is_float (Results 1 – 25 of 27) sorted by relevance

12

/external/vulkan-validation-layers/libs/glm/detail/
Dintrinsic_vector_relational.inl38 // detail::type<valType>::is_float ||
53 // detail::type<valType>::is_float ||
68 // detail::type<valType>::is_float ||
84 // detail::type<valType>::is_float ||
99 // detail::type<valType>::is_float ||
114 // detail::type<valType>::is_float ||
130 // detail::type<valType>::is_float ||
145 // detail::type<valType>::is_float ||
160 // detail::type<valType>::is_float ||
176 // detail::type<valType>::is_float ||
[all …]
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dscanner.c31 bool is_float = false, is_hex = false; in number() local
41 is_float = chr(s, '.'); in number()
50 else if (is_float) in number()
57 *out_tok = (is_float ? FLOAT : INTEGER); in number()
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc424 bool is_float = false; in ConsumeNumber() local
441 is_float = true; in ConsumeNumber()
447 is_float = true; in ConsumeNumber()
453 is_float = true; in ConsumeNumber()
459 is_float = true; in ConsumeNumber()
466 if (is_float) { in ConsumeNumber()
474 return is_float ? TYPE_FLOAT : TYPE_INTEGER; in ConsumeNumber()
/external/mesa3d/src/compiler/glsl/
Dir_validate.cpp410 assert(ir->operands[0]->type->is_float()); in visit_leave()
591 assert(ir->operands[0]->type->is_float() || in visit_leave()
606 assert(ir->operands[0]->type->is_float()); in visit_leave()
608 assert(ir->operands[1]->type->is_float()); in visit_leave()
613 assert(ir->operands[0]->type->is_float()); in visit_leave()
Dir_constant_expression.cpp47 assert(op0->type->is_float() && op1->type->is_float()); in dot_f()
Dlower_instructions.cpp203 assert(ir->operands[1]->type->is_float() || ir->operands[1]->type->is_double()); in div_to_mul_rcp()
331 if ((lowering(FDIV_TO_MUL_RCP) && ir->type->is_float()) || in mod_to_floor()
1605 else if ((ir->operands[1]->type->is_float() && lowering(FDIV_TO_MUL_RCP)) || in visit_leave()
1621 if (lowering(MOD_TO_FLOOR) && (ir->type->is_float() || ir->type->is_double())) in visit_leave()
1631 if (lowering(LDEXP_TO_ARITH) && ir->type->is_float()) in visit_leave()
Dopt_algebraic.cpp192 expr0->type->is_float() && in try_replace_with_dot()
194 expr1->type->is_float()) { in try_replace_with_dot()
/external/vulkan-validation-layers/layers/
Dvk_format_utils.cpp639 bool is_float = false; in FormatIsFloat() local
658 is_float = true; in FormatIsFloat()
664 return is_float; in FormatIsFloat()
/external/python/cpython2/Modules/
D_json.c1312 int is_float = 0; in _match_number_str() local
1342 is_float = 1; in _match_number_str()
1362 is_float = 1; in _match_number_str()
1373 if (is_float) { in _match_number_str()
1414 int is_float = 0; in _match_number_unicode() local
1444 is_float = 1; in _match_number_unicode()
1462 is_float = 1; in _match_number_unicode()
1473 if (is_float) { in _match_number_unicode()
Dclmodule.c829 int is_float = 0; in do_set() local
840 is_float = 1; in do_set()
848 is_float = 1; in do_set()
858 if (is_float) in do_set()
/external/python/cpython3/Modules/
D_json.c951 int is_float = 0; in _match_number_unicode() local
989 is_float = 1; in _match_number_unicode()
1007 is_float = 1; in _match_number_unicode()
1014 if (is_float && s->parse_float != (PyObject *)&PyFloat_Type) in _match_number_unicode()
1016 else if (!is_float && s->parse_int != (PyObject *) &PyLong_Type) in _match_number_unicode()
1043 if (is_float) in _match_number_unicode()
/external/clang/test/CXX/drs/
Ddr4xx.cpp376 template<typename T> struct is_float;
377 template<> struct is_float<float> { typedef void type; }; struct
380 …template<typename T, typename U = typename is_float<T>::type> operator T() const; // expected-erro…
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2620 bool is_float; in r600_translate_colorformat() local
2633 is_float = desc->channel[channel].type == UTIL_FORMAT_TYPE_FLOAT; in r600_translate_colorformat()
2641 if (is_float) in r600_translate_colorformat()
2646 if (is_float) in r600_translate_colorformat()
2663 if (is_float) in r600_translate_colorformat()
2668 if (is_float) in r600_translate_colorformat()
2696 if (is_float) in r600_translate_colorformat()
2701 if (is_float) in r600_translate_colorformat()
/external/mesa3d/src/compiler/
Dglsl_types.h491 bool is_float() const in is_float() function
Dglsl_types.cpp1397 if (desired->is_float() && this->is_integer()) in can_implicitly_convert_to()
1417 if (this->is_float()) in can_implicitly_convert_to()
/external/mesa3d/src/mesa/main/
Dglformats.c3408 bool normalized = false, is_float = false, is_signed = false; in _mesa_format_from_format_and_type() local
3438 is_float = true; in _mesa_format_from_format_and_type()
3443 is_float = true; in _mesa_format_from_format_and_type()
3461 return MESA_ARRAY_FORMAT(type_size, is_signed, is_float, in _mesa_format_from_format_and_type()
Dformat_parser.py380 def is_float(self): member in Format
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py193 def is_float(self): member in Format
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py201 def is_float(self): member in Format
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp146 static bool is_float(const Context& context, const Type& type) { in is_float() function
148 return is_float(context, type.componentType()); in is_float()
668 if (std::get<0>(intrinsic->second) == kSpecial_IntrinsicKind || is_float(fContext, type)) { in writeIntrinsicCall()
766 if (is_float(fContext, type)) { in writeGLSLExtendedInstruction()
893 if (is_float(fContext, operandType)) { in writeSpecialIntrinsic()
1761 if (is_float(fContext, operandType)) { in writeBinaryOperation()
1809 SpvOp_ compareOp = is_float(fContext, operandType) ? floatOperator : intOperator; in writeMatrixComparison()
2207 if (is_float(fContext, p.fType)) { in writePrefixExpression()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp146 static bool is_float(const Context& context, const Type& type) { in is_float() function
148 return is_float(context, type.componentType()); in is_float()
668 if (std::get<0>(intrinsic->second) == kSpecial_IntrinsicKind || is_float(fContext, type)) { in writeIntrinsicCall()
766 if (is_float(fContext, type)) { in writeGLSLExtendedInstruction()
901 if (is_float(fContext, operandType)) { in writeSpecialIntrinsic()
1769 if (is_float(fContext, operandType)) { in writeBinaryOperation()
1817 SpvOp_ compareOp = is_float(fContext, operandType) ? floatOperator : intOperator; in writeMatrixComparison()
2215 if (is_float(fContext, p.fType)) { in writePrefixExpression()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c730 bool is_float = util_format_is_float(format); in fd3_emit_state() local
769 COND(!is_float, A3XX_RB_MRT_BLEND_CONTROL_CLAMP_ENABLE)); in fd3_emit_state()
/external/valgrind/perf/
Dtinycc.c5537 static inline int is_float(int t) in is_float() function
5896 } else if (is_float(vtop->type.t)) { in gfunc_call()
6135 if (is_float(vtop->type.t)) { in gtst()
6531 if (!is_float(vtop->type.t)) { in gen_bounded_ptr_deref()
10259 (!is_float(type->t) && (type->t & VT_BTYPE) != VT_LLONG)) in save_reg()
10445 if (is_float(vtop->type.t) && in gv()
10526 } else if ((vtop->r & VT_LVAL) && !is_float(vtop->type.t)) { in gv()
10730 if (is_float(t)) { in gv_dup()
11291 } else if (is_float(bt1) || is_float(bt2)) { in gen_op()
11348 if (is_float(t)) in gen_op()
[all …]
/external/v8/src/asmjs/
Dasm-wasm-builder.cc1073 void VisitForeignVariable(bool is_float, Variable* var, Property* expr) { in VisitForeignVariable() argument
1083 ValueType type = is_float ? kWasmF64 : kWasmI32; in VisitForeignVariable()
/external/deqp/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp17875 bool is_float = false; in test() local
17879 is_float = true; in test()
17882 return is_float; in test()
18429 bool is_float = false; in test() local
18433 is_float = true; in test()
18436 return is_float; in test()
18991 bool is_float = false; in test() local
18995 is_float = true; in test()
18998 return is_float; in test()

12