/ohos5.0/foundation/ability/idl_tool/codegen/ |
H A D | cpp_code_emitter.h | 65 void EmitInterfaceMethodReturn(MetaType* mt, StringBuilder& sb, const String& prefix); 123 MetaType* returnType); 139 …void EmitWriteVariable(const String& parcelName, const std::string& name, MetaType* mt, StringBuil… 151 …void EmitReadVariable(const String& parcelName, const std::string& name, MetaType* mt, StringBuild… 160 …void EmitReadVariableList(const String& parcelName, const std::string& name, MetaType* mt, StringB… 168 void EmitReturnParameter(const String& name, MetaType* mt, StringBuilder& sb); 170 String EmitType(MetaType* mt, unsigned int attributes, bool isInnerType); 172 String EmitFloatType(MetaType* mt, unsigned int attributes, bool isInnerType); 174 String EmitComplexType(MetaType* mt, unsigned int attributes, bool isInnerType); 176 String EmitListType(MetaType* mt, unsigned int attributes, bool isInnerType); [all …]
|
H A D | ts_code_emitter.h | 82 void EmitInterfaceMethodCallbackInner(MetaType* returnType, 126 void EmitWriteVariable(const String& parcelName, const std::string& name, MetaType* mt, 129 void EmitWriteVariableObject(const String& parcelName, const std::string& name, MetaType* mt, 132 …void EmitReadVariable(const String& parcelName, const std::string& name, MetaType* mt, unsigned in… 135 void EmitReadVariableObject(const String& parcelName, const std::string& name, MetaType* mt, 138 void EmitReadOutVariable(const String& parcelName, const std::string& name, MetaType* mt, 141 void EmitReadOutVariableObject(const String& parcelName, const std::string& name, MetaType* mt, 144 void EmitReadArrayVariable(const String& parcelName, const std::string& name, MetaType* mt, 149 void EmitWriteArrayVariable(const String& parcelName, const std::string& name, MetaType* mt, 153 void EmitReadOutArrayVariable(const String& parcelName, const std::string& name, MetaType* mt, [all …]
|
H A D | rust_code_emitter.h | 79 String ConvertType(MetaType* mt, bool pt = false); 83 void ReadListFromParcel(StringBuilder& sb, MetaType* mt, const String& result, 86 void ReadMapFromParcel(StringBuilder& sb, MetaType* mt, const String& result, 89 void ReadFromParcel(StringBuilder& sb, MetaType* mt, const String& result, 92 void WriteListToParcel(StringBuilder& sb, MetaType* mt, const String& result, 95 void WriteMapToParcel(StringBuilder& sb, MetaType* mt, const String& result, 98 void WriteToParcel(StringBuilder& sb, MetaType* mt, const String& result,
|
H A D | ts_code_emitter.cpp | 124 MetaType* returnType = metaComponent_->types_[metaMethod->returnTypeIndex_]; in EmitInterfaceMethod() 143 MetaType* paraType = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceMethod() 208 MetaType* paraType = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceMethodParameter() 355 MetaType errCode; in EmitInterfaceMethodCallback() 451 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitWriteMethodParameter() 459 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitReadMethodParameter() 564 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceStubMethodImpl() 622 MetaType errCode; in EmitInterfaceStubMethodPromiseImpl() 875 MetaType* innerType = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in EmitReadArrayVariable() 1036 String TsCodeEmitter::EmitType(MetaType* mt) in EmitType() [all …]
|
H A D | cpp_code_emitter.cpp | 70 MetaType* mt = metaComponent_->types_[i]; in EmitInterfaceStdlibInclusions() 232 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceMethod() 255 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceMethodParameter() 431 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceProxyMethodDecl() 529 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceProxyMethodImpl() 637 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceProxyMethodReply() 659 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitWriteMethodParameter() 667 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitReadMethodParameter() 789 StringBuilder& sb, const String& prefix, MetaType* returnType) in EmitInterfaceStubMethodImplReturn() 834 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceStubMethodImpl() [all …]
|
H A D | rust_code_emitter.cpp | 110 MetaType* mt = metaComponent_->types_[i]; in EmitCommonHeaders() 330 String RustCodeEmitter::ConvertType(MetaType* mt, bool pt) in ConvertType() 394 void RustCodeEmitter::ReadListFromParcel(StringBuilder& sb, MetaType* mt, const String& result, in ReadListFromParcel() 401 void RustCodeEmitter::ReadMapFromParcel(StringBuilder& sb, MetaType* mt, const String& result, in ReadMapFromParcel() 420 void RustCodeEmitter::ReadFromParcel(StringBuilder& sb, MetaType* mt, const String& result, in ReadFromParcel() 433 void RustCodeEmitter::WriteListToParcel(StringBuilder& sb, MetaType* mt, const String& result, in WriteListToParcel() 439 void RustCodeEmitter::WriteMapToParcel(StringBuilder& sb, MetaType* mt, const String& result, in WriteMapToParcel() 449 void RustCodeEmitter::WriteToParcel(StringBuilder& sb, MetaType* mt, const String& result, in WriteToParcel() 470 MetaType* mt = metaComponent_->types_[mm->returnTypeIndex_]; in AddRemoteRequestMethods() 548 MetaType* mt = metaComponent_->types_[mm->returnTypeIndex_]; in AppendProxyMethods()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | register_engine_access.cpp | 84 … META_NS::MetaType<Prop>::coreType, CreateShared<META_NS::EngineInternalValueAccess<Prop>>()); in SCENE_BEGIN_NAMESPACE() 92 …META_NS::MetaType<Prop[]>::coreType, CreateShared<META_NS::EngineInternalArrayValueAccess<Prop>>()… in RegisterEngineArrayAccessImpl() 108 r.GetEngineData().RegisterInternalValueAccess(META_NS::MetaType<Prop>::coreType, in RegisterMapEngineAccessImpl() 115 …META_NS::GetObjectRegistry().GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<Prop>… in UnregisterEngineAccessImpl() 121 …META_NS::GetObjectRegistry().GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<Prop[… in UnregisterEngineArrayAccessImpl() 163 …r.GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<TonemapConfiguration::TonemapTyp… in UnregisterEngineAccess() 164 …r.GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<MaterialComponent::Type>::coreTy… in UnregisterEngineAccess() 165 …r.GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<LightComponent::Type>::coreType); in UnregisterEngineAccess() 166 …r.GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<EnvironmentComponent::Background… in UnregisterEngineAccess() 169 …r.GetEngineData().UnregisterInternalValueAccess(META_NS::MetaType<CameraComponent::Culling>::coreT… in UnregisterEngineAccess() [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/unittest/cpp_code_emitter_test/ |
H A D | cpp_code_emitter_test.cpp | 70 MetaType *mt = new MetaType; 71 mc.types_ = new MetaType *[1]; 206 MetaType mt { .kind_ = TypeKind::Char }; 231 MetaType mt { .kind_ = TypeKind::Long }; 256 MetaType mt { .kind_ = TypeKind::Float }; 435 MetaType mt { .kind_ = TypeKind::Short }; 535 MetaType mt { .kind_ = TypeKind::Long }; 560 MetaType mt { .kind_ = TypeKind::Long }; 800 MetaType mt { .kind_ = TypeKind::Char }; 1327 MetaType mt; [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/unittest/metadata_dumper_test/ |
H A D | metadata_dumper_test.cpp | 81 MetaType mt = {TypeKind::Char, 0, 1, new (std::nothrow) int(0)}; 96 MetaType mt = {TypeKind::Boolean, 0, 1, new (std::nothrow) int(0)}; 111 MetaType mt = {TypeKind::Byte, 0, 1, new (std::nothrow) int(0)}; 126 MetaType mt = {TypeKind::Short, 0, 1, new (std::nothrow) int(0)}; 141 MetaType mt = {TypeKind::Integer, 0, 1, new (std::nothrow) int(0)}; 156 MetaType mt = {TypeKind::Long, 0, 1, new (std::nothrow) int(0)}; 171 MetaType mt = {TypeKind::Float, 0, 1, new (std::nothrow) int(0)}; 186 MetaType mt = {TypeKind::Double, 0, 1, new (std::nothrow) int(0)}; 201 MetaType mt = {TypeKind::String, 0, 1, new (std::nothrow) int(0)};
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/metadata/ |
H A D | metadata_reader.cpp | 141 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in ReadMetaMethod() 162 MetaType* type = metaComponent_->types_[mp->typeIndex_]; in ReadMetaParam() 168 AutoPtr<ASTType> MetadataReader::ReadMetaType(MetaType* type) in ReadMetaType() 175 MetaType* elementMt = metaComponent_->types_[type->nestedTypeIndexes_[0]]; in ReadMetaType() 183 MetaType* keyMt = metaComponent_->types_[type->nestedTypeIndexes_[0]]; in ReadMetaType() 184 MetaType* valueMt = metaComponent_->types_[type->nestedTypeIndexes_[1]]; in ReadMetaType() 206 std::string MetadataReader::MetaTypeName(MetaType* mt) in MetaTypeName() 238 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in MetaTypeName() 242 MetaType* keyMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in MetaTypeName() 243 MetaType* valueMt = metaComponent_->types_[mt->nestedTypeIndexes_[1]]; in MetaTypeName() [all …]
|
H A D | metadata_serializer.cpp | 54 MetaType* mt = mc->types_[i]; in SerializeMetaComponent() 56 mc->types_[i] = reinterpret_cast<MetaType*>(SerializeAdjust(mt)); in SerializeMetaComponent() 58 mc->types_ = reinterpret_cast<MetaType**>(SerializeAdjust(mc->types_)); in SerializeMetaComponent() 130 void MetadataSerializer::SerializeMetaType(MetaType* mt) in SerializeMetaType() 176 mc->types_ = reinterpret_cast<MetaType**>(DeserializeAdjust(mc->types_)); in DeserializeMetaComponent() 178 mc->types_[i] = reinterpret_cast<MetaType*>(DeserializeAdjust(mc->types_[i])); in DeserializeMetaComponent() 179 MetaType* mt = mc->types_[i]; in DeserializeMetaComponent() 253 void MetadataSerializer::DeserializeMetaType(MetaType* mt) in DeserializeMetaType()
|
H A D | metadata_dumper.cpp | 198 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in DumpMetaMethod() 232 MetaType* type = metaComponent_->types_[mp->typeIndex_]; in DumpMetaParameter() 238 std::string MetadataDumper::DumpMetaType(MetaType* mt) in DumpMetaType() 270 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 274 MetaType* keyMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 275 MetaType* valueMt = metaComponent_->types_[mt->nestedTypeIndexes_[1]]; in DumpMetaType() 279 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/ |
H A D | av_trans_buffer.h | 30 enum struct MetaType : uint32_t { enum 63 explicit BufferMeta(MetaType type); 66 MetaType GetMetaType() const; 71 MetaType type_; 81 explicit AVTransBuffer(MetaType type = MetaType::VIDEO);
|
/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | hdi_test.cpp | 396 std::vector<OHOS::Camera::MetaType> enableTypes; in TEST_F() 417 std::vector<OHOS::Camera::MetaType> enableTypes; in TEST_F() 437 std::vector<OHOS::Camera::MetaType> results; in TEST_F() 463 std::vector<OHOS::Camera::MetaType> enableTag; in TEST_F() 491 std::vector<OHOS::Camera::MetaType> results; in TEST_F() 522 std::vector<OHOS::Camera::MetaType> enableTag; in TEST_F() 546 std::vector<OHOS::Camera::MetaType> disableTag; in TEST_F() 554 std::vector<OHOS::Camera::MetaType> results; in TEST_F() 580 std::vector<OHOS::Camera::MetaType> results; in TEST_F() 601 std::vector<OHOS::Camera::MetaType> disableTag; in TEST_F() [all …]
|
H A D | meta_data_test.cpp | 261 void MetaDataTest::Prepare(ResultCallbackMode mode, std::vector<MetaType> &results) in Prepare() 303 std::vector<MetaType> results; 333 std::vector<MetaType> results; 368 std::vector<MetaType> results; 403 std::vector<MetaType> results; 433 std::vector<MetaType> results; 469 std::vector<MetaType> results; 506 std::vector<MetaType> results; 548 std::vector<MetaType> results; 585 std::vector<MetaType> results;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | meta_types.h | 30 struct MetaType; 68 constexpr bool HasUid_v = IsDefined_v<MetaType<Type>>; // NOLINT(readability-identifier-naming) 77 return MakeUidImpl(BASE_NS::CompileTime::FNV1aHash(MetaType<Type>::name), type); in MakeUid() 85 (BASE_NS::CompileTime::FNV1aHash(MetaType<Type>::name) + 0x9e3779b97f4a7c15LLU + in CombineHash() 165 struct MetaType<void> { 179 struct ::META_NS::MetaType<a> { \ 185 struct ::META_NS::MetaType<a[]> { \ 191 struct ::META_NS::MetaType<BASE_NS::vector<a>> { \
|
/ohos5.0/drivers/peripheral/camera/test/mpi/src/ |
H A D | hdi_device_test.cpp | 308 std::vector<Camera::MetaType> enableTypes; 329 std::vector<Camera::MetaType> enableTypes; 349 std::vector<Camera::MetaType> results; 369 std::vector<Camera::MetaType> enable_tag; 390 std::vector<Camera::MetaType> results; 434 std::vector<Camera::MetaType> enable_tag; 451 std::vector<Camera::MetaType> results; 462 std::vector<Camera::MetaType> disable_tag; 483 std::vector<Camera::MetaType> results; 512 std::vector<Camera::MetaType> results; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | register_engine_access.cpp | 73 …(d.RegisterInternalValueAccess(MetaType<List>::coreType, CreateShared<EngineInternalValueAccess<Li… in RegisterBasicEngineTypes() 76 MetaType<List[]>::coreType, CreateShared<EngineInternalArrayValueAccess<List>>()), in RegisterBasicEngineTypes() 84 (d.UnregisterInternalValueAccess(MetaType<List>::coreType), ...); in UnRegisterBasicEngineTypes() 86 (d.UnregisterInternalValueAccess(MetaType<List[]>::coreType), ...); in UnRegisterBasicEngineTypes()
|
/ohos5.0/foundation/ability/idl_tool/metadata/ |
H A D | metadata_serializer.cpp | 57 MetaType* mt = mc->types_[i]; in SerializeMetaComponent() 59 mc->types_[i] = reinterpret_cast<MetaType*>(SerializeAdjust(mt)); in SerializeMetaComponent() 61 mc->types_ = reinterpret_cast<MetaType**>(SerializeAdjust(mc->types_)); in SerializeMetaComponent() 133 void MetadataSerializer::SerializeMetaType(MetaType* mt) in SerializeMetaType() 183 mc->types_ = reinterpret_cast<MetaType**>(DeserializeAdjust(mc->types_)); in DeserializeMetaComponent() 185 mc->types_[i] = reinterpret_cast<MetaType*>(DeserializeAdjust(mc->types_[i])); in DeserializeMetaComponent() 186 MetaType* mt = mc->types_[i]; in DeserializeMetaComponent() 262 void MetadataSerializer::DeserializeMetaType(MetaType* mt) in DeserializeMetaType()
|
H A D | metadata_dumper.cpp | 185 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in DumpMetaMethod() 219 MetaType* type = metaComponent_->types_[mp->typeIndex_]; in DumpMetaParameter() 225 String MetadataDumper::DumpMetaType(MetaType* mt) in DumpMetaType() 257 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 261 MetaType* keyMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 262 MetaType* valueMt = metaComponent_->types_[mt->nestedTypeIndexes_[1]]; in DumpMetaType() 266 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType()
|
/ohos5.0/drivers/peripheral/camera/hal_c/hdi_cif/include/ |
H A D | camera_device.h | 41 CamRetCode GetEnabledResults(std::vector<MetaType>& results) override; 42 CamRetCode EnableResult(const std::vector<MetaType>& results) override; 43 CamRetCode DisableResult(const std::vector<MetaType>& results) override;
|
/ohos5.0/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_interface_test/ |
H A D | ts_code_emitter_interface_test.cpp | 1245 MetaType mt = {TypeKind::Char, 0, 1, new (std::nothrow) int(0)}; 1272 MetaType mt = {TypeKind::Byte, 0, 1, new (std::nothrow) int(0)}; 1299 MetaType mt = {TypeKind::Short, 0, 1, new (std::nothrow) int(0)}; 1353 MetaType mt = {TypeKind::Long, 0, 1, new (std::nothrow) int(0)}; 1551 MetaType mt = {TypeKind::Char, 0, 1, new (std::nothrow) int(0)}; 1577 MetaType mt = {TypeKind::Byte, 0, 1, new (std::nothrow) int(0)}; 1655 MetaType mt = {TypeKind::Long, 0, 1, new (std::nothrow) int(0)}; 1811 MetaType mt = {TypeKind::List, 0, 1, new (std::nothrow) int(0)}; 1918 MetaType mt = {TypeKind::Char, 0, 1, new (std::nothrow) int(0)}; 1944 MetaType mt = {TypeKind::Byte, 0, 1, new (std::nothrow) int(0)}; [all …]
|
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_device/ |
H A D | dmetadata_processor.h | 46 DCamRetCode GetEnabledMetadataResults(std::vector<MetaType> &results); 47 DCamRetCode EnableMetadataResult(const std::vector<MetaType> &results); 48 DCamRetCode DisableMetadataResult(const std::vector<MetaType> &results); 106 std::set<MetaType> allResultSet_; 107 std::set<MetaType> enabledResultSet_;
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | av_trans_buffer.cpp | 26 AVTransBuffer::AVTransBuffer(MetaType type) : meta_() in AVTransBuffer() 89 MetaType type = meta_->GetMetaType(); in Reset() 166 BufferMeta::BufferMeta(MetaType type) : type_(type) in BufferMeta() 185 MetaType BufferMeta::GetMetaType() const in GetMetaType()
|
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/src/ |
H A D | hdi_device_uttest.cpp | 75 std::vector<MetaType> enableTypes; 95 std::vector<MetaType> enableTypes; 133 std::vector<MetaType> enableTypes; 153 std::vector<MetaType> enableTypes;
|