/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
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 | java_client_proxy_code_emitter.cpp | 71 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()
|
D | cpp_custom_types_code_emitter.cpp | 161 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()
|
D | cpp_code_emitter.cpp | 25 switch (type->GetTypeKind()) { in GetStdlibInclusions() 215 if (type->GetTypeKind() == TypeKind::TYPE_SMQ || in EmitImportUsingNamespace() 216 type->GetTypeKind() == TypeKind::TYPE_NATIVE_BUFFER) { in EmitImportUsingNamespace()
|
D | c_custom_types_code_emitter.cpp | 149 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/ |
D | ast_parameter.cpp | 38 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()
|
D | ast_pointer_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_pointer_type.cpp | 23 TypeKind ASTPointerType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTPointerType
|
D | ast_smq_type.h | 31 TypeKind GetTypeKind() override; 59 TypeKind GetTypeKind() override;
|
D | ast_smq_type.cpp | 24 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
|
D | ast_sequenceable_type.h | 26 TypeKind GetTypeKind() override;
|
D | ast_map_type.cpp | 21 if (keyType_->GetTypeKind() == innerTypeKind) { in HasInnerType() 31 if (valueType_->GetTypeKind() == innerTypeKind) { in HasInnerType() 48 TypeKind ASTMapType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTMapType
|
D | ast_struct_type.cpp | 48 TypeKind ASTStructType::GetTypeKind() in GetTypeKind() function in OHOS::HDI::ASTStructType 100 …if (member->GetTypeKind() == TypeKind::TYPE_ARRAY || member->GetTypeKind() == TypeKind::TYPE_LIST)… in EmitCTypeDecl()
|
D | ast_map_type.h | 47 TypeKind GetTypeKind() override;
|
D | ast_uchar_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_uint_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_ulong_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_ushort_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_native_buffer_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_boolean_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_float_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_byte_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_double_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_integer_type.h | 24 TypeKind GetTypeKind() override;
|
D | ast_short_type.h | 24 TypeKind GetTypeKind() override;
|