Searched refs:dst_max (Results 1 - 2 of 2) sorted by relevance
/macosx-10.10/SmartcardCCID-55008/libusb/libusb/libusb/os/ |
H A D | windows_usb.h | 62 #define safe_strcp(dst, dst_max, src, count) do {memcpy(dst, src, safe_min(count, dst_max)); \ 63 ((char*)dst)[safe_min(count, dst_max)-1] = 0;} while(0) 64 #define safe_strcpy(dst, dst_max, src) safe_strcp(dst, dst_max, src, safe_strlen(src)+1) 65 #define safe_strncat(dst, dst_max, src, count) strncat(dst, src, safe_min(count, dst_max - safe_strlen(dst) - 1)) 66 #define safe_strcat(dst, dst_max, src) safe_strncat(dst, dst_max, src, safe_strlen(src)+1)
|
/macosx-10.10/ntfs-84/kext/ |
H A D | ntfs_runlist.c | 1369 * @dst_max: pointer to last byte of destination buffer for bounds checking 1384 static inline int ntfs_write_significant_bytes(s8 *dst, const s8 *dst_max, argument 1393 if (dst > dst_max) 1402 if (dst > dst_max) 1407 if (dst > dst_max) 1460 s8 *dst_max, *dst_next; local 1491 * @dst_max is used for bounds checking in 1494 dst_max = dst + dst_len - 1; 1515 len_len = ntfs_write_significant_bytes(dst + 1, dst_max, 1534 len_len, dst_max, prev_lc [all...] |
Completed in 71 milliseconds