Home
last modified time | relevance | path

Searched refs:TypeOf (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/src/Vulkan/Debug/
DTypeOf.hpp27 template <typename T> struct TypeOf;
28 template <> struct TypeOf<bool> { static std::string name; }; struct
29 template <> struct TypeOf<uint8_t> { static std::string name; }; struct
30 template <> struct TypeOf<int8_t> { static std::string name; }; struct
31 template <> struct TypeOf<uint16_t> { static std::string name; }; argument
32 template <> struct TypeOf<int16_t> { static std::string name; }; struct
33 template <> struct TypeOf<float> { static std::string name; }; argument
34 template <> struct TypeOf<uint32_t> { static std::string name; }; argument
35 template <> struct TypeOf<int32_t> { static std::string name; }; struct
36 template <> struct TypeOf<double> { static std::string name; }; struct
[all …]
DTypeOf.cpp20 std::string TypeOf<bool>::name = "bool";
21 std::string TypeOf<uint8_t>::name = "uint8_t";
22 std::string TypeOf<int8_t>::name = "int8_t";
23 std::string TypeOf<uint16_t>::name = "uint16_t";
24 std::string TypeOf<int16_t>::name = "int16_t";
25 std::string TypeOf<float>::name = "float";
26 std::string TypeOf<uint32_t>::name = "uint32_t";
27 std::string TypeOf<int32_t>::name = "int32_t";
28 std::string TypeOf<double>::name = "double";
29 std::string TypeOf<uint64_t>::name = "uint64_t";
[all …]
DValue.hpp69 std::string type() override { return TypeOf<T>::name; } in type()
84 std::string type() override { return TypeOf<T>::name; } in type()
/external/tensorflow/tensorflow/go/
Dtensor.go86 nbytes := TypeOf(dataType, nil).Size() * uintptr(nflattened)
182 nbytes := TypeOf(dataType, nil).Size() * uintptr(numElements(shape))
393 {reflect.TypeOf(float32(0)), C.TF_FLOAT},
394 {reflect.TypeOf(float64(0)), C.TF_DOUBLE},
395 {reflect.TypeOf(int32(0)), C.TF_INT32},
396 {reflect.TypeOf(uint32(0)), C.TF_UINT32},
397 {reflect.TypeOf(uint8(0)), C.TF_UINT8},
398 {reflect.TypeOf(int16(0)), C.TF_INT16},
399 {reflect.TypeOf(int8(0)), C.TF_INT8},
400 {reflect.TypeOf(""), C.TF_STRING},
[all …]
Dtensor_test.go102 if reflect.TypeOf(test.value).Kind() != reflect.Array {
/external/golang-protobuf/proto/
Dextensions.go174 t := reflect.TypeOf(ed.ExtensionType)
236 if a, b := reflect.TypeOf(pbi), reflect.TypeOf(extension.ExtendedType); a != b {
260 key := extPropKey{base: reflect.TypeOf(ed.ExtendedType), field: ed.Field}
277 prop.Init(reflect.TypeOf(ed.ExtensionType), "unknown_name", ed.Tag, nil)
383 t := reflect.TypeOf(extension.ExtensionType)
417 t := reflect.TypeOf(extension.ExtensionType)
505 typ := reflect.TypeOf(extension.ExtensionType)
506 if typ != reflect.TypeOf(value) {
542 st := reflect.TypeOf(desc.ExtendedType).Elem()
558 return extensionMaps[reflect.TypeOf(pb).Elem()]
Dproperties.go260 var protoMessageType = reflect.TypeOf((*Message)(nil)).Elem()
299 marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem()
485 t := reflect.TypeOf(x)
499 if reflect.TypeOf(x).Kind() != reflect.Map {
506 t := reflect.TypeOf(x)
519 return revProtoTypes[reflect.TypeOf(x)]
527 return reflect.TypeOf(t)
Dpointer_reflect.go130 var int32ptr = reflect.TypeOf((*int32)(nil))
147 if p.v.Type().Elem().Elem() == reflect.TypeOf(int32(0)) {
165 if p.v.Type().Elem().Elem() == reflect.TypeOf(int32(0)) {
183 if p.v.Type().Elem().Elem() == reflect.TypeOf(int32(0)) {
Ddiscard.go72 di = getDiscardInfo(reflect.TypeOf(m).Elem())
245 if f.Type != reflect.TypeOf([]byte{}) {
333 if vf.Type() != reflect.TypeOf([]byte{}) {
Dextensions_test.go323 ty := reflect.TypeOf(val)
324 tyWant := reflect.TypeOf(test.ext.ExtensionType)
355 if typ := reflect.TypeOf(test.ext.ExtensionType); typ.Kind() == reflect.Ptr {
Dtable_merge.go47 mi = getMergeInfo(reflect.TypeOf(dst).Elem())
647 if f.Type != reflect.TypeOf([]byte{}) {
Dclone.go242 v := reflect.New(reflect.TypeOf(eIn.value)).Elem()
Dtable_unmarshal.go59 u = getUnmarshalInfo(reflect.TypeOf(msg).Elem())
293 if f.Type != reflect.TypeOf(([]byte)(nil)) {
301 if f.Type != reflect.TypeOf(XXX_InternalExtensions{}) {
312 if f.Type != reflect.TypeOf((map[int32]Extension)(nil)) {
373 tptr := reflect.TypeOf(v) // *Msg_X
/external/boringssl/src/util/fipstools/acvp/acvptool/
Dinteractive.go578 resultType: reflect.TypeOf(&acvp.RequestStatus{}),
597 resultType: reflect.TypeOf(&acvp.Person{}),
605 resultType: reflect.TypeOf(&acvp.Address{}),
610 resultType: reflect.TypeOf(&acvp.Vendor{}),
623 resultType: reflect.TypeOf(&acvp.Person{}),
638 resultType: reflect.TypeOf(&acvp.Module{}),
648 resultType: reflect.TypeOf(&acvp.OperationalEnvironment{}),
660 resultType: reflect.TypeOf(&acvp.Dependency{}),
667 resultType: reflect.TypeOf(&acvp.Algorithm{}),
675 resultType: reflect.TypeOf(&acvp.TestSession{}),
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_specs.cc53 Type TypeOf(const OpDef_ArgDef& arg_def, bool* iterable_out);
92 Type TypeResolver::TypeOf(const OpDef_ArgDef& arg_def, bool* iterable_out) { in TypeOf() function in tensorflow::java::__anon373d94720111::TypeResolver
289 Type type = type_resolver->TypeOf(input_def, &iterable); in CreateInput()
324 Type type = type_resolver->TypeOf(output_def, &iterable); in CreateOutput()
/external/starlark-go/starlark/
Dunpack.go242 if !reflect.TypeOf(v).AssignableTo(paramVar.Type()) {
248 if !paramVar.Type().AssignableTo(reflect.TypeOf(new(Value)).Elem()) {
/external/llvm-project/clang/test/Modules/
Dodr_hash-gnu.cpp74 namespace TypeOf { namespace
/external/starlark-go/syntax/
Dwalk_test.go40 strings.TrimPrefix(reflect.TypeOf(n).String(), "*syntax."))
Dparse_test.go380 if f.Type() == reflect.TypeOf(syntax.Position{}) {
387 if f.Type() == reflect.TypeOf(syntax.Token(0)) {
/external/boringssl/src/util/fipstools/acvp/acvptool/acvp/
Dacvp.go476 uint64Type = reflect.TypeOf(uint64(0))
477 boolType = reflect.TypeOf(false)
478 stringType = reflect.TypeOf("")
/external/swiftshader/src/Vulkan/
DCMakeLists.txt120 Debug/TypeOf.cpp
121 Debug/TypeOf.hpp
/external/llvm-project/clang/include/clang/Serialization/
DTypeBitCodes.def29 TYPE_BIT_CODE(TypeOf, TYPEOF, 18)
/external/golang-protobuf/jsonpb/
Djsonpb.go169 wktType = reflect.TypeOf((*wkt)(nil)).Elem()
170 messageType = reflect.TypeOf((*proto.Message)(nil)).Elem()
733 …if string(inputValue) == "null" && targetType != reflect.TypeOf(&stpb.Value{}) && !isJSONPBUnmarsh…
987 nv := reflect.New(reflect.TypeOf(ext.ExtensionType).Elem())
/external/llvm-project/flang/unittests/Evaluate/
Dintrinsics.cpp45 template <typename A> auto Const(A &&x) -> Constant<TypeOf<A>> { in Const()
46 return Constant<TypeOf<A>>{std::move(x)}; in Const()
/external/clang/include/clang/AST/
DTypeNodes.def87 NON_CANONICAL_UNLESS_DEPENDENT_TYPE(TypeOf, Type)

123