/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_parameter.cpp | 39 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 …]
|
D | ast_smq_type.h | 18 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;
|
D | ast_pointer_type.h | 18 ASTPointerType() : ASTType(TypeKind::TYPE_POINTER, true) {} in ASTPointerType() 24 TypeKind GetTypeKind() override;
|
D | ast_pointer_type.cpp | 23 TypeKind ASTPointerType::GetTypeKind() in GetTypeKind() 25 return TypeKind::TYPE_POINTER; in GetTypeKind()
|
D | ast_map_type.h | 19 ASTMapType() : ASTType(TypeKind::TYPE_MAP, false), keyType_(), valueType_() {} in ASTMapType() 43 bool HasInnerType(TypeKind innerTypeKind) const override; 47 TypeKind GetTypeKind() override;
|
D | ast_type.h | 24 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_;
|
D | ast_array_type.cpp | 19 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 …]
|
D | ast_sequenceable_type.h | 18 ASTSequenceableType() : ASTType(TypeKind::TYPE_SEQUENCEABLE, false) {} in ASTSequenceableType() 26 TypeKind GetTypeKind() override;
|
D | ast_array_type.h | 19 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;
|
D | ast_smq_type.cpp | 18 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()
|
D | ast_uchar_type.h | 18 ASTUcharType() : ASTType(TypeKind::TYPE_UCHAR, true) {} in ASTUcharType() 24 TypeKind GetTypeKind() override;
|
D | ast_uint_type.h | 18 ASTUintType() : ASTType(TypeKind::TYPE_UINT, true) {} in ASTUintType() 24 TypeKind GetTypeKind() override;
|
D | ast_ulong_type.h | 18 ASTUlongType() : ASTType(TypeKind::TYPE_ULONG, true) {} in ASTUlongType() 24 TypeKind GetTypeKind() override;
|
D | ast_ushort_type.h | 18 ASTUshortType() : ASTType(TypeKind::TYPE_USHORT, true) {} in ASTUshortType() 24 TypeKind GetTypeKind() override;
|
D | ast_native_buffer_type.h | 18 ASTNativeBufferType() : ASTType(TypeKind::TYPE_NATIVE_BUFFER, false) {} in ASTNativeBufferType() 24 TypeKind GetTypeKind() override;
|
D | ast_boolean_type.h | 18 ASTBooleanType() : ASTType(TypeKind::TYPE_BOOLEAN, true) {} in ASTBooleanType() 24 TypeKind GetTypeKind() override;
|
D | ast_float_type.h | 18 ASTFloatType() : ASTType(TypeKind::TYPE_FLOAT, true) {} in ASTFloatType() 24 TypeKind GetTypeKind() override;
|
D | ast_byte_type.h | 18 ASTByteType() : ASTType(TypeKind::TYPE_BYTE, true) {} in ASTByteType() 24 TypeKind GetTypeKind() override;
|
D | ast_double_type.h | 18 ASTDoubleType() : ASTType(TypeKind::TYPE_DOUBLE, true) {} in ASTDoubleType() 24 TypeKind GetTypeKind() override;
|
D | ast_integer_type.h | 18 ASTIntegerType() : ASTType(TypeKind::TYPE_INT, true) {} in ASTIntegerType() 24 TypeKind GetTypeKind() override;
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | cpp_code_emitter.cpp | 26 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()
|
D | c_service_stub_code_emitter.cpp | 190 … 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 …]
|
D | c_custom_types_code_emitter.cpp | 150 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 …]
|
D | java_client_proxy_code_emitter.cpp | 72 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()
|
D | cpp_custom_types_code_emitter.cpp | 162 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()
|