/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 55 size_t left_len, resolved_len; local 82 left_len = strlcpy(left, path + 1, sizeof(left)); 94 left_len = strlcpy(left, path, sizeof(left)); 96 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { 106 while (left_len != 0) { 112 s = p ? p : left + left_len; 121 left_len -= s - left; 123 memmove(left, s + 1, left_len + 1); 210 left_len = strlcat(symlink, left, 212 if (left_len >= sizeof(left)) [all...] |
/external/openssh/openbsd-compat/ |
realpath.c | 56 size_t left_len, resolved_len; local 69 left_len = strlcpy(left, path + 1, sizeof(left)); 76 left_len = strlcpy(left, path, sizeof(left)); 78 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { 86 while (left_len != 0) { 92 s = p ? p : left + left_len; 99 left_len -= s - left; 101 memmove(left, s + 1, left_len + 1); 179 left_len = strlcat(symlink, left, sizeof(left)); 180 if (left_len >= sizeof(left)) [all...] |
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_kay.c | 918 size_t left_len; local 926 left_len = msg_len; 927 while (left_len > (MKA_HDR_LEN + DEFAULT_ICV_LEN)) { 939 if (left_len < (MKA_HDR_LEN + body_len + DEFAULT_ICV_LEN)) { 942 (int) left_len, (int) MKA_HDR_LEN, 969 left_len -= body_len + MKA_HDR_LEN; 1756 size_t left_len; local 2980 size_t left_len; local [all...] |