Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 25 of 10266) sorted by path

12345678910>>...411

/dports/accessibility/at-spi2-core/at-spi2-core-2.36.0/atspi/
H A Datspi-event-listener.c66 gint ref_count; member
88 info->ref_count = 1; in callback_ref()
92 info->ref_count++; in callback_ref()
108 info->ref_count--; in callback_unref()
109 if (info->ref_count == 0) in callback_unref()
/dports/accessibility/at-spi2-core/at-spi2-core-2.36.0/registryd/
H A Ddeviceeventcontroller.c83 guint ref_count : 30; member
300 clone->ref_count = 1; in spi_grab_mask_clone()
595 cur_mask->ref_count++; in _register_keygrab()
622 cur_mask->ref_count--; in _deregister_keygrab()
623 if (cur_mask->ref_count <= 0) in _deregister_keygrab()
1292 while (grab_mask->ref_count > 0) --grab_mask->ref_count; in spi_controller_update_key_grabs()
1302 g_assert (grab_mask->ref_count <= 0); in spi_controller_update_key_grabs()
/dports/accessibility/caribou/caribou-0.4.21/libcaribou/
H A Dxadapter.c107 volatile int ref_count; member
1808 self->ref_count = 1; in caribou_xadapter_key_button_handler_instance_init()
1836 g_atomic_int_inc (&self->ref_count); in caribou_xadapter_key_button_handler_ref()
1844 if (g_atomic_int_dec_and_test (&self->ref_count)) { in caribou_xadapter_key_button_handler_unref()
/dports/accessibility/caribou/caribou-0.4.21/modules/gtk2/
H A Dcaribou-gtk-module.c61 volatile int ref_count; member
1256 self->ref_count = 1; in caribou_gtk_module_instance_init()
1287 g_atomic_int_inc (&self->ref_count); in caribou_gtk_module_ref()
1295 if (g_atomic_int_dec_and_test (&self->ref_count)) { in caribou_gtk_module_unref()
H A Dcaribou-gtk-module.h45 volatile int ref_count; member
/dports/accessibility/caribou/caribou-0.4.21/modules/gtk3/
H A Dcaribou-gtk-module.c57 volatile int ref_count; member
1244 self->ref_count = 1; in caribou_gtk_module_instance_init()
1275 g_atomic_int_inc (&self->ref_count); in caribou_gtk_module_ref()
1283 if (g_atomic_int_dec_and_test (&self->ref_count)) { in caribou_gtk_module_unref()
H A Dcaribou-gtk-module.h45 volatile int ref_count; member
/dports/accessibility/eflite/eflite-0.4.1/
H A Dfs.c138 static int ref_count = 0; variable
357 if (ref_count == 0) { in synth_open()
387 ref_count++; in synth_open()
419 ref_count--; in s_close()
420 if (ref_count == 0) in s_close()
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/futures-channel-0.3.21/tests/
H A Dmpsc-close.rs109 let ref_count = Arc::new(0); in single_receiver_drop_closes_channel_and_drains() localVariable
110 let weak_ref = Arc::downgrade(&ref_count); in single_receiver_drop_closes_channel_and_drains()
113 sender.unbounded_send(ref_count).expect("failed to send"); in single_receiver_drop_closes_channel_and_drains()
128 let ref_count = Arc::new(0); in single_receiver_drop_closes_channel_and_drains() localVariable
129 let weak_ref = Arc::downgrade(&ref_count); in single_receiver_drop_closes_channel_and_drains()
132 sender.try_send(ref_count).expect("failed to send"); in single_receiver_drop_closes_channel_and_drains()
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/tokio-1.16.1/src/runtime/task/
H A Dstate.rs125 if next.ref_count() == 0 { in transition_to_running()
165 if next.ref_count() == 0 { in transition_to_idle()
200 prev.ref_count() >= count, in transition_to_terminal()
202 prev.ref_count(), in transition_to_terminal()
205 prev.ref_count() == count in transition_to_terminal()
440 assert!(prev.ref_count() >= 1); in ref_dec()
441 prev.ref_count() == 1 in ref_dec()
447 assert!(prev.ref_count() >= 2); in ref_dec_twice()
448 prev.ref_count() == 2 in ref_dec_twice()
561 pub(super) fn ref_count(self) -> usize { in ref_count() method
[all …]
/dports/archivers/dpkg/dpkg-1.19.7/utils/
H A Dupdate-alternatives.c696 int ref_count; member
732 alt->ref_count = 1; in alternative_new()
740 a->ref_count++; in alternative_ref()
746 return --a->ref_count == 0; in alternative_unref()
/dports/archivers/file-roller/file-roller-3.40.0/src/
H A Dfr-window.c9053 int ref_count; member
9071 odata->ref_count = 1; in open_files_data_new()
9097 odata->ref_count++; in open_files_data_ref()
9106 if (--odata->ref_count > 0) in open_files_data_unref()
H A Dgio-utils.c73 int ref_count; member
85 filter->ref_count = 1; in file_filter_new()
100 if (--filter->ref_count > 0) in file_filter_unref()
/dports/archivers/lbzip2/lbzip2-2.5/src/
H A Dexpand.c100 unsigned ref_count; member
291 blk->ref_count++; in attach()
337 if (blk && --blk->ref_count == 0) { in detach()
361 if (--blk->ref_count == 0) { in advance()
446 if (--blk->ref_count == 0) { in do_parse()
836 iblk->ref_count = 1u; in on_input_avail()
/dports/archivers/libcomprex/libcomprex-0.3.3/libltdl/
H A Dltdl.c1840 if (!LT_DLIS_RESIDENT (tmp) && tmp->info.ref_count <= level) in lt_dlexit()
1909 ++cur->info.ref_count;
2892 if ((*phandle)->info.ref_count == 0)
2894 (*phandle)->info.ref_count = 1;
3293 handle->info.ref_count--;
3299 if (handle->info.ref_count <= 0 && !LT_DLIS_RESIDENT (handle))
H A Dltdl.h240 int ref_count; /* number of times lt_dlopened minus member
/dports/archivers/star/schily-2021-09-18/libscg/
H A Dscsi-amigaos.c79 int ref_count; member
602 if (request[fd].ref_count > 0) {
603 request[fd].ref_count--;
604 if (request[fd].ref_count == 0) {
678 if (request[fd].ref_count == 0) {
684 request[fd].ref_count++;
686 printf("opening %s, unit %ld as fd %ld count %ld\n", dev, unit, fd, request[fd].ref_count);
/dports/archivers/vbz-compression/vbz_compression-1.0.1/vbz_plugin/hdf_test_utils/
H A Dhdf_id_helper.cpp75 int IdRef::ref_count() const in ref_count() function in ont::hdf5::IdRef
H A Dhdf_id_helper.h114 int ref_count() const;
/dports/archivers/xarchiver/xarchiver-0.5.4.16/src/xdgmime/
H A Dxdgmimecache.c80 int ref_count; member
100 cache->ref_count--; in _xdg_mime_cache_unref()
102 if (cache->ref_count == 0) in _xdg_mime_cache_unref()
149 cache->ref_count = 1; in _xdg_mime_cache_new_from_file()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/
H A DCGBuffer.h107 int ref_count; variable
126 ++ref_count; in Retain()
132 if (--ref_count == 0) in Release()
147 int ref_count; variable
154 Datafile() : ref_count(1), file(NULL), data_buffer(NULL), data_size(0) in Datafile()
165 ++ref_count; in Retain()
171 if (--ref_count==0) in Release()
238 int ref_count; variable
242 ref_count = 1; in Init()
323 ++ref_count; in Retain()
[all …]
/dports/astro/celestia/celestia-1.6.1/src/celengine/
H A DCGBuffer.h107 int ref_count; variable
126 ++ref_count; in Retain()
132 if (--ref_count == 0) in Release()
147 int ref_count; variable
154 Datafile() : ref_count(1), file(NULL), data_buffer(NULL), data_size(0) in Datafile()
165 ++ref_count; in Retain()
171 if (--ref_count==0) in Release()
238 int ref_count; variable
242 ref_count = 1; in Init()
323 ++ref_count; in Retain()
[all …]
/dports/astro/gpsbabel/gpsbabel-gpsbabel_1_7_0/
H A Dgarmin_fs.cc59 ilinks->ref_count++; in clone()
73 links->ref_count--; in ~garmin_fs_t()
74 if (links->ref_count <= 0) { in ~garmin_fs_t()
H A Dgarmin_fs.h47 int ref_count; member
H A Dgdb.cc778 il_step->ref_count = 1; in read_route()

12345678910>>...411