Home | History | Annotate | Download | only in src

Lines Matching refs:format

239 void OS::Print(const char* format, ...) {
241 va_start(args, format);
242 VPrint(format, args);
247 void OS::VPrint(const char* format, va_list args) {
249 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, args);
251 vprintf(format, args);
256 void OS::FPrint(FILE* out, const char* format, ...) {
258 va_start(args, format);
259 VFPrint(out, format, args);
264 void OS::VFPrint(FILE* out, const char* format, va_list args) {
266 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, format, args);
268 vfprintf(out, format, args);
273 void OS::PrintError(const char* format, ...) {
275 va_start(args, format);
276 VPrintError(format, args);
281 void OS::VPrintError(const char* format, va_list args) {
283 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, format, args);
285 vfprintf(stderr, format, args);
290 int OS::SNPrintF(Vector<char> str, const char* format, ...) {
292 va_start(args, format);
293 int result = VSNPrintF(str, format, args);
300 const char* format,
302 int n = vsnprintf(str.start(), str.length(), format, args);