/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | queue.h | 139 #define SLIST_INIT(head) do { \ 143 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ 148 #define SLIST_INSERT_HEAD(head, elm, field) do { \ 155 #define SLIST_REMOVE(head, elm, type, field) do { \ 168 #define SLIST_REMOVE_HEAD(head, field) do { \ 201 #define STAILQ_INIT(head) do { \ 206 #define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \ 212 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ 218 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ 232 #define STAILQ_REMOVE(head, elm, type, field) do { \ [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/inc/uffs/ |
H A D | uffs_flash.h | 53 #define UFFS_ECC_NONE 0 //!< do not use ECC 62 #define UFFS_LAYOUT_UFFS 0 //!< do layout by dev->attr information 63 #define UFFS_LAYOUT_FLASH 1 //!< flash driver do the layout 140 * Read a full nand page, UFFS do the layout. 144 … if ecc_opt is UFFS_ECC_HW_AUTO, flash driver do ecc correction before return data and flash dri… 145 …* if ecc_opt is UFFS_ECC_NONE or UFFS_ECC_SOFT, flash driver do not need to calculate data ecc a… 153 …* \note if data is NULL, do not return data; if spare is NULL, do not return spare; if both data a… 162 * Read a full nand page, driver do the layout. 166 … if ecc_opt is UFFS_ECC_HW_AUTO, flash driver do ecc correction before return data and flash dri… 167 …* if ecc_opt is UFFS_ECC_NONE or UFFS_ECC_SOFT, flash driver do not need calculate data ecc and … [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 #define IP_SET_TYPE(ipaddr, iptype) do { if((ipaddr) != NULL) { IP_SET_TYPE_VAL(*(ipaddr), ipty… 123 #define IP_ADDR4(ipaddr,a,b,c,d) do { IP4_ADDR(ip_2_ip4(ipaddr),a,b,c,d); \ 126 #define IP_ADDR6(ipaddr,i0,i1,i2,i3) do { IP6_ADDR(ip_2_ip6(ipaddr),i0,i1,i2,i3); \ 131 #define ip_clear_no4(ipaddr) do { ip_2_ip6(ipaddr)->addr[1] = \ 137 #define ip_addr_copy(dest, src) do{ IP_SET_TYPE_VAL(dest, IP_GET_TYPE(&src)); if(IP_IS_V6_VAL(… 141 #define ip_addr_copy_from_ip6(dest, src) do{ \ 144 #define ip_addr_copy_from_ip6_packed(dest, src) do{ \ 147 #define ip_addr_copy_from_ip4(dest, src) do{ \ 150 #define ip_addr_set_ip4_u32(ipaddr, val) do{if(ipaddr){ip4_addr_set_u32(ip_2_ip4(ipaddr), val); \ [all …]
|
H A D | arch.h | 81 #define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0) 92 #define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \ 98 /** Define this to 1 in arch/cc.h of your port if you do not want to 188 /* Do we need to define ssize_t? This is a compatibility hack: 304 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 313 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 322 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 335 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 344 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 353 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/x1000/ |
H A D | x1000_aic.h | 326 do { \ 332 do { \ 338 do { \ 349 do { \ 367 do { \ 421 do { \ 426 do { \ 434 do { \ 439 do { \ 445 do { \ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/tools/ |
H A D | log2smtest.rb | 119 tokens.each do |token| 456 lines.each do |line| 678 (start...lines.size).each do |idx| 705 return extract_one(lines) do |line| 711 return extract_one(lines) do |line| 717 return extract_one(lines) do |line| 723 return extract_one(lines) do |line| 729 return extract_one(lines) do |line| 735 return extract_one(lines) do |line| 747 loop do [all …]
|
/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 #define IP_SET_TYPE(ipaddr, iptype) do { if((ipaddr) != NULL) { IP_SET_TYPE_VAL(*(ipaddr), ipty… 120 #define IP_ADDR4(ipaddr,a,b,c,d) do { IP4_ADDR(ip_2_ip4(ipaddr),a,b,c,d); \ 123 #define IP_ADDR6(ipaddr,i0,i1,i2,i3) do { IP6_ADDR(ip_2_ip6(ipaddr),i0,i1,i2,i3); \ 129 #define ip_addr_copy(dest, src) do{ IP_SET_TYPE_VAL(dest, IP_GET_TYPE(&src)); if(IP_IS_V6_VAL(… 133 #define ip_addr_copy_from_ip6(dest, src) do{ \ 136 #define ip_addr_copy_from_ip4(dest, src) do{ \ 139 #define ip_addr_set_ip4_u32(ipaddr, val) do{if(ipaddr){ip4_addr_set_u32(ip_2_ip4(ipaddr), val); \ 145 #define ip_addr_set(dest, src) do{ IP_SET_TYPE(dest, IP_GET_TYPE(src)); if(IP_IS_V6(src)){ \ 151 #define ip_addr_set_zero(ipaddr) do{ \ [all …]
|
H A D | arch.h | 79 #define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0) 90 #define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \ 96 /** Define this to 1 in arch/cc.h of your port if you do not want to 240 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 249 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 258 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 271 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 280 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 289 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here. 301 * A port to GCC/clang is included in lwIP, if you use these compilers there is nothing to do here.
|
/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/components/net/lwip-2.0.2/src/include/lwip/priv/ |
H A D | tcp_priv.h | 3 * TCP internal implementations (do not use in application code) 173 #define TCP_EVENT_POLL(pcb,ret) do { if ((pcb)->state != SYN_RCVD) { … 177 #define TCP_EVENT_ERR(last_state,errf,arg,err) do { if (last_state != SYN_RCVD) { \ 183 do { \ 190 do { \ 197 do { \ 206 do { \ 215 do { \ 222 do { \ 229 do { \ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/ |
H A D | CODING_STANDARDS.md | 51 * Do not add whitespace at the end of a line. 56 code blocks, i.e., do: 101 * After a function declaration, the braces should be on a newline, i.e. do: 142 intend to comment, i.e., do: 210 * No spaces after function names when calling a function, i.e, do: 223 * Arguments to function calls should have spaces between the comma, i.e. do: 235 * The function type must be on a line by itself preceding the function, i.e. do: 255 * Do not use typedefs for structures. This makes it impossible for
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/ |
H A D | tcp_priv.h | 3 * TCP internal implementations (do not use in application code) 176 #define TCP_EVENT_POLL(pcb,ret) do { if ((pcb)->state != SYN_RCVD) { … 182 #define TCP_EVENT_ERR(last_state,errf,arg,err) do { if (last_state != SYN_RCVD) { \ 188 do { \ 195 do { \ 202 do { \ 211 do { \ 220 do { \ 227 do { \ 234 do { \ [all …]
|
/nrf52832-nimble/rt-thread/libcpu/unicore32/sep6200/ |
H A D | interrupt.c | 36 do { \ 41 do { \ 46 do { \ 54 do { \ 63 do{ \ 71 do{ \ 79 do{ \ 87 do{ \
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/scripts/ |
H A D | ar-lib | 82 # When interpreting the content of the @FILE, do NOT use func_file_conv, 94 do 124 do 162 do 197 do 215 do 228 do 244 do
|
H A D | ltmain.sh | 2 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in 107 # settings, do that before evaluating this file. 121 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 133 do 196 for _G_dir in $_G_PATH; do 199 for _G_prog_name in $_G_progs_list; do 200 for _exeext in '' .EXE; do 230 for _G_i in 1 2 3 4 5 6 7; do 243 do 279 do [all …]
|
H A D | depcomp | 93 # Do two passes, one to just change these to 183 do 233 ## dummy dependencies for each header file. Too bad gcc doesn't do 248 # This case exists only to let depend.m4 do its work. It works by 290 # This case exists only to let depend.m4 do its work. It works by 322 do 376 # that's sadly what pgcc will do too. 392 while test $i -gt 0; do 404 while test -d "$lockdir" && test $i -gt 0; do 425 # Do two passes, one to just change these to [all …]
|
H A D | compile | 2 # Wrapper for compilers which do not understand '-c -o'. 95 # Do a library search-path lookup for cl 103 do 137 do 193 for flag in $arg; do 243 Wrapper for compilers which do not understand '-c -o'. 267 do 317 while true; do
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/netif/ppp/ |
H A D | eui64.h | 63 #define eui64_magic(e) do { \ 68 #define eui64_magic_nz(x) do { \ 71 #define eui64_magic_ne(x, y) do { \ 75 #define eui64_get(ll, cp) do { \ 80 #define eui64_put(ll, cp) do { \ 85 #define eui64_set32(e, l) do { \
|
/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)
|
H A D | workqueue.h | 4 /* We don't do this yet */ 15 #define schedule_work(x) do { } while(0) 16 #define flush_scheduled_work() do { } while(0)
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/ |
H A D | tcp_impl.h | 213 do { \ 220 do { \ 227 do { \ 236 do { \ 245 do { \ 252 do { \ 259 do { \ 336 #define TCP_REG(pcbs, npcb) do {\ 350 #define TCP_RMV(pcbs, npcb) do { \ 369 do { \ [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/netif/ppp/ |
H A D | eui64.h | 67 #define eui64_magic(e) do { \ 72 #define eui64_magic_nz(x) do { \ 75 #define eui64_magic_ne(x, y) do { \ 79 #define eui64_get(ll, cp) do { \ 84 #define eui64_put(ll, cp) do { \ 89 #define eui64_set32(e, l) do { \
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/ |
H A D | pt-doc.txt | 26 protothread do not require a separate stack. In memory constrained 32 \note Because protothreads do not save the stack context across a 35 with utmost care - <b>if in doubt, do not use local variables inside a 101 C and do not require any machine-specific assembler code. 122 Because protothreads do not save the stack context across a blocking 125 care - if in doubt, do not use local variables inside a protothread!
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/ |
H A D | dfs_uffs.h | 24 * 0, Do not use ECC 46 #if RT_CONFIG_UFFS_ECC_MODE == UFFS_ECC_SOFT /* let uffs do soft ecc */ 49 #elif RT_CONFIG_UFFS_ECC_MODE == UFFS_ECC_HW_AUTO /* nand driver make ecc and do ecc correct */ 56 #error "uffs under rt-thread do not support this ECC mode"
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/tools/ |
H A D | format_code.rb | 5 ARGV.each do |file| 8 File.open(file).each_line do |line| 18 lines.each do |s|
|