| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | netifapi.h | 87 #define netifapi_netif_remove(n) netifapi_netif_common(n, netif_remove, NULL) argument 91 #define netifapi_netif_set_up(n) netifapi_netif_common(n, netif_set_up, NULL) argument 95 #define netifapi_netif_set_down(n) netifapi_netif_common(n, netif_set_down, NULL) argument 99 #define netifapi_netif_set_default(n) netifapi_netif_common(n, netif_set_default, NULL) argument 117 #define netifapi_dhcp_start(n) netifapi_netif_common(n, NULL, dhcp_start) argument 122 #define netifapi_dhcp_stop(n) netifapi_netif_common(n, dhcp_stop, NULL) argument 126 #define netifapi_dhcp_inform(n) netifapi_netif_common(n, dhcp_inform, NULL) argument 130 #define netifapi_dhcp_renew(n) netifapi_netif_common(n, NULL, dhcp_renew) argument 135 #define netifapi_dhcp_release(n) netifapi_netif_common(n, NULL, dhcp_release) argument 149 #define netifapi_autoip_start(n) netifapi_netif_common(n, NULL, autoip_start) argument [all …]
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | netifapi.h | 96 #define netifapi_netif_remove(n) netifapi_netif_common(n, netif_remove, NULL) argument 98 #define netifapi_netif_set_up(n) netifapi_netif_common(n, netif_set_up, NULL) argument 100 #define netifapi_netif_set_down(n) netifapi_netif_common(n, netif_set_down, NULL) argument 102 #define netifapi_netif_set_default(n) netifapi_netif_common(n, netif_set_default, NULL) argument 114 #define netifapi_dhcp_start(n) netifapi_netif_common(n, NULL, dhcp_start) argument 116 #define netifapi_dhcp_stop(n) netifapi_netif_common(n, dhcp_stop, NULL) argument 118 #define netifapi_dhcp_inform(n) netifapi_netif_common(n, dhcp_inform, NULL) argument 120 #define netifapi_dhcp_renew(n) netifapi_netif_common(n, NULL, dhcp_renew) argument 122 #define netifapi_dhcp_release(n) netifapi_netif_common(n, NULL, dhcp_release) argument 130 #define netifapi_autoip_start(n) netifapi_netif_common(n, NULL, autoip_start) argument [all …]
|
| /components/drivers/usb/cherryusb/common/ |
| A D | usb_list.h | 44 l->next = n; in usb_slist_add_head() 56 tmp->next = n; in usb_slist_add_tail() 57 n->next = NULL; in usb_slist_add_tail() 258 l->next = n; in usb_dlist_insert_after() 259 n->prev = l; in usb_dlist_insert_after() 283 n->next->prev = n->prev; in usb_dlist_remove() 284 n->prev->next = n->next; in usb_dlist_remove() 286 n->next = n->prev = n; in usb_dlist_remove() 402 pos = n, n = pos->next) 406 pos = n, n = pos->prev) [all …]
|
| A D | usb_memcpy.h | 32 --n; in usb_memcpy() 38 while (n >= 4 * sizeof(uint32_t)) { in usb_memcpy() 43 n -= 4 * sizeof(uint32_t); in usb_memcpy() 46 while (n >= sizeof(uint32_t)) { in usb_memcpy() 48 n -= sizeof(uint32_t); in usb_memcpy() 54 while (n--) { in usb_memcpy() 60 --n; in usb_memcpy() 74 n -= 4 * sizeof(uint32_t); in usb_memcpy() 77 while (n >= sizeof(uint32_t)) { in usb_memcpy() 80 n -= sizeof(uint32_t); in usb_memcpy() [all …]
|
| /components/drivers/hwcrypto/ |
| A D | hw_bignum.c | 64 if(n == RT_NULL) in rt_hwcrypto_bignum_init() 67 n->sign = 1; in rt_hwcrypto_bignum_init() 68 n->total = 0; in rt_hwcrypto_bignum_init() 69 n->p = RT_NULL; in rt_hwcrypto_bignum_init() 79 if (n) in rt_hwcrypto_bignum_free() 81 rt_memset(n->p, 0xFF, n->total); in rt_hwcrypto_bignum_free() 100 if (n == RT_NULL || n->p == RT_NULL) in rt_hwcrypto_bignum_get_len() 132 cp_len = (int)n->total > len ? len : (int)n->total; in rt_hwcrypto_bignum_export_bin() 171 n->sign = 1; in rt_hwcrypto_bignum_import_bin() 172 rt_memset(n->p, 0, n->total); in rt_hwcrypto_bignum_import_bin() [all …]
|
| A D | Kconfig | 3 default n 20 default n 24 default n 50 default n 64 default n 78 default n 82 default n 86 default n 90 default n 112 default n [all …]
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | def.c | 64 lwip_htons(u16_t n) in lwip_htons() argument 66 return ((n & 0xff) << 8) | ((n & 0xff00) >> 8); in lwip_htons() 76 lwip_ntohs(u16_t n) in lwip_ntohs() argument 78 return lwip_htons(n); in lwip_ntohs() 88 lwip_htonl(u32_t n) in lwip_htonl() argument 90 return ((n & 0xff) << 24) | in lwip_htonl() 91 ((n & 0xff00) << 8) | in lwip_htonl() 92 ((n & 0xff0000UL) >> 8) | in lwip_htonl() 93 ((n & 0xff000000UL) >> 24); in lwip_htonl() 103 lwip_ntohl(u32_t n) in lwip_ntohl() argument [all …]
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | netifapi.h | 93 #define netifapi_netif_remove(n) netifapi_netif_common(n, netif_remove, NULL) argument 94 #define netifapi_netif_set_up(n) netifapi_netif_common(n, netif_set_up, NULL) argument 95 #define netifapi_netif_set_down(n) netifapi_netif_common(n, netif_set_down, NULL) argument 96 #define netifapi_netif_set_default(n) netifapi_netif_common(n, netif_set_default, NULL) argument 97 #define netifapi_dhcp_start(n) netifapi_netif_common(n, NULL, dhcp_start) argument 98 #define netifapi_dhcp_stop(n) netifapi_netif_common(n, dhcp_stop, NULL) argument 99 #define netifapi_autoip_start(n) netifapi_netif_common(n, NULL, autoip_start) argument 100 #define netifapi_autoip_stop(n) netifapi_netif_common(n, NULL, autoip_stop) argument
|
| /components/drivers/include/drivers/ |
| A D | misc.h | 24 #define RT_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument 46 #define RT_BIT(n) (1UL << (n)) argument 47 #define RT_BIT_ULL(n) (1ULL << (n)) argument 69 #define rt_upper_32_bits(n) ((rt_uint32_t)(((n) >> 16) >> 16)) argument 70 #define rt_lower_32_bits(n) ((rt_uint32_t)((n) & 0xffffffff)) argument 71 #define rt_upper_16_bits(n) ((rt_uint16_t)((n) >> 16)) argument 72 #define rt_lower_16_bits(n) ((rt_uint16_t)((n) & 0xffff)) argument 106 #define rt_do_div(n, base) \ argument 109 _rem = ((rt_uint64_t)(n)) % _base; \ 110 (n) = ((rt_uint64_t)(n)) / _base; \ [all …]
|
| /components/net/lwip/ |
| A D | Kconfig | 6 default n 11 default n 70 default n 116 default n 120 default n 182 default n 186 default n 203 default n 239 default n 248 default n [all …]
|
| /components/drivers/sdio/sdhci/include/ |
| A D | sdhci_misc.h | 28 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument 42 #define lower_32_bits(n) ((rt_uint32_t)((n) & 0xffffffff)) argument 43 #define upper_32_bits(n) ((rt_uint32_t)(((n) >> 16) >> 16)) argument 45 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument 47 #define do_div(n, base) ({ \ argument 50 __rem = ((uint64_t)(n)) % __base; \ 51 (n) = ((uint64_t)(n)) / __base; \
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | def.c | 76 lwip_htons(u16_t n) in lwip_htons() argument 78 return PP_HTONS(n); in lwip_htons() 90 lwip_htonl(u32_t n) in lwip_htonl() argument 92 return PP_HTONL(n); in lwip_htonl() 105 lwip_strnstr(const char *buffer, const char *token, size_t n) in lwip_strnstr() argument 112 for (p = buffer; *p && (p + tokenlen <= buffer + n); p++) { in lwip_strnstr() 203 int n = (number >= 0) ? number : -number; in lwip_itoa() local 220 while ((n != 0) && (tmp > res)) { in lwip_itoa() 221 char val = (char)('0' + (n % 10)); in lwip_itoa() 224 n = n / 10; in lwip_itoa() [all …]
|
| /components/libc/compilers/common/include/sys/ |
| A D | select.h | 49 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1L << ((n) % NFDBITS))) argument 50 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1L << ((n) % NFDBITS))) argument 51 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1L << ((n) % NFDBITS))) argument
|
| /components/libc/posix/ |
| A D | Kconfig | 7 default n 13 default n 18 default n 23 default n 29 default n 35 default n 84 default n 89 default n 95 default n 100 default n [all …]
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | utils.c | 122 int n; in ppp_slprintf() local 127 return n; in ppp_slprintf() 290 n = prec; in ppp_vslprintf() 298 --n; in ppp_vslprintf() 344 for (n = prec; n > 0; --n) { in ppp_vslprintf() 390 for (; n > 0; --n) in ppp_vslprintf() 409 int n; in ppp_vslp_printer() local 524 int l, n; 620 if (n > 0 && buf[n-1] == '\n') in ppp_log_write() 621 --n; in ppp_log_write() [all …]
|
| A D | magic.c | 165 u32_t n; in magic_random_bytes() local 175 n = LWIP_MIN(buf_len, MD5_HASH_SIZE); in magic_random_bytes() 176 MEMCPY(buf, tmp, n); in magic_random_bytes() 177 buf += n; in magic_random_bytes() 178 buf_len -= n; in magic_random_bytes() 275 u32_t new_rand, n; in magic_random_bytes() local 279 n = LWIP_MIN(buf_len, sizeof(new_rand)); in magic_random_bytes() 280 MEMCPY(buf, &new_rand, n); in magic_random_bytes() 281 buf += n; in magic_random_bytes() 282 buf_len -= n; in magic_random_bytes()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | utils.c | 124 int n; in ppp_slprintf() local 129 return n; in ppp_slprintf() 292 n = prec; in ppp_vslprintf() 300 --n; in ppp_vslprintf() 346 for (n = prec; n > 0; --n) { in ppp_vslprintf() 392 for (; n > 0; --n) in ppp_vslprintf() 411 int n; in ppp_vslp_printer() local 526 int l, n; 622 if (n > 0 && buf[n-1] == '\n') in ppp_log_write() 623 --n; in ppp_log_write() [all …]
|
| A D | magic.c | 165 u32_t n; in magic_random_bytes() local 175 n = LWIP_MIN(buf_len, MD5_HASH_SIZE); in magic_random_bytes() 176 MEMCPY(buf, tmp, n); in magic_random_bytes() 177 buf += n; in magic_random_bytes() 178 buf_len -= n; in magic_random_bytes() 275 u32_t new_rand, n; in magic_random_bytes() local 279 n = LWIP_MIN(buf_len, sizeof(new_rand)); in magic_random_bytes() 280 MEMCPY(buf, &new_rand, n); in magic_random_bytes() 281 buf += n; in magic_random_bytes() 282 buf_len -= n; in magic_random_bytes()
|
| /components/net/lwip/lwip-1.4.1/src/core/snmp/ |
| A D | mib_structs.c | 246 n = rn->head; in snmp_mib_node_insert() 253 *insn = n; in snmp_mib_node_insert() 282 n = n->next; in snmp_mib_node_insert() 344 n = rn->head; in snmp_mib_node_find() 345 while ((n != NULL) && (n->objid != objid)) in snmp_mib_node_find() 347 n = n->next; in snmp_mib_node_find() 349 if (n == NULL) in snmp_mib_node_find() 382 *fn = n; in snmp_mib_node_find() 406 if (n == rn->head) in snmp_mib_node_delete() 427 n->prev->next = n->next; in snmp_mib_node_delete() [all …]
|
| /components/drivers/misc/ |
| A D | Kconfig | 3 default n 7 default n 11 default n 15 default n 19 default n 23 default n 27 default n 31 default n
|
| /components/libc/compilers/common/ |
| A D | cstring.c | 23 void bzero(void* s, size_t n) in bzero() argument 25 rt_memset(s, 0, n); in bzero() 29 void bcopy(const void* src, void* dest, size_t n) in bcopy() argument 31 rt_memcpy(dest, src, n); in bcopy() 34 int bcmp(const void* s1, const void* s2, size_t n) in bcmp() argument 36 return rt_memcmp(s1, s2, n); in bcmp() 39 void explicit_bzero(void* s, size_t n) in explicit_bzero() argument 42 while (n) in explicit_bzero() 45 n--; in explicit_bzero() 143 int strncasecmp(const char* s1, const char* s2, size_t n) in strncasecmp() argument [all …]
|
| /components/legacy/usb/ |
| A D | Kconfig | 4 default n 8 default n 14 default n 22 default n 26 default n 29 default n 34 default n 52 default n 87 default n 93 default n [all …]
|
| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | ffunicode.c | 15282 UINT i = 0, n, li, hi; in ff_uni2oem() local 15294 for (n = 16; n; n--) { in ff_uni2oem() 15303 if (n != 0) c = p[i * 2 + 1]; in ff_uni2oem() 15318 UINT i = 0, n, li, hi; in ff_oem2uni() local 15329 for (n = 16; n; n--) { in ff_oem2uni() 15338 if (n != 0) c = p[i * 2 + 1]; in ff_oem2uni() 15365 UINT i, n, li, hi; in ff_uni2oem() local 15391 for (n = 16; n; n--) { /* Find OEM code */ in ff_uni2oem() 15417 UINT i, n, li, hi; in ff_oem2uni() local 15440 for (n = 16; n; n--) { in ff_oem2uni() [all …]
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | ffunicode.c | 15282 UINT i = 0, n, li, hi; in ff_uni2oem() local 15294 for (n = 16; n; n--) { in ff_uni2oem() 15303 if (n != 0) c = p[i * 2 + 1]; in ff_uni2oem() 15318 UINT i = 0, n, li, hi; in ff_oem2uni() local 15329 for (n = 16; n; n--) { in ff_oem2uni() 15338 if (n != 0) c = p[i * 2 + 1]; in ff_oem2uni() 15365 UINT i, n, li, hi; in ff_uni2oem() local 15391 for (n = 16; n; n--) { /* Find OEM code */ in ff_uni2oem() 15417 UINT i, n, li, hi; in ff_oem2uni() local 15440 for (n = 16; n; n--) { in ff_oem2uni() [all …]
|
| /components/drivers/usb/cherryusb/ |
| A D | Kconfig | 4 default n 10 default n 86 default n 91 default n 96 default n 101 default n 106 default n 111 default n 116 default n 121 default n [all …]
|