Searched refs:FcRef (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/fontconfig/dist/src/
H A Dfcatomic.h163 typedef struct _FcRef { fc_atomic_int_t count; } FcRef; typedef in typeref:struct:_FcRef
164 static inline void FcRefInit (FcRef *r, int v) { r->count = v; }
165 static inline int FcRefInc (FcRef *r) { return fc_atomic_int_add (r->count, +1); }
166 static inline int FcRefDec (FcRef *r) { return fc_atomic_int_add (r->count, -1); }
167 static inline int FcRefAdd (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); }
168 static inline void FcRefSetConst (FcRef *r) { r->count = FC_REF_CONSTANT_VALUE; }
169 static inline FcBool FcRefIsConst (const FcRef *r) { return r->count == FC_REF_CONSTANT_VALUE; }
H A Dfcint.h141 FC_ASSERT_STATIC (sizeof (FcRef) == sizeof (int));
229 FcRef ref;
355 FcRef ref;
368 FcRef ref; /* reference count */
388 FcRef ref; /* reference count */
576 FcRef ref; /* reference count */
H A Dfccache.c492 FcRef ref;
/xsrc/external/mit/fontconfig/include/
H A Dfcint.h158 FC_ASSERT_STATIC (sizeof (FcRef) == sizeof (int));
246 FcRef ref;
372 FcRef ref;
385 FcRef ref; /* reference count */
405 FcRef ref; /* reference count */
593 FcRef ref; /* reference count */

Completed in 9 milliseconds