Home
last modified time | relevance | path

Searched refs:Kind (Results 1 – 12 of 12) sorted by relevance

/system/tools/hidl/
DConstantExpression.h45 static std::unique_ptr<ConstantExpression> Zero(ScalarType::Kind kind);
46 static std::unique_ptr<ConstantExpression> One(ScalarType::Kind kind);
47 static std::unique_ptr<ConstantExpression> ValueOf(ScalarType::Kind kind, uint64_t value);
112 std::string value(ScalarType::Kind castKind) const;
114 std::string cppValue(ScalarType::Kind castKind) const;
116 std::string javaValue(ScalarType::Kind castKind) const;
122 std::unique_ptr<ConstantExpression> addOne(ScalarType::Kind baseKind);
136 std::string rawValue(ScalarType::Kind castKind) const;
144 ScalarType::Kind mValueKind;
174 LiteralConstantExpression(ScalarType::Kind kind, uint64_t value);
[all …]
DScalarType.h26 enum Kind { enum
40 ScalarType(Kind kind, Scope* parent);
107 Kind getKind() const;
110 Kind mKind;
DConstantExpression.cpp41 #define SK(__x__) ScalarType::Kind::KIND_##__x__
61 static inline bool isSupported(ScalarType::Kind kind) { in isSupported()
66 ScalarType::Kind integralPromotion(ScalarType::Kind in) { in integralPromotion()
71 ScalarType::Kind usualArithmeticConversion(ScalarType::Kind lft, in usualArithmeticConversion()
72 ScalarType::Kind rgt) { in usualArithmeticConversion()
83 ScalarType::Kind unsignedRank = isLftSigned ? rgt : lft; in usualArithmeticConversion()
84 ScalarType::Kind signedRank = isLftSigned ? lft : rgt; in usualArithmeticConversion()
160 std::unique_ptr<ConstantExpression> ConstantExpression::Zero(ScalarType::Kind kind) { in Zero()
164 std::unique_ptr<ConstantExpression> ConstantExpression::One(ScalarType::Kind kind) { in One()
168 std::unique_ptr<ConstantExpression> ConstantExpression::ValueOf(ScalarType::Kind kind, in ValueOf()
[all …]
DScalarType.cpp27 ScalarType::ScalarType(Kind kind, Scope* parent) in ScalarType()
334 ScalarType::Kind ScalarType::getKind() const { in getKind()
DEnumType.h153 std::string rawValue(ScalarType::Kind castKind) const;
154 std::string cppValue(ScalarType::Kind castKind) const;
155 std::string javaValue(ScalarType::Kind castKind) const;
DEnumType.cpp785 std::string EnumValue::rawValue(ScalarType::Kind castKind) const { in rawValue()
790 std::string EnumValue::cppValue(ScalarType::Kind castKind) const { in cppValue()
794 std::string EnumValue::javaValue(ScalarType::Kind castKind) const { in javaValue()
DCompoundType.cpp2055 static const std::vector<std::pair<int, ScalarType::Kind> > scalars { in getUnionDiscriminatorType()
2056 {8, ScalarType::Kind::KIND_UINT8}, in getUnionDiscriminatorType()
2057 {16, ScalarType::Kind::KIND_UINT16}, in getUnionDiscriminatorType()
2058 {32, ScalarType::Kind::KIND_UINT32}, in getUnionDiscriminatorType()
2062 auto kind = ScalarType::Kind::KIND_UINT64; in getUnionDiscriminatorType()
DInterface.cpp277 out << byteToString(ConstantExpression::ValueOf(ScalarType::Kind::KIND_UINT8, e)); in emitDigestChain()
/system/media/camera/docs/
Dmetadata_model_test.py10 kind = Kind("some_root_kind", parent=None)
56 kind_static = Kind("static", parent=section)
57 kind_dynamic = Kind("dynamic", parent=section)
91 kind_static = Kind("static", parent=section)
114 self.assertIsInstance(combined_children_kind, Kind)
Dmetadata_model.py507 kind = Kind(kind_name, section)
744 k = Kind(el.name, el.parent)
780 combined = Kind(name="combined", parent=self)
788 class Kind(Node): class
864 return Kind._combine_children_by_name(self, new_type=type(self))
974 return Kind._combine_children_by_name(self, new_type=type(self))
Dmetadata_helpers.py124 not isa(x, metadata_model.Kind)
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DTestHelper.java43 super(URI.create("string:///" + className.replace('.', '/') + Kind.SOURCE.extension), in InMemoryJavaFileObject()
44 Kind.SOURCE); in InMemoryJavaFileObject()
58 InMemoryJavaClassObject(String name, Kind kind) { in InMemoryJavaClassObject()
88 JavaFileObject.Kind kind, FileObject sibling) { in getJavaFileForOutput()