/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | byte_swap.cc | 22 Status ByteSwapArray(char* array, size_t bytes_per_elem, int array_len) { in ByteSwapArray() argument 28 for (int i = 0; i < array_len; i++) { in ByteSwapArray() 34 for (int i = 0; i < array_len; i++) { in ByteSwapArray() 40 for (int i = 0; i < array_len; i++) { in ByteSwapArray() 52 int array_len = t->NumElements(); in ByteSwapTensor() local 92 array_len *= 2; in ByteSwapTensor() 97 array_len *= 2; in ByteSwapTensor() 114 TF_RETURN_IF_ERROR(ByteSwapArray(backing_buffer, bytes_per_elem, array_len)); in ByteSwapTensor()
|
D | byte_swap.h | 100 Status ByteSwapArray(char *array, size_t bytes_per_elem, int array_len);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_dict_helpers.c | 629 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 …]
|
D | dbus_new_handlers_p2p.c | 36 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() 1070 entry.array_len != WPS_DEV_TYPE_LEN) in wpas_dbus_setter_p2p_device_config() 1081 entry.array_len > MAX_SEC_DEVICE_TYPES) in wpas_dbus_setter_p2p_device_config() 1084 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config() 1088 for (i = 0; i < entry.array_len; i++) in wpas_dbus_setter_p2p_device_config() 1092 wpa_s->conf->num_sec_device_types = entry.array_len; in wpas_dbus_setter_p2p_device_config() 1098 (entry.array_len > P2P_MAX_WPS_VENDOR_EXT)) in wpas_dbus_setter_p2p_device_config() [all …]
|
/external/mesa3d/src/intel/isl/tests/ |
D | isl_surf_get_image_offset_test.c | 46 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/compiler/nir/ |
D | nir_split_vars.c | 359 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 …]
|
/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
D | clang-fortify-tests.cpp | 585 const int array_len = 8; in TestWchar() local 586 char chars[array_len]; in TestWchar() 588 wchar_t wchars[array_len]; in TestWchar() 591 EXPECT_DEATH(wcsrtombs(chars, &wchars_ptr, array_len + 1, &mbs)); in TestWchar() 593 EXPECT_DEATH(mbsnrtowcs(wchars, &chars_ptr, 0, array_len + 1, &mbs)); in TestWchar() 595 EXPECT_DEATH(wcsnrtombs(chars, &wchars_ptr, 0, array_len + 1, &mbs)); in TestWchar() 662 const int array_len = 8; in TestWchar() local 664 char buf[array_len - 1]; in TestWchar() 669 wchar_t buf[array_len - 1]; in TestWchar() 677 wcsrtombs(split_chars.buf, &wchars_ptr, array_len, &mbs)); in TestWchar() [all …]
|
/external/mesa3d/src/intel/isl/ |
D | isl.c | 646 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span() 695 assert(phys_level0_sa->array_len == 1); in isl_choose_array_pitch_span() 699 if (phys_level0_sa->array_len == 1) { in isl_choose_array_pitch_span() 884 .a = info->array_len, in isl_calc_phys_level0_extent_sa() 909 .a = info->array_len, in isl_calc_phys_level0_extent_sa() 923 .a = info->array_len * info->samples, in isl_calc_phys_level0_extent_sa() 936 .a = info->array_len, in isl_calc_phys_level0_extent_sa() 947 assert(info->array_len == 1); in isl_calc_phys_level0_extent_sa() 1188 .h = *array_pitch_el_rows * (phys_level0_sa->array_len - 1) + in isl_calc_phys_total_extent_el_gen4_2d() 1220 assert(phys_level0_sa->array_len == 6); in isl_calc_phys_total_extent_el_gen4_3d() [all …]
|
D | isl_storage_image.c | 232 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()
|
D | isl_surface_state.c | 382 s.Depth = info->view->array_len - 1; in isl_genX() 396 s.Depth = info->view->array_len / 6 - 1; in isl_genX() 430 s.RenderTargetViewExtent = info->view->array_len - 1; in isl_genX() 440 info->view->array_len > 1; in isl_genX() 560 assert(info->surf->logical_level0_px.array_len == 1); in isl_genX()
|
D | isl_gen12.c | 42 assert(info->levels == 1 && info->array_len == 1 && info->depth == 1); in isl_gen12_choose_image_alignment_el()
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | macros.h | 138 #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/intel/blorp/ |
D | blorp.c | 88 surf->surf->logical_level0_px.array_len)); in brw_blorp_surface_info_init() 116 info->view.array_len = MAX2(info->surf.logical_level0_px.depth, in brw_blorp_surface_info_init() 117 info->surf.logical_level0_px.array_len); in brw_blorp_surface_info_init() 132 assert(info->view.array_len >= info->view.base_array_layer); in brw_blorp_surface_info_init() 133 info->view.array_len -= info->view.base_array_layer; in brw_blorp_surface_info_init() 141 info->view.array_len = MIN2(info->view.array_len, 512); in brw_blorp_surface_info_init() 148 assert(info->surf.logical_level0_px.array_len == 1); in brw_blorp_surface_info_init()
|
D | blorp_clear.c | 511 params.num_layers = MIN2(params.dst.view.array_len, num_layers); in blorp_clear() 524 assert(params.dst.surf.logical_level0_px.array_len == 1); in blorp_clear() 715 if (params.stencil.view.array_len < params.num_layers) in blorp_clear_depth_stencil() 716 params.num_layers = params.stencil.view.array_len; in blorp_clear_depth_stencil() 738 if (params.depth.view.array_len < params.num_layers) in blorp_clear_depth_stencil() 739 params.num_layers = params.depth.view.array_len; in blorp_clear_depth_stencil() 842 surf->logical_level0_px.array_len > 1; in blorp_can_hiz_clear_depth() 1274 .array_len = 1, in blorp_ccs_ambiguate() 1348 assert(surf->aux_surf->logical_level0_px.array_len == 1); in blorp_ccs_ambiguate() 1376 .array_len = 1, in blorp_ccs_ambiguate()
|
/external/tcpdump/ |
D | print-resp.c | 373 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/ |
D | eap_methods.c | 132 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()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | gen_vk_internal_shaders.py | 468 self.array_len = max_index + 1 477 array_len = shader_and_variation.array_len 502 definition += 'constexpr size_t kArrayLen = 0x%08X;\n' % array_len 530 array_len = shader_and_variation.array_len 548 for variation in range(array_len):
|
/external/llvm/test/Transforms/RewriteStatepointsForGC/ |
D | base-pointers-8.ll | 9 %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/ |
D | base-pointers-8.ll | 10 %array_len = load i32, i32 addrspace(1)* %array_len_pointer.i32 17 %index_lt = icmp ult i32 %index, %array_len
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 495 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() local 496 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain() 536 auto* array_len = MakeRuntimeArrayLengthInst(&inst, idx); in ClampIndicesForAccessChain() local 537 if (!array_len) { // We've already signaled an error. in ClampIndicesForAccessChain() 540 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain() 794 auto* array_len = InsertInst( in MakeRuntimeArrayLengthInst() local 798 return array_len; in MakeRuntimeArrayLengthInst()
|
/external/angle/third_party/spirv-tools/src/source/opt/ |
D | graphics_robust_access_pass.cpp | 495 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() local 496 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain() 536 auto* array_len = MakeRuntimeArrayLengthInst(&inst, idx); in ClampIndicesForAccessChain() local 537 if (!array_len) { // We've already signaled an error. in ClampIndicesForAccessChain() 540 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain() 794 auto* array_len = InsertInst( in MakeRuntimeArrayLengthInst() local 798 return array_len; in MakeRuntimeArrayLengthInst()
|
D | desc_sroa.cpp | 190 uint32_t array_len = array_len_const->GetU32(); in GetReplacementVariable() local 193 .insert({var, std::vector<uint32_t>(array_len, 0)}) in GetReplacementVariable()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 495 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() local 496 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain() 536 auto* array_len = MakeRuntimeArrayLengthInst(&inst, idx); in ClampIndicesForAccessChain() local 537 if (!array_len) { // We've already signaled an error. in ClampIndicesForAccessChain() 540 clamp_to_count(idx, array_len); in ClampIndicesForAccessChain() 794 auto* array_len = InsertInst( in MakeRuntimeArrayLengthInst() local 798 return array_len; in MakeRuntimeArrayLengthInst()
|
/external/ltp/lib/ |
D | tst_kconfig.c | 213 static size_t array_len(const char *const kconfigs[]) in array_len() function 243 size_t cnt = array_len(kconfigs); in tst_kconfig_check()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm_surface_state.c | 107 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 gen6_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() 1115 .array_len = irb->layer_count, in update_renderbuffer_read_surfaces() 1557 mt->surf.logical_level0_px.array_len; in update_image_surface() 1569 .array_len = num_layers, in update_image_surface() 1585 view.array_len)); in update_image_surface()
|