Home
last modified time | relevance | path

Searched refs:NULL (Results 1 - 25 of 989) sorted by relevance

12345678910>>...40

/drivers/hdf_core/framework/support/platform/src/clock/
H A Dclock_if_u.c18 static void *manager = NULL; in ClockManagerGetService()
20 if (manager != NULL) { in ClockManagerGetService()
25 if (manager == NULL) { in ClockManagerGetService()
33 struct HdfIoService *service = NULL; in ClockOpen()
34 struct HdfSBuf *data = NULL; in ClockOpen()
35 struct HdfSBuf *reply = NULL; in ClockOpen()
40 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in ClockOpen()
42 return NULL; in ClockOpen()
[all...]
/drivers/hdf_core/framework/utils/src/
H A Dhdf_slist.c16 if (list != NULL) { in HdfSListInit()
17 list->root = NULL; in HdfSListInit()
23 return ((list == NULL) || (list->root == NULL)); in HdfSListIsEmpty()
29 if (comparer == NULL) { in HdfSListSearch()
30 return NULL; in HdfSListSearch()
39 return NULL; in HdfSListSearch()
44 struct HdfSListNode *last = NULL; in HdfSListGetLast()
45 struct HdfSListNode *iterator = NULL; in HdfSListGetLast()
46 if (list == NULL) { in HdfSListGetLast()
[all...]
/drivers/hdf_core/framework/support/platform/src/watchdog/
H A Dwatchdog_if_u.c22 void *service = NULL; in WatchdogServiceGetById()
26 return NULL; in WatchdogServiceGetById()
32 return NULL; in WatchdogServiceGetById()
36 if (service == NULL) { in WatchdogServiceGetById()
46 struct HdfSBuf *reply = NULL; in WatchdogOpen()
47 struct HdfIoService *service = NULL; in WatchdogOpen()
49 if (handle == NULL) { in WatchdogOpen()
55 if (service == NULL) { in WatchdogOpen()
60 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in WatchdogOpen()
[all...]
/drivers/hdf_core/framework/core/host/src/
H A Ddevsvc_manager_clnt.c18 struct IDevSvcManager *serviceManager = NULL; in DevSvcManagerClntAddService()
19 if (devSvcMgrClnt == NULL) { in DevSvcManagerClntAddService()
29 if (serviceManager == NULL || serviceManager->AddService == NULL) { in DevSvcManagerClntAddService()
39 struct IDevSvcManager *serviceManager = NULL; in DevSvcManagerClntUpdateService()
40 if (devSvcMgrClnt == NULL) { in DevSvcManagerClntUpdateService()
50 if (serviceManager == NULL || serviceManager->UpdateService == NULL) { in DevSvcManagerClntUpdateService()
60 struct IDevSvcManager *serviceManager = NULL; in DevSvcManagerClntGetService()
61 if (devSvcMgrClnt == NULL) { in DevSvcManagerClntGetService()
[all...]
H A Dhdf_device_object.c33 struct DevHostService *hostService = NULL; in HdfDeviceSubscribeService()
34 struct HdfDeviceNode *devNode = NULL; in HdfDeviceSubscribeService()
35 if (deviceObject == NULL || serviceName == NULL) { in HdfDeviceSubscribeService()
42 if (hostService == NULL) { in HdfDeviceSubscribeService()
52 struct HdfDeviceNode *devNode = NULL; in HdfDeviceGetServiceName()
53 if (deviceObject == NULL) { in HdfDeviceGetServiceName()
55 return NULL; in HdfDeviceGetServiceName()
64 struct HdfDeviceNode *devNode = NULL; in HdfPmRegisterPowerListener()
65 if (deviceObject == NULL) { in HdfPmRegisterPowerListener()
[all...]
/drivers/hdf_core/framework/model/audio/core/src/
H A Daudio_host.c25 return NULL; in GetAllCardInstance()
34 struct AudioCard *audioCard = NULL; in GetCardInstance()
36 if (serviceName == NULL) { in GetCardInstance()
37 ADM_LOG_ERR("serviceName is NULL."); in GetCardInstance()
38 return NULL; in GetCardInstance()
43 return NULL; in GetCardInstance()
47 if (audioCard->configData.cardServiceName == NULL) { in GetCardInstance()
48 ADM_LOG_ERR("cardServiceName is NULL."); in GetCardInstance()
49 return NULL; in GetCardInstance()
57 return NULL; in GetCardInstance()
[all...]
/drivers/hdf_core/framework/model/network/common/netdevice/
H A Dnet_device.c18 static struct NetDeviceImpl *g_netDeviceImplTable[MAX_NETDEVICE_COUNT] = {NULL};
24 if (index == NULL) { in FindAvailableTable()
29 if (g_netDeviceImplTable[i] == NULL) { in FindAvailableTable()
53 g_netDeviceImplTable[i] = NULL; in DeleteNetDeviceImplFromTable()
62 struct NetDeviceImpl *ndImpl = NULL; in InitNetDeviceImpl()
63 if (nd == NULL) { in InitNetDeviceImpl()
64 return NULL; in InitNetDeviceImpl()
67 if (ndImpl == NULL) { in InitNetDeviceImpl()
69 return NULL; in InitNetDeviceImpl()
76 ndImpl = NULL; in InitNetDeviceImpl()
[all...]
/drivers/hdf_core/framework/support/platform/src/dac/
H A Ddac_if_u.c21 static struct HdfIoService *service = NULL; in DacManagerServiceGet()
23 if (service != NULL) { in DacManagerServiceGet()
27 if (service == NULL) { in DacManagerServiceGet()
36 struct HdfIoService *service = NULL; in DacOpen()
37 struct HdfSBuf *data = NULL; in DacOpen()
38 struct HdfSBuf *reply = NULL; in DacOpen()
42 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in DacOpen()
44 return NULL; in DacOpen()
[all...]
/drivers/hdf_core/framework/support/platform/src/rtc/
H A Drtc_core.c18 if (host == NULL || time == NULL) { in RtcHostReadTime()
23 if (host->method == NULL || host->method->ReadTime == NULL) { in RtcHostReadTime()
33 if (host == NULL || time == NULL) { in RtcHostWriteTime()
38 if (host->method == NULL || host->method->WriteTime == NULL) { in RtcHostWriteTime()
48 if (host == NULL || time == NULL) { in RtcHostReadAlarm()
[all...]
H A Drtc_if_u.c22 static struct HdfIoService *service = NULL; in RtcOpen()
23 if (service != NULL) { in RtcOpen()
28 if (service == NULL) { in RtcOpen()
30 return NULL; in RtcOpen()
33 if (service->priv == NULL) { in RtcOpen()
35 if (manager == NULL) { in RtcOpen()
48 struct HdfIoService *service = NULL; in RtcClose()
49 if (handle == NULL) { in RtcClose()
62 struct HdfSBuf *reply = NULL; in RtcReadTime()
63 struct HdfIoService *service = NULL; in RtcReadTime()
[all...]
/drivers/peripheral/audio/test/hal_mock/
H A Daudio_render_mock.c22 if (render == NULL) { in GetLatency()
26 if (ms == NULL) { in GetLatency()
35 if (render == NULL || frame == NULL || replyBytes == NULL) { in RenderFrame()
47 if (render == NULL || frame == NULL || time == NULL) { in GetPosition()
59 if (render == NULL) { in SetSpeed()
70 if (render == NULL || spee in GetSpeed()
[all...]
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server_render.c31 if (data == NULL || attrs == NULL) { in GetInitRenderParaAttrs()
83 if (data == NULL || devDesc == NULL || attrs == NULL) { in GetInitRenderPara()
119 devDesc->desc = NULL; in GetInitRenderPara()
126 IF_TRUE_PRINT_LOG_RETURN_ERROR((client == NULL || data == NULL || reply == NULL), in HdiServiceCreatRender()
128 struct AudioAdapter *adapter = NULL; in HdiServiceCreatRender()
[all...]
H A Dhdf_audio_server_capture.c33 if (data == NULL || attrs == NULL) { in GetInitCaptureParaAttrs()
84 if (data == NULL || devDesc == NULL || attrs == NULL) { in GetInitCapturePara()
118 devDesc->desc = NULL; in GetInitCapturePara()
124 IF_TRUE_PRINT_LOG_RETURN_ERROR((client == NULL || data == NULL || reply == NULL), in HdiServiceCreatCapture()
126 struct AudioAdapter *adapter = NULL; in HdiServiceCreatCapture()
[all...]
/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_workqueue.c36 if (queue == NULL || name == NULL) { in HdfWorkQueueInit()
42 if (queue->realWorkQueue == NULL) { in HdfWorkQueueInit()
53 struct WorkWrapper *wrapper = NULL; in WorkEntry()
54 if (work != NULL) { in WorkEntry()
56 if (wrapper->workFunc != NULL) in WorkEntry()
67 struct work_struct *realWork = NULL; in HdfWorkInit()
68 struct WorkWrapper *wrapper = NULL; in HdfWorkInit()
70 if (work == NULL || func == NULL) { in HdfWorkInit()
[all...]
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_workqueue.c46 if (queue == NULL || name == NULL) { in HdfWorkQueueInit()
52 if (queue->realWorkQueue == NULL) { in HdfWorkQueueInit()
62 struct WorkWrapper *wrapper = NULL; in WorkEntry()
63 if (work != NULL) { in WorkEntry()
65 if (wrapper->workFunc != NULL) { in WorkEntry()
77 struct work_struct *realWork = NULL; in HdfWorkInit()
78 struct WorkWrapper *wrapper = NULL; in HdfWorkInit()
80 if (work == NULL || func == NULL) { in HdfWorkInit()
[all...]
/drivers/hdf_core/framework/model/network/wifi/platform/src/
H A Dhdf_wlan_config_parser.c16 struct DeviceResourceIface *drsOps = NULL; in ParseWlanStaConfig()
19 if (node == NULL || staConfig == NULL) { in ParseWlanStaConfig()
24 if (drsOps == NULL || drsOps->GetString == NULL || drsOps->GetUint8 == NULL) { in ParseWlanStaConfig()
28 ret = drsOps->GetString(node, "name", &staConfig->name, NULL); in ParseWlanStaConfig()
44 struct DeviceResourceIface *drsOps = NULL; in ParseWlanApConfig()
47 if (node == NULL || apConfig == NULL) { in ParseWlanApConfig()
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server_render.cpp27 if (data == NULL || attrs == NULL) { in GetInitRenderParaAttrs()
67 if (data == NULL || devDesc == NULL || attrs == NULL) { in GetInitRenderPara()
106 devDesc->desc = NULL; in GetInitRenderPara()
113 if (client == NULL || data == NULL || reply == NULL) { in HdiServiceCreatRender()
116 struct AudioAdapter *adapter = NULL; in HdiServiceCreatRender()
[all...]
/drivers/hdf_core/framework/support/platform/src/pin/
H A Dpin_if_u.c34 struct PinInfo *pin = NULL; in AddNode()
35 static struct DListHead *head = NULL; in AddNode()
37 if (head == NULL) { in AddNode()
43 if (pin == NULL) { in AddNode()
45 return NULL; in AddNode()
51 return NULL; in AddNode()
62 struct PinInfo *pos = NULL; in RemoveNode()
63 struct PinInfo *tmp = NULL; in RemoveNode()
77 static struct HdfIoService *service = NULL; in PinManagerServiceGet()
79 if (service != NULL) { in PinManagerServiceGet()
[all...]
/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_dma_base.c18 if (data != NULL && data->ops != NULL && data->ops->DmaBufAlloc != NULL) { in AudioDmaBufAlloc()
26 if (data != NULL && data->ops != NULL && data->ops->DmaBufFree != NULL) { in AudioDmaBufFree()
34 if (data != NULL && data->ops != NULL && data->ops->DmaRequestChannel != NULL) { in AudioDmaRequestChannel()
42 if (data != NULL in AudioDmaConfigChannel()
[all...]
/drivers/hdf_core/framework/support/platform/src/i2s/
H A Di2s_core.c22 if (cntlr == NULL) { in I2sCntlrOpen()
26 if (cntlr->method == NULL || cntlr->method->Open == NULL) { in I2sCntlrOpen()
40 if (cntlr == NULL) { in I2sCntlrClose()
44 if (cntlr->method == NULL || cntlr->method->Close == NULL) { in I2sCntlrClose()
58 if (cntlr == NULL) { in I2sCntlrEnable()
62 if (cntlr->method == NULL || cntlr->method->Enable == NULL) { in I2sCntlrEnable()
76 if (cntlr == NULL) { in I2sCntlrDisable()
[all...]
/drivers/hdf_core/framework/core/manager/src/
H A Ddriver_manager.c18 if (driverHead.next == NULL) { in HdfDriverHead()
27 struct HdfDriver *newDriver = NULL; in HdfRegisterDriverEntry()
29 if (entry == NULL || entry->moduleName == NULL) { in HdfRegisterDriverEntry()
34 if (newDriver == NULL) { in HdfRegisterDriverEntry()
47 struct DListHead *driverHead = NULL; in HdfUnregisterDriverEntry()
48 struct HdfDriver *driver = NULL; in HdfUnregisterDriverEntry()
49 struct HdfDriver *tmp = NULL; in HdfUnregisterDriverEntry()
51 if (entry == NULL || entry->moduleName == NULL) { in HdfUnregisterDriverEntry()
[all...]
/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_if.c49 const void *rBuf = NULL; in HdmiGetDataFromReply()
74 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HdmiUserClose()
79 ret = service->dispatcher->Dispatch(&service->object, HDMI_CMD_CLOSE, NULL, NULL); in HdmiUserClose()
90 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HdmiUserStart()
95 ret = service->dispatcher->Dispatch(&service->object, HDMI_CMD_START, NULL, NUL in HdmiUserStart()
[all...]
/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_sdk_if.c31 {NULL, 0 },
37 struct UsbFnStrings **strings = NULL; in IsDescriptorOk()
38 struct UsbFnFunction *functions = NULL; in IsDescriptorOk()
39 if (des == NULL) { in IsDescriptorOk()
43 if (des->deviceDesc == NULL || des->deviceStrings == NULL || des->configs == NULL) { in IsDescriptorOk()
49 if (strings[0] == NULL) { in IsDescriptorOk()
54 for (i = 0; des->configs[i] != NULL; i++) { in IsDescriptorOk()
55 for (j = 0; des->configs[i]->functions[j] != NULL; in IsDescriptorOk()
[all...]
/drivers/hdf_core/framework/model/network/ethernet/src/
H A Deth_device.c26 if (configEthDevList == NULL || ifName == NULL || ifNameSize == 0) { in GetEthIfName()
40 struct HdfEthNetDeviceData *data = NULL; in CreateEthDevice()
41 struct NetDevice *netDevice = NULL; in CreateEthDevice()
42 struct EthDevice *ethDevice = NULL; in CreateEthDevice()
45 if (configEthDevList == NULL) { in CreateEthDevice()
46 HDF_LOGE("%s input is NULL!", __func__); in CreateEthDevice()
47 return NULL; in CreateEthDevice()
50 if (data == NULL) { in CreateEthDevice()
52 return NULL; in CreateEthDevice()
[all...]
/drivers/peripheral/audio/effect/model/src/mock_effect/
H A Dmock_effect_lib.c39 if (commandData == NULL || replyData == NULL || replyDataLen == NULL) { in MockEffectInitController()
50 if (commandData == NULL || replyData == NULL || replyDataLen == NULL) { in MockEffectSetConfig()
61 if (commandData == NULL || replyData == NULL || replyDataLen == NULL) { in MockEffectGetCofig()
72 if (commandData == NULL || replyDat in MockEffectReset()
[all...]

Completed in 12 milliseconds

12345678910>>...40