Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DIntegralToString.java138 int bufLen = radix < 8 ? 33 : 12; // Max chars in result (conservative) in intToString() local
139 char[] buf = new char[bufLen]; in intToString()
140 int cursor = bufLen; in intToString()
152 return new String(buf, cursor, bufLen - cursor); in intToString()
208 int bufLen = 11; // Max number of chars in result
209 char[] buf = (sb != null) ? BUFFER.get() : new char[bufLen];
210 int cursor = bufLen;
236 sb.append(buf, cursor, bufLen - cursor);
239 return new String(buf, cursor, bufLen - cursor);
272 int bufLen = radix < 8 ? 65 : 23; // Max chars in result (conservative)
[all …]
/frameworks/base/libs/androidfw/
DZipFileRO.cpp173 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) in getEntryFileName()
179 if (bufLen < requiredSize) { in getEntryFileName()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp257 void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { in getTimeString_l() argument
268 strftime(buf, bufLen, format, &tm); in getTimeString_l()
273 strlcat(buf, tmpBuf, bufLen); in getTimeString_l()
DOverlay.h99 void getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen);
/frameworks/base/include/androidfw/
DZipFileRO.h114 int getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const;
/frameworks/base/libs/common_time/
Dcommon_time_server.cpp1390 char* buf, size_t bufLen) { in sockaddrToString() argument
1391 if (!bufLen || !buf) in sockaddrToString()
1401 snprintf(buf, bufLen, "%lu.%lu.%lu.%lu:%hu", in sockaddrToString()
1411 snprintf(buf, bufLen, in sockaddrToString()
1420 snprintf(buf, bufLen, in sockaddrToString()
1425 snprintf(buf, bufLen, "<none>"); in sockaddrToString()
1428 buf[bufLen - 1] = 0; in sockaddrToString()
Dcommon_time_server.h316 char* buf, size_t bufLen);