Home
last modified time | relevance | path

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

/frameworks/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/av/cmds/screenrecord/
DOverlay.cpp255 void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { in getTimeString_l() argument
261 snprintf(buf, bufLen, "%" PRId64, monotonicNsec); in getTimeString_l()
271 strftime(buf, bufLen, format, &tm); in getTimeString_l()
276 strlcat(buf, tmpBuf, bufLen); in getTimeString_l()
DOverlay.h100 void getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen);
/frameworks/base/libs/androidfw/
DZipFileRO.cpp196 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) in getEntryFileName()
202 if (bufLen < requiredSize) { in getEntryFileName()
/frameworks/base/libs/androidfw/include/androidfw/
DZipFileRO.h122 int getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) const;
/frameworks/minikin/libs/minikin/
DLocale.cpp38 static bool isEmojiSubtag(const char* buf, size_t bufLen, const char* subtag, size_t subtagLen) { in isEmojiSubtag() argument
39 if (bufLen < subtagLen) { in isEmojiSubtag()
45 return (bufLen == subtagLen || buf[subtagLen] == '\0' || buf[subtagLen] == '-' || in isEmojiSubtag()
/frameworks/base/libs/common_time/
Dcommon_time_server.cpp1391 char* buf, size_t bufLen) { in sockaddrToString() argument
1392 if (!bufLen || !buf) in sockaddrToString()
1402 snprintf(buf, bufLen, "%lu.%lu.%lu.%lu:%hu", in sockaddrToString()
1412 snprintf(buf, bufLen, in sockaddrToString()
1421 snprintf(buf, bufLen, in sockaddrToString()
1426 snprintf(buf, bufLen, "<none>"); in sockaddrToString()
1429 buf[bufLen - 1] = 0; in sockaddrToString()
Dcommon_time_server.h316 char* buf, size_t bufLen);