Home
last modified time | relevance | path

Searched refs:new (Results 1 - 25 of 36) sorted by relevance

12

/drivers/hdf_core/framework/support/platform/src/can/
H A Dcan_client.c44 struct CanClient *new = NULL; in CanClientCreate() local
46 new = (struct CanClient *)OsalMemCalloc(sizeof(*new)); in CanClientCreate()
47 if (new == NULL) { in CanClientCreate()
48 HDF_LOGE("CanClientCreate: memcalloc new fail!"); in CanClientCreate()
52 new->rxBox = CanRxBoxCreate(); in CanClientCreate()
53 if (new->rxBox == NULL) { in CanClientCreate()
54 OsalMemFree(new); in CanClientCreate()
59 ret = CanClientAttach(new, cntlr); in CanClientCreate()
61 CanRxBoxDestroy(new in CanClientCreate()
[all...]
/drivers/hdf_core/framework/utils/src/
H A Dhdf_sbuf_impl_raw.c426 struct HdfSBufRaw *new = NULL; in SbufRawImplCopy() local
431 new = SbufRawImplNewInstance(sbuf->capacity); in SbufRawImplCopy()
432 if (new == NULL) { in SbufRawImplCopy()
435 new->capacity = sbuf->capacity; in SbufRawImplCopy()
436 new->readPos = 0; in SbufRawImplCopy()
437 new->writePos = sbuf->writePos; in SbufRawImplCopy()
438 if (memcpy_s(new->data, new->capacity, sbuf->data, sbuf->capacity) != EOK) { in SbufRawImplCopy()
439 SbufRawImplRecycle(&new->infImpl); in SbufRawImplCopy()
443 return &new in SbufRawImplCopy()
449 struct HdfSBufRaw *new = NULL; SbufRawImplMove() local
[all...]
/drivers/interface/display/buffer/v1_1/hdi_impl/
H A Ddisplay_buffer_hdi_impl.h52 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
62 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
72 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
82 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
92 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
/drivers/interface/display/buffer/v1_0/hdi_impl/
H A Ddisplay_buffer_hdi_impl.h100 HDF_LOGE("%{public}s: the existing recipient is removed, and add the new. %{public}d",
144 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
153 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
164 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
174 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
184 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
/drivers/external_device_manager/utils/include/
H A Dsingle_instance.h42 static auto instance = new className(); \
/drivers/peripheral/camera/vdi_base/common/metadata_manager/include/
H A Dcamera_example_vendor_tags.h55 return new CameraVendorTagExample(); in CreateVendorTagImpl()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_render_interface/include/
H A Daudio_render_interface_impl_test.h50 sptr<IDAudioCallback> callback_ = sptr<IDAudioCallback>(new MockIDAudioCallback());
/drivers/interface/display/composer/command_pack/
H A Dcommand_data_packer.h59 data_ = new char[alignedSize]; in Init()
210 char *newData = new char[newSize];
/drivers/interface/display/buffer/v1_2/hdi_impl/
H A Ddisplay_buffer_hdi_impl.h55 sptr<NativeBuffer> hdiBuffer = new NativeBuffer();
/drivers/peripheral/camera/vdi_base/common/buffer_manager/include/
H A Dbuffer_allocator_factory.h41 factory->allocatorRegisterMap_.emplace(type, [&args...] { return new C(std::forward<Args>(args)...); }); in BufferAllocatorRegister()
/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/include/
H A Ddaudio_manager_interface_impl.h39 dAudioMgr_ = new DAudioManagerInterfaceImpl(); in GetDAudioManager()
/drivers/hdf_core/adapter/platform/can/
H A Dcan_virtual.c84 struct CanMsg new; in VirtualCanMsgLoopBack() local
88 new = *msg; // Yeah! this is loop back ... in VirtualCanMsgLoopBack()
92 return CanCntlrOnNewMsgIrqSafe(&virtualCan->cntlr, &new); in VirtualCanMsgLoopBack()
/drivers/hdf_core/framework/tools/hdi-gen/ast/
H A Dast_method.h99 AutoPtr<ASTAttr> attr_ = new ASTAttr();
H A Dast_parameter.h22 : ASTNode(), name_(name), attr_(new ASTParamAttr(attribute)), type_(type) in ASTParameter()
H A Dast_enum_type.h60 ASTEnumType() : ASTType(TypeKind::TYPE_ENUM, true), attr_(new ASTAttr()), baseType_(), members_() {} in ASTEnumType()
169 AutoPtr<ASTAttr> attr_ = new ASTAttr();
H A Dast_struct_type.h23 ASTStructType() : ASTType(TypeKind::TYPE_STRUCT, true), attr_(new ASTAttr()), members_() {} in ASTStructType()
H A Dast_union_type.h23 ASTUnionType() : ASTType(TypeKind::TYPE_UNION, true), attr_(new ASTAttr()), members_() {} in ASTUnionType()
/drivers/hdf_core/interfaces/inner_api/hdi/
H A Dobject_collector.h118 return new OBJECT(static_cast<INTERFACE *>(interface.GetRefPtr())); in ObjectDelegator()
/drivers/interface/display/composer/cache_manager/
H A Dbuffer_cache_utils.h54 NativeBuffer* nativeBuffer = new NativeBuffer(); in NativeBufferCache()
56 HDF_LOGE("%{public}s: new nativeBuffer fail", __func__)); in NativeBufferCache()
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
H A Dcreate_devicemanager_factory.h76 new DeviceManagerDynamicClass(#className, &className::createInstance)
H A Dcreate_sensor_factory.h75 SensorDynamicClass* className::className##_ = new SensorDynamicClass(#className, &className::createInstance);
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Dicamera_host_vdi.h70 new CameraHostCallBackDeathRecipient(this); in SetCallback()
/drivers/peripheral/codec/test/demo/heif/include/
H A Dbuffer_helper.h68 uint8_t* p = new uint8_t[dataSize]; in AddData()
/drivers/peripheral/codec/test/unittest/hdi_image/
H A Dtest_helper.h49 uint8_t* p = new uint8_t[dataSize]; in AddData()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/
H A Daudio_manager_interface_impl.h54 audioManager_ = new AudioManagerInterfaceImpl(); in GetAudioManager()

Completed in 9 milliseconds

12