/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | cpp_custom_types_code_emitter.cpp | 293 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 D | c_custom_types_code_emitter.cpp | 295 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 D | spirv_cross_helpers_gles.cpp | 193 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 D | c_custom_types_code_emitter.cpp | 286 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 D | cpp_custom_types_code_emitter.cpp | 303 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 D | json_visitor.h | 42 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 D | fetch_result.cpp | 434 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 D | ringtone_fetch_result.cpp | 288 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 D | parser.cpp | 1192 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 D | parser.cpp | 1424 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 D | file_access_helper.cpp | 818 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 D | media_file_extention_utils.cpp | 930 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 D | medialibrary_asset_operations.cpp | 395 int32_t memberType = FILEASSET_MEMBER_MAP.at(column); in FetchFileAssetFromResultSet() local 396 switch (memberType) { in FetchFileAssetFromResultSet()
|