Home
last modified time | relevance | path

Searched refs:memberType (Results 1 - 3 of 3) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcpp_custom_types_code_emitter.cpp293 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeMarshallingImpl() local
297 memberType->EmitCppMarshalling("data", name, sb, TAB); in EmitCustomTypeMarshallingImpl()
330 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeUnmarshallingImpl() local
337 if (memberType->GetTypeKind() == TypeKind::TYPE_UNION) { in EmitCustomTypeUnmarshallingImpl()
339 memberType->EmitCppUnMarshalling("data", cpName, sb, TAB, false); in EmitCustomTypeUnmarshallingImpl()
341 name.c_str(), memberType->EmitCppType().c_str(), cpName.c_str(), in EmitCustomTypeUnmarshallingImpl()
342 memberType->EmitCppType().c_str()); in EmitCustomTypeUnmarshallingImpl()
347 } else if (memberType->GetTypeKind() == TypeKind::TYPE_STRING) { in EmitCustomTypeUnmarshallingImpl()
349 memberType->EmitCppUnMarshalling("data", cpName, sb, TAB, false); in EmitCustomTypeUnmarshallingImpl()
352 memberType in EmitCustomTypeUnmarshallingImpl()
[all...]
H A Dc_custom_types_code_emitter.cpp295 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeMarshallingImpl() local
297 memberType->EmitCMarshalling(name, sb, TAB); in EmitCustomTypeMarshallingImpl()
320 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeUnmarshallingImpl() local
321 EmitMemberUnmarshalling(memberType, objName, type->GetMemberName(i), sb, TAB); in EmitCustomTypeUnmarshallingImpl()
514 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeFreeImpl() local
515 if (EmitNeedLoopVar(memberType, false, true)) { in EmitCustomTypeFreeImpl()
539 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeMemoryRecycle() local
542 switch (memberType->GetTypeKind()) { in EmitCustomTypeMemoryRecycle()
547 memberType->EmitMemoryRecycle(varName, false, sb, prefix); in EmitCustomTypeMemoryRecycle()
/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp1192 AutoPtr<ASTType> memberType = ParseType(); in ParseStructMember() local
1193 if (memberType == nullptr) { in ParseStructMember()
1209 structType->AddMember(memberType, memberName); in ParseStructMember()
1269 AutoPtr<ASTType> memberType = ParseType(); in ParseUnionMember() local
1270 if (memberType == nullptr) { in ParseUnionMember()
1286 if (!AddUnionMember(unionType, memberType, memberName)) { in ParseUnionMember()

Completed in 5 milliseconds