Home
last modified time | relevance | path

Searched refs:n_entries (Results 1 - 13 of 13) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Ddynarray.c34 unsigned n_allocated, n_entries; member
52 for (i = 0; i < array->n_entries; i++) in pa_dynarray_free()
63 if (array->n_entries == array->n_allocated) { in pa_dynarray_append()
70 array->data[array->n_entries++] = p; in pa_dynarray_append()
76 if (i >= array->n_entries) in pa_dynarray_get()
85 if (array->n_entries == 0) in pa_dynarray_last()
88 return array->data[array->n_entries - 1]; in pa_dynarray_last()
96 if (i >= array->n_entries) in pa_dynarray_remove_by_index()
100 array->data[i] = array->data[array->n_entries - 1]; in pa_dynarray_remove_by_index()
101 array->n_entries in pa_dynarray_remove_by_index()
[all...]
H A Dhashmap.c51 unsigned n_entries; member
69 h->n_entries = 0; in pa_hashmap_new_full()
111 pa_assert(h->n_entries >= 1); in remove_entry()
112 h->n_entries--; in remove_entry()
170 h->n_entries++; in pa_hashmap_put()
171 pa_assert(h->n_entries >= 1); in pa_hashmap_put()
335 return h->n_entries; in pa_hashmap_size()
341 return h->n_entries == 0; in pa_hashmap_isempty()
H A Didxset.c53 unsigned n_entries; member
92 s->n_entries = 0; in pa_idxset_new()
136 pa_assert(s->n_entries >= 1); in remove_entry()
137 s->n_entries--; in remove_entry()
221 s->n_entries++; in pa_idxset_put()
222 pa_assert(s->n_entries >= 1); in pa_idxset_put()
450 return s->n_entries; in pa_idxset_size()
456 return s->n_entries == 0; in pa_idxset_isempty()
/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer_urb.h50 stages[s].n_entries * stages[s].size) * alloc_delta, in DrawAllocation()
73 stages[s].start + stages[s].n_entries * stages[s].size); in DrawAllocation()
H A Daubinator_viewer.h51 uint32_t n_entries; member
H A Daubinator_viewer_decoder.cpp772 ctx->urb_stages[ctx->stage].n_entries = iter.raw_value; in handle_urb()
777 ctx->urb_stages[ctx->stage].n_entries * in handle_urb()
/third_party/eudev/src/shared/
H A Dhashmap.c144 unsigned max_entries; /* high watermark of n_entries */
177 unsigned n_entries; /* number of stored entries */ member
349 static unsigned n_entries(HashmapBase *h) { in n_entries() function
350 return h->has_indirect ? h->indirect.n_entries in n_entries()
356 h->indirect.n_entries++; in n_entries_inc()
363 h->indirect.n_entries--; in n_entries_dec()
1037 assert(n_entries(h) < n_buckets(h)); in hashmap_base_put_boldly()
1062 h->debug.max_entries = MAX(h->debug.max_entries, n_entries(h)); in hashmap_base_put_boldly()
1088 new_n_entries = n_entries(h) + entries_add; in resize_buckets()
1129 h->indirect.n_entries in resize_buckets()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cArrayOfArraysTests.cpp8311 * @param n_entries Number of entries
8315 void prepareDimensions(size_t n_entries, std::vector<size_t>& dimensions) in prepareDimensions() argument
8325 const size_t denom = findSmallestDenominator(n_entries); in prepareDimensions()
8327 n_entries /= denom; in prepareDimensions()
8332 dimensions[last] = n_entries; in prepareDimensions()
8587 glw::GLuint n_entries = in test_shader_compilation() local
8598 n_entries = (glw::GLuint)std::min((glw::GLint)n_entries, (max_uniform_locations - 1)); in test_shader_compilation()
8602 execute(tested_shader_type, last_binding, offset, n_entries); in test_shader_compilation()
8613 * @param n_entries Numbe
8616 execute(typename TestCaseBase<API>::TestShaderType tested_shader_type, glw::GLuint binding, glw::GLuint offset, glw::GLuint n_entries) execute() argument
[all...]
H A Des31cArrayOfArraysTests.hpp2254 glw::GLuint n_entries);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferOperations.cpp544 glw::GLuint n_entries = static_cast<glw::GLuint>(size / sizeof(glw::GLint)); in verifyResults() local
546 for (glw::GLuint i = 0; i < n_entries; ++i) in verifyResults()
/third_party/pulseaudio/src/modules/
H A Dmodule-stream-restore.c567 unsigned n_entries; in handle_get_all() local
574 entries = get_entries(u, &n_entries); in handle_get_all()
582 pa_dbus_append_basic_array_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_ENTRIES].property_name, DBUS_TYPE_OBJECT_PATH, entries, n_entries); in handle_get_all()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dhostapd.c1447 int n_entries, u8 accept_acl) in hostapd_set_acl_list()
1453 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()
1457 for (i = 0; i < n_entries; i++) in hostapd_set_acl_list()
1462 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()
1445 hostapd_set_acl_list(struct hostapd_data *hapd, struct mac_acl_entry *mac_acl, int n_entries, u8 accept_acl) hostapd_set_acl_list() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dhostapd.c1391 int n_entries, u8 accept_acl) in hostapd_set_acl_list()
1397 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()
1401 for (i = 0; i < n_entries; i++) in hostapd_set_acl_list()
1406 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()
1389 hostapd_set_acl_list(struct hostapd_data *hapd, struct mac_acl_entry *mac_acl, int n_entries, u8 accept_acl) hostapd_set_acl_list() argument

Completed in 32 milliseconds