Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c639 char ptpdate[40]; in ptp_unpack_PTPTIME() local
647 if (ptpdatelen >= sizeof (ptpdate)) { in ptp_unpack_PTPTIME()
655 strncpy (ptpdate, str, sizeof(ptpdate)); in ptp_unpack_PTPTIME()
656 ptpdate[sizeof(ptpdate) - 1] = '\0'; in ptp_unpack_PTPTIME()
659 strncpy (tmp, ptpdate, 4); in ptp_unpack_PTPTIME()
662 strncpy (tmp, ptpdate + 4, 2); in ptp_unpack_PTPTIME()
665 strncpy (tmp, ptpdate + 6, 2); in ptp_unpack_PTPTIME()
668 strncpy (tmp, ptpdate + 9, 2); in ptp_unpack_PTPTIME()
671 strncpy (tmp, ptpdate + 11, 2); in ptp_unpack_PTPTIME()
674 strncpy (tmp, ptpdate + 13, 2); in ptp_unpack_PTPTIME()