Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 25 of 46) sorted by relevance

12

/third_party/alsa-lib/src/topology/
Dtext.c56 texts->num_items = j; in parse_text_values()
102 if (!texts || texts->num_items == 0) in tplg_save_text()
105 for (i = 0; err >= 0 && i < texts->num_items; i++) in tplg_save_text()
Dctl.c207 ec->items += texts->num_items; in copy_enum_texts()
1046 int ret, i, num_items, num_channels; in tplg_add_enum() local
1068 num_items = enum_ctl->items < SND_SOC_TPLG_NUM_TEXTS ? in tplg_add_enum()
1070 ec->items = num_items; in tplg_add_enum()
1094 texts->texts->num_items = num_items; in tplg_add_enum()
1095 for (i = 0; i < num_items; i++) { in tplg_add_enum()
1107 for (i = 0; i < num_items; i++) { in tplg_add_enum()
/third_party/openssl/crypto/lhash/
Dlhash.c104 lh->num_items = 0; in OPENSSL_LH_flush()
114 if ((lh->up_load <= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)) && !expand(lh)) in OPENSSL_LH_insert()
129 lh->num_items++; in OPENSSL_LH_insert()
155 lh->num_items--; in OPENSSL_LH_delete()
157 (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes))) in OPENSSL_LH_delete()
371 return lh ? lh->num_items : 0; in OPENSSL_LH_num_items()
Dlhash_local.h29 unsigned long num_items; member
Dlh_stats.c64 BIO_printf(out, "num_items = %lu\n", lh->num_items); in OPENSSL_LH_stats_bio()
/third_party/node/deps/openssl/openssl/crypto/lhash/
Dlhash.c104 lh->num_items = 0; in OPENSSL_LH_flush()
114 if ((lh->up_load <= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)) && !expand(lh)) in OPENSSL_LH_insert()
129 lh->num_items++; in OPENSSL_LH_insert()
155 lh->num_items--; in OPENSSL_LH_delete()
157 (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes))) in OPENSSL_LH_delete()
371 return lh ? lh->num_items : 0; in OPENSSL_LH_num_items()
Dlhash_local.h29 unsigned long num_items; member
/third_party/harfbuzz/
Dbackport-0002-CVE-2023-25193.patch18 assert (num_items > 0);
19 - while (idx > num_items - 1)
22 + unsigned stop = num_items - 1;
/third_party/libdrm/intel/
Duthash.h263 (head)->hh.tbl->num_items++; \
299 (head)->hh.tbl->num_items++; \
367 (head)->hh.tbl->num_items--; \
427 if (_count != (head)->hh.tbl->num_items) { \
429 (head)->hh.tbl->num_items, _count ); \
445 if (_count != (head)->hh.tbl->num_items) { \
447 (head)->hh.tbl->num_items, _count ); \
803 (tbl->num_items >> (tbl->log2_num_buckets+1U)) + \
804 (((tbl->num_items & ((tbl->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \
830 tbl->ineff_expands = (tbl->nonideal_items > (tbl->num_items >> 1)) ? \
[all …]
/third_party/mesa3d/src/util/
Dslab.c107 unsigned num_items) in slab_create_parent() argument
112 parent->num_elements = num_items; in slab_create_parent()
329 unsigned num_items) in slab_create() argument
331 slab_create_parent(&mempool->parent, item_size, num_items); in slab_create()
Dslab.h79 unsigned num_items);
95 unsigned num_items);
Dsparse_array.c237 uint32_t *items, unsigned num_items) in util_sparse_array_free_list_push() argument
239 assert(num_items > 0); in util_sparse_array_free_list_push()
243 for (unsigned i = 1; i < num_items; i++) { in util_sparse_array_free_list_push()
Dsparse_array.h125 uint32_t *items, unsigned num_items);
/third_party/libcoap/include/coap3/
Dcoap_uthash_internal.h318 (head)->hh.tbl->num_items++; \
341 (head)->hh.tbl->num_items++; \
475 (head)->hh.tbl->num_items--; \
543 if (_count != (head)->hh.tbl->num_items) { \
545 (where), (head)->hh.tbl->num_items, _count); \
559 if (_count != (head)->hh.tbl->num_items) { \
561 (where), (head)->hh.tbl->num_items, _count); \
846 ((tbl)->num_items >> ((tbl)->log2_num_buckets+1U)) + \
847 ((((tbl)->num_items & (((tbl)->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \
874 (tbl)->ineff_expands = ((tbl)->nonideal_items > ((tbl)->num_items >> 1)) ? \
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_dict_helpers.c505 const dbus_uint32_t num_items) in wpa_dbus_dict_append_string_array() argument
510 if (!key || (!items && num_items != 0) || in wpa_dbus_dict_append_string_array()
516 for (i = 0; i < num_items; i++) { in wpa_dbus_dict_append_string_array()
541 const dbus_uint32_t num_items) in wpa_dbus_dict_append_wpabuf_array() argument
547 (!items && num_items != 0) || in wpa_dbus_dict_append_wpabuf_array()
555 for (i = 0; i < num_items; i++) { in wpa_dbus_dict_append_wpabuf_array()
Ddbus_dict_helpers.h97 const dbus_uint32_t num_items);
102 const dbus_uint32_t num_items);
Ddbus_new_handlers.c1088 size_t num_items = 0; in wpas_dbus_getter_eap_methods() local
1091 eap_methods = eap_get_names_as_string_array(&num_items); in wpas_dbus_getter_eap_methods()
1100 num_items, error); in wpas_dbus_getter_eap_methods()
1102 while (num_items) in wpas_dbus_getter_eap_methods()
1103 os_free(eap_methods[--num_items]); in wpas_dbus_getter_eap_methods()
1125 size_t num_items = 0; in wpas_dbus_getter_global_capabilities() local
1145 capabilities[num_items++] = "ap"; in wpas_dbus_getter_global_capabilities()
1148 capabilities[num_items++] = "ibss-rsn"; in wpas_dbus_getter_global_capabilities()
1151 capabilities[num_items++] = "p2p"; in wpas_dbus_getter_global_capabilities()
1154 capabilities[num_items++] = "interworking"; in wpas_dbus_getter_global_capabilities()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_dict_helpers.c505 const dbus_uint32_t num_items) in wpa_dbus_dict_append_string_array() argument
510 if (!key || (!items && num_items != 0) || in wpa_dbus_dict_append_string_array()
516 for (i = 0; i < num_items; i++) { in wpa_dbus_dict_append_string_array()
541 const dbus_uint32_t num_items) in wpa_dbus_dict_append_wpabuf_array() argument
547 (!items && num_items != 0) || in wpa_dbus_dict_append_wpabuf_array()
555 for (i = 0; i < num_items; i++) { in wpa_dbus_dict_append_wpabuf_array()
Ddbus_dict_helpers.h97 const dbus_uint32_t num_items);
102 const dbus_uint32_t num_items);
Ddbus_new_handlers.c951 size_t num_items = 0; in wpas_dbus_getter_eap_methods() local
954 eap_methods = eap_get_names_as_string_array(&num_items); in wpas_dbus_getter_eap_methods()
963 num_items, error); in wpas_dbus_getter_eap_methods()
965 while (num_items) in wpas_dbus_getter_eap_methods()
966 os_free(eap_methods[--num_items]); in wpas_dbus_getter_eap_methods()
989 size_t num_items = 0; in wpas_dbus_getter_global_capabilities() local
1004 capabilities[num_items++] = "ap"; in wpas_dbus_getter_global_capabilities()
1007 capabilities[num_items++] = "ibss-rsn"; in wpas_dbus_getter_global_capabilities()
1010 capabilities[num_items++] = "p2p"; in wpas_dbus_getter_global_capabilities()
1013 capabilities[num_items++] = "interworking"; in wpas_dbus_getter_global_capabilities()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_meta_common.c1248 uint32_t num_items = region->size / item_size; in v3dX() local
1249 assert(num_items > 0); in v3dX()
1269 while (num_items > 0) { in v3dX()
1275 framebuffer_size_for_pixel_count(num_items, &width, &height); in v3dX()
1292 num_items -= items_copied; in v3dX()
1312 uint32_t num_items = size / 4; in v3dX() local
1314 while (num_items > 0) { in v3dX()
1321 framebuffer_size_for_pixel_count(num_items, &width, &height); in v3dX()
1337 num_items -= items_copied; in v3dX()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttbdf.c110 FT_UInt num_items = FT_PEEK_USHORT( p + 2 ); in tt_face_load_bdf_props() local
116 strike += 10 * num_items; in tt_face_load_bdf_props()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-open-file.hh134 unsigned num_items = it.len (); in serialize() local
135 if (unlikely (!tables.serialize (c, num_items))) return_trace (false); in serialize()
188 for (unsigned int i = 0; i < num_items; i++) in serialize()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrload.c141 FT_UInt num_items, item_type, item_size; in pfr_extra_items_parse() local
145 num_items = PFR_NEXT_BYTE( p ); in pfr_extra_items_parse()
147 for ( ; num_items > 0; num_items-- ) in pfr_extra_items_parse()
/third_party/mesa3d/src/intel/common/
Dintel_gem.h110 .num_items = 1, in intel_i915_query_flags()

12