Home
last modified time | relevance | path

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

/frameworks/base/libs/common_time/
Dcommon_time_server.cpp587 char* dst, size_t dst_len) { in hexDumpToString() argument
591 for (i = 0; (i < src_len) && (offset < dst_len); ++i) { in hexDumpToString()
594 res = snprintf(dst + offset, dst_len - offset, "\n%04zx :", i); in hexDumpToString()
598 if (offset >= dst_len) in hexDumpToString()
602 res = snprintf(dst + offset, dst_len - offset, " %02x", src[i]); in hexDumpToString()
608 dst[dst_len - 1] = 0; in hexDumpToString()