/freebsd/lib/libc/stdlib/ |
H A D | realpath.c | 52 size_t left_len, resolved_len, next_token_len; in realpath1() local 64 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath1() 72 left_len = strlcpy(left, path, sizeof(left)); in realpath1() 74 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in realpath1() 82 while (left_len != 0) { in realpath1() 89 next_token_len = p != NULL ? (size_t)(p - left) : left_len; in realpath1() 94 left_len -= next_token_len + 1; in realpath1() 95 memmove(left, p + 1, left_len + 1); in realpath1() 98 left_len = 0; in realpath1() 179 left_len = strlcat(symlink, left, in realpath1() [all …]
|
/freebsd/crypto/openssh/ |
H A D | sftp-realpath.c | 62 size_t left_len, resolved_len; in sftp_realpath() local 89 left_len = strlcpy(left, path + 1, sizeof(left)); in sftp_realpath() 99 left_len = strlcpy(left, path, sizeof(left)); in sftp_realpath() 101 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in sftp_realpath() 109 while (left_len != 0) { in sftp_realpath() 115 s = p ? p : left + left_len; in sftp_realpath() 122 left_len -= s - left; in sftp_realpath() 124 memmove(left, s + 1, left_len + 1); in sftp_realpath() 203 left_len = strlcat(symlink, left, sizeof(symlink)); in sftp_realpath() 204 if (left_len >= sizeof(symlink)) { in sftp_realpath() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_realpath.c | 103 size_t left_len, resolved_len, next_token_len; in realpath1() local 115 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath1() 123 left_len = strlcpy(left, path, sizeof(left)); in realpath1() 125 if (left_len >= sizeof(left) || resolved_len >= NTP_PATH_MAX) { in realpath1() 133 while (left_len != 0) { in realpath1() 140 next_token_len = p != NULL ? (size_t)(p - left) : left_len; in realpath1() 145 left_len -= next_token_len + 1; in realpath1() 146 memmove(left, p + 1, left_len + 1); in realpath1() 149 left_len = 0; in realpath1() 230 left_len in realpath1() [all...] |
/freebsd/contrib/libdiff/lib/ |
H A D | diff_output_unidiff.c | 242 int rc, left_start, left_len, right_start, right_len; in output_unidiff_chunk() local 288 left_len = cc->left.end - cc->left.start; in output_unidiff_chunk() 291 else if (left_len == 0 && cc->left.start > 0) in output_unidiff_chunk() 323 if (left_len == 1 && right_len == 1) { in output_unidiff_chunk() 328 } else if (left_len == 1 && right_len != 1) { in output_unidiff_chunk() 333 } else if (left_len != 1 && right_len == 1) { in output_unidiff_chunk() 335 left_start, left_len, right_start, in output_unidiff_chunk() 340 left_start, left_len, right_start, right_len, in output_unidiff_chunk()
|
/freebsd/contrib/wpa/src/pae/ |
H A D | ieee802_1x_kay.c | 1047 size_t left_len; in ieee802_1x_mka_i_in_peerlist() local 1052 for (pos = mka_msg, left_len = msg_len; in ieee802_1x_mka_i_in_peerlist() 1053 left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN; in ieee802_1x_mka_i_in_peerlist() 1054 left_len -= MKA_ALIGN_LENGTH(body_len) + MKA_HDR_LEN, in ieee802_1x_mka_i_in_peerlist() 1060 if (left_len < (MKA_HDR_LEN + MKA_ALIGN_LENGTH(body_len) + DEFAULT_ICV_LEN)) { in ieee802_1x_mka_i_in_peerlist() 1063 left_len, MKA_HDR_LEN, in ieee802_1x_mka_i_in_peerlist() 1928 size_t left_len; in ieee802_1x_mka_decode_icv_body() local 1933 left_len = msg_len; in ieee802_1x_mka_decode_icv_body() 1934 while (left_len > MKA_HDR_LEN + DEFAULT_ICV_LEN) { in ieee802_1x_mka_decode_icv_body() 1939 if (left_len < body_len + MKA_HDR_LEN) in ieee802_1x_mka_decode_icv_body() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/algs/blake3/ |
H A D | blake3.c | 215 static size_t left_len(size_t content_len) in left_len() function 345 size_t left_input_len = left_len(input_len); in blake3_compress_subtree_wide()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3.c | 162 INLINE size_t left_len(size_t content_len) { in left_len() function 287 size_t left_input_len = left_len(input_len); in blake3_compress_subtree_wide()
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | qp.c | 567 uint64_t left, left_len, copy_sz; in set_tso_eth_seg() local 588 left_len = qend - (void *)eseg->inline_hdr_start; in set_tso_eth_seg() 589 copy_sz = min(left_len, left); in set_tso_eth_seg()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-ops.h | 39 int left_len, struct wmi_phyerr_ev_arg *arg); 358 int left_len, struct wmi_phyerr_ev_arg *arg) in ath10k_wmi_pull_phyerr() argument 363 return ar->wmi.ops->pull_phyerr(ar, phyerr_buf, left_len, arg); in ath10k_wmi_pull_phyerr()
|
H A D | wmi.c | 4398 int left_len, in ath10k_wmi_op_pull_phyerr_ev() argument 4404 if (left_len < sizeof(*phyerr)) { in ath10k_wmi_op_pull_phyerr_ev() 4406 left_len, sizeof(*phyerr)); in ath10k_wmi_op_pull_phyerr_ev() 4442 int left_len, in ath10k_wmi_10_4_op_pull_phyerr_ev() argument 4449 if (left_len < sizeof(*phyerr)) { in ath10k_wmi_10_4_op_pull_phyerr_ev() 4451 left_len, sizeof(*phyerr)); in ath10k_wmi_10_4_op_pull_phyerr_ev() 4490 int left_len, ret; in ath10k_wmi_event_phyerr() local 4503 left_len = hdr_arg.buf_len; in ath10k_wmi_event_phyerr() 4520 ret = ath10k_wmi_pull_phyerr(ar, phyerr, left_len, &phyerr_arg); in ath10k_wmi_event_phyerr() 4527 left_len -= phyerr_arg.hdr_len; in ath10k_wmi_event_phyerr() [all …]
|
H A D | wmi.h | 7498 int left_len, struct wmi_phyerr_ev_arg *arg);
|