Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dutil.c816 ULONG prefix_len; in uv_interface_addresses() local
820 prefix_len = in uv_interface_addresses()
840 memset(uv_address->netmask.netmask6.sin6_addr.s6_addr, 0xff, prefix_len >> 3); in uv_interface_addresses()
842 if (prefix_len % 8) { in uv_interface_addresses()
843 uv_address->netmask.netmask6.sin6_addr.s6_addr[prefix_len >> 3] = in uv_interface_addresses()
844 0xff << (8 - prefix_len % 8); in uv_interface_addresses()
851 uv_address->netmask.netmask4.sin_addr.s_addr = (prefix_len > 0) ? in uv_interface_addresses()
852 htonl(0xffffffff << (32 - prefix_len)) : 0; in uv_interface_addresses()
H A Dtty.c800 int prefix_len; in uv_process_tty_read_raw_req() local
818 prefix_len = 1; in uv_process_tty_read_raw_req()
820 prefix_len = 0; in uv_process_tty_read_raw_req()
824 last_key_buf = &handle->tty.rd.last_key[prefix_len]; in uv_process_tty_read_raw_req()
856 handle->tty.rd.last_key_len = (unsigned char) (prefix_len + char_len); in uv_process_tty_read_raw_req()
863 size_t prefix_len, vt100_len; in uv_process_tty_read_raw_req() local
880 prefix_len = 1; in uv_process_tty_read_raw_req()
882 prefix_len = 0; in uv_process_tty_read_raw_req()
886 assert(prefix_len + vt100_len < sizeof handle->tty.rd.last_key); in uv_process_tty_read_raw_req()
887 memcpy(&handle->tty.rd.last_key[prefix_len], vt100, vt100_len); in uv_process_tty_read_raw_req()
[all …]

Completed in 18 milliseconds