Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Drealpath.c65 size_t left_len, resolved_len; in realpath() local
92 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath()
102 left_len = strlcpy(left, path, sizeof(left)); in realpath()
104 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in realpath()
112 while (left_len != 0) { in realpath()
118 s = p ? p : left + left_len; in realpath()
125 left_len -= s - left; in realpath()
127 memmove(left, s + 1, left_len + 1); in realpath()
206 left_len = strlcat(symlink, left, sizeof(symlink)); in realpath()
207 if (left_len >= sizeof(symlink)) { in realpath()
[all …]
/external/u-boot/lib/
Dgzip.c53 unsigned long comp_len, left_len; in zzip() local
86 left_len = (*lenp > CONFIG_GZIP_COMPRESS_DEF_SZ) ? in zzip()
89 s.avail_out = left_len; in zzip()
97 dst += (left_len - s.avail_out); in zzip()
98 *lenp -= (left_len - s.avail_out); in zzip()
99 } else if (left_len - s.avail_out > 0) { in zzip()
101 left_len - s.avail_out); in zzip()
/external/libxkbcommon/xkbcommon/src/compose/
Dpaths.c59 size_t left_len, right_len, name_len; in resolve_name() local
97 left_len = s - left; in resolve_name()
118 if (left_len == name_len && memcmp(left, name, left_len) == 0) { in resolve_name()
125 match = strndup(left, left_len); in resolve_name()
/external/wpa_supplicant_8/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()
1861 size_t left_len; in ieee802_1x_mka_decode_icv_body() local
1866 left_len = msg_len; in ieee802_1x_mka_decode_icv_body()
1867 while (left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN) { in ieee802_1x_mka_decode_icv_body()
1872 if (left_len < body_len + MKA_HDR_LEN) in ieee802_1x_mka_decode_icv_body()
[all …]
/external/e2fsprogs/misc/
Dblkid.c129 int left_len, int overflow_nl) in pretty_print_word() argument
131 int len = strlen(str) + left_len; in pretty_print_word()
/external/python/cpython3/Objects/
Dunicodeobject.c11249 Py_ssize_t left_len, right_len, new_len; in PyUnicode_Concat() local
11269 left_len = PyUnicode_GET_LENGTH(left); in PyUnicode_Concat()
11271 if (left_len > PY_SSIZE_T_MAX - right_len) { in PyUnicode_Concat()
11276 new_len = left_len + right_len; in PyUnicode_Concat()
11286 _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len); in PyUnicode_Concat()
11287 _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len); in PyUnicode_Concat()
11297 Py_ssize_t left_len, right_len, new_len; in PyUnicode_Append() local
11327 left_len = PyUnicode_GET_LENGTH(left); in PyUnicode_Append()
11329 if (left_len > PY_SSIZE_T_MAX - right_len) { in PyUnicode_Append()
11334 new_len = left_len + right_len; in PyUnicode_Append()
[all …]
/external/python/cpython3/Modules/
D_ssl.c4898 unsigned int left_len, right_len; in PySSLSession_richcompare() local
4900 &left_len); in PySSLSession_richcompare()
4903 if (left_len == right_len) { in PySSLSession_richcompare()
4904 result = memcmp(left_id, right_id, left_len); in PySSLSession_richcompare()