/drivers/peripheral/codec/utils/include/ |
H A D | codec_util.h | 19 #include <malloc.h>
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | adaptor_memory.c | 30 void *data = malloc(size); in Malloc()
|
/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
H A D | adaptor_memory.c | 28 void *data = malloc(size); in Malloc()
|
/drivers/peripheral/intelligent_voice/utils/ |
H A D | memory_guard.cpp | 17 #include <malloc.h>
|
/drivers/peripheral/user_auth/test/unittest/mocks/src/ |
H A D | mock_adaptor_memory.cpp | 31 void *data = malloc(size); in MallocTest()
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/spi_fuzzer/ |
H A D | spi_fuzzer.cpp | 73 msg.rbuf = reinterpret_cast<uint8_t *>(malloc(SPI_BUF_SIZE)); in SpiFuzzTest() 75 HDF_LOGE("SpiFuzzTest: malloc rbuf fail!"); in SpiFuzzTest() 78 msg.wbuf = reinterpret_cast<uint8_t *>(malloc(SPI_BUF_SIZE)); in SpiFuzzTest() 80 HDF_LOGE("SpiFuzzTest: malloc wbuf fail!"); in SpiFuzzTest()
|
/drivers/peripheral/input/hal/src/ |
H A D | input_reporter.c | 18 #include <malloc.h>
86 struct HdfDevEventlistener *listener = (struct HdfDevEventlistener *)malloc(sizeof(struct HdfDevEventlistener));
in EventListenerInstance() 213 struct HdfDevEventlistener *listener = (struct HdfDevEventlistener *)malloc(sizeof(struct HdfDevEventlistener));
in HotPlugEventListenerInstance() 278 InputReporter *reporterHdi = (InputReporter *)malloc(sizeof(InputReporter));
in InstanceReporterHdi() 280 HDF_LOGE("%s: malloc fail", __func__);
in InstanceReporterHdi()
|
H A D | input_manager.c | 21 #include <malloc.h>
150 device = (DeviceInfoNode *)malloc(sizeof(DeviceInfoNode));
in AddService() 152 HDF_LOGE("%s: malloc fail", __func__);
in AddService() 280 InputManager *managerHdi = (InputManager *)malloc(sizeof(InputManager));
in InstanceManagerHdi() 282 HDF_LOGE("%s: malloc fail", __func__);
in InstanceManagerHdi() 299 InputDevManager *manager = (InputDevManager *)malloc(sizeof(InputDevManager));
in InitDevManager() 301 HDF_LOGE("%s: malloc fail", __func__);
in InitDevManager() 340 IInputInterface *hdi = (IInputInterface *)malloc(sizeof(IInputInterface));
in InstanceInputHdi() 342 HDF_LOGE("%s: malloc fail", __func__);
in InstanceInputHdi()
|
/drivers/hdf_core/framework/support/posix/src/ |
H A D | osal_mem.c | 29 buf = malloc(size); in OsalMemAlloc()
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/i2c_fuzzer/ |
H A D | i2c_fuzzer.cpp | 40 msg.buf = reinterpret_cast<uint8_t *>(malloc(BUF_LEN)); in I2cFuzzTest() 42 HDF_LOGE("I2cFuzzTest: malloc buf fail!"); in I2cFuzzTest()
|
/drivers/peripheral/huks/test/fuzztest/agreekeyfuzz/ |
H A D | huks_hdi_fuzzer.cpp | 35 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size));
in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/huks/test/fuzztest/generatekeyfuzz/ |
H A D | huks_hdi_fuzzer.cpp | 33 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size));
in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/huks/test/fuzztest/importwrappedkeyfuzz/ |
H A D | huks_hdi_fuzzer.cpp | 35 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size));
in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/huks/test/fuzztest/importkeyfuzz/ |
H A D | huks_hdi_fuzzer.cpp | 35 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size));
in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/huks/test/fuzztest/initfuzz/ |
H A D | huks_hdi_fuzzer.cpp | 39 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size));
in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/ |
H A D | display_gralloc.cpp | 68 GrallocFuncs *grallocFuncs = reinterpret_cast<GrallocFuncs *>(malloc(sizeof(GrallocFuncs))); in GrallocInitialize() 69 DISPLAY_CHK_RETURN((grallocFuncs == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("malloc failed")); in GrallocInitialize()
|
/drivers/peripheral/wlan/hostapd/client/src/ |
H A D | hostapd_client.c | 58 callbackEvent = (struct HostapdCallbackEvent *)malloc(sizeof(struct HostapdCallbackEvent)); in HostapdRegisterEventCallback() 60 HDF_LOGE("%s fail: malloc fail!", __FUNCTION__); in HostapdRegisterEventCallback()
|
/drivers/peripheral/wlan/wpa/client/src/ |
H A D | wpa_client.c | 57 callbackEvent = (struct WpaCallbackEvent *)malloc(sizeof(struct WpaCallbackEvent));
in WpaRegisterEventCallback() 59 HDF_LOGE("%s fail: malloc fail!", __FUNCTION__);
in WpaRegisterEventCallback()
|
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_supplicant_hal.h | 21 #include <malloc.h>
|
H A D | wpa_p2p_hal.h | 21 #include <malloc.h>
|
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | fork_node.cpp | 101 CAMERA_LOGI("PcForkNode::DeliverBuffer begin malloc buffer"); in CopyBufferToForkBuffer() 107 void* bufferAddr = malloc(bufferSize); in CopyBufferToForkBuffer() 111 CAMERA_LOGI("PcForkNode::DeliverBuffer malloc sucess, Address = %{public}p, SbAddr = %{public}p", in CopyBufferToForkBuffer() 114 CAMERA_LOGE("PcForkNode::DeliverBuffer malloc buffer fail"); in CopyBufferToForkBuffer()
|
/drivers/peripheral/wlan/hal/src/ |
H A D | wifi_hal.c | 105 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiAp)); in InitFeatureByType() 107 HDF_LOGE("%s: malloc failed, line: %d", __FUNCTION__, __LINE__); in InitFeatureByType() 114 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiSta)); in InitFeatureByType() 116 HDF_LOGE("%s: malloc failed, line: %d", __FUNCTION__, __LINE__); in InitFeatureByType() 123 *ifeature = (struct IWiFiBaseFeature *)malloc(sizeof(struct IWiFiP2p)); in InitFeatureByType() 125 HDF_LOGE("%s: malloc failed, line: %d", __FUNCTION__, __LINE__); in InitFeatureByType()
|
/drivers/peripheral/user_auth/test/unittest/attribute_test/ |
H A D | attribute_test.cpp | 58 void *res = malloc(size); in HWTEST_F() 280 void *res = malloc(size); in HWTEST_F() 386 void *res = malloc(size); in HWTEST_F() 462 void *res = malloc(size); in HWTEST_F()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/ |
H A D | fork_node.cpp | 121 CAMERA_LOGI("ForkNode::DeliverBuffer begin malloc buffer"); in CopyBufferToForkBuffer() 127 auto bufferAddr = malloc(bufferSize); in CopyBufferToForkBuffer() 132 CAMERA_LOGE("ForkNode::DeliverBuffer malloc buffer fail"); in CopyBufferToForkBuffer()
|
/drivers/peripheral/display/hal/ |
H A D | disp_hal.c | 196 hFuncs = (HalFuncs *)malloc(sizeof(HalFuncs)); in GetHalFuncs() 198 HDF_LOGE("%s: malloc fail", __func__); in GetHalFuncs()
|