/lib/liblwip/src/include/lwip/ |
D | tcp_impl.h | 195 #define TCP_EVENT_ACCEPT(pcb,err,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 197 #define TCP_EVENT_SENT(pcb,space,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 199 #define TCP_EVENT_RECV(pcb,p,err,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 201 #define TCP_EVENT_CLOSED(pcb,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 203 #define TCP_EVENT_CONNECTED(pcb,err,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 205 #define TCP_EVENT_POLL(pcb,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 212 #define TCP_EVENT_ACCEPT(pcb,err,ret) \ 215 (ret) = (pcb)->accept((pcb)->callback_arg,(pcb),(err)); \ 216 else (ret) = ERR_ARG; \ 219 #define TCP_EVENT_SENT(pcb,space,ret) \ [all …]
|
D | netdb.h | 101 int lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf, 111 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \ argument 112 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
|
D | sys.h | 315 #define SYS_ARCH_GET(var, ret) do { \ argument 318 ret = var; \
|
/tests/ |
D | writetest.c | 26 int ret; in write() local 30 ret = OSWrite(fd, inbuf, off, sizeof(inbuf)); in write() 31 if (ret < 0) { in write() 36 if (ret == 0) { in write() 62 int ret; in read() local 64 ret = OSRead(fd, outbuf, off, sizeof(outbuf)); in read() 65 if (ret < 0) { in read() 70 if (ret == 0) { in read()
|
/lib/libc/ |
D | printf.c | 214 int ret; in printf() local 218 ret = kvprintf(fmt, fileputc, (void *)stdout, ap); in printf() 221 return ret; in printf() 226 int ret; in fprintf() local 230 ret = kvprintf(fmt, fileputc, stream, ap); in fprintf() 233 return ret; in fprintf() 258 int ret; in sprintf() local 267 ret = kvprintf(fmt, strputc, &state, ap); in sprintf() 272 return ret; in sprintf() 277 int ret; in snprintf() local [all …]
|
D | crtn.S | 28 ret 32 ret
|
/lib/liblwip/src/api/ |
D | netdb.c | 162 lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf, in lwip_gethostbyname_r() argument 183 if ((name == NULL) || (ret == NULL) || (buf == NULL)) { in lwip_gethostbyname_r() 215 ret->h_name = hostname; in lwip_gethostbyname_r() 216 ret->h_aliases = &h->aliases; in lwip_gethostbyname_r() 217 ret->h_addrtype = AF_INET; in lwip_gethostbyname_r() 218 ret->h_length = sizeof(ip_addr_t); in lwip_gethostbyname_r() 219 ret->h_addr_list = (char**)&h->addr_list; in lwip_gethostbyname_r() 222 *result = ret; in lwip_gethostbyname_r()
|
D | tcpip.c | 164 err_t ret; in tcpip_input() local 169 ret = ethernet_input(p, inp); in tcpip_input() 173 ret = ip_input(p, inp); in tcpip_input() 176 return ret; in tcpip_input()
|
D | sockets.c | 2350 int ret = -1; local 2358 ret = netconn_is_nonblocking(sock->conn) ? O_NONBLOCK : 0; 2364 ret = 0; 2371 return ret;
|
/lib/liblwip/src/core/ipv4/ |
D | icmp.c | 220 err_t ret; in icmp_input() local 222 ret = ip_output_if(p, ip_current_dest_addr(), IP_HDRINCL, in icmp_input() 224 if (ret != ERR_OK) { in icmp_input() 225 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ip_output_if returned an error: %c.\n", ret)); in icmp_input()
|
/sys/kern/ |
D | printf.c | 212 int ret; in kprintf() local 216 ret = kvprintf(fmt, consoleputc, 0, ap); in kprintf() 219 return ret; in kprintf()
|
/lib/libc/amd64/ |
D | syscall.S | 11 ret
|
/sys/amd64/ |
D | switch.S | 34 ret
|
/lib/liblwip/src/netif/ppp/ |
D | auth.c | 874 u_char ret = 0; in check_passwd() 890 ret = UPAP_AUTHACK; /* XXX Assume all entries OK. */ in check_passwd() 892 if (ret == UPAP_AUTHNAK) { in check_passwd() 927 return ret; in check_passwd() 1101 int ret = 0, len; in get_secret() 1109 if (ret < 0) { in get_secret()
|
D | fsm.c | 597 int ret; in fsm_rconfnakrej() local 606 if (!proc || !((ret = proc(f, inp, len)))) { in fsm_rconfnakrej() 624 if (ret < 0) { in fsm_rconfnakrej()
|
D | lcp.c | 212 int n, ret; 216 ret = 1; 226 ret = 0; 232 return ret;
|
/lib/liblwip/src/core/ |
D | mem.c | 81 void *ret; in mem_malloc() local 117 ret = (u8_t*)element + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper)); in mem_malloc() 119 return ret; in mem_malloc()
|
D | tcp.c | 687 err_t ret; in tcp_connect() local 765 ret = tcp_enqueue_flags(pcb, TCP_SYN); in tcp_connect() 766 if (ret == ERR_OK) { in tcp_connect() 777 return ret; in tcp_connect()
|
/lib/liblwip/test/unit/tcp/ |
D | test_tcp.c | 622 u16_t ret; in test_tcp_tx_full_window_lost() local 623 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, 1, 40U); in test_tcp_tx_full_window_lost() 624 EXPECT(ret == 1); in test_tcp_tx_full_window_lost()
|
/lib/liblwip/ |
D | CHANGELOG | 1242 * tcp.h: BUG26879: set ret value in TCP_EVENT macros when function is not set
|