Home
last modified time | relevance | path

Searched refs:num_parts (Results 1 – 23 of 23) sorted by relevance

/external/toybox/toys/pending/
Dfdisk.c85 static int num_parts, disp_unit_cyl, dos_flag, dev_fd = 3; variable
205 sector_t first[num_parts], last_seen_val = 0; in check_order()
210 for (i = 0; i < num_parts; i++) { in check_order()
246 if (num_parts >= 60) { in read_ebr()
249 partitions[num_parts-1].modified = 1; in read_ebr()
254 partitions[num_parts].part = part_offset(sec_buf, 0); in read_ebr()
255 partitions[num_parts].sec_buffer = sec_buf; in read_ebr()
258 if (num_parts > 4) offset += local_start_off; in read_ebr()
259 partitions[num_parts].start_offset = offset; in read_ebr()
266 num_parts++; //extended partions present. in read_ebr()
[all …]
/external/vboot_reference/cgpt/
Dcgpt_prioritize.c19 int num_parts; // number of partitions in this group member
39 gl->group[i].num_parts = 0; in NewGroupList()
67 int j = gl->group[i].num_parts; in AddToGroup()
69 gl->group[i].num_parts++; in AddToGroup()
193 for (j=0; j<groups->group[i].num_parts; j++) in CgptPrioritize()
/external/mesa3d/src/amd/common/
Dac_rtld.c261 binary->num_parts = i.num_parts; in ac_rtld_open()
262 binary->parts = calloc(sizeof(*binary->parts), i.num_parts); in ac_rtld_open()
322 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) { in ac_rtld_open()
425 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) { in ac_rtld_open()
471 for (unsigned i = 0; i < binary->num_parts; ++i) { in ac_rtld_close()
480 binary->num_parts = 0; in ac_rtld_close()
507 assert(binary->num_parts == 1); in ac_rtld_get_section_by_name()
514 for (unsigned i = 0; i < binary->num_parts; ++i) { in ac_rtld_read_config()
752 for (unsigned i = 0; i < u->binary->num_parts; ++i) { in ac_rtld_upload()
779 for (unsigned i = 0; i < u->binary->num_parts; ++i) { in ac_rtld_upload()
Dac_rtld.h69 unsigned num_parts; member
98 unsigned num_parts; member
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system.cc916 int num_parts; in CopyFile() local
919 num_parts = 1; in CopyFile()
921 num_parts = in CopyFile()
926 if (num_parts == 1) { in CopyFile()
928 } else if (num_parts > 10000) { in CopyFile()
932 source, " required ", num_parts, in CopyFile()
939 return MultiPartCopy(source, target_bucket, target_key, num_parts, in CopyFile()
963 const int num_parts, in MultiPartCopy() argument
978 VLOG(1) << "Copying from " << source << " in " << num_parts in MultiPartCopy()
990 for (int partNumber = 1; partNumber <= num_parts; partNumber++) { in MultiPartCopy()
[all …]
Ds3_file_system.h134 const Aws::String& target_key, const int num_parts,
/external/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp566 int num_parts; member
824 if (num_parts > 1) { in decode_cem()
837 for (int i = 0; i < num_parts; ++i) in decode_cem()
852 if (num_parts == 2) { in decode_cem()
871 } else if (num_parts == 3) { in decode_cem()
893 } else if (num_parts == 4) { in decode_cem()
996 for (int part = 0; part < num_parts; ++part) { in decode_colour_endpoints()
1477 num_parts = in.get_bits(11, 2) + 1; in decode()
1480 in.printf_bits(11, 2, "partitions = %d", num_parts); in decode()
1482 if (dual_plane && num_parts > 3) in decode()
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem.cc824 const Aws::String& object_dst, const size_t num_parts, in MultiPartCopy() argument
846 Aws::Vector<EtagOutcome> etag_outcomes(num_parts); in MultiPartCopy()
856 num_parts, chunk_size); in MultiPartCopy()
860 for (auto part_number = 0; part_number < num_parts; ++part_number) { in MultiPartCopy()
906 while (num_finished_parts != num_parts) { in MultiPartCopy()
911 for (auto part_number = 0; part_number < num_parts; ++part_number) { in MultiPartCopy()
934 for (int part_number = 0; part_number < num_parts; ++part_number) { in MultiPartCopy()
979 size_t num_parts = 1; in CopyFile() local
980 if (file_size > chunk_size) num_parts = ceil((float)file_size / chunk_size); in CopyFile()
981 if (num_parts == 1) in CopyFile()
[all …]
/external/libhevc/encoder/
Dihevce_cabac_cu_pu.c190 WORD32 i, num_parts; in ihevce_cabac_encode_intra_pu() local
193 num_parts = (PART_NxN == part_mode) ? 4 : 1; in ihevce_cabac_encode_intra_pu()
201 ps_entropy_ctxt->ps_pic_level_info->i8_total_pu += num_parts; in ihevce_cabac_encode_intra_pu()
202 ps_entropy_ctxt->ps_pic_level_info->i8_total_intra_pu += num_parts; in ihevce_cabac_encode_intra_pu()
220 for(i = 0; i < num_parts; i++) in ihevce_cabac_encode_intra_pu()
229 for(i = 0; i < num_parts; i++) in ihevce_cabac_encode_intra_pu()
807 WORD32 num_parts, i; in ihevce_cabac_encode_inter_pu() local
809 num_parts = (part_mode == SIZE_2Nx2N) ? 1 : ((part_mode == SIZE_NxN) ? 4 : 2); in ihevce_cabac_encode_inter_pu()
816 ps_entropy_ctxt->ps_pic_level_info->i8_total_pu += num_parts; in ihevce_cabac_encode_inter_pu()
846 for(i = 0; i < num_parts; i++) in ihevce_cabac_encode_inter_pu()
Dihevce_me_instr_set_router.c319 S08 i1_grid_flag, U08 u1_is_cu_noisy, S32 i4_part_mask, S32 num_parts, S32 num_results) in hme_get_calc_sad_and_result_fxn() argument
330 : (!!(i4_part_mask & ENABLE_AMP) ? 2 : 3)][num_parts - 1]; in hme_get_calc_sad_and_result_fxn()
Dihevce_me_instr_set_router.h179 U08 u1_is_cu_noisy, S32 i4_part_mask, S32 num_parts, S32 num_results);
Dhme_refine.c1672 S32 j, i, num_parts; in hme_update_mv_bank_encode() local
1723 num_parts = gau1_num_parts_in_part_type[i4_part_type]; in hme_update_mv_bank_encode()
1728 if(num_parts == 1) in hme_update_mv_bank_encode()
1734 else if(num_parts == 2) in hme_update_mv_bank_encode()
1796 if(num_parts == 1) in hme_update_mv_bank_encode()
1802 else if(num_parts == 2) in hme_update_mv_bank_encode()
5385 S32 num_parts; in hme_analyse_mv_clustering() local
5485 num_parts = 4; in hme_analyse_mv_clustering()
5488 for(j = 0; j < num_parts; j++, blk_8x8_idx++) in hme_analyse_mv_clustering()
5507 num_parts = gau1_num_parts_in_part_type[e_part_type]; in hme_analyse_mv_clustering()
[all …]
Dhme_subpel.c571 S32 x_part, y_part, num_parts; in hme_compute_pred_and_evaluate_bi() local
611 num_parts = gau1_num_parts_in_part_type[i4_part_type]; in hme_compute_pred_and_evaluate_bi()
625 for(j = 0; j < num_parts; j++) in hme_compute_pred_and_evaluate_bi()
Dhme_utils.c450 S32 i4_part, i4_part_id, num_parts, i4_stride; in hme_map_mvs_to_grid() local
482 num_parts = gau1_num_parts_in_part_type[e_part_type]; in hme_map_mvs_to_grid()
492 for(i4_part = 0; i4_part < num_parts; i4_part++) in hme_map_mvs_to_grid()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c787 unsigned num_parts = 0; in si_shader_binary_open() local
791 part_elfs[num_parts] = (shader_or_part)->binary.elf_buffer; \ in si_shader_binary_open()
792 part_sizes[num_parts] = (shader_or_part)->binary.elf_size; \ in si_shader_binary_open()
793 num_parts++; \ in si_shader_binary_open()
833 .num_parts = num_parts, in si_shader_binary_open()
919 .num_parts = 1, in si_shader_dump_disassembly()
1698 unsigned num_parts = 0; in si_llvm_compile_shader() local
1709 parts[num_parts++] = ctx.main_fn; in si_llvm_compile_shader()
1712 parts[num_parts++] = ngg_cull_main_fn; in si_llvm_compile_shader()
1721 parts[num_parts++] = ctx.main_fn; in si_llvm_compile_shader()
[all …]
Dsi_shader_llvm.c119 .num_parts = 1, in si_compile_llvm()
458 unsigned num_parts, unsigned main_part, in si_build_wrapper_function() argument
476 for (unsigned i = 0; i < num_parts; ++i) { in si_build_wrapper_function()
544 last_func_type = LLVMGetElementType(LLVMTypeOf(parts[num_parts - 1])); in si_build_wrapper_function()
612 for (unsigned part = 0; part < num_parts; ++part) { in si_build_wrapper_function()
Dsi_shader_llvm_ps.c972 unsigned num_parts = 0, main_index; in si_llvm_build_monolithic_ps() local
980 parts[num_parts++] = ctx->main_fn; in si_llvm_build_monolithic_ps()
983 main_index = num_parts; in si_llvm_build_monolithic_ps()
984 parts[num_parts++] = main_fn; in si_llvm_build_monolithic_ps()
989 parts[num_parts++] = ctx->main_fn; in si_llvm_build_monolithic_ps()
991 si_build_wrapper_function(ctx, parts, num_parts, main_index, 0); in si_llvm_build_monolithic_ps()
Dsi_shader_internal.h254 unsigned num_parts, unsigned main_part,
Dsi_compute.c72 .num_parts = 1, in si_compute_get_code_object()
Dsi_debug.c883 .num_parts = 1, in si_add_split_disasm()
/external/fmtlib/include/fmt/
Dcompile.h85 unsigned num_parts = 0; member
88 if (begin != end) ++num_parts; in on_text()
91 FMT_CONSTEXPR int on_arg_id() { return ++num_parts, 0; } in on_arg_id()
92 FMT_CONSTEXPR int on_arg_id(int) { return ++num_parts, 0; } in on_arg_id()
94 return ++num_parts, 0; in on_arg_id()
122 return counter.num_parts; in count_parts()
/external/kernel-headers/original/uapi/linux/
Dcciss_ioctl.h62 int num_parts; /* number of partitions configured on logvol */ member
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c1154 .num_parts = 1, in radv_shader_variant_create()