Home
last modified time | relevance | path

Searched refs:TypeKind (Results 1 – 25 of 59) sorted by relevance

123

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_parameter.cpp39 case TypeKind::TYPE_BOOLEAN: in EmitCParameter()
40 case TypeKind::TYPE_BYTE: in EmitCParameter()
41 case TypeKind::TYPE_SHORT: in EmitCParameter()
42 case TypeKind::TYPE_INT: in EmitCParameter()
43 case TypeKind::TYPE_LONG: in EmitCParameter()
44 case TypeKind::TYPE_UCHAR: in EmitCParameter()
45 case TypeKind::TYPE_USHORT: in EmitCParameter()
46 case TypeKind::TYPE_UINT: in EmitCParameter()
47 case TypeKind::TYPE_ULONG: in EmitCParameter()
48 case TypeKind::TYPE_FLOAT: in EmitCParameter()
[all …]
Dast_smq_type.h18 ASTSmqType() : ASTType(TypeKind::TYPE_SMQ, false), innerType_() {} in ASTSmqType()
27 bool HasInnerType(TypeKind innerTypeKind) const override;
31 TypeKind GetTypeKind() override;
53 ASTAshmemType() : ASTType(TypeKind::TYPE_ASHMEM, false) {} in ASTAshmemType()
59 TypeKind GetTypeKind() override;
Dast_pointer_type.h18 ASTPointerType() : ASTType(TypeKind::TYPE_POINTER, true) {} in ASTPointerType()
24 TypeKind GetTypeKind() override;
Dast_pointer_type.cpp23 TypeKind ASTPointerType::GetTypeKind() in GetTypeKind()
25 return TypeKind::TYPE_POINTER; in GetTypeKind()
Dast_map_type.h19 ASTMapType() : ASTType(TypeKind::TYPE_MAP, false), keyType_(), valueType_() {} in ASTMapType()
43 bool HasInnerType(TypeKind innerTypeKind) const override;
47 TypeKind GetTypeKind() override;
Dast_type.h24 enum class TypeKind { enum
71 explicit ASTType(TypeKind kind = TypeKind::TYPE_UNKNOWN, bool isPod = true)
136 virtual bool HasInnerType(TypeKind innerType) const;
142 virtual TypeKind GetTypeKind();
207 TypeKind typeKind_;
Dast_array_type.cpp19 bool ASTArrayType::HasInnerType(TypeKind innerTypeKind) const in HasInnerType()
36 TypeKind ASTArrayType::GetTypeKind() in GetTypeKind()
38 return TypeKind::TYPE_ARRAY; in GetTypeKind()
127 …if (elementType_->GetTypeKind() == TypeKind::TYPE_STRUCT || elementType_->GetTypeKind() == TypeKin… in EmitCWriteVar()
191 if (elementType_->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCProxyReadVar()
244 if (elementType_->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCStubReadVar()
449 if (elementType_->GetTypeKind() == TypeKind::TYPE_STRING) { in EmitCUnMarshalling()
451 } else if (elementType_->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCUnMarshalling()
537 if (elementType_->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCppUnMarshalling()
596 case TypeKind::TYPE_BOOLEAN: in EmitJavaReadVar()
[all …]
Dast_sequenceable_type.h18 ASTSequenceableType() : ASTType(TypeKind::TYPE_SEQUENCEABLE, false) {} in ASTSequenceableType()
26 TypeKind GetTypeKind() override;
Dast_array_type.h19 ASTArrayType() : ASTType(TypeKind::TYPE_ARRAY, false), elementType_() {} in ASTArrayType()
33 bool HasInnerType(TypeKind innerTypeKind) const override;
37 TypeKind GetTypeKind() override;
160 typeKind_ = TypeKind::TYPE_LIST; in ASTListType()
170 TypeKind GetTypeKind() override;
Dast_smq_type.cpp18 bool ASTSmqType::HasInnerType(TypeKind innerTypeKind) const in HasInnerType()
36 TypeKind ASTSmqType::GetTypeKind() in GetTypeKind()
38 return TypeKind::TYPE_SMQ; in GetTypeKind()
139 TypeKind ASTAshmemType::GetTypeKind() in GetTypeKind()
141 return TypeKind::TYPE_ASHMEM; in GetTypeKind()
Dast_uchar_type.h18 ASTUcharType() : ASTType(TypeKind::TYPE_UCHAR, true) {} in ASTUcharType()
24 TypeKind GetTypeKind() override;
Dast_uint_type.h18 ASTUintType() : ASTType(TypeKind::TYPE_UINT, true) {} in ASTUintType()
24 TypeKind GetTypeKind() override;
Dast_ulong_type.h18 ASTUlongType() : ASTType(TypeKind::TYPE_ULONG, true) {} in ASTUlongType()
24 TypeKind GetTypeKind() override;
Dast_ushort_type.h18 ASTUshortType() : ASTType(TypeKind::TYPE_USHORT, true) {} in ASTUshortType()
24 TypeKind GetTypeKind() override;
Dast_native_buffer_type.h18 ASTNativeBufferType() : ASTType(TypeKind::TYPE_NATIVE_BUFFER, false) {} in ASTNativeBufferType()
24 TypeKind GetTypeKind() override;
Dast_boolean_type.h18 ASTBooleanType() : ASTType(TypeKind::TYPE_BOOLEAN, true) {} in ASTBooleanType()
24 TypeKind GetTypeKind() override;
Dast_float_type.h18 ASTFloatType() : ASTType(TypeKind::TYPE_FLOAT, true) {} in ASTFloatType()
24 TypeKind GetTypeKind() override;
Dast_byte_type.h18 ASTByteType() : ASTType(TypeKind::TYPE_BYTE, true) {} in ASTByteType()
24 TypeKind GetTypeKind() override;
Dast_double_type.h18 ASTDoubleType() : ASTType(TypeKind::TYPE_DOUBLE, true) {} in ASTDoubleType()
24 TypeKind GetTypeKind() override;
Dast_integer_type.h18 ASTIntegerType() : ASTType(TypeKind::TYPE_INT, true) {} in ASTIntegerType()
24 TypeKind GetTypeKind() override;
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcpp_code_emitter.cpp26 case TypeKind::TYPE_STRING: { in GetStdlibInclusions()
30 case TypeKind::TYPE_ARRAY: in GetStdlibInclusions()
31 case TypeKind::TYPE_LIST: { in GetStdlibInclusions()
35 case TypeKind::TYPE_MAP: { in GetStdlibInclusions()
39 case TypeKind::TYPE_SMQ: { in GetStdlibInclusions()
43 case TypeKind::TYPE_ASHMEM: { in GetStdlibInclusions()
47 case TypeKind::TYPE_NATIVE_BUFFER: { in GetStdlibInclusions()
215 if (type->GetTypeKind() == TypeKind::TYPE_SMQ || in EmitImportUsingNamespace()
216 type->GetTypeKind() == TypeKind::TYPE_NATIVE_BUFFER) { in EmitImportUsingNamespace()
Dc_service_stub_code_emitter.cpp190 … if (type->GetTypeKind() == TypeKind::TYPE_STRING || type->GetTypeKind() == TypeKind::TYPE_UNION) { in GetSourceOtherLibInclusions()
349 if (type->GetTypeKind() == TypeKind::TYPE_ARRAY || type->GetTypeKind() == TypeKind::TYPE_LIST || in EmitStubLocalVariable()
350 … (type->GetTypeKind() == TypeKind::TYPE_STRING && param->GetAttribute() == ParamAttr::PARAM_OUT)) { in EmitStubLocalVariable()
360 if (type->GetTypeKind() == TypeKind::TYPE_STRING) { in EmitReadStubMethodParameter()
362 } else if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitReadStubMethodParameter()
372 } else if (type->GetTypeKind() == TypeKind::TYPE_UNION) { in EmitReadStubMethodParameter()
390 …} else if (type->GetTypeKind() == TypeKind::TYPE_ARRAY || type->GetTypeKind() == TypeKind::TYPE_LI… in EmitReadStubMethodParameter()
391 type->GetTypeKind() == TypeKind::TYPE_FILEDESCRIPTOR || in EmitReadStubMethodParameter()
392 …type->GetTypeKind() == TypeKind::TYPE_NATIVE_BUFFER || type->GetTypeKind() == TypeKind::TYPE_ENUM … in EmitReadStubMethodParameter()
393 type->GetTypeKind() == TypeKind::TYPE_INTERFACE) { in EmitReadStubMethodParameter()
[all …]
Dc_custom_types_code_emitter.cpp150 case TypeKind::TYPE_ENUM: { in EmitCustomTypeDecl()
155 case TypeKind::TYPE_STRUCT: { in EmitCustomTypeDecl()
160 case TypeKind::TYPE_UNION: { in EmitCustomTypeDecl()
174 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCustomTypeFuncDecl()
258 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCustomTypeDataProcess()
418 case TypeKind::TYPE_STRING: { in EmitMemberUnmarshalling()
422 case TypeKind::TYPE_STRUCT: { in EmitMemberUnmarshalling()
428 case TypeKind::TYPE_UNION: { in EmitMemberUnmarshalling()
438 case TypeKind::TYPE_ARRAY: in EmitMemberUnmarshalling()
439 case TypeKind::TYPE_LIST: { in EmitMemberUnmarshalling()
[all …]
Djava_client_proxy_code_emitter.cpp72 case TypeKind::TYPE_LIST: { in EmitProxyCorelibImports()
79 case TypeKind::TYPE_MAP: { in EmitProxyCorelibImports()
225 if (type->GetTypeKind() == TypeKind::TYPE_SEQUENCEABLE) { in EmitLocalVariable()
228 } else if (type->GetTypeKind() == TypeKind::TYPE_LIST) { in EmitLocalVariable()
231 } else if (type->GetTypeKind() == TypeKind::TYPE_MAP) { in EmitLocalVariable()
Dcpp_custom_types_code_emitter.cpp162 case TypeKind::TYPE_ENUM: { in EmitCustomTypeDecl()
167 case TypeKind::TYPE_STRUCT: { in EmitCustomTypeDecl()
172 case TypeKind::TYPE_UNION: { in EmitCustomTypeDecl()
186 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCustomTypeFuncDecl()
265 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCustomTypeDataProcess()
337 if (memberType->GetTypeKind() == TypeKind::TYPE_UNION) { in EmitCustomTypeUnmarshallingImpl()
347 } else if (memberType->GetTypeKind() == TypeKind::TYPE_STRING) { in EmitCustomTypeUnmarshallingImpl()

123