Home
last modified time | relevance | path

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

12345678910>>...28

/lib/
A Duuid.c45 if (uuid == NULL) in uuid_str_valid()
99 NULL, "Device Path",
103 NULL, "Device Path",
135 NULL, "Block IO",
139 NULL, "Disk IO",
159 NULL, "HII String",
175 NULL, "Load File",
179 NULL, "Load File2",
199 NULL, "TCG2",
208 NULL, "HTTP",
[all …]
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_cipher.null.data1 NULL Encrypt and decrypt 0 bytes
5 NULL Encrypt and decrypt 1 bytes
9 NULL Encrypt and decrypt 2 bytes
13 NULL Encrypt and decrypt 7 bytes
17 NULL Encrypt and decrypt 8 bytes
21 NULL Encrypt and decrypt 9 bytes
25 NULL Encrypt and decrypt 15 bytes
29 NULL Encrypt and decrypt 16 bytes
33 NULL Encrypt and decrypt 31 bytes
37 NULL Encrypt and decrypt 32 bytes
[all …]
A Dtest_suite_rsa.function224 TEST_ASSERT(mbedtls_rsa_import(&ctx, &N, NULL, NULL, NULL, &E) == 0);
922 NULL, NULL, NULL, NULL) == 0);
927 NULL, NULL, NULL) == 0);
935 NULL, NULL, NULL,
940 NULL, NULL, NULL, NULL,
965 if (buf_orig == NULL || buf_enc == NULL || buf_dec == NULL) {
1077 TEST_ASSERT(mbedtls_rsa_export(&ctx, &Ne, NULL, NULL, NULL, NULL) == 0);
1078 TEST_ASSERT(mbedtls_rsa_export(&ctx, NULL, NULL, NULL, NULL, &Ee) == 0);
1095 TEST_ASSERT(mbedtls_rsa_export(&ctx, NULL, NULL, NULL,
1311 NULL, 0, NULL, 0, NULL, 0, NULL, 0) == 0);
[all …]
A Dtest_suite_memory_buffer_alloc.function15 if (p == NULL) {
41 unsigned char *ptr_a = NULL, *ptr_b = NULL, *ptr_c = NULL, *ptr_d = NULL,
42 *ptr_e = NULL, *ptr_f = NULL;
89 ptr_a = NULL;
97 ptr_b = NULL;
105 ptr_c = NULL;
113 ptr_d = NULL;
141 ptr_a = NULL;
190 unsigned char *ptr_a = NULL, *ptr_b = NULL, *ptr_c = NULL;
216 ptr_a = NULL;
[all …]
/lib/lwip/lwip/src/netif/ppp/
A Decp.c77 { NULL }
109 NULL, /* ecp_open, */
123 NULL,
126 NULL,
127 NULL
145 NULL, /* ecp_up, */
146 NULL, /* ecp_down, */
147 NULL,
148 NULL,
149 NULL,
[all …]
A Dauth.c407 { NULL }
762 set_allowed_addrs(unit, NULL, NULL); in link_established()
786 set_allowed_addrs(unit, NULL, NULL); in link_established()
1525 NULL), 0, NULL)));
1529 (explicit_remote? remote_name: NULL), 0, NULL))) ||
1545 NULL))
1572 struct wordlist *addrs = NULL, *opts = NULL;
1708 addrs = NULL;
1761 secret, NULL, NULL, filename, 0);
1797 NULL, &addrs, NULL, filename, 0);
[all …]
/lib/libavb/
A Davb_slot_verify.c231 NULL); in initialize_persistent_digest()
238 NULL); in initialize_persistent_digest()
256 NULL); in initialize_persistent_digest()
308 if (found == NULL) { in load_and_verify_hash_partition()
430 NULL); in load_and_verify_hash_partition()
454 image_buf = NULL; in load_and_verify_hash_partition()
524 image_buf = NULL; in load_requested_partitions()
669 NULL); in load_and_verify_vbmeta()
674 NULL); in load_and_verify_vbmeta()
865 NULL); in load_and_verify_vbmeta()
[all …]
/lib/lwip/lwip/src/api/
A Dnetbuf.c68 if (buf != NULL) { in netbuf_new()
83 if (buf != NULL) { in netbuf_delete()
84 if (buf->p != NULL) { in netbuf_delete()
104 LWIP_ERROR("netbuf_alloc: invalid buf", (buf != NULL), return NULL;); in netbuf_alloc()
107 if (buf->p != NULL) { in netbuf_alloc()
111 if (buf->p == NULL) { in netbuf_alloc()
112 return NULL; in netbuf_alloc()
130 if (buf->p != NULL) { in netbuf_free()
154 if (buf->p != NULL) { in netbuf_ref()
158 if (buf->p == NULL) { in netbuf_ref()
[all …]
/lib/mbedtls/external/mbedtls/library/
A Dcipher_wrap.c282 NULL,
285 NULL,
518 NULL,
520 NULL,
523 NULL,
526 NULL,
529 NULL,
535 NULL,
581 NULL,
583 NULL,
[all …]
A Drsa.c132 (ret = mbedtls_rsa_import(rsa, NULL, NULL, NULL, in mbedtls_rsa_parse_key()
139 (ret = mbedtls_rsa_import(rsa, NULL, NULL, NULL, in mbedtls_rsa_parse_key()
321 if ((ret = mbedtls_rsa_export(rsa, NULL, NULL, &T, NULL, NULL)) != 0 || in mbedtls_rsa_write_key()
328 if ((ret = mbedtls_rsa_export(rsa, NULL, &T, NULL, NULL, NULL)) != 0 || in mbedtls_rsa_write_key()
335 if ((ret = mbedtls_rsa_export(rsa, NULL, NULL, NULL, &T, NULL)) != 0 || in mbedtls_rsa_write_key()
342 if ((ret = mbedtls_rsa_export(rsa, NULL, NULL, NULL, NULL, &T)) != 0 || in mbedtls_rsa_write_key()
349 if ((ret = mbedtls_rsa_export(rsa, &T, NULL, NULL, NULL, NULL)) != 0 || in mbedtls_rsa_write_key()
387 if ((ret = mbedtls_rsa_export(rsa, NULL, NULL, NULL, NULL, &T)) != 0 || in mbedtls_rsa_write_pubkey()
394 if ((ret = mbedtls_rsa_export(rsa, &T, NULL, NULL, NULL, NULL)) != 0 || in mbedtls_rsa_write_pubkey()
840 if (P != NULL || Q != NULL || D != NULL) { in mbedtls_rsa_export_raw()
[all …]
A Dmemory_buffer_alloc.c210 if (heap.buf == NULL || heap.first == NULL) { in buffer_alloc_calloc()
211 return NULL; in buffer_alloc_calloc()
217 return NULL; in buffer_alloc_calloc()
219 return NULL; in buffer_alloc_calloc()
237 if (cur == NULL) { in buffer_alloc_calloc()
238 return NULL; in buffer_alloc_calloc()
365 if (ptr == NULL || heap.buf == NULL || heap.first == NULL) { in buffer_alloc_free()
433 if (hdr->prev_free != NULL || hdr->next_free != NULL) { in buffer_alloc_free()
541 return NULL; in buffer_alloc_calloc_mutexed()
545 return NULL; in buffer_alloc_calloc_mutexed()
[all …]
A Drsa_alt_helpers.c75 if (P == NULL || Q == NULL || P->p != NULL || Q->p != NULL) { in mbedtls_rsa_deduce_primes()
234 if (DP != NULL) { in mbedtls_rsa_deduce_crt()
240 if (DQ != NULL) { in mbedtls_rsa_deduce_crt()
246 if (QP != NULL) { in mbedtls_rsa_deduce_crt()
281 if (f_rng != NULL && P != NULL && in mbedtls_rsa_validate_params()
287 if (f_rng != NULL && Q != NULL && in mbedtls_rsa_validate_params()
301 if (P != NULL && Q != NULL && N != NULL) { in mbedtls_rsa_validate_params()
314 if (N != NULL && D != NULL && E != NULL) { in mbedtls_rsa_validate_params()
328 if (P != NULL && Q != NULL && D != NULL && E != NULL) { in mbedtls_rsa_validate_params()
383 if (DP != NULL) { in mbedtls_rsa_validate_crt()
[all …]
/lib/lwip/lwip/src/apps/snmp/
A Dsnmp_mib2_system.c98 if (str != NULL) { in snmp_mib2_set_sysdescr()
120 if (ocstr != NULL) { in snmp_mib2_set_syscontact()
136 if (ocstr != NULL) { in snmp_mib2_set_syscontact_readonly()
162 if (ocstr != NULL) { in snmp_mib2_set_sysname()
178 if (ocstr != NULL) { in snmp_mib2_set_sysname_readonly()
181 sysname_wr = NULL; in snmp_mib2_set_sysname_readonly()
203 if (ocstr != NULL) { in snmp_mib2_set_syslocation()
219 if (ocstr != NULL) { in snmp_mib2_set_syslocation_readonly()
232 const u8_t *var = NULL; in system_get_value()
271 if (var_len == NULL) { in system_get_value()
[all …]
/lib/lwip/lwip/test/unit/tcp/
A Dtest_tcp_state.c60 EXPECT(pcb != NULL); in create_listening_pcb()
90 netif_list = NULL; in tcp_state_setup()
91 netif_default = NULL; in tcp_state_setup()
100 netif_list = NULL; in tcp_state_teardown()
354 EXPECT(p != NULL); in START_TEST()
355 if (p != NULL) { in START_TEST()
361 EXPECT(p != NULL); in START_TEST()
362 if (p != NULL) { in START_TEST()
387 EXPECT(p != NULL); in START_TEST()
409 EXPECT(p != NULL); in START_TEST()
[all …]
/lib/lwip/lwip/contrib/ports/freertos/
A Dsys_arch.c115 sys_arch_protect_mutex != NULL); in sys_init()
205 if(mutex->mut == NULL) { in sys_mutex_new()
243 mutex->mut = NULL; in sys_mutex_free()
251 LWIP_ASSERT("sem != NULL", sem != NULL); in sys_sem_new()
256 if(sem->sem == NULL) { in sys_sem_new()
317 sem->sem = NULL; in sys_sem_free()
327 if(mbox->mbx == NULL) { in sys_mbox_new()
405 *msg = NULL; in sys_arch_mbox_fetch()
431 *msg = NULL; in sys_arch_mbox_tryfetch()
507 if(ret == NULL) { in sys_arch_netconn_sem_alloc()
[all …]
/lib/lwip/lwip/src/netif/
A Dslipif.c234 return NULL; in slipif_rxbyte()
237 return NULL; in slipif_rxbyte()
262 if (priv->p == NULL) { in slipif_rxbyte()
271 return NULL; in slipif_rxbyte()
297 priv->p = NULL; in slipif_rxbyte()
301 return NULL; in slipif_rxbyte()
314 if (p != NULL) { in slipif_rxbyte_input()
397 priv->p = NULL; in slipif_init()
398 priv->q = NULL; in slipif_init()
469 q->next = NULL; in slipif_process_rxqueue()
[all …]
/lib/lwip/lwip/src/core/
A Dpbuf.c181 p->next = NULL; in pbuf_init_alloced_pbuf()
238 p = NULL; in pbuf_alloc()
239 last = NULL; in pbuf_alloc()
337 return NULL; in pbuf_alloc_reference()
372 return NULL; in pbuf_alloced_custom()
460 q->next = NULL; in pbuf_realloc()
796 p = NULL; in pbuf_free()
860 ((h != NULL) && (t != NULL)), return;); in pbuf_cat()
1128 return NULL; in pbuf_get_contiguous()
1146 *rest = NULL; in pbuf_split_64k()
[all …]
A Dtcp.c876 lpcb = NULL; in tcp_listen_with_backlog_and_err()
921 if (err != NULL) { in tcp_listen_with_backlog_and_err()
1211 prev = NULL; in tcp_slowtmr()
1213 if (pcb == NULL) { in tcp_slowtmr()
1442 prev = NULL; in tcp_slowtmr()
1629 if (seg != NULL) { in tcp_seg_free()
1674 return NULL; in tcp_seg_copy()
1694 if (p != NULL) { in tcp_recv_null()
1733 inactive = NULL; in tcp_kill_prio()
1764 inactive = NULL; in tcp_kill_state()
[all …]
A Dnetif.c254 NULL, NULL, NULL, in netif_add_noaddr()
302 return NULL; in netif_add()
306 LWIP_ERROR("netif_add: invalid netif", netif != NULL, return NULL); in netif_add()
316 if (gw == NULL) { in netif_add()
389 return NULL; in netif_add()
1148 if (r == NULL) { in netif_loop_output()
1720 return NULL; in netif_index_to_name()
1744 return NULL; in netif_get_by_index()
1763 return NULL; in netif_find()
1769 return NULL; in netif_find()
[all …]
A Dtcp_out.c174 return NULL; in tcp_create_segment()
197 return NULL; in tcp_create_segment()
267 if (p == NULL) { in tcp_pbuf_prealloc()
268 return NULL; in tcp_pbuf_prealloc()
345 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_write_checks()
348 pcb->unacked == NULL && pcb->unsent == NULL); in tcp_write_checks()
396 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write()
746 last_unsent != NULL && last_unsent->p != NULL); in tcp_write()
790 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_write()
832 struct tcp_seg *seg = NULL, *useg = NULL; in tcp_split_unsent_seg()
[all …]
/lib/lwip/lwip/contrib/ports/win32/
A Dsys_arch.c84 if (!CryptAcquireContext(&hcrypt, NULL, NULL, PROV_RSA_FULL, 0)) { in sys_win_rand_init()
248 if(new_sem != NULL) { in sys_sem_new()
267 sem->sem = NULL; in sys_sem_new()
284 sem->sem = NULL; in sys_sem_free()
338 new_mut = CreateMutex(NULL, FALSE, NULL); in sys_mutex_new()
351 mutex->mut = NULL; in sys_mutex_new()
368 mutex->mut = NULL; in sys_mutex_free()
561 mbox->sem = NULL; in sys_mbox_free()
650 if (msg != NULL) { in sys_arch_mbox_fetch()
664 *msg = NULL; in sys_arch_mbox_fetch()
[all …]
/lib/lwip/lwip/test/unit/arch/
A Dsys_arch.c77 LWIP_ASSERT("sem != NULL", sem != NULL); in sys_sem_new()
85 LWIP_ASSERT("sem != NULL", sem != NULL); in sys_sem_free()
92 LWIP_ASSERT("sem != NULL", sem != NULL); in sys_sem_set_invalid()
101 LWIP_ASSERT("sem != NULL", sem != NULL); in sys_arch_sem_wait()
142 LWIP_ASSERT("sem != NULL", sem != NULL); in sys_sem_signal()
212 LWIP_ASSERT("mbox != NULL", mbox != NULL); in sys_mbox_new()
235 mbox->sem = NULL; in sys_mbox_free()
237 mbox->q_mem = NULL; in sys_mbox_free()
245 mbox->sem = NULL; in sys_mbox_set_invalid()
246 mbox->q_mem = NULL; in sys_mbox_set_invalid()
[all …]
/lib/bzip2/
A Dbzlib.c227 if (s->arr1 == NULL || s->arr2 == NULL || s->ftab == NULL) { in BZ_API()
978 if (bzf == NULL || buf == NULL || len < 0) in BZ_API()
1020 nbytes_in, NULL, nbytes_out, NULL ); in BZ_API()
1171 if (bzf == NULL || buf == NULL || len < 0) in BZ_API()
1230 if (unused == NULL || nUnused == NULL) in BZ_API()
1256 if (dest == NULL || destLen == NULL || in BZ_API()
1307 if (destLen == NULL || source == NULL) in BZ_API()
1394 if (mode == NULL) return NULL; in bzopen_or_bzdopen()
1427 if (fp == NULL) return NULL; in bzopen_or_bzdopen()
1508 BZ2_bzWriteClose(&bzerr,b,0,NULL,NULL); in BZ_API()
[all …]
/lib/lwip/lwip/src/apps/lwiperf/
A Dlwiperf.c225 return NULL; in lwiperf_list_find()
232 if ((conn != NULL) && (conn->report_fn != NULL)) { in lwip_tcp_conn_report()
399 *new_conn = NULL; in lwiperf_tx_start_impl()
472 if (p == NULL) { in lwiperf_tcp_recv()
601 if ((err != ERR_OK) || (newpcb == NULL) || (arg == NULL)) { in lwiperf_tcp_accept()
683 NULL, &state); in lwiperf_start_tcp_server()
687 return NULL; in lwiperf_start_tcp_server()
707 if (s == NULL) { in lwiperf_start_tcp_server_impl()
733 pcb = NULL; in lwiperf_start_tcp_server_impl()
787 return NULL; in lwiperf_start_tcp_client()
[all …]
/lib/lwip/lwip/src/apps/http/
A Dhttp_client.c172 req = NULL; in httpc_free_state()
174 if (tpcb != NULL) { in httpc_free_state()
194 if (req != NULL) { in httpc_close()
285 if (p == NULL) { in httpc_tcp_recv()
358 if (req != NULL) { in httpc_tcp_err()
360 req->pcb = NULL; in httpc_tcp_err()
372 if (req != NULL) { in httpc_tcp_poll()
540 if(req == NULL) { in httpc_init_connection_common()
640 …LWIP_ERROR("invalid parameters", (server_addr != NULL) && (uri != NULL) && (recv_fn != NULL), retu… in httpc_get_file()
685 …LWIP_ERROR("invalid parameters", (server_name != NULL) && (uri != NULL) && (recv_fn != NULL), retu… in httpc_get_file_dns()
[all …]

Completed in 100 milliseconds

12345678910>>...28