Home
last modified time | relevance | path

Searched refs:p_refcount (Results 1 – 2 of 2) sorted by relevance

/dports/audio/festival/speech_tools/include/
H A DEST_Handleable.h57 int p_refcount;
62 EST_Handleable(void) { p_refcount=NOT_REFCOUNTED; } in EST_Handleable()
64 int refcount(void) const { return p_refcount;} in refcount()
66 void start_refcounting(int initial=0) {p_refcount=initial;}
67 void inc_refcount(void) {if (p_refcount!=NOT_REFCOUNTED) p_refcount++;} in inc_refcount()
68 void dec_refcount(void) {if (p_refcount!=NOT_REFCOUNTED) p_refcount--;} in dec_refcount()
70 int is_unreferenced(void) const {return p_refcount == 0;} in is_unreferenced()
71 int is_refcounted(void) const {return p_refcount!= NOT_REFCOUNTED;} in is_refcounted()
/dports/devel/avr-gdb/gdb-7.3.1/gdb/
H A Dobjfiles.c1524 int *p_refcount; in gdb_bfd_ref() local
1529 p_refcount = bfd_usrdata (abfd); in gdb_bfd_ref()
1531 if (p_refcount != NULL) in gdb_bfd_ref()
1533 *p_refcount += 1; in gdb_bfd_ref()
1537 p_refcount = xmalloc (sizeof (*p_refcount)); in gdb_bfd_ref()
1538 *p_refcount = 1; in gdb_bfd_ref()
1548 int *p_refcount; in gdb_bfd_unref() local
1558 gdb_assert (*p_refcount == 1 || *p_refcount == 2); in gdb_bfd_unref()
1560 *p_refcount -= 1; in gdb_bfd_unref()
1561 if (*p_refcount > 0) in gdb_bfd_unref()
[all …]