Home
last modified time | relevance | path

Searched refs:memberType (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/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->EmitCppUnMarshalling("data", name, sb, TAB, false); in EmitCustomTypeUnmarshallingImpl()
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()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dspirv_cross_helpers_gles.cpp193 const auto& memberType = compiler.get_type(memberTypeId); in ProcessStruct() local
207 if (!memberType.array.empty()) { in ProcessStruct()
210 …t.arraySize = memberType.array[0]; // We don't support arrays of arrays. just use the size of firs… in ProcessStruct()
213 if (memberType.columns > 1) { in ProcessStruct()
218 switch (memberType.basetype) { in ProcessStruct()
227 t.type = type[memberType.vecsize][memberType.columns]; in ProcessStruct()
238 t.type = type[memberType.vecsize][memberType.columns]; in ProcessStruct()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dc_custom_types_code_emitter.cpp286 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeUnmarshallingImpl() local
287 EmitMemberUnmarshalling(memberType, objName, type->GetMemberName(i), sb, TAB); in EmitCustomTypeUnmarshallingImpl()
484 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeFreeImpl() local
485 if (EmitNeedLoopVar(memberType, false, true)) { in EmitCustomTypeFreeImpl()
509 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeMemoryRecycle() local
512 switch (memberType->GetTypeKind()) { in EmitCustomTypeMemoryRecycle()
517 GetTypeEmitter(memberType)->EmitMemoryRecycle(varName, false, sb, prefix); in EmitCustomTypeMemoryRecycle()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/
H A Dcpp_custom_types_code_emitter.cpp303 AutoPtr<ASTType> memberType = type->GetMemberType(i); in EmitCustomTypeUnmarshallingImpl() local
310 AutoPtr<HdiTypeEmitter> typeEmitter = GetTypeEmitter(memberType); in EmitCustomTypeUnmarshallingImpl()
311 if (memberType->GetTypeKind() == TypeKind::TYPE_UNION) { in EmitCustomTypeUnmarshallingImpl()
321 } else if (memberType->GetTypeKind() == TypeKind::TYPE_STRING) { in EmitCustomTypeUnmarshallingImpl()
/ohos5.0/base/update/updater/utils/json/
H A Djson_visitor.h42 using memberType = std::remove_reference_t<decltype(Traits<T>::template Get<idx>(std::declval<T&>()… variable
52 if (!MemberVisitor<action>::template VisitMember<memberType<T, F>>( in VisitStruct()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dfetch_result.cpp434 auto memberType = GetResultTypeMap().at(name); in SetFileAsset() local
435 fileAsset->SetResultTypeMap(name, memberType); in SetFileAsset()
438 get<string>(GetValByIndex(index, memberType, resultSet)))); in SetFileAsset()
440 map.emplace(move(name), move(GetValByIndex(index, memberType, resultSet))); in SetFileAsset()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_helper/src/
H A Dringtone_fetch_result.cpp288 auto memberType = GetResultTypeMap().at(name); in SetRingtoneAsset() local
289 map.emplace(move(name), move(GetValByIndex(index, memberType, resultSet))); in SetRingtoneAsset()
/ohos5.0/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()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.cpp1424 AutoPtr<ASTType> memberType = ParseType(); in ParseStructMember() local
1425 if (memberType == nullptr) { in ParseStructMember()
1441 structType->AddMember(memberType, memberName); in ParseStructMember()
1501 AutoPtr<ASTType> memberType = ParseType(); in ParseUnionMember() local
1502 if (memberType == nullptr) { in ParseUnionMember()
1518 if (!AddUnionMember(unionType, memberType, memberName)) { in ParseUnionMember()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dfile_access_helper.cpp818 auto memberType = FILE_RESULT_TYPE.at(columns.at(i)); in GetQueryResult() local
820 switch (memberType) { in GetQueryResult()
841 HILOG_ERROR("not match memberType %{public}d", memberType); in GetQueryResult()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_file_extension/src/
H A Dmedia_file_extention_utils.cpp930 auto memberType = FILE_RESULT_TYPE.at(column); in Query() local
931 switch (memberType) { in Query()
942 MEDIA_ERR_LOG("not match memberType %{public}d", memberType); in Query()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_asset_operations.cpp395 int32_t memberType = FILEASSET_MEMBER_MAP.at(column); in FetchFileAssetFromResultSet() local
396 switch (memberType) { in FetchFileAssetFromResultSet()