Home
last modified time | relevance | path

Searched refs:rws_sprintf (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/websocket/include/
A Drws_string.h33 #define rws_sprintf(s,l,f,...) sprintf_s(s,l,f,__VA_ARGS__) macro
37 #define rws_sprintf(s,l,f,...) sprintf(s,f,__VA_ARGS__) macro
/AliOS-Things-master/components/websocket/src/
A Drws_socketpriv.c57 len = rws_sprintf(buff, 16, "%u", rws_socket_get_next_message_id(s)); in rws_socket_send_ping_priv()
478 len = rws_sprintf(buff, 16, "%u", rws_socket_get_next_message_id(s)); in rws_socket_send_disconnect()
494 writed = rws_sprintf(ptr, 512, "GET %s HTTP/%s\r\n", s->path, k_rws_socket_min_http_ver); in rws_socket_send_handshake()
497 writed += rws_sprintf(ptr + writed, 512 - writed, "Host: %s\r\n", s->host); in rws_socket_send_handshake()
499 writed += rws_sprintf(ptr + writed, 512 - writed, "Host: %s:%i\r\n", s->host, s->port); in rws_socket_send_handshake()
502 writed += rws_sprintf(ptr + writed, 512 - writed, in rws_socket_send_handshake()
508 writed += rws_sprintf(ptr + writed, 512 - writed, in rws_socket_send_handshake()
536 rws_sprintf(portstr, 16, "%i", s->port); in rws_socket_connect_getaddr_info()

Completed in 5 milliseconds