Searched refs:bufLen (Results 1 – 8 of 8) sorted by relevance
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | IntegralToString.java | 138 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/ |
D | Overlay.cpp | 255 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()
|
D | Overlay.h | 100 void getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen);
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 196 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) in getEntryFileName() 202 if (bufLen < requiredSize) { in getEntryFileName()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ZipFileRO.h | 122 int getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) const;
|
/frameworks/minikin/libs/minikin/ |
D | Locale.cpp | 38 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/ |
D | common_time_server.cpp | 1391 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()
|
D | common_time_server.h | 316 char* buf, size_t bufLen);
|