/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | queue.h | 141 } while (0) 146 } while (0) 151 } while (0) 161 while (SLIST_NEXT(curelm, field) != (elm)) \ 166 } while (0) 170 } while (0) 204 } while (0) 210 } while (0) 216 } while (0) 222 } while (0) [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/loongson_1c/ |
H A D | cache.c | 70 while (1) in identify_cpu() 118 while (start < end) in invalidate_writeback_dcache_all() 132 while (start <end) in invalidate_writeback_dcache() 144 while (start < end) in invalidate_icache_all() 155 while (start <end) in invalidate_dcache_all() 168 while (start < end) in init_dcache() 195 while (start < end) in rt_hw_cache_init() 206 while(start < end) in rt_hw_cache_init() 213 while(start < end) in rt_hw_cache_init() 220 while(start < end) in rt_hw_cache_init()
|
/nrf52832-nimble/rt-thread/libcpu/mips/loongson_1b/ |
H A D | cache.c | 69 while (1) in identify_cpu() 117 while (start < end) in invalidate_writeback_dcache_all() 131 while (start <end) in invalidate_writeback_dcache() 143 while (start < end) in invalidate_icache_all() 154 while (start <end) in invalidate_dcache_all() 167 while (start < end) in init_dcache() 194 while (start < end) in rt_hw_cache_init() 205 while(start < end) in rt_hw_cache_init() 212 while(start < end) in rt_hw_cache_init() 219 while(start < end) in rt_hw_cache_init()
|
/nrf52832-nimble/rt-thread/libcpu/mips/x1000/ |
H A D | x1000_aic.h | 328 } while(0) 335 } while(0) 341 } while(0) 363 } while(0) 370 } while(0) 424 } while(0) 429 } while(0) 437 } while(0) 442 } while(0) 451 } while (0) [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | ip_addr.h | 104 #define IP_SET_TYPE_VAL(ipaddr, iptype) do { (ipaddr).type = (iptype); }while(0) 105 …TYPE(ipaddr, iptype) do { if((ipaddr) != NULL) { IP_SET_TYPE_VAL(*(ipaddr), iptype); }}while(0) 124 IP_SET_TYPE_VAL(*(ipaddr), IPADDR_TYPE_V4); } while(0) 127 IP_SET_TYPE_VAL(*(ipaddr), IPADDR_TYPE_V6); } while(0) 134 ip6_addr_clear_zone(ip_2_ip6(ipaddr)); }while(0) 139 ip4_addr_copy(*ip_2_ip4(&(dest)), *ip_2_ip4(&(src))); ip_clear_no4(&dest); }}while(0) 142 ip6_addr_copy(*ip_2_ip6(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V6); }while(0) 145 …ip6_addr_copy_from_packed(*ip_2_ip6(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V6); }while(… 148 …opy(*ip_2_ip4(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V4); ip_clear_no4(&dest); }while(0) 151 IP_SET_TYPE(ipaddr, IPADDR_TYPE_V4); ip_clear_no4(ipaddr); }}while(0) [all …]
|
/nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/ |
H A D | string.c | 44 } while (--n != 0); in strlcpy() 51 while (*s++) ; in strlcpy() 59 while (*s1 && *s1 == *s2) in strcmp() 74 while (count) { in strncmp() 87 while (*dest) in strcat() 89 while ((*dest++ = *src++) != '\0') in strcat() 100 while (*dest) in strncat() 102 while ((*dest++ = *src++)) { in strncat() 136 while (1) in strncasecmp() 180 while (isdigit(**s)) i = i*10 + *((*s)++) - '0'; in skip_atoi() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ |
H A D | infback.c | 88 while (sym < 144) state->lens[sym++] = 8; 89 while (sym < 256) state->lens[sym++] = 9; 90 while (sym < 280) state->lens[sym++] = 7; 91 while (sym < 288) state->lens[sym++] = 8; 99 while (sym < 32) state->lens[sym++] = 5; 127 } while (0) 138 } while (0) 145 } while (0) 159 } while (0) 169 } while (0) [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/common/ |
H A D | mips_cache.c | 60 while (1) in r4k_icache_flush_range() 77 while (1) in r4k_icache_lock_range() 93 while (1) in r4k_dcache_inv() 116 while (1) in r4k_dcache_wback_inv() 127 do { (void) (start); (void) (size); } while (0) 129 do { (void) (start); (void) (size); } while (0) 131 do { (void) (start); (void) (size); } while (0)
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/ |
H A D | ip_addr.h | 103 #define IP_SET_TYPE_VAL(ipaddr, iptype) do { (ipaddr).type = (iptype); }while(0) 104 …TYPE(ipaddr, iptype) do { if((ipaddr) != NULL) { IP_SET_TYPE_VAL(*(ipaddr), iptype); }}while(0) 121 IP_SET_TYPE_VAL(*(ipaddr), IPADDR_TYPE_V4); } while(0) 124 IP_SET_TYPE_VAL(*(ipaddr), IPADDR_TYPE_V6); } while(0) 131 ip4_addr_copy(*ip_2_ip4(&(dest)), *ip_2_ip4(&(src))); }}while(0) 134 ip6_addr_copy(*ip_2_ip6(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V6); }while(0) 137 ip4_addr_copy(*ip_2_ip4(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V4); }while(0) 140 IP_SET_TYPE(ipaddr, IPADDR_TYPE_V4); }}while(0) 147 ip4_addr_set(ip_2_ip4(dest), ip_2_ip4(src)); }}while(0) 152 ip6_addr_set_zero(ip_2_ip6(ipaddr)); IP_SET_TYPE(ipaddr, 0); }while(0) [all …]
|
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/include/asm/ |
H A D | ppc4xx.h | 78 #define mtcpr(reg, d) do { mtdcr(cprcfga,reg);mtdcr(cprcfgd,d); } while (0) 79 #define mfcpr(reg, d) do { mtdcr(cprcfga,reg);d = mfdcr(cprcfgd); } while (0) 81 #define mtebc(reg, d) do { mtdcr(ebccfga,reg);mtdcr(ebccfgd,d); } while (0) 82 #define mfebc(reg, d) do { mtdcr(ebccfga,reg);d = mfdcr(ebccfgd); } while (0) 84 #define mtsdram(reg, d) do { mtdcr(memcfga,reg);mtdcr(memcfgd,d); } while (0) 85 #define mfsdram(reg, d) do { mtdcr(memcfga,reg);d = mfdcr(memcfgd); } while (0) 87 #define mtsdr(reg, d) do { mtdcr(sdrcfga,reg);mtdcr(sdrcfgd,d); } while (0) 88 #define mfsdr(reg, d) do { mtdcr(sdrcfga,reg);d = mfdcr(sdrcfgd); } while (0)
|
/nrf52832-nimble/rt-thread/libcpu/xilinx/microblaze/ |
H A D | serial.c | 68 while (status & XUL_SR_RX_FIFO_VALID_DATA) in rt_hw_serial_isr() 158 while (size) in rt_serial_read() 198 while (size) in rt_serial_read() 201 while (!(serial->hw_base->STAT_REG & XUL_SR_RX_FIFO_VALID_DATA)); in rt_serial_read() 227 while (size) in rt_serial_write() 232 while (!(serial->hw_base->STAT_REG & XUL_SR_TX_FIFO_EMPTY)); in rt_serial_write() 237 while (!(serial->hw_base->STAT_REG & XUL_SR_TX_FIFO_EMPTY)); in rt_serial_write() 250 while (size) in rt_serial_write() 253 while (!(serial->hw_base->STAT_REG & XUL_SR_TX_FIFO_EMPTY)); in rt_serial_write()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/priv/ |
H A D | tcp_priv.h | 176 ret = ERR_ARG; } } while(0) 178 lwip_tcp_event((arg), NULL, LWIP_EVENT_ERR, NULL, 0, (err)); } } while(0) 187 } while (0) 194 } while (0) 203 } while (0) 212 } while (0) 219 } while (0) 226 } while (0) 233 } while (0) 357 } while(0) [all …]
|
/nrf52832-nimble/rt-thread/src/ |
H A D | kservice.c | 131 while (count--) in rt_memset() 167 while (count >= LBLOCKSIZE * 4) in rt_memset() 176 while (count >= LBLOCKSIZE) in rt_memset() 186 while (count--) in rt_memset() 218 while (count--) in rt_memcpy() 250 while (len >= BIGBLOCKSIZE) in rt_memcpy() 260 while (len >= LITTLEBLOCKSIZE) in rt_memcpy() 271 while (len--) in rt_memcpy() 302 while (n--) in rt_memmove() 307 while (n--) in rt_memmove() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/snmp/ |
H A D | asn1_enc.c | 155 while(ident_len > 0) in snmp_asn1_enc_oid_cnt() 162 while(sub_id > 0) in snmp_asn1_enc_oid_cnt() 187 while (p != NULL) in snmp_asn1_enc_type() 219 while (p != NULL) in snmp_asn1_enc_length() 259 while (i > 0) in snmp_asn1_enc_length() 314 while (p != NULL) in snmp_asn1_enc_u32t() 343 while (octets_needed > 1) in snmp_asn1_enc_u32t() 390 while (p != NULL) in snmp_asn1_enc_s32t() 399 while (octets_needed > 1) in snmp_asn1_enc_s32t() 444 while (p != NULL) in snmp_asn1_enc_oid() [all …]
|
H A D | asn1_dec.c | 58 while (p != NULL) in snmp_asn1_dec_type() 91 while (p != NULL) in snmp_asn1_dec_length() 115 while (zeros != 2) in snmp_asn1_dec_length() 118 while (i > 0) in snmp_asn1_dec_length() 141 /* stop while (i > 0) */ in snmp_asn1_dec_length() 180 while (i > 0) in snmp_asn1_dec_length() 246 while (p != NULL) in snmp_asn1_dec_u32t() 287 while (len > 1) in snmp_asn1_dec_u32t() 346 while (p != NULL) in snmp_asn1_dec_s32t() 369 while (len > 1) in snmp_asn1_dec_s32t() [all …]
|
/nrf52832-nimble/rt-thread/libcpu/unicore32/sep6200/ |
H A D | interrupt.c | 39 }while(0) 44 }while(0) 52 }while(0) 60 }while(0) 68 }while(0) 76 }while(0) 84 }while(0) 92 }while(0)
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/netif/ppp/ |
H A D | eui64.h | 67 } while (0) 70 } while (eui64_iszero(x)) 73 } while (eui64_equals(x, y)) 78 } while (0) 83 } while (0) 88 } while (0)
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/ |
H A D | tcp_priv.h | 179 ret = ERR_ARG; } } while(0) 183 lwip_tcp_event((arg), NULL, LWIP_EVENT_ERR, NULL, 0, (err)); } } while(0) 192 } while (0) 199 } while (0) 208 } while (0) 217 } while (0) 224 } while (0) 231 } while (0) 238 } while (0) 372 } while(0) [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/kernel/linux/ |
H A D | wait.h | 13 #define init_waitqueue_head(wait) do{} while (0) 14 #define add_wait_queue(wait,new_wait) do{} while (0) 15 #define remove_wait_queue(wait,old_wait) do{} while (0) 16 #define DECLARE_WAITQUEUE(wait,current) do{} while (0)
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/ |
H A D | tcp_impl.h | 217 } while (0) 224 } while (0) 233 } while (0) 242 } while (0) 249 } while (0) 256 } while (0) 262 } while (0) 349 } while(0) 364 } while(0) 373 } while (0) [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/netif/ppp/ |
H A D | eui64.h | 71 } while (0) 74 } while (eui64_iszero(x)) 77 } while (eui64_equals(x, y)) 82 } while (0) 87 } while (0) 92 } while (0)
|
/nrf52832-nimble/rt-thread/libcpu/arm/s3c24x0/ |
H A D | serial.c | 112 while (size) in rt_serial_read() 140 while ((rt_uint32_t)ptr - (rt_uint32_t)buffer < size) in rt_serial_read() 142 while (uart->uart_device->ustat & USTAT_RCV_READY) in rt_serial_read() 174 while (uart->int_tx->save_index != uart->int_tx->write_index) in rt_serial_write() 196 while (size) in rt_serial_write() 204 while (!(uart->uart_device->ustat & USTAT_TXB_EMPTY)); in rt_serial_write() 208 while (!(uart->uart_device->ustat & USTAT_TXB_EMPTY)); in rt_serial_write() 272 while (uart->uart_device->ustat & USTAT_RCV_READY) in rt_hw_serial_isr()
|
/nrf52832-nimble/rt-thread/libcpu/arm/sep4020/ |
H A D | serial.c | 104 while (size) in rt_serial_read() 132 while ((rt_uint32_t)ptr - (rt_uint32_t)buffer < size) in rt_serial_read() 134 while (uart->uart_device->lsr & USTAT_RCV_READY) in rt_serial_read() 160 while (uart->int_tx->save_index != uart->int_tx->write_index) in rt_serial_write() 182 while (size) in rt_serial_write() 190 while (!(uart->uart_device->lsr & USTAT_TXB_EMPTY)); in rt_serial_write() 194 while (!(uart->uart_device->lsr & USTAT_TXB_EMPTY)); in rt_serial_write() 258 while (uart->uart_device->lsr & USTAT_RCV_READY) in rt_hw_serial_isr()
|
/nrf52832-nimble/rt-thread/examples/test/ |
H A D | net_test.c | 25 while(1) in udpecho_entry() 98 while (1) in udpecho_socket_entry() 133 while(1) in tcpecho_entry() 149 while((buf = netconn_recv(newconn)) != NULL) in tcpecho_entry() 151 while((err = netconn_recv(newconn, &buf)) == ERR_OK) in tcpecho_entry() 160 while(netbuf_next(buf) >= 0); in tcpecho_entry() 217 while(1) in tcpecho_socket_entry() 230 while (1) in tcpecho_socket_entry()
|
/nrf52832-nimble/rt-thread/libcpu/blackfin/bf53x/ |
H A D | serial.c | 111 while (size) in rt_serial_read() 139 while ((rt_uint32_t)ptr - (rt_uint32_t)buffer < size) in rt_serial_read() 141 //while (uart->uart_device->ustat & USTAT_RCV_READY) in rt_serial_read() 167 while (uart->int_tx->save_index != uart->int_tx->write_index) in rt_serial_write() 189 while (size) in rt_serial_write() 197 while (!(uart->uart_device->lsr & 0x20)); in rt_serial_write() 201 while (!(uart->uart_device->lsr & 0x20)); in rt_serial_write() 265 //while (uart->uart_device->ustat & USTAT_RCV_READY) in rt_hw_serial_isr()
|