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.cpp586 char* dst, size_t dst_len) { in hexDumpToString() argument
590 for (i = 0; (i < src_len) && (offset < dst_len); ++i) { in hexDumpToString()
593 res = snprintf(dst + offset, dst_len - offset, "\n%04zx :", i); in hexDumpToString()
597 if (offset >= dst_len) in hexDumpToString()
601 res = snprintf(dst + offset, dst_len - offset, " %02x", src[i]); in hexDumpToString()
607 dst[dst_len - 1] = 0; in hexDumpToString()