| /foundation/graphic/graphic_3d/lume/LumeMeta/include/meta/ext/serialization/ |
| D | serializer.h | 86 if (auto p = interface_pointer_cast<IObject>(nv.value.GetProperty())) { variable 97 if (auto p = interface_pointer_cast<IObject>(nv.value.GetProperty())) { variable 151 if (auto p = interface_pointer_cast<IObject>(nv.value.GetProperty())) { variable 162 if (auto p = interface_pointer_cast<IObject>(nv.value.GetProperty())) { variable 174 IObject::WeakPtr p; variable 204 Serializer(IImportContext& c) : ImportSerializer(c) {} in Serializer() 210 Serializer(IExportContext& c) : ExportSerializer(c) {} in Serializer()
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/src/ |
| D | functions.cpp | 24 auto p = func_.lock(); in META_BEGIN_NAMESPACE() local 29 auto p = func_.lock(); in GetDestination() local 34 if (auto p = func_.lock()) { in Invoke() local 40 auto p = func_.lock(); in CreateCallContext() local 65 ReturnError SettableFunction::Import(IImportContext& c) in Import() 67 IObject::Ptr p; in Import() local 80 auto p = prop_.lock(); in GetName() local 89 if (auto p = prop_.lock()) { in Invoke() local 117 ReturnError PropertyFunction::Import(IImportContext& c) in Import()
|
| D | connector.cpp | 89 ReturnError Connector::Import(IImportContext& c) in Import() 91 IMetadata::Ptr p; in Import() local
|
| D | container_observer.cpp | 81 bool ContainerObserver::Build(const IMetadata::Ptr& p) in Build() 130 if (const auto c = sub.container.lock()) { in Unsubscribe() local
|
| /foundation/graphic/graphics_effect/src/ |
| D | ge_linear_gradient_shader_mask.cpp | 31 std::vector<Drawing::ColorQuad> c; in GenerateDrawingShader() local 32 std::vector<Drawing::scalar> p; in GenerateDrawingShader() local 70 std::vector<Drawing::ColorQuad> c; in GenerateDrawingShaderHasNormal() local 71 std::vector<Drawing::scalar> p; in GenerateDrawingShaderHasNormal() local
|
| /foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
| D | skia_shader_effect.cpp | 133 auto p = picture.GetImpl<SkiaPicture>(); in InitWithPicture() local 159 std::vector<SkColor> c; in InitWithLinearGradient() local 160 std::vector<SkScalar> p; in InitWithLinearGradient() local 188 std::vector<SkColor4f> c; in InitWithLinearGradient() local 189 std::vector<SkScalar> p; in InitWithLinearGradient() local 221 std::vector<SkColor> c; in InitWithRadialGradient() local 222 std::vector<SkScalar> p; in InitWithRadialGradient() local 249 std::vector<SkColor4f> c; in InitWithRadialGradient() local 250 std::vector<SkScalar> p; in InitWithRadialGradient() local 285 std::vector<SkColor> c; in InitWithTwoPointConical() local [all …]
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/include/meta/interface/detail/ |
| D | array_property.h | 89 TypelessArrayPropertyInterface(PropertyType p) in TypelessArrayPropertyInterface() 101 if (auto c = this->GetValueAny().Clone(true)) { in SetAnyAt() local 126 if (auto c = this->GetValueAny().Clone(true)) { in InsertAnyAt() local 141 if (auto c = this->GetValueAny().Clone(true)) { in RemoveAt() local 163 explicit ArrayPropertyInterface(PropertyType p) : Super(p) {} in ArrayPropertyInterface() 280 TypedArrayPropertyLock(NoCheckT, PropertyType p) : ArrayPropertyInterface<Type>(p) in TypedArrayPropertyLock() 286 …explicit TypedArrayPropertyLock(PropertyType p) : TypedArrayPropertyLock(NOCHECK, CanConstructFrom… in TypedArrayPropertyLock() 288 explicit TypedArrayPropertyLock(const IProperty::Ptr& p) : TypedArrayPropertyLock(p.get()) {} in TypedArrayPropertyLock() 289 … explicit TypedArrayPropertyLock(const IProperty::ConstPtr& p) : TypedArrayPropertyLock(p.get()) {} in TypedArrayPropertyLock() 326 ArrayPropertyLock(NoCheckT, Property* p) : ArrayPropertyBaseType<Property>(p) in ArrayPropertyLock() [all …]
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/test/src/interface/model/ |
| D | InstantiatingObjectProviderTest.cpp | 39 auto p = CreateTestType(); in META_BEGIN_NAMESPACE() local 53 if (auto p = data->GetProperty("First")) { in ReBuild() local 64 if (auto p = GetProperty("MyFirst")) { in Dispose() local 132 auto p = d->GetProperty<int>(propName_); variable 144 auto p = d->GetProperty<int>(propName_); variable 218 auto p = interface_pointer_cast<IModelObjectProvider>(instprov); in CreateProvider() local 241 auto p = GetObjectRegistry().Create<IContainer>(META_NS::ClassId::CompositeObjectProvider); in SetUp() local 278 auto p = d->GetProperty<int>("Model.First"); variable 288 auto p = d->GetProperty<int>("Model.First"); variable 336 prov_->OnDataAdded()->AddHandler(MakeCallback<IOnDataAdded>([&](auto i, auto c) { in __anonc3b022e20802() [all …]
|
| /foundation/graphic/graphic_3d/lume/LumeScene/src/resource/types/ |
| D | image_type.cpp | 64 if (auto p = opts->GetProperty<ImageLoadInfo>("ImageLoadInfo")) { in LoadResource() local 81 bool ImageResourceType::SaveResource(const CORE_NS::IResource::ConstPtr& p, const StorageInfo& s) c… in SaveResource() argument 85 if (auto c = i->GetAttachmentContainer(false)) { in SaveResource() local 102 if (auto p = opts->GetProperty<ImageLoadInfo>("ImageLoadInfo")) { in ReloadResource() local
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/test/src/api/property/ |
| D | ArrayPropertyEventHandlerTest.cpp | 62 auto p = ConstructArrayProperty<int>("test", BASE_NS::vector<int> { 1, 2, 3 }); variable 65 h.Subscribe(p, [&](ArrayChanges<int> c) { change = c; }); in __anon19cb04c40102()
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/src/resource/ |
| D | object_resource.cpp | 47 ReturnError ObjectResource::Import(IImportContext& c) in Import() 79 bool ObjectResourceType::SaveResource(const CORE_NS::IResource::ConstPtr& p, const StorageInfo& s) … in SaveResource() argument 144 void ObjectResourceOptions::SetProperty(const IProperty::Ptr& p) in SetProperty() 158 META_NS::ReturnError ObjectResourceOptions::Import(META_NS::IImportContext& c) in Import()
|
| /foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
| D | shared_ptr.h | 50 weak_ptr(const shared_ptr<T>& p) : Internals::PtrCountedBase<T>(p) in weak_ptr() 56 weak_ptr(const weak_ptr& p) noexcept : Internals::PtrCountedBase<T>(p) in weak_ptr() 62 weak_ptr(weak_ptr&& p) noexcept : Internals::PtrCountedBase<T>(p) in weak_ptr() function 121 weak_ptr(const shared_ptr<U>& p) in weak_ptr() 127 weak_ptr(const weak_ptr<U>& p) : weak_ptr(shared_ptr<T>(p.lock())) in weak_ptr() 132 weak_ptr(weak_ptr<U>&& p) noexcept : weak_ptr(shared_ptr<T>(p.lock())) in weak_ptr() function 177 shared_ptr(const shared_ptr& p) noexcept : Internals::PtrCountedBase<T>(p) in shared_ptr() 183 shared_ptr(shared_ptr&& p) noexcept : Internals::PtrCountedBase<T>(p) in shared_ptr() function 202 explicit shared_ptr(const weak_type& p) noexcept : Internals::PtrCountedBase<T>(p) in shared_ptr() 221 shared_ptr(shared_ptr<U>&& p) noexcept : Internals::PtrCountedBase<T>(p.control_) in shared_ptr() function [all …]
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/test/src/base/ |
| D | CaptureBindTest.cpp | 51 auto f = CaptureSafe([](auto p) { *p = 1; }, sp); in __anon924427be0102() 60 auto f = CaptureSafe([](auto p) { *p = 1; }, sp); in __anon924427be0202() 73 auto f = CaptureSafe([](auto p) { *p = 1; }, wp); in __anon924427be0302() 83 auto f = CaptureSafe([](auto p) { *p = 1; }, wp); in __anon924427be0402() 96 auto f = CaptureSafe([](auto p) { *p = 1; }, p); in __anon924427be0502() 108 auto f = CaptureSafe([](auto p) { *p = 1; }, BASE_NS::weak_ptr(sp)); in __anon924427be0602() 118 auto f = CaptureSafe([](auto p) { *p = 1; }, wp); in __anon924427be0702() 135 auto f = Capture([](auto p, int v) { *p = v; }, p); in __anon924427be0902() 157 auto f = Capture([](auto p) { return (bool)p; }, p); in __anon924427be0d02() 166 func = Capture([](auto p) { return (bool)p; }, p); in __anon924427be0e02() [all …]
|
| /foundation/graphic/graphic_3d/lume/LumeScene/src/mesh/ |
| D | mesh_creator.cpp | 33 IInternalScene::Ptr p; in SCENE_BEGIN_NAMESPACE() local 41 static CORE_NS::Entity GetMaterial(const MeshConfig& c) in GetMaterial() 73 constexpr static CORE3D_NS::IMeshBuilder::DataBuffer FillData(const BASE_NS::vector<T>& c) noexcept in FillData() 109 Future<IMesh::Ptr> MeshCreator::Create(const MeshConfig& c, CustomMeshData d) in Create() 153 Future<IMesh::Ptr> MeshCreator::CreateCube(const MeshConfig& c, float width, float height, float de… in CreateCube() 165 Future<IMesh::Ptr> MeshCreator::CreatePlane(const MeshConfig& c, float width, float depth) in CreatePlane() 177 Future<IMesh::Ptr> MeshCreator::CreateSphere(const MeshConfig& c, float radius, uint32_t rings, uin… in CreateSphere() 189 Future<IMesh::Ptr> MeshCreator::CreateCone(const MeshConfig& c, float radius, float length, uint32_… in CreateCone()
|
| D | mesh.cpp | 60 if (auto c = attc->FindByName<IInternalMesh>("MeshComponent")) { in SetEcsObject() local 66 auto p = META_NS::GetObjectRegistry().Create<IInternalMesh>(ClassId::MeshComponent); in SetEcsObject() local 93 bool Mesh::InitDynamicProperty(const META_NS::IProperty::Ptr& p, BASE_NS::string_view path) in InitDynamicProperty()
|
| /foundation/ability/ability_base/interfaces/inner_api/base/src/ |
| D | zchar_wrapper.cpp | 68 int Char::GetByteSize(zchar c) in GetByteSize() 86 zchar c, in WriteUTF8Bytes() 125 const char *p = str.c_str(); in GetChar() local
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
| D | db_common_client.cpp | 59 auto iter = std::find_if_not(text.begin(), text.end(), [](char c) { in CheckIsAlnumOrUnderscore() 102 bool CharIn(char c, const std::string &pattern) in CharIn() 104 return std::any_of(pattern.begin(), pattern.end(), [c] (char p) { in CharIn() 148 for (char c : input) { in TrimSpace() local
|
| /foundation/graphic/graphic_3d/lume/LumeScene/src/ |
| D | converting_value.h | 58 META_NS::ReturnError Export(META_NS::IExportContext& c) const override in Export() 85 : Super(META_NS::ConstructAny<SourceType>(), p), convert_(BASE_NS::move(convert)) in Super() argument 158 : Super(META_NS::ConstructArrayAny<SourceType>(), p), convert_(BASE_NS::move(convert)) in Super() argument
|
| /foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/shaders/common/ |
| D | cloud_lighting.h | 37 float GetLightEnergyA(vec3 p, float heightFraction, float dl, float dsLoded, float phaseProbability… in GetLightEnergyA() 62 float c = dsLoded > 0 ? pow(clamp(dsLoded, 0, 1), h) : 0; in GetLightEnergyA() local
|
| D | cloud_math.h | 53 float hash(vec2 p) in hash() 74 float c = hash(i + vec2(0.0, 1.0)); in noise() local 102 float noise(vec3 p) in noise() 112 vec4 c = k2 + a.zzzz; in noise() local 160 vec2 LatitudeLongitude(vec3 p, float r) in LatitudeLongitude() 227 float c = dot(start, start) - (radius * radius); in RaySphereIntersect() local
|
| /foundation/multimedia/audio_framework/services/audio_service/server/src/ |
| D | audio_server_dump.cpp | 287 void AudioServerDump::PASinkInfoCallback(pa_context *c, const pa_sink_info *i, int eol, void *userd… in PASinkInfoCallback() 313 void AudioServerDump::PASinkInputInfoCallback(pa_context *c, const pa_sink_input_info *i, int eol, … in PASinkInputInfoCallback() 343 struct passwd *p; in PASinkInputInfoCallback() local 364 void AudioServerDump::PASourceInfoCallback(pa_context *c, const pa_source_info *i, int eol, void *u… in PASourceInfoCallback() 390 void AudioServerDump::PASourceOutputInfoCallback(pa_context *c, const pa_source_output_info *i, int… in PASourceOutputInfoCallback() 421 struct passwd *p; in PASourceOutputInfoCallback() local
|
| /foundation/graphic/graphic_3d/lume/LumeMeta/src/animation/ |
| D | track_animation.cpp | 63 if (auto p = GetTargetProperty()) { in OnAnimationStateChanged() local 183 if (auto p = interface_cast<IProperty>(previous)) { in OnPropertyChanged() local 191 if (auto p = GetTargetProperty()) { in OnPropertyChanged() local 268 if (const auto p = GetTargetProperty(); p && timestamps) { in UpdateValid() local 304 ReturnError TrackAnimation::Import(IImportContext& c) in Import()
|
| /foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
| D | spirv_cross_helpers_gles.cpp | 74 for (auto& c : specInfo) { in ConstByName() local 87 for (const auto& c : specInfo) { in SpecConstByName() local 105 [&consts](uint32_t, const spirv_cross::SPIRConstant& c) { consts.push_back(c); }); in GetConstants() 145 const auto& c = SpecConstByName(compiler, name); in ConvertSpecConstToConstant() local 183 const auto p = source.find(tmp); in ConvertConstantToUniform() local
|
| /foundation/graphic/graphic_3d/lume/LumeScene/src/resource/ |
| D | material.cpp | 42 auto p = META_NS::GetPointer<IShader>(any); in ConvertToSource() local 144 if (auto c = attc->FindByName<IInternalMaterial>("MaterialComponent")) { in SetEcsObject() local 150 … auto p = META_NS::GetObjectRegistry().Create<IInternalMaterial>(ClassId::MaterialComponent); in SetEcsObject() local 162 bool Material::InitDynamicProperty(const META_NS::IProperty::Ptr& p, BASE_NS::string_view path) in InitDynamicProperty() 203 Future<bool> Material::UpdateTextures(const META_NS::IProperty::Ptr& p) in UpdateTextures() 224 Future<bool> Material::UpdateCustoms(const META_NS::IProperty::Ptr& p) in UpdateCustoms() 297 bool Material::ConstructTextures(const META_NS::IProperty::Ptr& p) in ConstructTextures() 340 bool Material::UpdateCustomProperties(const META_NS::IProperty::Ptr& p) in UpdateCustomProperties() 356 auto p = meta->GetProperty(pname); in UpdateCustomProperties() local 443 void Material::CopyTextureData(const META_NS::IProperty::ConstPtr& p) in CopyTextureData() [all …]
|
| /foundation/ability/idl_tool/util/ |
| D | string.cpp | 232 int String::IndexOf(char c, int fromIndex) const in IndexOf() 244 char* p = string_ + fromIndex; in IndexOf() local 267 char* c = strstr(string_ + fromIndex, string); in IndexOf() local 283 char* c = strstr(string_ + fromIndex, other.string_); in IndexOf() local 287 int String::LastIndexOf(char c, int fromIndex) const in LastIndexOf() 298 char* p = string_ + fromIndex; in LastIndexOf() local
|