/work/workdir/UnpackedTarball/fontconfig/src/fcatomic.h
Line | Count | Source |
1 | | /* |
2 | | * Mutex operations. Originally copied from HarfBuzz. |
3 | | * |
4 | | * Copyright © 2007 Chris Wilson |
5 | | * Copyright © 2009,2010 Red Hat, Inc. |
6 | | * Copyright © 2011,2012,2013 Google, Inc. |
7 | | * |
8 | | * Permission is hereby granted, without written agreement and without |
9 | | * license or royalty fees, to use, copy, modify, and distribute this |
10 | | * software and its documentation for any purpose, provided that the |
11 | | * above copyright notice and the following two paragraphs appear in |
12 | | * all copies of this software. |
13 | | * |
14 | | * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR |
15 | | * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES |
16 | | * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN |
17 | | * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
18 | | * DAMAGE. |
19 | | * |
20 | | * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
21 | | * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
22 | | * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
23 | | * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO |
24 | | * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
25 | | * |
26 | | * Contributor(s): |
27 | | * Chris Wilson <chris@chris-wilson.co.uk> |
28 | | * Red Hat Author(s): Behdad Esfahbod |
29 | | * Google Author(s): Behdad Esfahbod |
30 | | */ |
31 | | |
32 | | #ifndef _FCATOMIC_H_ |
33 | | #define _FCATOMIC_H_ |
34 | | |
35 | | #ifdef HAVE_CONFIG_H |
36 | | # include <config.h> |
37 | | #endif |
38 | | |
39 | | /* atomic_int */ |
40 | | |
41 | | /* We need external help for these */ |
42 | | |
43 | | #if 0 |
44 | | |
45 | | typedef <type> fc_atomic_int_t; |
46 | | # define FC_ATOMIC_INT_FORMAT "<printf format for fc_atomic_int_t>" |
47 | | # define fc_atomic_int_add(AI, V) o = (AI), (AI) += (V), o // atomic acquire/release |
48 | | |
49 | | # define fc_atomic_ptr_get(P) *(P) // atomic acquire |
50 | | # define fc_atomic_ptr_cmpexch(P, O, N) *(P) == (O) ? (*(P) = (N), FcTrue) : FcFalse // atomic release |
51 | | |
52 | | #elif !defined(FC_NO_MT) && defined(HAVE_STDATOMIC_PRIMITIVES) |
53 | | |
54 | | # include <stdatomic.h> |
55 | | |
56 | | typedef atomic_int fc_atomic_int_t; |
57 | | # define FC_ATOMIC_INT_FORMAT "d" |
58 | 27.6k | # define fc_atomic_int_add(AI, V) atomic_fetch_add_explicit (&(AI), (V), memory_order_acq_rel) |
59 | | |
60 | 30.0k | # define fc_atomic_ptr_get(P) atomic_load_explicit ((_Atomic (void *) *)(P), memory_order_acquire) |
61 | | static inline FcBool _fc_atomic_ptr_cmpexch (_Atomic (void *) *P, void *O, _Atomic (void *) N) |
62 | 1.56k | { |
63 | 1.56k | return atomic_compare_exchange_strong_explicit (P, &O, N, memory_order_release, memory_order_relaxed); |
64 | 1.56k | } fccfg.c:_fc_atomic_ptr_cmpexch Line | Count | Source | 62 | 108 | { | 63 | 108 | return atomic_compare_exchange_strong_explicit (P, &O, N, memory_order_release, memory_order_relaxed); | 64 | 108 | } |
Unexecuted instantiation: fccharset.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fccompat.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcdbg.c:_fc_atomic_ptr_cmpexch fcdefault.c:_fc_atomic_ptr_cmpexch Line | Count | Source | 62 | 8 | { | 63 | 8 | return atomic_compare_exchange_strong_explicit (P, &O, N, memory_order_release, memory_order_relaxed); | 64 | 8 | } |
Unexecuted instantiation: fcdir.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcfreetype.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcfs.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcptrlist.c:_fc_atomic_ptr_cmpexch fchash.c:_fc_atomic_ptr_cmpexch Line | Count | Source | 62 | 1.23k | { | 63 | 1.23k | return atomic_compare_exchange_strong_explicit (P, &O, N, memory_order_release, memory_order_relaxed); | 64 | 1.23k | } |
Unexecuted instantiation: fcinit.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fclang.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fclist.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcmatch.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcmatrix.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcname.c:_fc_atomic_ptr_cmpexch fcobjs.c:_fc_atomic_ptr_cmpexch Line | Count | Source | 62 | 2 | { | 63 | 2 | return atomic_compare_exchange_strong_explicit (P, &O, N, memory_order_release, memory_order_relaxed); | 64 | 2 | } |
Unexecuted instantiation: fcpat.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcrange.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcserialize.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcstat.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcstr.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcweight.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: fcxml.c:_fc_atomic_ptr_cmpexch Unexecuted instantiation: ftglue.c:_fc_atomic_ptr_cmpexch fccache.c:_fc_atomic_ptr_cmpexch Line | Count | Source | 62 | 211 | { | 63 | 211 | return atomic_compare_exchange_strong_explicit (P, &O, N, memory_order_release, memory_order_relaxed); | 64 | 211 | } |
Unexecuted instantiation: fcatomic.c:_fc_atomic_ptr_cmpexch |
65 | 1.56k | # define fc_atomic_ptr_cmpexch(P, O, N) _fc_atomic_ptr_cmpexch ((_Atomic (void *) *)(P), (O), (N)) |
66 | | |
67 | | /* Casting -1 to _Atomic(int) produces a compiler error with Clang (but not GCC) |
68 | | * so we have to override FC_REF_CONSTANT_VALUE for stdatomic.h atomics. |
69 | | * See https://bugs.llvm.org/show_bug.cgi?id=40249. */ |
70 | 186k | # define FC_REF_CONSTANT_VALUE (-1) |
71 | | |
72 | | #elif !defined(FC_NO_MT) && defined(_MSC_VER) || defined(__MINGW32__) |
73 | | |
74 | | # include "fcwindows.h" |
75 | | |
76 | | typedef LONG fc_atomic_int_t; |
77 | | # define FC_ATOMIC_INT_FORMAT "ld" |
78 | | # define fc_atomic_int_add(AI, V) InterlockedExchangeAdd (&(AI), (V)) |
79 | | |
80 | | # define fc_atomic_ptr_get(P) (InterlockedCompareExchangePointerAcquire ((void **)(P), NULL, NULL)) |
81 | | # define fc_atomic_ptr_cmpexch(P, O, N) (InterlockedCompareExchangePointer ((void **)(P), (void *)(N), (void *)(O)) == (void *)(O)) |
82 | | |
83 | | #elif !defined(FC_NO_MT) && defined(__APPLE__) |
84 | | |
85 | | # include <AvailabilityMacros.h> |
86 | | # include <libkern/OSAtomic.h> |
87 | | |
88 | | typedef int fc_atomic_int_t; |
89 | | # define FC_ATOMIC_INT_FORMAT "d" |
90 | | # define fc_atomic_int_add(AI, V) (OSAtomicAdd32Barrier ((V), &(AI)) - (V)) |
91 | | |
92 | | # if SIZEOF_VOID_P == 8 |
93 | | # define fc_atomic_ptr_get(P) OSAtomicAdd64Barrier (0, (int64_t *)(P)) |
94 | | # elif SIZEOF_VOID_P == 4 |
95 | | # define fc_atomic_ptr_get(P) OSAtomicAdd32Barrier (0, (int32_t *)(P)) |
96 | | # else |
97 | | # error "SIZEOF_VOID_P not 4 or 8 (assumes CHAR_BIT is 8)" |
98 | | # endif |
99 | | |
100 | | # if (MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 || __IPHONE_OS_VERSION_MIN_REQUIRED >= 20100) |
101 | | # define fc_atomic_ptr_cmpexch(P, O, N) OSAtomicCompareAndSwapPtrBarrier ((void *)(O), (void *)(N), (void **)(P)) |
102 | | # else |
103 | | # if __LP64__ |
104 | | # define fc_atomic_ptr_cmpexch(P, O, N) OSAtomicCompareAndSwap64Barrier ((int64_t)(O), (int64_t)(N), (int64_t *)(P)) |
105 | | # else |
106 | | # define fc_atomic_ptr_cmpexch(P, O, N) OSAtomicCompareAndSwap32Barrier ((int32_t)(O), (int32_t)(N), (int32_t *)(P)) |
107 | | # endif |
108 | | # endif |
109 | | |
110 | | #elif !defined(FC_NO_MT) && defined(HAVE_INTEL_ATOMIC_PRIMITIVES) |
111 | | |
112 | | typedef int fc_atomic_int_t; |
113 | | # define FC_ATOMIC_INT_FORMAT "d" |
114 | | # define fc_atomic_int_add(AI, V) __sync_fetch_and_add (&(AI), (V)) |
115 | | |
116 | | # define fc_atomic_ptr_get(P) (void *)(__sync_fetch_and_add ((P), 0)) |
117 | | # define fc_atomic_ptr_cmpexch(P, O, N) __sync_bool_compare_and_swap ((P), (O), (N)) |
118 | | |
119 | | #elif !defined(FC_NO_MT) && defined(HAVE_SOLARIS_ATOMIC_OPS) |
120 | | |
121 | | # include <atomic.h> |
122 | | # include <mbarrier.h> |
123 | | |
124 | | typedef unsigned int fc_atomic_int_t; |
125 | | # define FC_ATOMIC_INT_FORMAT "u" |
126 | | # define fc_atomic_int_add(AI, V) (({ __machine_rw_barrier(); }), atomic_add_int_nv (&(AI), (V)) - (V)) |
127 | | |
128 | | # define fc_atomic_ptr_get(P) (({ __machine_rw_barrier(); }), (void *)*(P)) |
129 | | # define fc_atomic_ptr_cmpexch(P, O, N) (({ __machine_rw_barrier(); }), atomic_cas_ptr ((P), (O), (N)) == (void *)(O) ? FcTrue : FcFalse) |
130 | | |
131 | | #elif !defined(FC_NO_MT) |
132 | | |
133 | | # define FC_ATOMIC_INT_NIL 1 /* Warn that fallback implementation is in use. */ |
134 | | typedef volatile int fc_atomic_int_t; |
135 | | # define FC_ATOMIC_INT_FORMAT "d" |
136 | | # define fc_atomic_int_add(AI, V) (((AI) += (V)) - (V)) |
137 | | |
138 | | # define fc_atomic_ptr_get(P) ((void *)*(P)) |
139 | | # define fc_atomic_ptr_cmpexch(P, O, N) (*(void *volatile *)(P) == (void *)(O) ? (*(void *volatile *)(P) = (void *)(N), FcTrue) : FcFalse) |
140 | | |
141 | | #else /* FC_NO_MT */ |
142 | | |
143 | | typedef int fc_atomic_int_t; |
144 | | # define FC_ATOMIC_INT_FORMAT "d" |
145 | | # define fc_atomic_int_add(AI, V) (((AI) += (V)) - (V)) |
146 | | |
147 | | # define fc_atomic_ptr_get(P) ((void *)*(P)) |
148 | | # define fc_atomic_ptr_cmpexch(P, O, N) (*(void **)(P) == (void *)(O) ? (*(void **)(P) = (void *)(N), FcTrue) : FcFalse) |
149 | | |
150 | | #endif |
151 | | |
152 | | /* reference count */ |
153 | | #ifndef FC_REF_CONSTANT_VALUE |
154 | | # define FC_REF_CONSTANT_VALUE ((fc_atomic_int_t) - 1) |
155 | | #endif |
156 | | #define FC_REF_CONSTANT { FC_REF_CONSTANT_VALUE } |
157 | | typedef struct _FcRef { |
158 | | fc_atomic_int_t count; |
159 | | } FcRef; |
160 | 6.39k | static inline void FcRefInit (FcRef *r, int v) { r->count = v; } Line | Count | Source | 160 | 212 | static inline void FcRefInit (FcRef *r, int v) { r->count = v; } |
Line | Count | Source | 160 | 26 | static inline void FcRefInit (FcRef *r, int v) { r->count = v; } |
Unexecuted instantiation: fccompat.c:FcRefInit Unexecuted instantiation: fcdbg.c:FcRefInit Unexecuted instantiation: fcdefault.c:FcRefInit Unexecuted instantiation: fcdir.c:FcRefInit Unexecuted instantiation: fcfreetype.c:FcRefInit Unexecuted instantiation: fcfs.c:FcRefInit Unexecuted instantiation: fcptrlist.c:FcRefInit Unexecuted instantiation: fchash.c:FcRefInit Unexecuted instantiation: fcinit.c:FcRefInit Unexecuted instantiation: fclang.c:FcRefInit Unexecuted instantiation: fclist.c:FcRefInit Unexecuted instantiation: fcmatch.c:FcRefInit Unexecuted instantiation: fcmatrix.c:FcRefInit Unexecuted instantiation: fcname.c:FcRefInit Unexecuted instantiation: fcobjs.c:FcRefInit Line | Count | Source | 160 | 4.42k | static inline void FcRefInit (FcRef *r, int v) { r->count = v; } |
Unexecuted instantiation: fcrange.c:FcRefInit Unexecuted instantiation: fcserialize.c:FcRefInit Unexecuted instantiation: fcstat.c:FcRefInit Line | Count | Source | 160 | 1.63k | static inline void FcRefInit (FcRef *r, int v) { r->count = v; } |
Unexecuted instantiation: fcweight.c:FcRefInit Unexecuted instantiation: fcxml.c:FcRefInit Unexecuted instantiation: ftglue.c:FcRefInit Line | Count | Source | 160 | 106 | static inline void FcRefInit (FcRef *r, int v) { r->count = v; } |
Unexecuted instantiation: fcatomic.c:FcRefInit |
161 | 11.7k | static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); } Line | Count | Source | 161 | 3.75k | static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); } |
Line | Count | Source | 161 | 26 | static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); } |
Unexecuted instantiation: fccompat.c:FcRefInc Unexecuted instantiation: fcdbg.c:FcRefInc Unexecuted instantiation: fcdefault.c:FcRefInc Unexecuted instantiation: fcdir.c:FcRefInc Unexecuted instantiation: fcfreetype.c:FcRefInc Unexecuted instantiation: fcfs.c:FcRefInc Unexecuted instantiation: fcptrlist.c:FcRefInc Unexecuted instantiation: fchash.c:FcRefInc Unexecuted instantiation: fcinit.c:FcRefInc Unexecuted instantiation: fclang.c:FcRefInc Unexecuted instantiation: fclist.c:FcRefInc Unexecuted instantiation: fcmatch.c:FcRefInc Unexecuted instantiation: fcmatrix.c:FcRefInc Unexecuted instantiation: fcname.c:FcRefInc Line | Count | Source | 161 | 106 | static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); } |
Unexecuted instantiation: fcpat.c:FcRefInc Unexecuted instantiation: fcrange.c:FcRefInc Unexecuted instantiation: fcserialize.c:FcRefInc Unexecuted instantiation: fcstat.c:FcRefInc Line | Count | Source | 161 | 1.07k | static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); } |
Unexecuted instantiation: fcweight.c:FcRefInc Unexecuted instantiation: fcxml.c:FcRefInc Unexecuted instantiation: ftglue.c:FcRefInc Line | Count | Source | 161 | 6.80k | static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); } |
Unexecuted instantiation: fcatomic.c:FcRefInc |
162 | 15.7k | static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); } Line | Count | Source | 162 | 3.75k | static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); } |
Line | Count | Source | 162 | 39 | static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); } |
Unexecuted instantiation: fccompat.c:FcRefDec Unexecuted instantiation: fcdbg.c:FcRefDec Unexecuted instantiation: fcdefault.c:FcRefDec Unexecuted instantiation: fcdir.c:FcRefDec Unexecuted instantiation: fcfreetype.c:FcRefDec Unexecuted instantiation: fcfs.c:FcRefDec Unexecuted instantiation: fcptrlist.c:FcRefDec Unexecuted instantiation: fchash.c:FcRefDec Unexecuted instantiation: fcinit.c:FcRefDec Unexecuted instantiation: fclang.c:FcRefDec Unexecuted instantiation: fclist.c:FcRefDec Unexecuted instantiation: fcmatch.c:FcRefDec Unexecuted instantiation: fcmatrix.c:FcRefDec Unexecuted instantiation: fcname.c:FcRefDec Unexecuted instantiation: fcobjs.c:FcRefDec Line | Count | Source | 162 | 4.39k | static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); } |
Unexecuted instantiation: fcrange.c:FcRefDec Unexecuted instantiation: fcserialize.c:FcRefDec Unexecuted instantiation: fcstat.c:FcRefDec Line | Count | Source | 162 | 1.95k | static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); } |
Unexecuted instantiation: fcweight.c:FcRefDec Unexecuted instantiation: fcxml.c:FcRefDec Unexecuted instantiation: ftglue.c:FcRefDec Line | Count | Source | 162 | 5.61k | static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); } |
Unexecuted instantiation: fcatomic.c:FcRefDec |
163 | 106 | static inline int FcRefAdd (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); } Unexecuted instantiation: fccfg.c:FcRefAdd Unexecuted instantiation: fccharset.c:FcRefAdd Unexecuted instantiation: fccompat.c:FcRefAdd Unexecuted instantiation: fcdbg.c:FcRefAdd Unexecuted instantiation: fcdefault.c:FcRefAdd Unexecuted instantiation: fcdir.c:FcRefAdd Unexecuted instantiation: fcfreetype.c:FcRefAdd Unexecuted instantiation: fcfs.c:FcRefAdd Unexecuted instantiation: fcptrlist.c:FcRefAdd Unexecuted instantiation: fchash.c:FcRefAdd Unexecuted instantiation: fcinit.c:FcRefAdd Unexecuted instantiation: fclang.c:FcRefAdd Unexecuted instantiation: fclist.c:FcRefAdd Unexecuted instantiation: fcmatch.c:FcRefAdd Unexecuted instantiation: fcmatrix.c:FcRefAdd Unexecuted instantiation: fcname.c:FcRefAdd Unexecuted instantiation: fcobjs.c:FcRefAdd Unexecuted instantiation: fcpat.c:FcRefAdd Unexecuted instantiation: fcrange.c:FcRefAdd Unexecuted instantiation: fcserialize.c:FcRefAdd Unexecuted instantiation: fcstat.c:FcRefAdd Unexecuted instantiation: fcstr.c:FcRefAdd Unexecuted instantiation: fcweight.c:FcRefAdd Unexecuted instantiation: fcxml.c:FcRefAdd Unexecuted instantiation: ftglue.c:FcRefAdd Line | Count | Source | 163 | 106 | static inline int FcRefAdd (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); } |
Unexecuted instantiation: fcatomic.c:FcRefAdd |
164 | 34 | static inline void FcRefSetConst (FcRef *r) { r->count = FC_REF_CONSTANT_VALUE; } Unexecuted instantiation: fccfg.c:FcRefSetConst fccharset.c:FcRefSetConst Line | Count | Source | 164 | 19 | static inline void FcRefSetConst (FcRef *r) { r->count = FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fccompat.c:FcRefSetConst Unexecuted instantiation: fcdbg.c:FcRefSetConst fcdefault.c:FcRefSetConst Line | Count | Source | 164 | 2 | static inline void FcRefSetConst (FcRef *r) { r->count = FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fcdir.c:FcRefSetConst Unexecuted instantiation: fcfreetype.c:FcRefSetConst Unexecuted instantiation: fcfs.c:FcRefSetConst Unexecuted instantiation: fcptrlist.c:FcRefSetConst Unexecuted instantiation: fchash.c:FcRefSetConst Unexecuted instantiation: fcinit.c:FcRefSetConst Unexecuted instantiation: fclang.c:FcRefSetConst Unexecuted instantiation: fclist.c:FcRefSetConst Unexecuted instantiation: fcmatch.c:FcRefSetConst Unexecuted instantiation: fcmatrix.c:FcRefSetConst Unexecuted instantiation: fcname.c:FcRefSetConst Unexecuted instantiation: fcobjs.c:FcRefSetConst Line | Count | Source | 164 | 13 | static inline void FcRefSetConst (FcRef *r) { r->count = FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fcrange.c:FcRefSetConst Unexecuted instantiation: fcserialize.c:FcRefSetConst Unexecuted instantiation: fcstat.c:FcRefSetConst Unexecuted instantiation: fcstr.c:FcRefSetConst Unexecuted instantiation: fcweight.c:FcRefSetConst Unexecuted instantiation: fcxml.c:FcRefSetConst Unexecuted instantiation: ftglue.c:FcRefSetConst Unexecuted instantiation: fccache.c:FcRefSetConst Unexecuted instantiation: fcatomic.c:FcRefSetConst |
165 | 186k | static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; } Line | Count | Source | 165 | 106 | static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; } |
Line | Count | Source | 165 | 37.2k | static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fccompat.c:FcRefIsConst Unexecuted instantiation: fcdbg.c:FcRefIsConst Unexecuted instantiation: fcdefault.c:FcRefIsConst Unexecuted instantiation: fcdir.c:FcRefIsConst Unexecuted instantiation: fcfreetype.c:FcRefIsConst Unexecuted instantiation: fcfs.c:FcRefIsConst Unexecuted instantiation: fcptrlist.c:FcRefIsConst Unexecuted instantiation: fchash.c:FcRefIsConst Unexecuted instantiation: fcinit.c:FcRefIsConst Unexecuted instantiation: fclang.c:FcRefIsConst Unexecuted instantiation: fclist.c:FcRefIsConst Unexecuted instantiation: fcmatch.c:FcRefIsConst Unexecuted instantiation: fcmatrix.c:FcRefIsConst Unexecuted instantiation: fcname.c:FcRefIsConst Unexecuted instantiation: fcobjs.c:FcRefIsConst Line | Count | Source | 165 | 144k | static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fcrange.c:FcRefIsConst Unexecuted instantiation: fcserialize.c:FcRefIsConst Unexecuted instantiation: fcstat.c:FcRefIsConst Line | Count | Source | 165 | 3.75k | static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fcweight.c:FcRefIsConst Unexecuted instantiation: fcxml.c:FcRefIsConst Unexecuted instantiation: ftglue.c:FcRefIsConst Line | Count | Source | 165 | 1.36k | static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; } |
Unexecuted instantiation: fcatomic.c:FcRefIsConst |
166 | | |
167 | | #endif /* _FCATOMIC_H_ */ |