Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/include/stack/
Dhcidefs.h500 #define HCI_LE_STATES_NON_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV_OFF] & HC… argument
505 #define HCI_LE_STATES_SCAN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATESSCAN_ADV_OFF] & HCI_SUPP_LE… argument
510 #define HCI_LE_STATES_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_CONN_ADV_OFF] & HCI_SUPP_L… argument
515 #define HCI_LE_STATES_HI_DUTY_DIR_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_HI_DUTY_DIR_ADV_OFF… argument
520 #define HCI_LE_STATES_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_PASS_SCAN_OFF] & HCI_SUPP… argument
525 #define HCI_LE_STATES_ACTIVE_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_ACTIVE_SCAN_OFF] & HCI_… argument
530 #define HCI_LE_STATES_INIT_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_INIT_OFF] & HCI_SUPP_LE_STATES… argument
535 #define HCI_LE_STATES_SLAVE_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SLAVE_OFF] & HCI_SUPP_LE_STAT… argument
540 #define HCI_LE_STATES_NON_CONN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV… argument
545 #define HCI_LE_STATES_SCAN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SCAN_ADV_PASS_SC… argument
[all …]
Davrc_defs.h406 #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-3.4.0/components/esp_rom/test/
Dtest_libgcc.c6 extern int64_t __absvdi2(int64_t x);
8 extern int __absvsi2(int x);
10 extern double __adddf3(double x, double y);
12 extern float __addsf3(float x, float y);
14 extern int64_t __addvdi3(int64_t x, int64_t y);
16 extern int __addvsi3(int x, int y);
18 extern int64_t __ashldi3(int64_t x, int y);
20 extern int64_t __ashrdi3(int64_t x, int y);
22 extern int64_t __bswapdi2(int64_t x);
24 extern int32_t __bswapsi2(int32_t x);
[all …]
/hal_espressif-3.4.0/components/openssl/library/
Dssl_x509.c16 int __X509_show_info(X509 *x) in __X509_show_info() argument
18 return X509_METHOD_CALL(show_info, x); in __X509_show_info()
27 X509 *x; in __X509_new() local
29 x = ssl_mem_zalloc(sizeof(X509)); in __X509_new()
30 if (!x) { in __X509_new()
35 x->ref_counter = 1; in __X509_new()
38 x->method = ix->method; in __X509_new()
40 x->method = X509_method(); in __X509_new()
42 ret = X509_METHOD_CALL(new, x, ix); in __X509_new()
48 return x; in __X509_new()
[all …]
/hal_espressif-3.4.0/components/newlib/platform_include/
Dendian.h56 #define bswap16(x) __bswap16(x) argument
57 #define bswap32(x) __bswap32(x) argument
58 #define bswap64(x) __bswap64(x) argument
65 #define htobe16(x) bswap16((x)) argument
66 #define htobe32(x) bswap32((x)) argument
67 #define htobe64(x) bswap64((x)) argument
68 #define htole16(x) ((uint16_t)(x)) argument
69 #define htole32(x) ((uint32_t)(x)) argument
70 #define htole64(x) ((uint64_t)(x)) argument
72 #define be16toh(x) bswap16((x)) argument
[all …]
/hal_espressif-3.4.0/components/wpa_supplicant/port/include/
Dendian.h78 #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 …]
Dbyteswap.h13 # define __bswap_16(x) \ argument
15 ({ unsigned short int __bsx = (x); \
29 # define __bswap_32(x) \ argument
31 ({ unsigned int __bsx = (x); \
47 # define __bswap_constant_64(x) \ argument
48 ((((x) & 0xff00000000000000ull) >> 56) \
49 | (((x) & 0x00ff000000000000ull) >> 40) \
50 | (((x) & 0x0000ff0000000000ull) >> 24) \
51 | (((x) & 0x000000ff00000000ull) >> 8) \
52 | (((x) & 0x00000000ff000000ull) << 8) \
[all …]
/hal_espressif-3.4.0/components/esp_hw_support/test/
Dtest_fastbus.c45 int x; in tskOne() local
51 for (x = 0; x < 64; x++) { in tskOne()
52 WRITE_PERI_REG(UART_FIFO_REG(1), x ^ xor); in tskOne()
58 for (x = 0; x < 255; x++) { in tskOne()
59 ct[x] = 0; //zero ctrs in tskOne()
61 for (x = 0; x < 128; x++) { in tskOne()
62 ct[(int)res[x]^xor]++; //count values in tskOne()
64 for (x = 0; x < 255; x++) { //check counts in tskOne()
65 if (ct[x] != (x < 128 ? 1 : 0)) { in tskOne()
69 printf("Error! Received value %d %d times!\n", x, ct[x]); in tskOne()
[all …]
Dtest_ahb_arb.c198 int x; in tskLcd() local
202 for (x = 0; x < DMALEN; x++) { in tskLcd()
203 sbuf[x] = x ^ xorval; in tskLcd()
205 for (x = 0; x < DMALEN; x++) { in tskLcd()
206 rbuf[x] = 0; //clear rbuf in tskLcd()
211 for (x = 0; x < DMALEN; x++) if (rbuf[x] != (x ^ xorval)) { in tskLcd()
212 printf("Rxbuf err! pos %d val %x xor %x", x, (int)rbuf[x], (int)xorval); in tskLcd()
229 int x; in tskOne() local
234 for (x = 0; x < 16 * 1024; x++) { in tskOne()
253 int x; in tskTwo() local
[all …]
Dtest_random.c62 for (int x = 0; x < BUF_SZ; x++) { variable
63 zero_buf[x] &= ~buf[i][x];
64 one_buf[x] |= buf[i][x];
67 for (int x = 0; x < BUF_SZ; x++) { variable
68 TEST_ASSERT_EQUAL_HEX8(0, zero_buf[x]);
69 TEST_ASSERT_EQUAL_HEX8(0xFF, one_buf[x]);
/hal_espressif-3.4.0/components/xtensa/include/xtensa/
Dhal.h517 #define XTHAL_AMB_BUFFERABLE x /* 000 B BU --s: BUfferable ?
519 #define XTHAL_AMB_ORDERED x /* 000 O OR fls: ORdered G *
521 #define XTHAL_AMB_FUSEWRITES x /* 000 F FW --s: FuseWrites none
525 #define XTHAL_AMB_TRUSTED x /* 000 T TR ?l?: TRusted none
528 #define XTHAL_AMB_PREFETCH x /* 000 P PR fl?: PRefetch none
530 #define XTHAL_AMB_STREAM x /* 000 S ST ???: STreaming none
1136 #define XTHAL_ENCODE_MEMORY_TYPE(x) \ argument
1137 (((x) & 0xffffe000) ? \
1138 (_XTHAL_MEM_IS_DEVICE((x)) ? _XTHAL_ENCODE_DEVICE((x)) : \
1139 (_XTHAL_IS_SYSTEM_NONCACHEABLE((x)) ? \
[all …]
/hal_espressif-3.4.0/examples/peripherals/lcd/tjpgd/main/
Dpretty_effect.c20 static inline uint16_t get_bgnd_pixel(int x, int y) in get_bgnd_pixel() argument
23 x+=8; in get_bgnd_pixel()
25 return pixels[y][x]; in get_bgnd_pixel()
44 for (int x=0; x<320; x++) xofs[x]=sin(frame*0.15+x*0.06)*4; in pretty_effect_calc_lines() local
46 for (int x=0; x<320; x++) xcomp[x]=sin(frame*0.11+x*0.12)*4; in pretty_effect_calc_lines() local
51 for (int x=0; x<320; x++) { in pretty_effect_calc_lines() local
52 *dest++=get_bgnd_pixel(x+yofs[y]+xcomp[x], y+xofs[x]+ycomp[y]); in pretty_effect_calc_lines()
/hal_espressif-3.4.0/examples/peripherals/spi_master/lcd/main/
Dpretty_effect.c20 static inline uint16_t get_bgnd_pixel(int x, int y) in get_bgnd_pixel() argument
23 x+=8; in get_bgnd_pixel()
25 return pixels[y][x]; in get_bgnd_pixel()
43 for (int x=0; x<320; x++) xofs[x]=sin(frame*0.15+x*0.06)*4; in pretty_effect_calc_lines() local
45 for (int x=0; x<320; x++) xcomp[x]=sin(frame*0.11+x*0.12)*4; in pretty_effect_calc_lines() local
50 for (int x=0; x<320; x++) { in pretty_effect_calc_lines() local
51 *dest++=get_bgnd_pixel(x+yofs[y]+xcomp[x], y+xofs[x]+ycomp[y]); in pretty_effect_calc_lines()
/hal_espressif-3.4.0/components/wpa_supplicant/src/crypto/
Dsha256-internal.c68 #define RORc(x, y) \ argument
69 ( ((((unsigned long) (x) & 0xFFFFFFFFUL) >> (unsigned long) ((y) & 31)) | \
70 ((unsigned long) (x) << (unsigned long) (32 - ((y) & 31)))) & 0xFFFFFFFFUL)
71 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument
72 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument
73 #define S(x, n) RORc((x), (n)) argument
74 #define R(x, n) (((x)&0xFFFFFFFFUL)>>(n)) argument
75 #define Sigma0(x) (S(x, 2) ^ S(x, 13) ^ S(x, 22)) argument
76 #define Sigma1(x) (S(x, 6) ^ S(x, 11) ^ S(x, 25)) argument
77 #define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3)) argument
[all …]
Dlibtommath.h64 #define MIN(x,y) ((x)<(y)?(x):(y)) argument
68 #define MAX(x,y) ((x)>(y)?(x):(y)) argument
71 #define OPT_CAST(x) (x *) argument
175 static int mp_reduce(mp_int * x, mp_int * m, mp_int * mu);
215 mp_int *x; in s_mp_add() local
224 x = a; in s_mp_add()
228 x = b; in s_mp_add()
276 *tmpc = x->dp[i] + u; in s_mp_add()
778 mp_int x, y, u, v, A, B, C, D; in mp_invmod_slow() local
787 if ((res = mp_init_multi(&x, &y, &u, &v, in mp_invmod_slow()
[all …]
Dsha512-internal.c92 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument
93 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument
94 #define S(x, n) ROR64c(x, n) argument
95 #define R(x, n) (((x) & CONST64(0xFFFFFFFFFFFFFFFF)) >> ((u64) n)) argument
96 #define Sigma0(x) (S(x, 28) ^ S(x, 34) ^ S(x, 39)) argument
97 #define Sigma1(x) (S(x, 14) ^ S(x, 18) ^ S(x, 41)) argument
98 #define Gamma0(x) (S(x, 1) ^ S(x, 8) ^ R(x, 7)) argument
99 #define Gamma1(x) (S(x, 19) ^ S(x, 61) ^ R(x, 6)) argument
101 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument
104 #define ROR64c(x, y) \ argument
[all …]
Daes-ccm.c31 u8 *x) in aes_ccm_auth_start() argument
45 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start()
54 xor_aes_block(aad_buf, x); in aes_ccm_auth_start()
55 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start()
58 xor_aes_block(&aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
60 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
65 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument
72 xor_aes_block(x, data); in aes_ccm_auth()
74 aes_encrypt(aes, x, x); in aes_ccm_auth()
79 x[i] ^= *data++; in aes_ccm_auth()
[all …]
/hal_espressif-3.4.0/components/wpa_supplicant/src/tls/
Dlibtommath.h62 #define MIN(x,y) ((x)<(y)?(x):(y)) argument
66 #define MAX(x,y) ((x)>(y)?(x):(y)) argument
69 #define OPT_CAST(x) (x *) argument
173 static int mp_reduce(mp_int * x, mp_int * m, mp_int * mu);
213 mp_int *x; in s_mp_add() local
222 x = a; in s_mp_add()
226 x = b; in s_mp_add()
274 *tmpc = x->dp[i] + u; in s_mp_add()
774 mp_int x, y, u, v, A, B, C, D; in mp_invmod_slow() local
783 if ((res = mp_init_multi(&x, &y, &u, &v, in mp_invmod_slow()
[all …]
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_byteorder.h19 #define __bswap_16(x) ((uint16_t) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))) argument
23 #define __bswap_24(x) ((uint32_t) ((((x) >> 16) & 0xff) | \ argument
24 (((x)) & 0xff00) | \
25 (((x) & 0xff) << 16)))
29 #define __bswap_32(x) ((uint32_t) ((((x) >> 24) & 0xff) | \ argument
30 (((x) >> 8) & 0xff00) | \
31 (((x) & 0xff00) << 8) | \
32 (((x) & 0xff) << 24)))
36 #define __bswap_48(x) ((uint64_t) ((((x) >> 40) & 0xff) | \ argument
37 (((x) >> 24) & 0xff00) | \
[all …]
Dmesh_util.h29 #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
79 (((unsigned long)(x) + ((unsigned long)align - 1)) & \
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
/hal_espressif-3.4.0/components/esp_common/include/
Desp_check.h27 #define ESP_RETURN_ON_ERROR(x, log_tag, format, ...) do { \ argument
29 esp_err_t err_rc_ = (x); \
38 #define ESP_RETURN_ON_ERROR_ISR(x, log_tag, format, ...) do { \ argument
40 esp_err_t err_rc_ = (x); \
50 #define ESP_GOTO_ON_ERROR(x, goto_tag, log_tag, format, ...) do { \ argument
52 esp_err_t err_rc_ = (x); \
62 #define ESP_GOTO_ON_ERROR_ISR(x, goto_tag, log_tag, format, ...) do { \ argument
64 esp_err_t err_rc_ = (x); \
129 #define ESP_RETURN_ON_ERROR(x, log_tag, format, ...) do { …
130 …esp_err_t err_rc_ = (x); …
[all …]
Desp_err.h108 #define ESP_ERROR_CHECK(x) do { \ argument
109 esp_err_t err_rc_ = (x); \
113 #define ESP_ERROR_CHECK(x) do { \ argument
114 esp_err_t err_rc_ = (x); \
120 #define ESP_ERROR_CHECK(x) do { \ argument
121 esp_err_t err_rc_ = (x); \
124 __ASSERT_FUNC, #x); \
135 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument
136 esp_err_t err_rc_ = (x); \
140 #define ESP_ERROR_CHECK_WITHOUT_ABORT(x) ({ \ argument
[all …]
/hal_espressif-3.4.0/components/lwip/port/esp32/include/arch/
Dsys_arch.h67 #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-3.4.0/components/bt/host/bluedroid/stack/smp/
Daes.c80 #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
84 ^ (((x >> 5) & 4) * WPOLY))
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
[all …]
/hal_espressif-3.4.0/components/mbedtls/port/sha/parallel_engine/
Desp_sha512.c41 #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 …]

12345678910>>...18