Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DTimeFormatter.java198 CharBuffer formatBuffer = CharBuffer.wrap(pattern); in formatInternal() local
199 while (formatBuffer.remaining() > 0) { in formatInternal()
201 char currentChar = formatBuffer.get(formatBuffer.position()); in formatInternal()
203 outputCurrentChar = handleToken(formatBuffer, wallTime, zoneInfoData); in formatInternal()
206 outputBuilder.append(formatBuffer.get(formatBuffer.position())); in formatInternal()
208 formatBuffer.position(formatBuffer.position() + 1); in formatInternal()
212 private boolean handleToken(CharBuffer formatBuffer, WallTime wallTime, in handleToken() argument
217 while (formatBuffer.remaining() > 1) { in handleToken()
219 formatBuffer.position(formatBuffer.position() + 1); in handleToken()
220 char currentChar = formatBuffer.get(formatBuffer.position()); in handleToken()
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DDrmUtils.h68 static inline int formatBuffer(char *buf, size_t size, const char *msg) { in formatBuffer() function
73 static inline int formatBuffer(char *buf, size_t size, const char *fmt, First first, Args... args) { in formatBuffer() function
81 int len = formatBuffer(buf, LOG_BUF_SIZE, fmt, args...); in LogToBuffer()