/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_draw.h | 48 unsigned sr = r, sg = g, sb = b, sa = a; (void) sa; \ 54 unsigned sr, sg, sb, sa = 0xFF; \ 59 sa = DRAW_MUL(inva, sa) + a; \ 65 unsigned sr, sg, sb, sa; (void) sa; \ 75 unsigned sr, sg, sb, sa; (void) sa; \ 85 unsigned sr, sg, sb, sa; sa = 0xFF; \ 90 sa = DRAW_MUL(sa, a) + DRAW_MUL(inva, sa); if (sa > 0xff) sa = 0xff; \ 220 DRAW_SETPIXEL(ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa)) 228 ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa)) 232 ARGB8888_FROM_RGBA(*pixel, sr, sg, sb, sa)) [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/ |
A D | wifi_promisc.c | 115 unsigned char sa[6]; member 131 unsigned char sa[6]; member 274 memcpy(frame->sa, buf+6, 6); in promisc_callback() 350 printf(" %02x", frame->sa[i]); in promisc_test() 357 memcpy(inic_frame_tail->sa, frame->sa, 6); in promisc_test() 403 memset(frame->sa, 0, 6); in promisc_callback_all() 409 memcpy(frame->sa, buf+10, 6); in promisc_callback_all() 469 printf(" %02x", frame->sa[i]); in promisc_test_all() 476 memcpy(inic_frame_tail->sa, frame->sa, 6); in promisc_test_all()
|
A D | wifi_simple_config_parser.h | 115 extern int rtl_pre_parse(u8 *mac_addr, u8 *buf, void *userdata, u8 **da, u8 **sa, unsigned int *len… 116 extern s32 rtk_start_parse_packet(u8 *da, u8 *sa, s32 len, void * user_data, void *backup_sc);
|
A D | wifi_simple_config.c | 1101 unsigned char *sa = NULL; in simple_config_callback() local 1104 ret = rtl_pre_parse(mac_addr, buf, userdata, &da, &sa, &len); in simple_config_callback() 1112 sa = buf + ETH_ALEN; in simple_config_callback() 1118 simple_config_result = rtk_start_parse_packet(da, sa, len, userdata, (void *)backup_sc_ctx); in simple_config_callback()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | modsocket.c | 193 inet_addr_from_ip4addr(&sa->sin_addr, &addr); in _socket_getaddrinfo3() 194 sa->sin_family = AF_INET; in _socket_getaddrinfo3() 195 sa->sin_len = sizeof(struct sockaddr_in); in _socket_getaddrinfo3() 196 sa->sin_port = lwip_htons((u16_t)atoi(servname)); in _socket_getaddrinfo3() 201 ai->ai_addr = (struct sockaddr *)sa; in _socket_getaddrinfo3() 900 t->items[1] = mp_obj_new_bytes((byte *)&sa->sin_addr, sizeof(sa->sin_addr)); in mod_socket_sockaddr() 901 t->items[2] = MP_OBJ_NEW_SMALL_INT(ntohs(sa->sin_port)); in mod_socket_sockaddr() 910 t->items[1] = mp_obj_new_bytes((byte *)&sa->sin6_addr, sizeof(sa->sin6_addr)); in mod_socket_sockaddr() 911 t->items[2] = MP_OBJ_NEW_SMALL_INT(ntohs(sa->sin6_port)); in mod_socket_sockaddr() 919 struct sockaddr *sa = (struct sockaddr *)bufinfo.buf; in mod_socket_sockaddr() local [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | modsocket.c | 198 struct sockaddr_in *sa = in _socket_getaddrinfo3() local 200 inet_addr_from_ip4addr(&sa->sin_addr, &addr); in _socket_getaddrinfo3() 201 sa->sin_family = AF_INET; in _socket_getaddrinfo3() 202 sa->sin_len = sizeof(struct sockaddr_in); in _socket_getaddrinfo3() 203 sa->sin_port = lwip_htons((u16_t)atoi(servname)); in _socket_getaddrinfo3() 208 ai->ai_addr = (struct sockaddr *)sa; in _socket_getaddrinfo3() 944 mp_obj_new_bytes((byte *)&sa->sin_addr, sizeof(sa->sin_addr)); in mod_socket_sockaddr() 955 mp_obj_new_bytes((byte *)&sa->sin6_addr, sizeof(sa->sin6_addr)); in mod_socket_sockaddr() 964 struct sockaddr *sa = (struct sockaddr *)bufinfo.buf; in mod_socket_sockaddr() local 966 t->items[0] = MP_OBJ_NEW_SMALL_INT(sa->sa_family); in mod_socket_sockaddr() [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | modsocket.c | 189 inet_addr_from_ip4addr(&sa->sin_addr, &addr); in _socket_getaddrinfo3() 190 sa->sin_family = AF_INET; in _socket_getaddrinfo3() 191 sa->sin_len = sizeof(struct sockaddr_in); in _socket_getaddrinfo3() 192 sa->sin_port = lwip_htons((u16_t)atoi(servname)); in _socket_getaddrinfo3() 197 ai->ai_addr = (struct sockaddr *)sa; in _socket_getaddrinfo3() 871 t->items[1] = mp_obj_new_bytes((byte *)&sa->sin_addr, sizeof(sa->sin_addr)); in mod_socket_sockaddr() 872 t->items[2] = MP_OBJ_NEW_SMALL_INT(ntohs(sa->sin_port)); in mod_socket_sockaddr() 880 t->items[1] = mp_obj_new_bytes((byte *)&sa->sin6_addr, sizeof(sa->sin6_addr)); in mod_socket_sockaddr() 881 t->items[2] = MP_OBJ_NEW_SMALL_INT(ntohs(sa->sin6_port)); in mod_socket_sockaddr() 888 struct sockaddr *sa = (struct sockaddr *)bufinfo.buf; in mod_socket_sockaddr() local [all …]
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/ |
A D | awss_cmp.h | 54 int awss_cmp_coap_send(void *buf, uint32_t len, void *sa, const char *uri, 56 int awss_cmp_coap_send_resp(void *buf, uint32_t len, void *sa, const char *uri, 58 int awss_cmp_coap_ob_send(void *buf, uint32_t len, void *sa, const char *uri,
|
A D | awss_cmp_coap.c | 136 int awss_cmp_coap_send(void *buf, uint32_t len, void *sa, const char *uri, in awss_cmp_coap_send() argument 144 return CoAPServerMultiCast_send(g_coap_ctx, (NetworkAddr *)sa, uri, in awss_cmp_coap_send() 149 int awss_cmp_coap_send_resp(void *buf, uint32_t len, void *sa, const char *uri, in awss_cmp_coap_send_resp() argument 156 return CoAPServerResp_send(g_coap_ctx, (NetworkAddr *)sa, (uint8_t *)buf, in awss_cmp_coap_send_resp() 161 int awss_cmp_coap_ob_send(void *buf, uint32_t len, void *sa, const char *uri, in awss_cmp_coap_ob_send() argument
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_UDP_yoc.c | 94 struct sockaddr_in *sa = NULL; in HAL_UDP_create() local 114 sa = (struct sockaddr_in *)ainfo->ai_addr; in HAL_UDP_create() 115 inet_ntop(AF_INET, &sa->sin_addr, addr, NETWORK_ADDR_LEN); in HAL_UDP_create() 222 struct sockaddr_in *sa = NULL; in HAL_UDP_resolveAddress() local 239 sa = (struct sockaddr_in *)ainfo->ai_addr; in HAL_UDP_resolveAddress() 240 inet_ntop(AF_INET, &sa->sin_addr, addr, NETWORK_ADDR_LEN); in HAL_UDP_resolveAddress()
|
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_UDP_rhino.c | 101 struct sockaddr_in *sa = NULL; in HAL_UDP_create() local 121 sa = (struct sockaddr_in *)ainfo->ai_addr; in HAL_UDP_create() 122 inet_ntop(AF_INET, &sa->sin_addr, addr, NETWORK_ADDR_LEN); in HAL_UDP_create() 229 struct sockaddr_in *sa = NULL; in HAL_UDP_resolveAddress() local 246 sa = (struct sockaddr_in *)ainfo->ai_addr; in HAL_UDP_resolveAddress() 247 inet_ntop(AF_INET, &sa->sin_addr, addr, NETWORK_ADDR_LEN); in HAL_UDP_resolveAddress()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | netdb.c | 275 struct sockaddr_storage *sa = NULL; in lwip_getaddrinfo() local 376 sa = (struct sockaddr_storage *)(void*)((u8_t*)ai + sizeof(struct addrinfo)); in lwip_getaddrinfo() 379 struct sockaddr_in6 *sa6 = (struct sockaddr_in6*)sa; in lwip_getaddrinfo() 389 struct sockaddr_in *sa4 = (struct sockaddr_in*)sa; in lwip_getaddrinfo() 412 ai->ai_addr = (struct sockaddr*)sa; in lwip_getaddrinfo()
|
A D | sockets.c | 282 struct sockaddr sa; member 709 if (*addrlen > tempaddr.sa.sa_len) { in lwip_accept() 710 *addrlen = tempaddr.sa.sa_len; in lwip_accept() 1093 if (*fromlen > saddr.sa.sa_len) { in lwip_recvfrom() 1094 *fromlen = saddr.sa.sa_len; in lwip_recvfrom() 2189 if (*namelen > saddr.sa.sa_len) { in lwip_getaddrname() 2190 *namelen = saddr.sa.sa_len; in lwip_getaddrname()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftcalc.c | 467 FT_Long sa, sb; in FT_MulFix() 492 sa = ( a >> ( sizeof ( a ) * 8 - 1 ) ); in FT_MulFix() 493 a = ( a ^ sa ) - sa; in FT_MulFix() 511 sa ^= sb, in FT_MulFix() 512 ua = (FT_ULong)(( ua ^ sa ) - sa); in FT_MulFix()
|
/AliOS-Things-master/components/amp_adapter/platform/aos/network/ |
A D | aos_udp.c | 91 struct sockaddr_in *sa = NULL; in aos_udp_create() local 111 sa = (struct sockaddr_in *)ainfo->ai_addr; in aos_udp_create() 112 inet_ntop(AF_INET, &sa->sin_addr, addr, NETWORK_ADDR_LEN); in aos_udp_create()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | aria.c | 241 const uint8_t sa[256], const uint8_t sb[256], in aria_sl() 244 *a = ( (uint32_t) sa[ *a & 0xFF] ) ^ in aria_sl() 248 *b = ( (uint32_t) sa[ *b & 0xFF] ) ^ in aria_sl() 252 *c = ( (uint32_t) sa[ *c & 0xFF] ) ^ in aria_sl() 256 *d = ( (uint32_t) sa[ *d & 0xFF] ) ^ in aria_sl()
|
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/ieee80211/ |
A D | zconfig_ieee80211.h | 211 uint8_t sa[ETH_ALEN]; member
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | tcp.h | 247 s16_t sa, sv; /* @todo document this */ member
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | tcp.h | 298 s16_t sa, sv; /* @todo document this */ member
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | tcp_in.c | 1168 pcb->rto = (pcb->sa >> 3) + pcb->sv; 1279 m = m - (pcb->sa >> 3); 1280 pcb->sa += m; 1286 pcb->rto = (pcb->sa >> 3) + pcb->sv;
|
A D | tcp.c | 1060 pcb->rto = ((pcb->sa >> 3) + pcb->sv) << tcp_backoff[pcb->nrtx]; in tcp_slowtmr()
|
/AliOS-Things-master/components/jsoncpp/doc/ |
A D | jsoncpp.dox | 163 \sa version.h
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | nanosvg.h | 2104 float x1p, y1p, cxp, cyp, s, sa, sb; in nsvg__pathArcTo() local 2154 sa = nsvg__sqr(rx)*nsvg__sqr(ry) - nsvg__sqr(rx)*nsvg__sqr(y1p) - nsvg__sqr(ry)*nsvg__sqr(x1p); in nsvg__pathArcTo() 2156 if (sa < 0.0f) sa = 0.0f; in nsvg__pathArcTo() 2158 s = sqrtf(sa / sb); in nsvg__pathArcTo()
|
/AliOS-Things-master/hardware/chip/rtl872xd/ |
A D | ate.bin | 1346 �)��{)�@�sa�E8�O��`!�����A��`�� �9FP��a��P(F��U���x!y�(iRF������hx`(i�`�`(F�… 1602 …�����Hh% � /��(!}))ѧn?��O��0������O���(���`��d��sa���0x�� ib}@�…
|