Home
last modified time | relevance | path

Searched refs:n_entries (Results 1 – 16 of 16) sorted by relevance

/external/dbus/tools/
Ddbus-cleanup-sockets.c155 int n_entries) in free_socket_entries() argument
161 for (i = 0; i < n_entries; ++i) in free_socket_entries()
175 int n_entries; in read_sockets() local
178 n_entries = 0; in read_sockets()
199 if (n_entries == allocated) in read_sockets()
205 entries[n_entries] = se; in read_sockets()
206 n_entries += 1; in read_sockets()
212 *n_entries_p = n_entries; in read_sockets()
278 int n_entries) in handle_sockets() argument
286 while (i < n_entries) in handle_sockets()
[all …]
/external/bison/lib/
Dhash.c61 size_t n_entries; member
168 return table->n_entries; in hash_get_n_entries()
205 size_t n_entries = 0; in hash_table_ok() local
215 n_entries++; in hash_table_ok()
219 n_entries++; in hash_table_ok()
223 if (n_buckets_used == table->n_buckets_used && n_entries == table->n_entries) in hash_table_ok()
232 size_t n_entries = hash_get_n_entries (table); in hash_print_statistics() local
237 fprintf (stream, "# entries: %lu\n", (unsigned long int) n_entries); in hash_print_statistics()
292 if (table->n_entries == 0) in hash_get_first()
631 table->n_entries = 0; in hash_initialize()
[all …]
/external/avahi/avahi-daemon/
Ddbus-entry-group.c143 i->n_entries = 0; in avahi_dbus_msg_entry_group_impl()
190 … if (!(flags & AVAHI_PUBLISH_UPDATE) && i->n_entries >= server->n_entries_per_entry_group_max) { in avahi_dbus_msg_entry_group_impl()
207 i->n_entries ++; in avahi_dbus_msg_entry_group_impl()
233 … if (!(flags & AVAHI_PUBLISH_UPDATE) && i->n_entries >= server->n_entries_per_entry_group_max) in avahi_dbus_msg_entry_group_impl()
243 i->n_entries ++; in avahi_dbus_msg_entry_group_impl()
298 … if (!(flags & AVAHI_PUBLISH_UPDATE) && i->n_entries >= server->n_entries_per_entry_group_max) in avahi_dbus_msg_entry_group_impl()
308 i->n_entries ++; in avahi_dbus_msg_entry_group_impl()
334 … if (!(flags & AVAHI_PUBLISH_UPDATE) && i->n_entries >= server->n_entries_per_entry_group_max) in avahi_dbus_msg_entry_group_impl()
354 i->n_entries ++; in avahi_dbus_msg_entry_group_impl()
Ddbus-internal.h56 unsigned n_entries; member
Ddbus-protocol.c447 i->n_entries = 0; in msg_server_impl()
/external/e2fsprogs/e2fsck/
Dprofile_helpers.c264 int n_entries, i; in profile_init_path() local
271 for(s = filepath, n_entries = 1; *s; s++) { in profile_init_path()
273 n_entries++; in profile_init_path()
277 filenames = (char **) malloc((n_entries+1) * sizeof(char*)); in profile_init_path()
/external/avahi/avahi-core/
Dcache.c63 assert(c->n_entries >= 1); in remove_entry()
64 --c->n_entries; in remove_entry()
86 c->n_entries = 0; in avahi_cache_new()
98 assert(c->n_entries == 0); in avahi_cache_free()
341 if (c->n_entries >= c->server->config.n_cache_entries_max) in avahi_cache_update()
360 c->n_entries++; in avahi_cache_update()
Dcache.h74 unsigned n_entries; member
/external/dbus/dbus/
Ddbus-hash.c182 int n_entries; /**< Total number of entries present member
310 table->n_entries = 0; in _dbus_hash_table_new()
481 table->n_entries -= 1; in remove_entry()
531 real->n_entries_on_init = table->n_entries; in _dbus_hash_iter_init()
554 _dbus_assert (real->n_entries_on_init >= real->table->n_entries); in _dbus_hash_iter_next()
763 real->n_entries_on_init = table->n_entries; in _dbus_hash_iter_lookup()
788 table->n_entries += 1; in add_allocated_entry()
793 if (table->n_entries >= table->hi_rebuild_size || in add_allocated_entry()
794 table->n_entries < table->lo_rebuild_size) in add_allocated_entry()
935 growing = table->n_entries >= table->hi_rebuild_size; in rebuild_table()
[all …]
Ddbus-marshal-recursive-util.c3343 int n_entries; in dict_write_value() local
3346 n_entries = node->klass->subclass_detail; in dict_write_value()
3387 while (i < n_entries) in dict_write_value()
3436 int n_entries; in dict_read_or_set_value() local
3439 n_entries = node->klass->subclass_detail; in dict_read_or_set_value()
3445 if (n_entries > 0) in dict_read_or_set_value()
3452 while (i < n_entries) in dict_read_or_set_value()
3497 if (i == (n_entries - 1)) in dict_read_or_set_value()
Ddbus-connection.c1558 int n_entries; in shared_connections_shutdown() local
1563 while ((n_entries = _dbus_hash_table_get_n_entries (shared_connections)) > 0) in shared_connections_shutdown()
1578 _dbus_assert (_dbus_hash_table_get_n_entries (shared_connections) < n_entries); in shared_connections_shutdown()
/external/dbus/bus/
Dactivation.c97 int n_entries; member
207 pending_activation->n_entries; in bus_pending_activation_unref()
1778 pending_activation->n_entries += 1; in bus_activation_activate_service()
1868 pending_activation->n_entries += 1; in bus_activation_activate_service()
/external/wpa_supplicant_8/src/ap/
Dhostapd.c1164 int n_entries, u8 accept_acl) in hostapd_set_acl_list() argument
1170 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()
1174 for (i = 0; i < n_entries; i++) in hostapd_set_acl_list()
1179 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()
/external/libdrm/intel/tests/
Dgen4-3d.batch-ref.txt40 0x1230009c: 0x00000024: entry_size: 2 [192 bytes], n_entries: 4
Dgm45-3d.batch-ref.txt41 0x123000a0: 0x00000024: entry_size: 2 [192 bytes], n_entries: 4
Dgen5-3d.batch-ref.txt44 0x123000ac: 0x00000024: entry_size: 2 [192 bytes], n_entries: 4