LCOV - app.info - gfx/skia/src/ports/SkDebug_stdio.cpp

LCOV - code coverage report
| Current view: | directory - gfx/skia/src/ports - SkDebug_stdio.cpp (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 6 | 0 | 0.0 %
| Date: | 2012-07-07 | Functions: | 1 | 0 | 0.0 %

           1                 :
           2                 : /*
           3                 :  * Copyright 2006 The Android Open Source Project
           4                 :  *
           5                 :  * Use of this source code is governed by a BSD-style license that can be
           6                 :  * found in the LICENSE file.
           7                 :  */
           8                 :
           9                 :
          10                 : #include "SkTypes.h"
          11                 :
          12                 : static const size_t kBufferSize = 2048;
          13                 :
          14                 : #include <stdarg.h>
          15                 : #include <stdio.h>
          16                 :
          17               0 : void SkDebugf(const char format[], ...) {
          18                 :     char    buffer[kBufferSize + 1];
          19                 :     va_list args;
          20               0 :     va_start(args, format);
          21               0 :     vsnprintf(buffer, kBufferSize, format, args);
          22               0 :     va_end(args);
          23               0 :     fprintf(stderr, "%s", buffer);
          24               0 : }
          25                 :

Generated by: LCOV version 1.7