Searched refs:from_type (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_function.cpp | 139 const glsl_type *from_type; in get_parameter_match_type() local 143 from_type = param->type; in get_parameter_match_type() 146 from_type = actual->type; in get_parameter_match_type() 150 if (from_type == to_type) in get_parameter_match_type() 154 if (from_type->is_float()) in get_parameter_match_type()
|
/third_party/rust/crates/nix/src/ |
D | macros.rs | 124 from_type: $repr:path, 172 from_type: $repr:path, 184 from_type: $repr, 321 from_type: $repr,
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder.cc | 1532 auto* from_type = TypeOf(from_expr)->UnwrapRef(); in GenerateCastOrCopyOrPassthrough() local 1535 if ((from_type->Is<sem::I32>() && to_type->Is<sem::F32>()) || in GenerateCastOrCopyOrPassthrough() 1536 (from_type->is_signed_integer_vector() && to_type->is_float_vector())) { in GenerateCastOrCopyOrPassthrough() 1538 } else if ((from_type->Is<sem::U32>() && to_type->Is<sem::F32>()) || in GenerateCastOrCopyOrPassthrough() 1539 (from_type->is_unsigned_integer_vector() && in GenerateCastOrCopyOrPassthrough() 1542 } else if ((from_type->Is<sem::F32>() && to_type->Is<sem::I32>()) || in GenerateCastOrCopyOrPassthrough() 1543 (from_type->is_float_vector() && in GenerateCastOrCopyOrPassthrough() 1546 } else if ((from_type->Is<sem::F32>() && to_type->Is<sem::U32>()) || in GenerateCastOrCopyOrPassthrough() 1547 (from_type->is_float_vector() && in GenerateCastOrCopyOrPassthrough() 1550 } else if ((from_type->Is<sem::Bool>() && to_type->Is<sem::Bool>()) || in GenerateCastOrCopyOrPassthrough() [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | ParseHelper.cpp | 3077 auto from_type = node->getBasicType(); in integerCheck() local 3078 if ((from_type == EbtInt || from_type == EbtUint || in integerCheck() 3079 intermediate.canImplicitlyPromote(from_type, EbtInt, EOpNull) || in integerCheck() 3080 intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar()) in integerCheck() 7022 TBasicType from_type = from.getBasicType(); in findFunctionExplicitTypes() local 7025 bool isPromotion1 = (intermediate.isIntegralPromotion(from_type, to1_type) || in findFunctionExplicitTypes() 7026 intermediate.isFPPromotion(from_type, to1_type)); in findFunctionExplicitTypes() 7027 bool isPromotion2 = (intermediate.isIntegralPromotion(from_type, to2_type) || in findFunctionExplicitTypes() 7028 intermediate.isFPPromotion(from_type, to2_type)); in findFunctionExplicitTypes() 7035 bool isConversion1 = (intermediate.isIntegralConversion(from_type, to1_type) || in findFunctionExplicitTypes() [all …]
|
/third_party/python/Lib/unittest/ |
D | mock.py | 730 from_type = dir(type(self)) 736 from_type = [e for e in from_type if not e.startswith('_')] 739 return sorted(set(extras + from_type + from_dict + from_child_mocks))
|
/third_party/python/Objects/ |
D | unicodeobject.c | 187 #define _PyUnicode_CONVERT_BYTES(from_type, to_type, begin, end, to) \ argument 190 const from_type *_iter = (const from_type *)(begin);\ 191 const from_type *_end = (const from_type *)(end);\ 193 const from_type *_unrolled_end = \
|