/external/selinux/policycoreutils/secon/ |
D | secon.c | 64 unsigned int from_type:8; /* 16 bits, uses 4 bits */ member 253 opts->from_type = OPTS_FROM_CUR; in cmd_line() 256 opts->from_type = OPTS_FROM_CUREXE; in cmd_line() 259 opts->from_type = OPTS_FROM_CURFS; in cmd_line() 262 opts->from_type = OPTS_FROM_CURKEY; in cmd_line() 266 opts->from_type = OPTS_FROM_PROC; in cmd_line() 270 opts->from_type = OPTS_FROM_PROCEXE; in cmd_line() 274 opts->from_type = OPTS_FROM_PROCFS; in cmd_line() 278 opts->from_type = OPTS_FROM_PROCKEY; in cmd_line() 283 opts->from_type = OPTS_FROM_FILE; in cmd_line() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_function.cpp | 138 const glsl_type *from_type; in get_parameter_match_type() local 142 from_type = param->type; in get_parameter_match_type() 145 from_type = actual->type; in get_parameter_match_type() 149 if (from_type == to_type) in get_parameter_match_type() 153 if (from_type->is_float()) in get_parameter_match_type()
|
/external/tensorflow/tensorflow/core/kernels/mlir_generated/ |
D | gpu_unary_ops_test.cc | 134 #define TEST_CAST_FROM_TO(from_type, to_type) \ argument 135 GENERATE_DEFAULT_TEST(Cast, from_type, to_type, baseline_cast, \ 143 #define TEST_CAST_TO(from_type) \ argument 144 TEST_CAST_FROM_TO(from_type, DT_BOOL) \ 145 TEST_CAST_FROM_TO(from_type, DT_INT8) \ 146 TEST_CAST_FROM_TO(from_type, DT_INT16) \ 147 TEST_CAST_FROM_TO(from_type, DT_INT32) \ 148 TEST_CAST_FROM_TO(from_type, DT_INT64) \ 149 TEST_CAST_FROM_TO(from_type, DT_FLOAT) \ 150 TEST_CAST_FROM_TO(from_type, DT_DOUBLE)
|
/external/crosvm/gpu_display/src/keycode_converter/ |
D | mod.rs | 27 pub fn new(from_type: KeycodeTypes) -> KeycodeTranslator { in new() 31 match from_type { in new()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 220 PrimitiveType from_type, in EmitIntegralToFloating() argument 223 if (primitive_util::IsSignedIntegralType(from_type)) { in EmitIntegralToFloating() 227 CHECK(primitive_util::IsUnsignedIntegralType(from_type) || in EmitIntegralToFloating() 228 from_type == PRED); in EmitIntegralToFloating() 252 PrimitiveType from_type = op->operand(0)->shape().element_type(); in EmitIntegerUnaryOp() local 254 CHECK(primitive_util::IsIntegralType(from_type) || from_type == PRED) in EmitIntegerUnaryOp() 255 << from_type; in EmitIntegerUnaryOp() 256 if (from_type == to_type) { in EmitIntegerUnaryOp() 268 primitive_util::IsSignedIntegralType(from_type)); in EmitIntegerUnaryOp() 272 return EmitF32ToBF16(EmitIntegralToFloating(operand_value, from_type, in EmitIntegerUnaryOp() [all …]
|
D | hlo_element_type_converter.cc | 66 Shape GetConvertedTupleShape(const Shape& shape, PrimitiveType from_type, in GetConvertedTupleShape() argument 72 if (subshape.element_type() == from_type) { in GetConvertedTupleShape()
|
D | shape_inference.cc | 219 PrimitiveType from_type, in MaybeUpcast() argument 222 *preferred_element_type == from_type) { in MaybeUpcast() 223 return from_type; in MaybeUpcast() 225 if (primitive_util::IsIntegralType(from_type) != in MaybeUpcast() 231 if (!primitive_util::IsSignedIntegralType(from_type) != in MaybeUpcast() 237 if (!primitive_util::IsFloatingPointType(from_type) && in MaybeUpcast() 239 primitive_util::BitWidth(from_type)) { in MaybeUpcast()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cast_op_test.py | 78 for from_type in type_list: 80 self._test(x.astype(from_type), to_type, use_gpu)
|
/external/python/cpython2/Lib/test/ |
D | _mock_backport.py | 663 from_type = dir(type(self)) 666 from_type = [e for e in from_type if not e.startswith('_')] 669 return sorted(set(extras + from_type + from_dict +
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 743 from_type = dir(type(self)) 747 from_type = [e for e in from_type if not e.startswith('_')] 750 return sorted(set(extras + from_type + from_dict +
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 76 uint32_t from_type, in AllocateFrom() argument 81 while ((ref = iter.GetNextOfType(from_type)) != 0) { in AllocateFrom() 85 if (allocator->ChangeType(ref, to_type, from_type, /*clear=*/false)) in AllocateFrom()
|
/external/python/mock/mock/ |
D | mock.py | 783 from_type = dir(type(self)) 791 from_type = [e for e in from_type if not e.startswith('_')] 795 return sorted(set(extras + from_type + from_dict + from_child_mocks))
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 718 from_type = dir(type(self)) 724 from_type = [e for e in from_type if not e.startswith('_')] 727 return sorted(set(extras + from_type + from_dict + from_child_mocks))
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseHelper.cpp | 6559 TBasicType from_type = from.getBasicType(); in findFunctionExplicitTypes() local 6562 bool isPromotion1 = (intermediate.isIntegralPromotion(from_type, to1_type) || in findFunctionExplicitTypes() 6563 intermediate.isFPPromotion(from_type, to1_type)); in findFunctionExplicitTypes() 6564 bool isPromotion2 = (intermediate.isIntegralPromotion(from_type, to2_type) || in findFunctionExplicitTypes() 6565 intermediate.isFPPromotion(from_type, to2_type)); in findFunctionExplicitTypes() 6572 bool isConversion1 = (intermediate.isIntegralConversion(from_type, to1_type) || in findFunctionExplicitTypes() 6573 intermediate.isFPConversion(from_type, to1_type) || in findFunctionExplicitTypes() 6574 intermediate.isFPIntegralConversion(from_type, to1_type)); in findFunctionExplicitTypes() 6575 bool isConversion2 = (intermediate.isIntegralConversion(from_type, to2_type) || in findFunctionExplicitTypes() 6576 intermediate.isFPConversion(from_type, to2_type) || in findFunctionExplicitTypes() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | ParseHelper.cpp | 6853 TBasicType from_type = from.getBasicType(); in findFunctionExplicitTypes() local 6856 bool isPromotion1 = (intermediate.isIntegralPromotion(from_type, to1_type) || in findFunctionExplicitTypes() 6857 intermediate.isFPPromotion(from_type, to1_type)); in findFunctionExplicitTypes() 6858 bool isPromotion2 = (intermediate.isIntegralPromotion(from_type, to2_type) || in findFunctionExplicitTypes() 6859 intermediate.isFPPromotion(from_type, to2_type)); in findFunctionExplicitTypes() 6866 bool isConversion1 = (intermediate.isIntegralConversion(from_type, to1_type) || in findFunctionExplicitTypes() 6867 intermediate.isFPConversion(from_type, to1_type) || in findFunctionExplicitTypes() 6868 intermediate.isFPIntegralConversion(from_type, to1_type)); in findFunctionExplicitTypes() 6869 bool isConversion2 = (intermediate.isIntegralConversion(from_type, to2_type) || in findFunctionExplicitTypes() 6870 intermediate.isFPConversion(from_type, to2_type) || in findFunctionExplicitTypes() [all …]
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 181 #define _PyUnicode_CONVERT_BYTES(from_type, to_type, begin, end, to) \ argument 184 const from_type *_iter = (const from_type *)(begin);\ 185 const from_type *_end = (const from_type *)(end);\ 187 const from_type *_unrolled_end = \
|