Home
last modified time | relevance | path

Searched refs:array_len (Results 1 – 25 of 33) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_dict_helpers.c629 entry->array_len = 0; in _wpa_dbus_dict_entry_get_byte_array()
649 entry->array_len = ++count; in _wpa_dbus_dict_entry_get_byte_array()
654 entry->bytearray_value, entry->array_len); in _wpa_dbus_dict_entry_get_byte_array()
657 if (entry->array_len == 0) { in _wpa_dbus_dict_entry_get_byte_array()
680 entry->array_len = 0; in _wpa_dbus_dict_entry_get_string_array()
718 entry->array_len = count; in _wpa_dbus_dict_entry_get_string_array()
720 __func__, entry->array_len); in _wpa_dbus_dict_entry_get_string_array()
723 if (entry->array_len == 0) { in _wpa_dbus_dict_entry_get_string_array()
751 entry->array_len = 0; in _wpa_dbus_dict_entry_get_binarray()
776 if (entry->array_len == buflen) { in _wpa_dbus_dict_entry_get_binarray()
[all …]
Ddbus_old_handlers.c861 if (entry.array_len <= 0) in wpas_dbus_iface_set_network()
864 size = entry.array_len * 2 + 1; in wpas_dbus_iface_set_network()
870 entry.array_len); in wpas_dbus_iface_set_network()
1270 if ((entry.array_len <= 0) || (entry.array_len > 65536) || in wpas_dbus_iface_set_blobs()
1284 blob->data = os_zalloc(entry.array_len); in wpas_dbus_iface_set_blobs()
1294 blob->len = entry.array_len; in wpas_dbus_iface_set_blobs()
1296 entry.array_len); in wpas_dbus_iface_set_blobs()
Ddbus_new_handlers_p2p.c36 entry.array_len != 4) in wpas_dbus_validate_dbus_ipaddr()
115 os_malloc(WPS_DEV_TYPE_LEN * entry.array_len); in wpas_dbus_handler_p2p_find()
119 for (i = 0; i < entry.array_len; i++) { in wpas_dbus_handler_p2p_find()
127 num_req_dev_types = entry.array_len; in wpas_dbus_handler_p2p_find()
1010 entry.array_len != WPS_DEV_TYPE_LEN) in wpas_dbus_setter_p2p_device_config()
1021 entry.array_len > MAX_SEC_DEVICE_TYPES) in wpas_dbus_setter_p2p_device_config()
1024 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config()
1028 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config()
1032 wpa_s->conf->num_sec_device_types = entry.array_len; in wpas_dbus_setter_p2p_device_config()
1038 (entry.array_len > P2P_MAX_WPS_VENDOR_EXT)) in wpas_dbus_setter_p2p_device_config()
[all …]
Ddbus_new_handlers.h37 size_t array_len,
43 size_t array_len,
Ddbus_dict_helpers.h137 dbus_uint32_t array_len; /** length of the array if the dict entry's member
Ddbus_new_handlers.c201 if (entry.array_len <= 0) in set_network_properties()
204 size = entry.array_len * 2 + 1; in set_network_properties()
211 entry.array_len); in set_network_properties()
380 size_t array_len, in wpas_dbus_simple_array_property_getter() argument
436 for (i = 0; i < array_len; i++) { in wpas_dbus_simple_array_property_getter()
473 size_t array_len, in wpas_dbus_simple_array_array_property_getter() argument
501 for (i = 0; i < array_len && array[i]; i++) { in wpas_dbus_simple_array_array_property_getter()
/external/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_offset_test.c46 uint32_t height, uint32_t depth, uint32_t array_len) in t_assert_extent4d() argument
51 t_assert(e->array_len == array_len); in t_assert_extent4d()
98 uint32_t height, uint32_t depth, uint32_t array_len) in t_assert_phys_level0_sa() argument
100 t_assert_extent4d(&surf->phys_level0_sa, width, height, depth, array_len); in t_assert_phys_level0_sa()
141 .array_len = 1, in test_bdw_2d_r8g8b8a8_unorm_512x512_array01_samples01_noaux_tiley0()
189 .array_len = 6, in test_bdw_2d_r8g8b8a8_unorm_1024x1024_array06_samples01_noaux_tiley0()
250 .array_len = 1, in test_bdw_3d_r8g8b8a8_unorm_256x256x256_levels09_tiley0()
/external/mesa3d/src/intel/isl/
Disl.c400 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
437 assert(phys_level0_sa->array_len == 1); in isl_choose_array_pitch_span()
450 assert(phys_level0_sa->array_len == 1); in isl_choose_array_pitch_span()
454 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
587 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
608 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
622 .a = info->array_len * info->samples, in isl_calc_phys_level0_extent_sa()
635 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
649 assert(info->array_len == 1); in isl_calc_phys_level0_extent_sa()
775 assert(phys_level0_sa->array_len == 1); in isl_calc_phys_slice0_extent_sa_gen4_3d()
[all …]
Disl.h702 union { uint32_t a, array_len; }; member
807 uint32_t array_len; member
937 uint32_t array_len; member
1242 uint32_t array_len) in isl_extent4d() argument
1249 e.array_len = array_len; in isl_extent4d()
Disl_surface_state.c313 s.Depth = info->view->array_len - 1; in isl_genX()
327 s.Depth = info->view->array_len / 6 - 1; in isl_genX()
361 s.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX()
478 assert(info->surf->logical_level0_px.array_len == 1); in isl_genX()
Disl_storage_image.c225 param->size[2] = surf->logical_level0_px.array_len - in isl_surf_fill_image_param()
/external/mesa3d/src/intel/blorp/
Dblorp.c111 info->view.array_len = MAX2(info->surf.logical_level0_px.depth, in brw_blorp_surface_info_init()
112 info->surf.logical_level0_px.array_len); in brw_blorp_surface_info_init()
127 assert(info->view.array_len >= info->view.base_array_layer); in brw_blorp_surface_info_init()
128 info->view.array_len -= info->view.base_array_layer; in brw_blorp_surface_info_init()
136 info->view.array_len = MIN2(info->view.array_len, 512); in brw_blorp_surface_info_init()
Dblorp_clear.c427 params.num_layers = MIN2(params.dst.view.array_len, num_layers); in blorp_clear()
474 if (params.stencil.view.array_len < params.num_layers) in blorp_clear_depth_stencil()
475 params.num_layers = params.stencil.view.array_len; in blorp_clear_depth_stencil()
497 if (params.depth.view.array_len < params.num_layers) in blorp_clear_depth_stencil()
498 params.num_layers = params.depth.view.array_len; in blorp_clear_depth_stencil()
Dblorp_genX_exec.h823 params->depth.view.array_len - 1; in blorp_emit_depth_stencil_config()
843 params->stencil.view.array_len - 1; in blorp_emit_depth_stencil_config()
1098 .Depth = surface->view.array_len - 1, in blorp_emit_null_surface_state()
1099 .RenderTargetViewExtent = surface->view.array_len - 1, in blorp_emit_null_surface_state()
/external/tcpdump/
Dprint-resp.c373 int array_len, i, ret_len; in resp_print_bulk_array() local
379 GET_LENGTH(ndo, length_cur, bp, array_len); in resp_print_bulk_array()
381 if (array_len > 0) { in resp_print_bulk_array()
383 for (i = 0; i < array_len; i++) { in resp_print_bulk_array()
393 switch(array_len) { in resp_print_bulk_array()
/external/wpa_supplicant_8/src/eap_peer/
Deap_methods.c131 size_t array_len = 0; in eap_get_names_as_string_array() local
136 array_len++; in eap_get_names_as_string_array()
138 array = os_calloc(array_len + 1, sizeof(char *)); in eap_get_names_as_string_array()
154 *num = array_len; in eap_get_names_as_string_array()
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers-8.ll9 %array_len = load i32, i32 addrspace(1)* %array_len_pointer.i32
16 %index_lt = icmp ult i32 %index, %array_len
/external/trappy/trappy/
Dbase.py143 array_len = len(array_elements.split(' '))
145 if array_len > ret[array_name]:
146 ret[array_name] = array_len
/external/mesa3d/src/compiler/
Dglsl_types.cpp1584 unsigned int array_len; in std140_size() local
1588 array_len = this->arrays_of_arrays_size(); in std140_size()
1591 array_len = 1; in std140_size()
1598 array_len *= element_type->vector_elements; in std140_size()
1602 array_len *= element_type->matrix_columns; in std140_size()
1605 array_len); in std140_size()
1827 unsigned int array_len; in std430_size() local
1831 array_len = this->arrays_of_arrays_size(); in std430_size()
1834 array_len = 1; in std430_size()
1841 array_len *= element_type->vector_elements; in std430_size()
[all …]
/external/conscrypt/common/src/jni/main/include/
Dmacros.h138 #define ARRAY_CHUNK_INVALID(array_len, chunk_offset, chunk_len) \ argument
139 ((chunk_offset) < 0 || (chunk_offset) > static_cast<ssize_t>(array_len) || (chunk_len) < 0 || \
140 (chunk_len) > static_cast<ssize_t>(array_len) - (chunk_offset))
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c105 assert(view.levels == 1 && view.array_len == 1); in brw_emit_surface_state()
123 surf.logical_level0_px.array_len = 1; in brw_emit_surface_state()
224 .array_len = MAX2(irb->layer_count, 1), in brw_update_renderbuffer_surface()
459 view->array_len)) in brw_texture_view_sane()
487 view->base_array_layer, view->array_len); in brw_disable_aux_surface()
623 .array_len = view_num_layers, in brw_update_texture_surface()
1204 .array_len = irb->layer_count, in update_renderbuffer_read_surfaces()
1747 .array_len = num_layers, in update_image_surface()
1755 view.base_array_layer, view.array_len); in update_image_surface()
/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_learn.c52 static int bssid_in_array(u8 *array, size_t array_len, const u8 *bssid) in bssid_in_array() argument
56 if (array == NULL || array_len == 0) in bssid_in_array()
59 for (i = 0; i < array_len; i++) { in bssid_in_array()
/external/mesa3d/src/intel/vulkan/
Danv_image.c166 .array_len = vk_info->arrayLayers, in make_surface()
519 .array_len = anv_get_layerCount(image, range), in anv_CreateImageView()
540 iview->isl.array_len = iview->extent.depth; in anv_CreateImageView()
Danv_pipeline.c825 unsigned array_len = in anv_pipeline_compile_fs() local
827 assert(num_rts + array_len <= 8); in anv_pipeline_compile_fs()
829 for (unsigned i = 0; i < array_len; i++) { in anv_pipeline_compile_fs()
837 num_rts += array_len; in anv_pipeline_compile_fs()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1581 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_inputs() local
1584 assert(array_len == 1); in ntq_setup_inputs()
1585 (void)array_len; in ntq_setup_inputs()
1612 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_outputs() local
1615 assert(array_len == 1); in ntq_setup_outputs()
1616 (void)array_len; in ntq_setup_outputs()
1669 unsigned array_len = MAX2(nir_reg->num_array_elems, 1); in ntq_setup_registers() local
1671 array_len * in ntq_setup_registers()
1676 for (int i = 0; i < array_len * nir_reg->num_components; i++) in ntq_setup_registers()

12