Home
last modified time | relevance | path

Searched refs:left_len (Results 1 – 7 of 7) sorted by relevance

/third_party/glib/glib/
Dgiochannel.c2321 gsize from_buf_len, from_buf_old_len, left_len; in g_io_channel_write_chars() local
2358 left_len = from_buf + from_buf_len - badchar; in g_io_channel_write_chars()
2393 left_len = from_buf_len - try_len; in g_io_channel_write_chars()
2397 from_buf_len - left_len); in g_io_channel_write_chars()
2398 from_buf += from_buf_len - left_len; in g_io_channel_write_chars()
2404 left_len = from_buf_len; in g_io_channel_write_chars()
2409 err = g_iconv (channel->write_cd, (gchar **) &from_buf, &left_len, in g_io_channel_write_chars()
2421 g_assert (left_len < 6); in g_io_channel_write_chars()
2427 memcpy (channel->partial_write_buf, from_buf, left_len); in g_io_channel_write_chars()
2428 channel->partial_write_buf[left_len] = '\0'; in g_io_channel_write_chars()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_kay.c1039 size_t left_len; in ieee802_1x_mka_i_in_peerlist() local
1044 for (pos = mka_msg, left_len = msg_len; in ieee802_1x_mka_i_in_peerlist()
1045 left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN; in ieee802_1x_mka_i_in_peerlist()
1046 left_len -= MKA_ALIGN_LENGTH(body_len) + MKA_HDR_LEN, in ieee802_1x_mka_i_in_peerlist()
1052 if (left_len < (MKA_HDR_LEN + MKA_ALIGN_LENGTH(body_len) + DEFAULT_ICV_LEN)) { in ieee802_1x_mka_i_in_peerlist()
1055 left_len, MKA_HDR_LEN, in ieee802_1x_mka_i_in_peerlist()
1871 size_t left_len; in ieee802_1x_mka_decode_icv_body() local
1876 left_len = msg_len; in ieee802_1x_mka_decode_icv_body()
1877 while (left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN) { in ieee802_1x_mka_decode_icv_body()
1882 if (left_len < body_len + MKA_HDR_LEN) in ieee802_1x_mka_decode_icv_body()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_kay.c1039 size_t left_len; in ieee802_1x_mka_i_in_peerlist() local
1044 for (pos = mka_msg, left_len = msg_len; in ieee802_1x_mka_i_in_peerlist()
1045 left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN; in ieee802_1x_mka_i_in_peerlist()
1046 left_len -= MKA_ALIGN_LENGTH(body_len) + MKA_HDR_LEN, in ieee802_1x_mka_i_in_peerlist()
1052 if (left_len < (MKA_HDR_LEN + MKA_ALIGN_LENGTH(body_len) + DEFAULT_ICV_LEN)) { in ieee802_1x_mka_i_in_peerlist()
1055 left_len, MKA_HDR_LEN, in ieee802_1x_mka_i_in_peerlist()
1908 size_t left_len; in ieee802_1x_mka_decode_icv_body() local
1913 left_len = msg_len; in ieee802_1x_mka_decode_icv_body()
1914 while (left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN) { in ieee802_1x_mka_decode_icv_body()
1919 if (left_len < body_len + MKA_HDR_LEN) in ieee802_1x_mka_decode_icv_body()
[all …]
/third_party/e2fsprogs/misc/
Dblkid.c133 int left_len, int overflow_nl) in pretty_print_word() argument
135 int len = strlen(str) + left_len; in pretty_print_word()
/third_party/lwip/src/apps/http/
Dhttpd.c2034 u16_t left_len, uri_len; local
2058 left_len = (u16_t)(data_len - ((sp1 + 1) - data));
2059 sp2 = lwip_strnstr(sp1 + 1, " ", left_len);
2063 sp2 = lwip_strnstr(sp1 + 1, CRLF, left_len);
/third_party/python/Objects/
Dunicodeobject.c11744 Py_ssize_t left_len, right_len, new_len; in PyUnicode_Concat() local
11767 left_len = PyUnicode_GET_LENGTH(left); in PyUnicode_Concat()
11769 if (left_len > PY_SSIZE_T_MAX - right_len) { in PyUnicode_Concat()
11774 new_len = left_len + right_len; in PyUnicode_Concat()
11784 _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len); in PyUnicode_Concat()
11785 _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len); in PyUnicode_Concat()
11795 Py_ssize_t left_len, right_len, new_len; in PyUnicode_Append() local
11827 left_len = PyUnicode_GET_LENGTH(left); in PyUnicode_Append()
11829 if (left_len > PY_SSIZE_T_MAX - right_len) { in PyUnicode_Append()
11834 new_len = left_len + right_len; in PyUnicode_Append()
[all …]
/third_party/python/Modules/
D_ssl.c4923 unsigned int left_len, right_len; in PySSLSession_richcompare() local
4925 &left_len); in PySSLSession_richcompare()
4928 if (left_len == right_len) { in PySSLSession_richcompare()
4929 result = memcmp(left_id, right_id, left_len); in PySSLSession_richcompare()