Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/lk-master/external/lib/lwip/api/
A Dnetbuf.c61 if (buf != NULL) { in netbuf_new()
62 buf->p = NULL; in netbuf_new()
63 buf->ptr = NULL; in netbuf_new()
77 return NULL; in netbuf_new()
89 if (buf != NULL) { in netbuf_delete()
109 LWIP_ERROR("netbuf_alloc: invalid buf", (buf != NULL), return NULL;); in netbuf_alloc()
112 if (buf->p != NULL) { in netbuf_alloc()
116 if (buf->p == NULL) { in netbuf_alloc()
117 return NULL; in netbuf_alloc()
134 if (buf->p != NULL) { in netbuf_free()
[all …]
A Dnetdb.c101 return NULL; in lwip_gethostbyname()
182 *result = NULL; in lwip_gethostbyname_r()
183 if ((name == NULL) || (ret == NULL) || (buf == NULL)) { in lwip_gethostbyname_r()
214 h->aliases = NULL; in lwip_gethostbyname_r()
240 while (ai != NULL) { in lwip_freeaddrinfo()
278 if (res == NULL) { in lwip_getaddrinfo()
281 *res = NULL; in lwip_getaddrinfo()
282 if ((nodename == NULL) && (servname == NULL)) { in lwip_getaddrinfo()
316 if (ai == NULL) { in lwip_getaddrinfo()
329 if (hints != NULL) { in lwip_getaddrinfo()
[all …]
A Dapi_lib.c74 if (conn != NULL) { in netconn_new_with_proto_and_callback()
88 return NULL; in netconn_new_with_proto_and_callback()
108 if (conn == NULL) { in netconn_delete()
287 *new_conn = NULL; in netconn_accept()
309 if (newconn == NULL) { in netconn_accept()
344 void *buf = NULL; in netconn_recv_data()
352 *new_buf = NULL; in netconn_recv_data()
395 if (buf == NULL) { in netconn_recv_data()
462 *new_buf = NULL; in netconn_recv()
475 if (buf == NULL) { in netconn_recv()
[all …]
A Dapi_msg.c98 if(q != NULL) { in recv_raw()
101 q = NULL; in recv_raw()
105 if (q != NULL) { in recv_raw()
108 if (buf == NULL) { in recv_raw()
172 if (buf == NULL) {
227 if (conn == NULL) {
232 if (p != NULL) {
245 if (p != NULL) {
578 if (conn == NULL) {
579 return NULL;
[all …]
/lk-master/external/lib/lwip/core/
A Dtimers.c272 if (timeout == NULL) { in sys_timeout_debug()
276 timeout->next = NULL; in sys_timeout_debug()
286 if (next_timeout == NULL) { in sys_timeout_debug()
299 if (t->next != NULL) { in sys_timeout_debug()
325 if (next_timeout == NULL) { in sys_untimeout()
329 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
333 if (prev_t == NULL) { in sys_untimeout()
339 if (t->next != NULL) { in sys_untimeout()
387 if (handler != NULL) { in sys_check_timeouts()
449 if (handler != NULL) { in sys_timeouts_mbox_fetch()
[all …]
A Dpbuf.c233 return NULL; in pbuf_alloc()
243 return NULL; in pbuf_alloc()
310 return NULL; in pbuf_alloc()
331 return NULL; in pbuf_alloc()
341 return NULL; in pbuf_alloc()
392 return NULL; in pbuf_alloced_custom()
397 return NULL; in pbuf_alloced_custom()
486 q->next = NULL; in pbuf_realloc()
688 p = NULL; in pbuf_free()
750 ((h != NULL) && (t != NULL)), return;); in pbuf_cat()
[all …]
A Dnetif.c152 netif->dhcp = NULL; in netif_add()
156 netif->autoip = NULL; in netif_add()
185 return NULL; in netif_add()
237 if (netif == NULL) { in netif_remove()
295 if (name == NULL) { in netif_find()
296 return NULL; in netif_find()
310 return NULL; in netif_find()
633 if (r == NULL) { in netif_loop_output()
716 if (in != NULL) { in netif_poll()
743 if (in != NULL) { in netif_poll()
[all …]
A Dtcp_out.c99 if (p != NULL) { in tcp_output_alloc_header()
167 return NULL; in tcp_create_segment()
170 seg->next = NULL; in tcp_create_segment()
189 return NULL; in tcp_create_segment()
256 if (p == NULL) { in tcp_pbuf_prealloc()
257 return NULL; in tcp_pbuf_prealloc()
329 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_write_checks()
332 pcb->unacked == NULL && pcb->unsent == NULL); in tcp_write_checks()
357 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write()
684 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_write()
[all …]
A Dtcp.c213 pcb = NULL; in tcp_close_shutdown()
219 pcb = NULL; in tcp_close_shutdown()
225 pcb = NULL; in tcp_close_shutdown()
252 pcb = NULL; in tcp_close_shutdown()
547 return NULL; in tcp_listen_with_backlog()
803 prev = NULL; in tcp_slowtmr()
1003 prev = NULL; in tcp_slowtmr()
1183 return NULL; in tcp_seg_copy()
1200 if (p != NULL) { in tcp_recv_null()
1228 inactive = NULL; in tcp_kill_prio()
[all …]
A Draw.c88 prev = NULL; in raw_input()
92 while ((eaten == 0) && (pcb != NULL)) { in raw_input()
102 if (pcb->recv != NULL) { in raw_input()
106 p = NULL; in raw_input()
108 if (prev != NULL) { in raw_input()
217 if (q == NULL) { in raw_sendto()
236 if ((netif = ip_route(ipaddr)) == NULL) { in raw_sendto()
268 NETIF_SET_HWADDRHINT(netif, NULL); in raw_sendto()
309 for(pcb2 = raw_pcbs; pcb2 != NULL; pcb2 = pcb2->next) { in raw_remove()
311 if (pcb2->next != NULL && pcb2->next == pcb) { in raw_remove()
[all …]
A Dtcp_in.c167 prev = NULL; in tcp_input()
194 if (pcb == NULL) { in tcp_input()
215 prev = NULL; in tcp_input()
271 if (pcb != NULL) { in tcp_input()
280 inseg.next = NULL; in tcp_input()
285 recv_data = NULL; in tcp_input()
395 recv_data = NULL; in tcp_input()
401 inseg.p = NULL; in tcp_input()
807 next = NULL; in tcp_oos_insert_segment()
1080 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_receive()
[all …]
A Ddns.c244 if (dns_pcb == NULL) { in dns_init()
247 if (dns_pcb != NULL) { in dns_init()
305 if (dns_pcb != NULL) { in dns_tmr()
328 if (entry != NULL) { in dns_init_local()
352 while(entry != NULL) { in dns_lookup_local()
384 while (entry != NULL) { in dns_local_removehost()
422 if (entry == NULL) { in dns_local_addhost()
578 if (p != NULL) { in dns_send()
701 pEntry->found = NULL; in dns_check_entry()
843 pEntry->found = NULL; in dns_recv()
[all …]
/lk-master/external/lib/lwip/netif/
A Dslipif.c197 return NULL; in slipif_rxbyte()
200 return NULL; in slipif_rxbyte()
219 if (priv->p == NULL) { in slipif_rxbyte()
228 return NULL; in slipif_rxbyte()
254 priv->p = NULL; in slipif_rxbyte()
258 return NULL; in slipif_rxbyte()
271 if (p != NULL) { in slipif_rxbyte_input()
352 priv->p = NULL; in slipif_init()
353 priv->q = NULL; in slipif_init()
422 q->next = NULL; in slipif_process_rxqueue()
[all …]
/lk-master/external/lib/lwip/core/snmp/
A Dmib_structs.c161 if (ln != NULL) in snmp_mib_ln_alloc()
163 ln->prev = NULL; in snmp_mib_ln_alloc()
164 ln->next = NULL; in snmp_mib_ln_alloc()
166 ln->nptr = NULL; in snmp_mib_ln_alloc()
183 if (lrn != NULL) in snmp_mib_lrn_alloc()
230 if (nn != NULL) in snmp_mib_node_insert()
349 if (n == NULL) in snmp_mib_node_find()
628 return NULL; in snmp_search_tree()
633 return NULL; in snmp_search_tree()
1067 return NULL; in snmp_expand_tree()
[all …]
A Dmsg_in.c200 if (vb != NULL) in snmp_msg_get_event()
371 mn = NULL; in snmp_msg_get_event()
373 if (mn == NULL) in snmp_msg_get_event()
430 if (vb != NULL) in snmp_msg_getnext_event()
476 mn = NULL; in snmp_msg_getnext_event()
478 if (mn != NULL) in snmp_msg_getnext_event()
518 if (mn == NULL) in snmp_msg_getnext_event()
712 mn = NULL; in snmp_msg_set_event()
714 if (mn == NULL) in snmp_msg_set_event()
1321 if (vb != NULL) in snmp_varbind_alloc()
[all …]
A Dasn1_dec.c58 while (p != NULL) in snmp_asn1_dec_type()
91 while (p != NULL) in snmp_asn1_dec_length()
162 if (p == NULL) { return ERR_ARG; } in snmp_asn1_dec_length()
188 if (p == NULL) { return ERR_ARG; } in snmp_asn1_dec_length()
246 while (p != NULL) in snmp_asn1_dec_u32t()
297 if (p == NULL) { return ERR_ARG; } in snmp_asn1_dec_u32t()
346 while (p != NULL) in snmp_asn1_dec_s32t()
388 if (p == NULL) { return ERR_ARG; } in snmp_asn1_dec_s32t()
436 while (p != NULL) in snmp_asn1_dec_oid()
495 if (p == NULL) { return ERR_ARG; } in snmp_asn1_dec_oid()
[all …]
/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_power.c150 NRFX_ASSERT(p_config != NULL); in nrfx_power_pof_init()
154 if (p_config->handler != NULL) in nrfx_power_pof_init()
174 if (m_pofwarn_handler != NULL) in nrfx_power_pof_enable()
192 m_pofwarn_handler = NULL; in nrfx_power_pof_uninit()
199 NRFX_ASSERT(p_config != NULL); in nrfx_power_sleepevt_init()
202 if (p_config->handler != NULL) in nrfx_power_sleepevt_init()
232 m_sleepevt_handler = NULL; in nrfx_power_sleepevt_uninit()
239 NRFX_ASSERT(p_config != NULL); in nrfx_power_usbevt_init()
242 if (p_config->handler != NULL) in nrfx_power_usbevt_init()
265 m_usbevt_handler = NULL; in nrfx_power_usbevt_uninit()
[all …]
A Dnrfx_i2s.c269 NRFX_ASSERT(p_initial_buffers != NULL); in nrfx_i2s_start()
292 if (((p_initial_buffers->p_rx_buffer != NULL) in nrfx_i2s_start()
295 ((p_initial_buffers->p_tx_buffer != NULL) in nrfx_i2s_start()
316 m_cb.current_buffers.p_rx_buffer = NULL; in nrfx_i2s_start()
317 m_cb.current_buffers.p_tx_buffer = NULL; in nrfx_i2s_start()
345 NRFX_ASSERT((p_buffers->p_rx_buffer == NULL) || in nrfx_i2s_next_buffers_set()
348 NRFX_ASSERT((p_buffers->p_tx_buffer == NULL) || in nrfx_i2s_next_buffers_set()
363 if (((p_buffers->p_rx_buffer != NULL) in nrfx_i2s_next_buffers_set()
366 ((p_buffers->p_tx_buffer != NULL) in nrfx_i2s_next_buffers_set()
378 NRFX_ASSERT(p_buffers->p_tx_buffer != NULL); in nrfx_i2s_next_buffers_set()
[all …]
/lk-master/external/lib/lwip/core/ipv4/
A Dip_frag.c127 while (r != NULL) { in ip_reass_tmr()
166 if (prev != NULL) { in ip_reass_free_complete_datagram()
191 while (p != NULL) { in ip_reass_free_complete_datagram()
233 oldest = NULL; in ip_reass_remove_oldest_datagram()
234 prev = NULL; in ip_reass_remove_oldest_datagram()
274 if (ipr == NULL) { in ip_reass_enqueue_new_datagram()
279 if (ipr == NULL) in ip_reass_enqueue_new_datagram()
284 return NULL; in ip_reass_enqueue_new_datagram()
398 if (q == NULL) { in ip_reass_chain_frag_into_datagram_and_validate()
606 return NULL; in ip_reass()
[all …]
A Digmp.c173 while (group != NULL) { in igmp_dump_group_list()
199 if (group != NULL) { in igmp_start()
230 while (group != NULL) { in igmp_stop()
239 if (prev != NULL) { in igmp_stop()
273 while (group != NULL) { in igmp_report_groups()
294 while (group != NULL) { in igmp_lookfor_group()
304 return NULL; in igmp_lookfor_group()
322 if (group != NULL) { in igmp_lookup_group()
329 if (group != NULL) { in igmp_lookup_group()
372 if (tmpGroup == NULL) in igmp_remove_group()
[all …]
/lk-master/external/lib/lwip/netif/ppp/
A Dauth.c279 { NULL }
298 if (ufile == NULL) {
362 if (wp == NULL)
912 if (addrs != NULL) { in check_passwd()
1084 addrs = NULL; in get_secret()
1105 addrs = NULL; in get_secret()
1150 if (addrs != NULL && addrs->next == NULL) {
1190 if (addrs == NULL) { in ip_addr_check()
1271 while (wp != NULL) {
1315 if ((pw = getpwuid(getuid())) != NULL && pw->pw_name != NULL)
[all …]
/lk-master/external/lib/lwip/include/lwip/
A Dnetifapi.h93 #define netifapi_netif_remove(n) netifapi_netif_common(n, netif_remove, NULL)
94 #define netifapi_netif_set_up(n) netifapi_netif_common(n, netif_set_up, NULL)
95 #define netifapi_netif_set_down(n) netifapi_netif_common(n, netif_set_down, NULL)
96 #define netifapi_netif_set_default(n) netifapi_netif_common(n, netif_set_default, NULL)
97 #define netifapi_dhcp_start(n) netifapi_netif_common(n, NULL, dhcp_start)
98 #define netifapi_dhcp_stop(n) netifapi_netif_common(n, dhcp_stop, NULL)
99 #define netifapi_autoip_start(n) netifapi_netif_common(n, NULL, autoip_start)
100 #define netifapi_autoip_stop(n) netifapi_netif_common(n, NULL, autoip_stop)
A Dtcp_impl.h86 (((tpcb)->unsent != NULL) && (((tpcb)->unsent->next != NULL) || \
196 LWIP_EVENT_ACCEPT, NULL, 0, err)
198 LWIP_EVENT_SENT, NULL, space, ERR_OK)
202 LWIP_EVENT_RECV, NULL, 0, ERR_OK)
204 LWIP_EVENT_CONNECTED, NULL, 0, (err))
206 LWIP_EVENT_POLL, NULL, 0, ERR_OK)
208 LWIP_EVENT_ERR, NULL, 0, (err))
339 tcp_tmp_pcb != NULL; \
361 (npcb)->next = NULL; \
382 tcp_tmp_pcb != NULL; \
[all …]
/lk-master/external/lib/fdt/
A Dfdt_ro.c95 return NULL; in fdt_get_string()
165 return NULL; in fdt_mem_rsv()
168 return NULL; in fdt_mem_rsv()
333 return NULL; in fdt_get_name()
365 return NULL; in fdt_get_property_by_offset_()
386 return NULL; in fdt_get_property_by_offset()
419 return NULL; in fdt_get_property_namelen_()
433 return NULL; in fdt_get_property_namelen()
437 NULL); in fdt_get_property_namelen()
458 return NULL; in fdt_getprop_namelen()
[all …]
/lk-master/lib/minip/
A Dudp.c52 if (cb == NULL) { in udp_listen()
60 if ((entry = malloc(sizeof(struct udp_listener))) == NULL) { in udp_listen()
79 if (handle == NULL) { in udp_open()
89 if (dst_mac == NULL) { in udp_open()
105 if (handle == NULL) { in udp_close()
122 if (handle == NULL || iov == NULL || iov_count == 0) { in udp_send_iovec()
126 if ((p = pktbuf_alloc()) == NULL) { in udp_send_iovec()
161 if (buf == NULL || len == 0) { in udp_send()
176 if ((udp = pktbuf_consume(p, sizeof(udp_hdr_t))) == NULL) { in udp_input()

Completed in 63 milliseconds

12345678910>>...15