LCOV - code coverage report
Current view: directory - gfx/skia/src/ports - SkThread_none.cpp (source / functions) Found Hit Coverage
Test: app.info Lines: 16 4 25.0 %
Date: 2012-06-02 Functions: 6 2 33.3 %

       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 "SkThread.h"
      11                 : 
      12               0 : int32_t sk_atomic_inc(int32_t* addr)
      13                 : {
      14               0 :     int32_t value = *addr;
      15               0 :     *addr = value + 1;
      16               0 :     return value;
      17                 : }
      18                 : 
      19               0 : int32_t sk_atomic_dec(int32_t* addr)
      20                 : {
      21               0 :     int32_t value = *addr;
      22               0 :     *addr = value - 1;
      23               0 :     return value;
      24                 : }
      25                 : 
      26            7320 : SkMutex::SkMutex(bool /* isGlobal */)
      27                 : {
      28            7320 : }
      29                 : 
      30            7435 : SkMutex::~SkMutex()
      31                 : {
      32            7435 : }
      33                 : 
      34               0 : void SkMutex::acquire()
      35                 : {
      36               0 : }
      37                 : 
      38               0 : void SkMutex::release()
      39                 : {
      40               0 : }
      41                 : 

Generated by: LCOV version 1.7