Home
last modified time | relevance | path

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

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
139 os_malloc(WPS_DEV_TYPE_LEN * entry.array_len); in wpas_dbus_handler_p2p_find()
143 for (i = 0; i < entry.array_len; i++) { in wpas_dbus_handler_p2p_find()
151 num_req_dev_types = entry.array_len; in wpas_dbus_handler_p2p_find()
1074 entry.array_len != WPS_DEV_TYPE_LEN) in wpas_dbus_setter_p2p_device_config()
1085 entry.array_len > MAX_SEC_DEVICE_TYPES) in wpas_dbus_setter_p2p_device_config()
1088 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config()
1092 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config()
1096 wpa_s->conf->num_sec_device_types = entry.array_len; in wpas_dbus_setter_p2p_device_config()
1102 (entry.array_len > P2P_MAX_WPS_VENDOR_EXT)) in wpas_dbus_setter_p2p_device_config()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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,
/third_party/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()
/third_party/mesa3d/src/compiler/nir/
Dnir_split_vars.c359 unsigned array_len; member
419 info->levels[i].array_len = glsl_get_length(type); in init_var_list_array_infos()
543 split->num_splits = var_info->levels[level].array_len; in create_split_array_vars()
589 info->levels[i].array_len); in split_var_list_arrays()
591 split_type = glsl_array_type(split_type, info->levels[i].array_len, 0); in split_var_list_arrays()
652 nir_src_as_uint(p->arr.index) >= info->levels[i].array_len) in array_path_is_out_of_bounds()
836 assert(index < info->levels[i].array_len); in split_array_access_impl()
957 unsigned array_len; member
1014 usage->levels[i].array_len = glsl_get_length(type); in get_vec_var_usage()
1128 max_used = level->array_len - 1; in mark_deref_used()
[all …]
/third_party/mesa3d/src/intel/isl/
Disl.c742 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
791 assert(phys_level0_sa->array_len == 1); in isl_choose_array_pitch_span()
795 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span()
983 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
1008 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
1022 .a = info->array_len * info->samples, in isl_calc_phys_level0_extent_sa()
1035 .a = info->array_len, in isl_calc_phys_level0_extent_sa()
1046 assert(info->array_len == 1); in isl_calc_phys_level0_extent_sa()
1291 .a = phys_level0_sa->array_len, in isl_calc_phys_total_extent_el_gfx4_2d()
1296 .h = *array_pitch_el_rows * (phys_level0_sa->array_len - 1) + in isl_calc_phys_total_extent_el_gfx4_2d()
[all …]
Disl_storage_image.c232 assert(view->base_array_layer + view->array_len <= in isl_surf_fill_image_param()
233 surf->logical_level0_px.array_len); in isl_surf_fill_image_param()
237 view->array_len : in isl_surf_fill_image_param()
240 view->array_len : in isl_surf_fill_image_param()
Disl_surface_state.c422 s.Depth = info->view->array_len - 1; in isl_genX()
436 s.Depth = info->view->array_len / 6 - 1; in isl_genX()
470 s.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX()
480 info->view->array_len > 1; in isl_genX()
600 assert(info->surf->logical_level0_px.array_len == 1); in isl_genX()
Disl_emit_depth_stencil.c97 db.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX()
184 sb.Depth = sb.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX()
/third_party/mindspore/mindspore/ccsrc/utils/system/
Dbase.h126 inline void EncodeFixed64(char *buf, const unsigned int array_len, int64 value) { in EncodeFixed64() argument
127 if (sizeof(value) > array_len) { in EncodeFixed64()
128 …MS_LOG(EXCEPTION) << "Buffer overflow, real size is " << array_len << ", but required " << sizeof(… in EncodeFixed64()
/third_party/mesa3d/src/intel/blorp/
Dblorp.c90 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init()
127 info->view.array_len = MAX2(info->surf.logical_level0_px.depth, in brw_blorp_surface_info_init()
128 info->surf.logical_level0_px.array_len); in brw_blorp_surface_info_init()
143 assert(info->view.array_len >= info->view.base_array_layer); in brw_blorp_surface_info_init()
144 info->view.array_len -= info->view.base_array_layer; in brw_blorp_surface_info_init()
152 info->view.array_len = MIN2(info->view.array_len, 512); in brw_blorp_surface_info_init()
159 assert(info->surf.logical_level0_px.array_len == 1); in brw_blorp_surface_info_init()
Dblorp_clear.c633 params.num_layers = MIN2(params.dst.view.array_len, num_layers); in blorp_clear()
646 assert(params.dst.surf.logical_level0_px.array_len == 1); in blorp_clear()
843 if (params.stencil.view.array_len < params.num_layers) in blorp_clear_depth_stencil()
844 params.num_layers = params.stencil.view.array_len; in blorp_clear_depth_stencil()
866 if (params.depth.view.array_len < params.num_layers) in blorp_clear_depth_stencil()
867 params.num_layers = params.depth.view.array_len; in blorp_clear_depth_stencil()
971 surf->logical_level0_px.array_len > 1; in blorp_can_hiz_clear_depth()
1424 .array_len = 1, in blorp_ccs_ambiguate()
1495 assert(surf->aux_surf->logical_level0_px.array_len == 1); in blorp_ccs_ambiguate()
1523 .array_len = 1, in blorp_ccs_ambiguate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_methods.c132 size_t array_len = 0; in eap_get_names_as_string_array() local
137 array_len++; in eap_get_names_as_string_array()
139 array = os_calloc(array_len + 1, sizeof(char *)); in eap_get_names_as_string_array()
155 *num = array_len; in eap_get_names_as_string_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py450 self.array_len = max_index + 1
459 array_len = shader_and_variation.array_len
481 definition += 'constexpr size_t kArrayLen = 0x%08X;\n' % array_len
509 array_len = shader_and_variation.array_len
527 for variation in range(array_len):
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py550 self.array_len = max_index + 1
559 array_len = shader_and_variation.array_len
584 definition += 'constexpr size_t kArrayLen = 0x%08X;\n' % array_len
612 array_len = shader_and_variation.array_len
630 for variation in range(array_len):
/third_party/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp499 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() local
500 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain()
540 auto* array_len = MakeRuntimeArrayLengthInst(&inst, idx); in ClampIndicesForAccessChain() local
541 if (!array_len) { // We've already signaled an error. in ClampIndicesForAccessChain()
544 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain()
798 auto* array_len = InsertInst( in MakeRuntimeArrayLengthInst() local
802 return array_len; in MakeRuntimeArrayLengthInst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp500 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() local
501 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain()
541 auto* array_len = MakeRuntimeArrayLengthInst(&inst, idx); in ClampIndicesForAccessChain() local
542 if (!array_len) { // We've already signaled an error. in ClampIndicesForAccessChain()
545 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain()
799 auto* array_len = InsertInst( in MakeRuntimeArrayLengthInst() local
803 return array_len; in MakeRuntimeArrayLengthInst()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp500 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() local
501 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain()
541 auto* array_len = MakeRuntimeArrayLengthInst(&inst, idx); in ClampIndicesForAccessChain() local
542 if (!array_len) { // We've already signaled an error. in ClampIndicesForAccessChain()
545 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain()
799 auto* array_len = InsertInst( in MakeRuntimeArrayLengthInst() local
803 return array_len; in MakeRuntimeArrayLengthInst()
/third_party/glib/gio/
Dgdbusmessage.c1671 guint32 array_len; in parse_value_from_blob() local
1675 array_len = g_memory_buffer_read_uint32 (buf); in parse_value_from_blob()
1679 g_print (": array spans 0x%04x bytes\n", array_len); in parse_value_from_blob()
1682 if (array_len > (2<<26)) in parse_value_from_blob()
1691 array_len), in parse_value_from_blob()
1692 array_len); in parse_value_from_blob()
1704 if (array_len % fixed_size != 0) in parse_value_from_blob()
1711 g_variant_type_peek_string (element_type)[0], fixed_size, array_len); in parse_value_from_blob()
1727 array_data = read_bytes (buf, array_len, &local_error); in parse_value_from_blob()
1731 … ret = g_variant_new_fixed_array (element_type, array_data, array_len / fixed_size, fixed_size); in parse_value_from_blob()
[all …]
/third_party/ltp/metadata/
Ddata_storage.h23 unsigned int array_len; member
131 node->array.array_len = MAX_ELEMS; in data_node_array()
222 if (array->array_used == array->array_len) in data_node_array_add()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c107 assert(view->levels == 1 && view->array_len == 1); in get_isl_surf()
125 surf->logical_level0_px.array_len = 1; in get_isl_surf()
253 .array_len = MAX2(irb->layer_count, 1), in gfx6_update_renderbuffer_surface()
498 mt->surf.logical_level0_px.array_len; in brw_update_texture_surface()
593 .array_len = view_num_layers, in brw_update_texture_surface()
1125 .array_len = irb->layer_count, in update_renderbuffer_read_surfaces()
1567 mt->surf.logical_level0_px.array_len; in update_image_surface()
1579 .array_len = num_layers, in update_image_surface()
1595 view.array_len)); in update_image_surface()
/third_party/boost/libs/date_time/test/gregorian/
Dtestdate_iterator.cpp13 void test_month_decrement_iterator(const boost::gregorian::date *Answers, int array_len){ in test_month_decrement_iterator() argument
17 boost::date_time::date_itr<mfg, date> ditr(Answers[array_len-1]); in test_month_decrement_iterator()
18 int i = array_len-1; in test_month_decrement_iterator()

123