Searched refs:Kind (Results 1 – 14 of 14) sorted by relevance
/system/tools/hidl/ |
D | ConstantExpression.h | 45 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); 109 std::string value(ScalarType::Kind castKind) const; 111 std::string cppValue(ScalarType::Kind castKind) const; 113 std::string javaValue(ScalarType::Kind castKind) const; 119 std::unique_ptr<ConstantExpression> addOne(ScalarType::Kind baseKind); 133 std::string rawValue(ScalarType::Kind castKind) const; 141 ScalarType::Kind mValueKind; 171 LiteralConstantExpression(ScalarType::Kind kind, uint64_t value); [all …]
|
D | ScalarType.h | 26 enum Kind { enum 40 ScalarType(Kind kind, Scope* parent); 103 Kind getKind() const; 106 Kind mKind;
|
D | ConstantExpression.cpp | 41 #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() 154 std::unique_ptr<ConstantExpression> ConstantExpression::Zero(ScalarType::Kind kind) { in Zero() 158 std::unique_ptr<ConstantExpression> ConstantExpression::One(ScalarType::Kind kind) { in One() 162 std::unique_ptr<ConstantExpression> ConstantExpression::ValueOf(ScalarType::Kind kind, in ValueOf() [all …]
|
D | ScalarType.cpp | 23 ScalarType::ScalarType(Kind kind, Scope* parent) : Type(parent), mKind(kind) {} in ScalarType() 303 ScalarType::Kind ScalarType::getKind() const { in getKind()
|
D | EnumType.h | 147 std::string rawValue(ScalarType::Kind castKind) const; 148 std::string cppValue(ScalarType::Kind castKind) const; 149 std::string javaValue(ScalarType::Kind castKind) const;
|
D | EnumType.cpp | 746 std::string EnumValue::rawValue(ScalarType::Kind castKind) const { in rawValue() 751 std::string EnumValue::cppValue(ScalarType::Kind castKind) const { in cppValue() 755 std::string EnumValue::javaValue(ScalarType::Kind castKind) const { in javaValue()
|
D | CompoundType.cpp | 2262 static const std::vector<std::pair<int, ScalarType::Kind> > scalars { in getUnionDiscriminatorType() 2263 {8, ScalarType::Kind::KIND_UINT8}, in getUnionDiscriminatorType() 2264 {16, ScalarType::Kind::KIND_UINT16}, in getUnionDiscriminatorType() 2265 {32, ScalarType::Kind::KIND_UINT32}, in getUnionDiscriminatorType() 2269 auto kind = ScalarType::Kind::KIND_UINT64; in getUnionDiscriminatorType()
|
D | Interface.cpp | 305 out << byteToString(ConstantExpression::ValueOf(ScalarType::Kind::KIND_UINT8, e)); in emitDigestChain()
|
/system/media/camera/docs/ |
D | metadata_model_test.py | 10 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)
|
D | metadata_model.py | 507 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))
|
D | metadata_helpers.py | 124 not isa(x, metadata_model.Kind)
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | TestHelper.java | 43 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()
|
/system/tools/aidl/ |
D | type_namespace.h | 71 int Kind() const { return kind_; } in Kind() function 198 if (existing->Kind() == ValidatableType::KIND_BUILT_IN) { in Add() 205 if (type->Kind() != existing->Kind()) { in Add()
|
D | type_namespace.cpp | 78 switch (Kind()) { in HumanReadableKind()
|