Home
last modified time | relevance | path

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

123

/drivers/hdf_core/framework/tools/hdi-gen/codegen/
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 …]
Djava_client_proxy_code_emitter.cpp71 switch (type->GetTypeKind()) { 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.cpp161 switch (type->GetTypeKind()) { 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()
Dcpp_code_emitter.cpp25 switch (type->GetTypeKind()) { in GetStdlibInclusions()
215 if (type->GetTypeKind() == TypeKind::TYPE_SMQ || in EmitImportUsingNamespace()
216 type->GetTypeKind() == TypeKind::TYPE_NATIVE_BUFFER) { in EmitImportUsingNamespace()
Dc_custom_types_code_emitter.cpp149 switch (type->GetTypeKind()) { in EmitCustomTypeDecl()
174 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCustomTypeFuncDecl()
258 if (type->GetTypeKind() == TypeKind::TYPE_STRUCT) { in EmitCustomTypeDataProcess()
417 switch (type->GetTypeKind()) { in EmitMemberUnmarshalling()
483 if (type->GetTypeKind() == TypeKind::TYPE_ARRAY) { in EmitArrayMemberUnmarshalling()
542 switch (memberType->GetTypeKind()) { in EmitCustomTypeMemoryRecycle()
/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_parameter.cpp38 switch (type_->GetTypeKind()) { in EmitCParameter()
64 … if (type_->GetTypeKind() == TypeKind::TYPE_STRING && attr_->value_ == ParamAttr::PARAM_OUT) { in EmitCParameter()
99 switch (type_->GetTypeKind()) { in EmitJavaParameter()
135 switch (type_->GetTypeKind()) { in EmitCLocalVar()
174 switch (type_->GetTypeKind()) { in EmitCppLocalVar()
251 if (type_->GetTypeKind() == TypeKind::TYPE_ARRAY) { in EmitJavaWriteVar()
Dast_pointer_type.h24 TypeKind GetTypeKind() override;
Dast_pointer_type.cpp23 TypeKind ASTPointerType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTPointerType
Dast_smq_type.h31 TypeKind GetTypeKind() override;
59 TypeKind GetTypeKind() override;
Dast_smq_type.cpp24 if (innerType_->GetTypeKind() == innerTypeKind) { in HasInnerType()
36 TypeKind ASTSmqType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTSmqType
139 TypeKind ASTAshmemType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTAshmemType
Dast_sequenceable_type.h26 TypeKind GetTypeKind() override;
Dast_map_type.cpp21 if (keyType_->GetTypeKind() == innerTypeKind) { in HasInnerType()
31 if (valueType_->GetTypeKind() == innerTypeKind) { in HasInnerType()
48 TypeKind ASTMapType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTMapType
Dast_struct_type.cpp48 TypeKind ASTStructType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTStructType
100 …if (member->GetTypeKind() == TypeKind::TYPE_ARRAY || member->GetTypeKind() == TypeKind::TYPE_LIST)… in EmitCTypeDecl()
Dast_map_type.h47 TypeKind GetTypeKind() override;
Dast_uchar_type.h24 TypeKind GetTypeKind() override;
Dast_uint_type.h24 TypeKind GetTypeKind() override;
Dast_ulong_type.h24 TypeKind GetTypeKind() override;
Dast_ushort_type.h24 TypeKind GetTypeKind() override;
Dast_native_buffer_type.h24 TypeKind GetTypeKind() override;
Dast_boolean_type.h24 TypeKind GetTypeKind() override;
Dast_float_type.h24 TypeKind GetTypeKind() override;
Dast_byte_type.h24 TypeKind GetTypeKind() override;
Dast_double_type.h24 TypeKind GetTypeKind() override;
Dast_integer_type.h24 TypeKind GetTypeKind() override;
Dast_short_type.h24 TypeKind GetTypeKind() override;

123