Lines Matching refs:format
133 void OS::Print(const char* format, ...) {
135 va_start(args, format);
136 VPrint(format, args);
141 void OS::VPrint(const char* format, va_list args) {
143 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, format, args);
145 vprintf(format, args);
150 void OS::FPrint(FILE* out, const char* format, ...) {
152 va_start(args, format);
153 VFPrint(out, format, args);
158 void OS::VFPrint(FILE* out, const char* format, va_list args) {
160 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, format, args);
162 vfprintf(out, format, args);
167 void OS::PrintError(const char* format, ...) {
169 va_start(args, format);
170 VPrintError(format, args);
175 void OS::VPrintError(const char* format, va_list args) {
177 LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, format, args);
179 vfprintf(stderr, format, args);
184 int OS::SNPrintF(Vector<char> str, const char* format, ...) {
186 va_start(args, format);
187 int result = VSNPrintF(str, format, args);
194 const char* format,
196 int n = vsnprintf(str.start(), str.length(), format, args);