Home
last modified time | relevance | path

Searched refs:array_len (Results 1 – 25 of 39) 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_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()
1021 entry.array_len != WPS_DEV_TYPE_LEN) in wpas_dbus_setter_p2p_device_config()
1032 entry.array_len > MAX_SEC_DEVICE_TYPES) in wpas_dbus_setter_p2p_device_config()
1035 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config()
1039 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config()
1043 wpa_s->conf->num_sec_device_types = entry.array_len; in wpas_dbus_setter_p2p_device_config()
1049 (entry.array_len > P2P_MAX_WPS_VENDOR_EXT)) in wpas_dbus_setter_p2p_device_config()
[all …]
Ddbus_new_handlers.h42 size_t array_len,
48 size_t array_len,
Ddbus_dict_helpers.h137 dbus_uint32_t array_len; /** length of the array if the dict entry's member
/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/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp500 const int array_len = 8; in TestWchar() local
501 char chars[array_len]; in TestWchar()
503 wchar_t wchars[array_len]; in TestWchar()
506 EXPECT_DEATH(wcsrtombs(chars, &wchars_ptr, array_len + 1, &mbs)); in TestWchar()
508 EXPECT_DEATH(mbsnrtowcs(wchars, &chars_ptr, 0, array_len + 1, &mbs)); in TestWchar()
510 EXPECT_DEATH(wcsnrtombs(chars, &wchars_ptr, 0, array_len + 1, &mbs)); in TestWchar()
577 const int array_len = 8; in TestWchar() local
579 char buf[array_len - 1]; in TestWchar()
584 wchar_t buf[array_len - 1]; in TestWchar()
592 wcsrtombs(split_chars.buf, &wchars_ptr, array_len, &mbs)); in TestWchar()
[all …]
/external/mesa3d/src/intel/isl/
Disl.c469 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
518 assert(phys_level0_sa->array_len == 1); in isl_choose_array_pitch_span()
522 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
698 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
723 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
737 .a = info->array_len * info->samples, in isl_calc_phys_level0_extent_sa()
750 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
764 assert(info->array_len == 1); in isl_calc_phys_level0_extent_sa()
1005 .h = *array_pitch_el_rows * (phys_level0_sa->array_len - 1) + in isl_calc_phys_total_extent_el_gen4_2d()
1037 assert(phys_level0_sa->array_len == 6); in isl_calc_phys_total_extent_el_gen4_3d()
[all …]
Disl.h973 union { uint32_t a, array_len; }; member
1100 uint32_t array_len; member
1239 uint32_t array_len; member
1659 uint32_t array_len) in isl_extent4d() argument
1666 e.array_len = array_len; in isl_extent4d()
Disl_surface_state.c334 s.Depth = info->view->array_len - 1; in isl_genX()
348 s.Depth = info->view->array_len / 6 - 1; in isl_genX()
382 s.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX()
525 assert(info->surf->logical_level0_px.array_len == 1); in isl_genX()
Disl_emit_depth_stencil.c84 db.Depth = db.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX()
/external/mesa3d/src/intel/blorp/
Dblorp.c71 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init()
99 info->aux_surf.logical_level0_px.array_len)); in brw_blorp_surface_info_init()
114 info->view.array_len = MAX2(info->surf.logical_level0_px.depth, in brw_blorp_surface_info_init()
115 info->surf.logical_level0_px.array_len); in brw_blorp_surface_info_init()
130 assert(info->view.array_len >= info->view.base_array_layer); in brw_blorp_surface_info_init()
131 info->view.array_len -= info->view.base_array_layer; in brw_blorp_surface_info_init()
139 info->view.array_len = MIN2(info->view.array_len, 512); in brw_blorp_surface_info_init()
Dblorp_clear.c313 surf->aux_surf->logical_level0_px.array_len)); in blorp_fast_clear()
473 params.num_layers = MIN2(params.dst.view.array_len, num_layers); in blorp_clear()
530 if (params.stencil.view.array_len < params.num_layers) in blorp_clear_depth_stencil()
531 params.num_layers = params.stencil.view.array_len; in blorp_clear_depth_stencil()
553 if (params.depth.view.array_len < params.num_layers) in blorp_clear_depth_stencil()
554 params.num_layers = params.depth.view.array_len; in blorp_clear_depth_stencil()
/external/conscrypt/common/src/jni/main/include/conscrypt/
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/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers-8.ll10 %array_len = load i32, i32 addrspace(1)* %array_len_pointer.i32
17 %index_lt = icmp ult i32 %index, %array_len
/external/mesa3d/src/compiler/
Dglsl_types.cpp1719 unsigned int array_len; in std140_size() local
1723 array_len = this->arrays_of_arrays_size(); in std140_size()
1726 array_len = 1; in std140_size()
1733 array_len *= element_type->vector_elements; in std140_size()
1737 array_len *= element_type->matrix_columns; in std140_size()
1740 array_len); in std140_size()
1962 unsigned int array_len; in std430_size() local
1966 array_len = this->arrays_of_arrays_size(); in std430_size()
1969 array_len = 1; in std430_size()
1976 array_len *= element_type->vector_elements; in std430_size()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c105 assert(view->levels == 1 && view->array_len == 1); in get_isl_surf()
123 surf->logical_level0_px.array_len = 1; in get_isl_surf()
239 .array_len = MAX2(irb->layer_count, 1), in gen6_update_renderbuffer_surface()
476 mt->surf.logical_level0_px.array_len; in brw_update_texture_surface()
554 .array_len = view_num_layers, in brw_update_texture_surface()
1042 .array_len = irb->layer_count, in update_renderbuffer_read_surfaces()
1446 mt->surf.logical_level0_px.array_len; in get_image_num_layers()
1485 .array_len = num_layers, in update_image_surface()
1501 view.array_len)); in update_image_surface()
Dintel_mipmap_tree.c174 const bool arrayed = mt->surf.logical_level0_px.array_len > 1 || in intel_miptree_supports_ccs()
436 return mt->surf.logical_level0_px.array_len; in brw_get_num_logical_layers()
446 return surf->phys_level0_sa.array_len; in get_num_phys_layers()
449 return minify(surf->phys_level0_sa.array_len, level); in get_num_phys_layers()
588 .array_len = target == GL_TEXTURE_3D ? 1 : depth0, in make_surface()
663 mt->surf.logical_level0_px.array_len, in make_separate_stencil_surface()
947 assert(mt->surf.logical_level0_px.array_len == 1); in create_ccs_buf_for_image()
1325 mt->surf.logical_level0_px.array_len; in intel_miptree_match_image()
2043 mt->surf.logical_level0_px.array_len == 1)); in intel_miptree_check_color_resolve()
2788 assert(mt->surf.logical_level0_px.array_len == 1); in intel_miptree_prepare_external()
[all …]
Dintel_tex_image.c71 old_mt->surf.logical_level0_px.array_len; in intel_miptree_create_for_teximage()
257 assert(image->mt->surf.logical_level0_px.array_len == 1); in intel_texsubimage_tiled_memcpy()
710 assert(image->mt->surf.logical_level0_px.array_len == 1); in intel_gettexsubimage_tiled_memcpy()
/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/broadcom/compiler/
Dnir_to_vir.c1275 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_inputs() local
1278 assert(array_len == 1); in ntq_setup_inputs()
1279 (void)array_len; in ntq_setup_inputs()
1325 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_outputs() local
1328 assert(array_len == 1); in ntq_setup_outputs()
1329 (void)array_len; in ntq_setup_outputs()
1395 unsigned array_len = MAX2(nir_reg->num_array_elems, 1); in ntq_setup_registers() local
1397 array_len * in ntq_setup_registers()
1402 for (int i = 0; i < array_len * nir_reg->num_components; i++) in ntq_setup_registers()
/external/u-boot/fs/zfs/
Dzfs.c768 int blksft, int chunk, int array_len, const char *buf) in zap_leaf_array_equal() argument
772 while (bseen < array_len) { in zap_leaf_array_equal()
774 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_equal()
784 return (bseen == array_len); in zap_leaf_array_equal()
790 int chunk, int array_len, char *buf) in zap_leaf_array_get() argument
794 while (bseen < array_len) { in zap_leaf_array_get()
796 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_get()
/external/mesa3d/src/intel/vulkan/
Danv_image.c331 .array_len = vk_info->arrayLayers, in make_surface()
360 .array_len = vk_info->arrayLayers, in make_surface()
980 assert(view.array_len == 1); in anv_image_fill_surface_state()
1164 .array_len = anv_get_layerCount(image, range), in anv_CreateImageView()
1179 iview->planes[vplane].isl.array_len = iview->extent.depth; in anv_CreateImageView()

12