/hal_espressif-2.7.6/components/newlib/platform_include/ |
D | endian.h | 67 #define bswap16(x) __bswap16(x) argument 68 #define bswap32(x) __bswap32(x) argument 69 #define bswap64(x) __bswap64(x) argument 76 #define htobe16(x) bswap16((x)) argument 77 #define htobe32(x) bswap32((x)) argument 78 #define htobe64(x) bswap64((x)) argument 79 #define htole16(x) ((uint16_t)(x)) argument 80 #define htole32(x) ((uint32_t)(x)) argument 81 #define htole64(x) ((uint64_t)(x)) argument 83 #define be16toh(x) bswap16((x)) argument [all …]
|
/hal_espressif-2.7.6/components/wpa_supplicant/port/include/ |
D | endian.h | 78 #define bswap16(x) __bswap16(x) argument 79 #define bswap32(x) __bswap32(x) argument 80 #define bswap64(x) __bswap64(x) argument 87 #define htobe16(x) bswap16((x)) argument 88 #define htobe32(x) bswap32((x)) argument 89 #define htobe64(x) bswap64((x)) argument 90 #define htole16(x) ((uint16_t)(x)) argument 91 #define htole32(x) ((uint32_t)(x)) argument 92 #define htole64(x) ((uint64_t)(x)) argument 94 #define be16toh(x) bswap16((x)) argument [all …]
|
D | byteswap.h | 13 # define __bswap_16(x) \ argument 29 # define __bswap_32(x) \ argument 47 # define __bswap_constant_64(x) \ argument 57 # define __bswap_64(x) \ argument
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/ |
D | hcidefs.h | 497 #define HCI_LE_STATES_NON_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV_OFF] & HC… argument 502 #define HCI_LE_STATES_SCAN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATESSCAN_ADV_OFF] & HCI_SUPP_LE… argument 507 #define HCI_LE_STATES_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_CONN_ADV_OFF] & HCI_SUPP_L… argument 512 #define HCI_LE_STATES_HI_DUTY_DIR_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_HI_DUTY_DIR_ADV_OFF… argument 517 #define HCI_LE_STATES_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_PASS_SCAN_OFF] & HCI_SUPP… argument 522 #define HCI_LE_STATES_ACTIVE_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_ACTIVE_SCAN_OFF] & HCI_… argument 527 #define HCI_LE_STATES_INIT_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_INIT_OFF] & HCI_SUPP_LE_STATES… argument 532 #define HCI_LE_STATES_SLAVE_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SLAVE_OFF] & HCI_SUPP_LE_STAT… argument 537 #define HCI_LE_STATES_NON_CONN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV… argument 542 #define HCI_LE_STATES_SCAN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SCAN_ADV_PASS_SC… argument [all …]
|
D | avrc_defs.h | 406 #define AVRC_PF_SELECT_SUPPORTED(x) ((x)[AVRC_PF_SELECT_OFF] & AVRC_PF_SELECT_MASK) argument 411 #define AVRC_PF_UP_SUPPORTED(x) ((x)[AVRC_PF_UP_OFF] & AVRC_PF_UP_MASK) argument 416 #define AVRC_PF_DOWN_SUPPORTED(x) ((x)[AVRC_PF_DOWN_OFF] & AVRC_PF_DOWN_MASK) argument 421 #define AVRC_PF_LEFT_SUPPORTED(x) ((x)[AVRC_PF_LEFT_OFF] & AVRC_PF_LEFT_MASK) argument 426 #define AVRC_PF_RIGHT_SUPPORTED(x) ((x)[AVRC_PF_RIGHT_OFF] & AVRC_PF_RIGHT_MASK) argument 431 #define AVRC_PF_RIGHTUP_SUPPORTED(x) ((x)[AVRC_PF_RIGHTUP_OFF] & AVRC_PF_RIGHTUP_MASK) argument 436 #define AVRC_PF_RIGHTDOWN_SUPPORTED(x) ((x)[AVRC_PF_RIGHTDOWN_OFF] & AVRC_PF_RIGHTDOWN_MASK) argument 441 #define AVRC_PF_LEFTUP_SUPPORTED(x) ((x)[AVRC_PF_LEFTUP_OFF] & AVRC_PF_LEFTUP_MASK) argument 446 #define AVRC_PF_LEFTDOWN_SUPPORTED(x) ((x)[AVRC_PF_LEFTDOWN_OFF] & AVRC_PF_LEFTDOWN_MASK) argument 451 #define AVRC_PF_ROOT_MENU_SUPPORTED(x) ((x)[AVRC_PF_ROOT_MENU_OFF] & AVRC_PF_ROOT_MENU_MASK) argument [all …]
|
/hal_espressif-2.7.6/components/xtensa/include/xtensa/ |
D | coreasm.h | 1026 #define _GBL(x) .global x argument 1027 #define _TYP(x) .type x,@function argument 1028 #define _ALN(x) .align x argument 1029 #define _SIZ(x) .size x, . - x argument 1030 #define _MKEND(x) .purgem endfunc ; .macro endfunc ; _SIZ(x) ; .purgem endfunc ; .macro endfunc ; … argument 1031 #define _SYMT(x) _GBL(x); _MKEND(x); _TYP(x); _ALN(4); x: argument 1032 #define _SYM2(x) _GBL(x); _TYP(x); x: argument 1033 #define _SYM(x) _GBL(x); _MKEND(x); _ALN(4); x: argument 1049 # define DECLFUNC(x) _SYMT(x ## _nw) argument
|
D | hal.h | 1136 #define XTHAL_ENCODE_MEMORY_TYPE(x) \ argument 1179 #define XTHAL_MPU_ENTRY_GET_VSTARTADDR(x) ((x).as & 0xffffffe0) argument 1181 #define XTHAL_MPU_ENTRY_SET_VSTARTADDR(x, vaddr) (x).as = \ argument 1184 #define XTHAL_MPU_ENTRY_GET_VALID(x) (((x).as & 0x1)) argument 1186 #define XTHAL_MPU_ENTRY_SET_VALID(x, valid) (x).as = \ argument 1188 #define XTHAL_MPU_ENTRY_GET_ACCESS(x) ((((x).at) >> 8) & 0xf) argument 1190 #define XTHAL_MPU_ENTRY_SET_ACCESS(x, accessRights) ((x).at = \ argument 1193 #define XTHAL_MPU_ENTRY_GET_MEMORY_TYPE(x) ((((x).at) >> 12) & 0x1ff) argument 1195 #define XTHAL_MPU_ENTRY_SET_MEMORY_TYPE(x, memtype) ((x).at = \ argument 1390 #define _XTHAL_MEM_ANY_SHAREABLE(x) (((x) & XTHAL_MEM_SYSTEM_SHAREABLE) ? 1 : 0) argument [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/ |
D | aes.c | 80 #define f1(x) (x) argument 81 #define f2(x) ((x << 1) ^ (((x >> 7) & 1) * WPOLY)) argument 82 #define f4(x) ((x << 2) ^ (((x >> 6) & 1) * WPOLY) ^ (((x >> 6) & 2) * WPOLY)) argument 83 #define f8(x) ((x << 3) ^ (((x >> 5) & 1) * WPOLY) ^ (((x >> 5) & 2) * WPOLY) \ argument 85 #define d2(x) (((x) >> 1) ^ ((x) & 1 ? DPOLY : 0)) argument 87 #define f3(x) (f2(x) ^ x) argument 88 #define f9(x) (f8(x) ^ x) argument 89 #define fb(x) (f8(x) ^ f2(x) ^ x) argument 90 #define fd(x) (f8(x) ^ f4(x) ^ x) argument 91 #define fe(x) (f8(x) ^ f4(x) ^ f2(x)) argument [all …]
|
/hal_espressif-2.7.6/components/openssl/library/ |
D | ssl_x509.c | 24 int __X509_show_info(X509 *x) in __X509_show_info() 35 X509 *x; in __X509_new() local 75 void X509_free(X509 *x) in X509_free() 96 X509 *x; in d2i_X509() local 161 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x) in SSL_CTX_add_client_CA() 179 int SSL_add_client_CA(SSL *ssl, X509 *x) in SSL_add_client_CA() 197 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) in SSL_CTX_use_certificate() 216 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate() 231 long SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x) in SSL_CTX_add_extra_chain_cert() 253 X509 *x; in SSL_CTX_use_certificate_ASN1() local [all …]
|
/hal_espressif-2.7.6/components/lwip/port/esp32/include/arch/ |
D | sys_arch.h | 67 #define sys_mutex_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) argument 68 #define sys_mutex_set_invalid( x ) ( ( *x ) = NULL ) argument 71 #define sys_mbox_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) argument 90 #define sys_mbox_set_invalid( x ) *x = NULL argument 92 #define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) argument 93 #define sys_sem_set_invalid( x ) ( ( *x ) = NULL ) argument
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/ |
D | sha256-internal.c | 131 #define RORc(x, y) \ argument 134 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument 135 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument 136 #define S(x, n) RORc((x), (n)) argument 137 #define R(x, n) (((x)&0xFFFFFFFFUL)>>(n)) argument 138 #define Sigma0(x) (S(x, 2) ^ S(x, 13) ^ S(x, 22)) argument 139 #define Sigma1(x) (S(x, 6) ^ S(x, 11) ^ S(x, 25)) argument 140 #define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3)) argument 141 #define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10)) argument 143 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument
|
D | md5-internal.c | 201 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 202 #define F2(x, y, z) F1(z, x, y) argument 203 #define F3(x, y, z) (x ^ y ^ z) argument 204 #define F4(x, y, z) (y ^ (x | ~z)) argument 207 #define MD5STEP(f, w, x, y, z, data, s) \ argument
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_util.h | 29 #define POINTER_TO_UINT(x) ((uint32_t) (x)) argument 32 #define UINT_TO_POINTER(x) ((void *) (x)) argument 35 #define POINTER_TO_INT(x) ((int32_t) (x)) argument 38 #define INT_TO_POINTER(x) ((void *) (x)) argument 78 #define ROUND_UP(x, align) \ argument 84 #define ROUND_DOWN(x, align) ((unsigned long)(x) & ~((unsigned long)align - 1)) argument 89 #define WB_UP(x) ROUND_UP(x, sizeof(void *)) argument 93 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *)) argument
|
D | mesh_compiler.h | 25 #define __aligned(x) __attribute__((__aligned__(x))) argument 33 #define ARG_UNUSED(x) (void)(x) argument 37 #define popcount(x) __builtin_popcount(x) argument
|
/hal_espressif-2.7.6/examples/peripherals/spi_master/lcd/main/ |
D | pretty_effect.c | 22 static inline uint16_t get_bgnd_pixel(int x, int y) in get_bgnd_pixel() 31 static inline uint16_t get_bgnd_pixel(int x, int y) in get_bgnd_pixel() 54 for (int x=0; x<320; x++) xofs[x]=sin(frame*0.15+x*0.06)*4; in pretty_effect_calc_lines() local 56 for (int x=0; x<320; x++) xcomp[x]=sin(frame*0.11+x*0.12)*4; in pretty_effect_calc_lines() local 61 for (int x=0; x<320; x++) { in pretty_effect_calc_lines() local
|
/hal_espressif-2.7.6/components/spi_flash/sim/stubs/esp_common/ |
D | esp_err.h | 105 #define ESP_ERROR_CHECK(x) do { \ argument 110 #define ESP_ERROR_CHECK(x) do { \ argument 117 #define ESP_ERROR_CHECK(x) do { \ argument 132 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument 137 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument
|
/hal_espressif-2.7.6/components/mbedtls/port/sha/parallel_engine/ |
D | esp_sha512.c | 41 #define UL64(x) x##ui64 argument 43 #define UL64(x) x##ULL argument 273 #define SHR(x,n) (x >> n) in mbedtls_sha512_software_process() argument 274 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in mbedtls_sha512_software_process() argument 276 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_sha512_software_process() argument 277 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_sha512_software_process() argument 279 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_sha512_software_process() argument 280 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_sha512_software_process() argument 282 #define F0(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha512_software_process() argument 283 #define F1(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha512_software_process() argument [all …]
|
D | esp_sha256.c | 181 #define SHR(x,n) ((x & 0xFFFFFFFF) >> n) argument 182 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) argument 184 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) argument 185 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) argument 187 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) argument 188 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) argument 190 #define F0(x,y,z) ((x & y) | (z & (x | y))) argument 191 #define F1(x,y,z) (z ^ (x & (y ^ z))) argument 199 #define P(a,b,c,d,e,f,g,h,x,K) \ argument
|
D | esp_sha1.c | 199 #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) in mbedtls_sha1_software_process() argument 208 #define P(a,b,c,d,e,x) \ in mbedtls_sha1_software_process() argument 219 #define F(x,y,z) (z ^ (x & (y ^ z))) in mbedtls_sha1_software_process() argument 246 #define F(x,y,z) (x ^ y ^ z) in mbedtls_sha1_software_process() argument 273 #define F(x,y,z) ((x & y) | (z & (x | y))) in mbedtls_sha1_software_process() argument 300 #define F(x,y,z) (x ^ y ^ z) in mbedtls_sha1_software_process() argument
|
/hal_espressif-2.7.6/components/esp_common/include/ |
D | esp_err.h | 111 #define ESP_ERROR_CHECK(x) do { \ argument 116 #define ESP_ERROR_CHECK(x) do { \ argument 123 #define ESP_ERROR_CHECK(x) do { \ argument 138 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument 143 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument
|
D | esp_compiler.h | 26 #define likely(x) __builtin_expect(!!(x), 1) argument 27 #define unlikely(x) __builtin_expect(!!(x), 0) argument 30 #define likely(x) (x) argument 33 #define unlikely(x) (x) argument
|
/hal_espressif-2.7.6/components/nghttp/private_include/ |
D | config.h | 31 #define htons(x) NGHTTP_PLATFORM_HTONS(x) argument 32 #define ntohs(x) NGHTTP_PLATFORM_HTONS(x) argument 33 #define htonl(x) NGHTTP_PLATFORM_HTONL(x) argument 34 #define ntohl(x) NGHTTP_PLATFORM_HTONL(x) argument
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_codec_sbc_private.h | 46 #define ERROR(x) do { printf x; printf("\n"); } while (0) argument 48 #define ERROR(x) argument 52 #define TRACE(x) do { printf x; printf("\n"); } while (0) argument 54 #define TRACE(x) argument 106 #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) <= OI_INT16_MAX)) argument 107 #define VALID_INT32(x) (((x) >= OI_INT32_MIN) && ((x) <= OI_INT32_MAX)) argument
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/external/sbc/decoder/srce/ |
D | synthesis-dct8.c | 52 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument 86 #define FIX(x,bits) (((int)floor(0.5f+((x)*((float)(1<<bits)))))/((float)(1<<bits))) in float_dct2_8() argument 87 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8() argument 89 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument 213 #define BUTTERFLY(x,y) x += y; y = x - (y<<1); in dct2_8() argument 214 #define FIX_MULT_DCT(K, x) (MUL_32S_32S_HI(K,x)<<2) in dct2_8() argument
|
/hal_espressif-2.7.6/components/app_trace/sys_view/Config/ |
D | Global.h | 87 #define U64_C(x) x##UI64 argument 89 #define U64_C(x) x##ULL argument 97 #define U64_C(x) x##ULL argument
|