/third_party/toybox/toys/pending/ |
D | fdisk.c | 85 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 …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_container.c | 37 c->num_parts = 0; in dxil_container_init() 57 assert(c->num_parts < DXIL_MAX_PARTS); in add_part_header() 58 c->part_offsets[c->num_parts++] = offset; in add_part_header() 337 size_t header_size = 32 + 4 * c->num_parts; in dxil_container_write() 345 for (int i = 0; i < c->num_parts; ++i) { in dxil_container_write() 351 if (!blob_write_bytes(blob, &c->num_parts, sizeof(c->num_parts)) || in dxil_container_write() 352 !blob_write_bytes(blob, part_offsets, sizeof(uint32_t) * c->num_parts) || in dxil_container_write()
|
D | dxil_container.h | 39 unsigned num_parts; member
|
/third_party/gstreamer/gstplugins_good/gst/multifile/ |
D | gstsplitfilesrc.c | 179 *size = src->parts[src->num_parts - 1].stop + 1; in gst_split_file_src_get_size() 261 src->num_parts = g_strv_length (files); in gst_split_file_src_start() 262 src->parts = g_new0 (GstFilePart, src->num_parts); in gst_split_file_src_start() 267 for (i = 0; i < src->num_parts; ++i) { in gst_split_file_src_start() 300 GST_INFO ("Successfully opened %u file parts for reading", src->num_parts); in gst_split_file_src_start() 358 for (i = 0; i < src->num_parts; ++i) { in gst_split_file_src_stop() 365 src->num_parts = 0; in gst_split_file_src_stop() 393 gst_util_array_binary_search (src->parts, src->num_parts, in gst_split_file_src_find_part_for_offset() 486 if (src->cur_part == src->num_parts - 1) { in gst_split_file_src_create()
|
D | gstsplitmuxsrc.c | 435 if (idx >= splitmux->num_parts) { in gst_splitmux_part_bus_handler() 476 if (splitmux->num_prepared_parts >= splitmux->num_parts in gst_splitmux_part_bus_handler() 479 splitmux->num_parts = splitmux->num_prepared_parts; in gst_splitmux_part_bus_handler() 497 if (splitmux->num_prepared_parts < splitmux->num_parts) { in gst_splitmux_part_bus_handler() 517 splitmux->num_parts = splitmux->num_prepared_parts; in gst_splitmux_part_bus_handler() 868 g_assert (idx < splitmux->num_parts); in gst_splitmux_src_prepare_next_part() 933 splitmux->num_parts = g_strv_length (files); in gst_splitmux_src_start() 935 splitmux->parts = g_new0 (GstSplitMuxPartReader *, splitmux->num_parts); in gst_splitmux_src_start() 938 for (i = 0; i < splitmux->num_parts; i++) { in gst_splitmux_src_start() 945 splitmux->num_created_parts = splitmux->num_parts = i; in gst_splitmux_src_start() [all …]
|
D | gstsplitfilesrc.h | 58 guint num_parts; member
|
D | gstsplitmuxsrc.h | 53 guint num_parts; member
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rtld.c | 260 binary->num_parts = i.num_parts; in ac_rtld_open() 261 binary->parts = calloc(sizeof(*binary->parts), i.num_parts); in ac_rtld_open() 321 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) { in ac_rtld_open() 424 for (unsigned part_idx = 0; part_idx < i.num_parts; ++part_idx) { in ac_rtld_open() 476 for (unsigned i = 0; i < binary->num_parts; ++i) { in ac_rtld_close() 485 binary->num_parts = 0; in ac_rtld_close() 512 assert(binary->num_parts == 1); in ac_rtld_get_section_by_name() 519 for (unsigned i = 0; i < binary->num_parts; ++i) { in ac_rtld_read_config() 760 for (unsigned i = 0; i < u->binary->num_parts; ++i) { in ac_rtld_upload() 790 for (unsigned i = 0; i < u->binary->num_parts; ++i) { in ac_rtld_upload()
|
D | ac_rtld.h | 69 unsigned num_parts; member 98 unsigned num_parts; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm.c | 118 .num_parts = 1, in si_compile_llvm() 521 unsigned num_parts, unsigned main_part, in si_build_wrapper_function() argument 539 for (unsigned i = 0; i < num_parts; ++i) { in si_build_wrapper_function() 607 last_func_type = LLVMGetElementType(LLVMTypeOf(parts[num_parts - 1])); in si_build_wrapper_function() 675 for (unsigned part = 0; part < num_parts; ++part) { in si_build_wrapper_function() 1083 unsigned num_parts = 0; in si_llvm_compile_shader() local 1094 parts[num_parts++] = ctx.main_fn; in si_llvm_compile_shader() 1097 parts[num_parts++] = ngg_cull_main_fn; in si_llvm_compile_shader() 1106 parts[num_parts++] = ctx.main_fn; in si_llvm_compile_shader() 1107 if (num_parts == 1) in si_llvm_compile_shader() [all …]
|
D | si_shader_llvm_ps.c | 968 unsigned num_parts = 0, main_index; in si_llvm_build_monolithic_ps() local 976 parts[num_parts++] = ctx->main_fn; in si_llvm_build_monolithic_ps() 979 main_index = num_parts; in si_llvm_build_monolithic_ps() 980 parts[num_parts++] = main_fn; in si_llvm_build_monolithic_ps() 985 parts[num_parts++] = ctx->main_fn; in si_llvm_build_monolithic_ps() 987 si_build_wrapper_function(ctx, parts, num_parts, main_index, 0, false); in si_llvm_build_monolithic_ps()
|
D | si_shader_internal.h | 225 unsigned num_parts, unsigned main_part,
|
D | si_shader.c | 768 unsigned num_parts = 0; in si_shader_binary_open() local 772 part_elfs[num_parts] = (shader_or_part)->binary.elf_buffer; \ in si_shader_binary_open() 773 part_sizes[num_parts] = (shader_or_part)->binary.elf_size; \ in si_shader_binary_open() 774 num_parts++; \ in si_shader_binary_open() 811 .num_parts = num_parts, in si_shader_binary_open() 906 .num_parts = 1, in si_shader_dump_disassembly()
|
D | si_compute.c | 72 .num_parts = 1, in si_compute_get_code_object()
|
D | si_debug.c | 860 .num_parts = 1, in si_add_split_disasm()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_astc.cpp | 566 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 …]
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | webpinfo.c | 395 int num_parts, i; in ParseLossyHeader() local 397 GET_BITS(num_parts, 2); in ParseLossyHeader() 398 num_parts = 1 << num_parts; in ParseLossyHeader() 399 if ((int)(data_size - partition0_length) < (num_parts - 1) * 3) { in ParseLossyHeader() 403 part_data_size = data_size - partition0_length - (num_parts - 1) * 3; in ParseLossyHeader() 404 printf(" Total partitions: %d\n", num_parts); in ParseLossyHeader() 405 for (i = 1; i < num_parts; ++i) { in ParseLossyHeader()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | webpinfo.c | 395 int num_parts, i; in ParseLossyHeader() local 397 GET_BITS(num_parts, 2); in ParseLossyHeader() 398 num_parts = 1 << num_parts; in ParseLossyHeader() 399 if ((int)(data_size - partition0_length) < (num_parts - 1) * 3) { in ParseLossyHeader() 403 part_data_size = data_size - partition0_length - (num_parts - 1) * 3; in ParseLossyHeader() 404 printf(" Total partitions: %d\n", num_parts); in ParseLossyHeader() 405 for (i = 1; i < num_parts; ++i) { in ParseLossyHeader()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gsturi.c | 886 guint num_parts; in gst_file_utils_canonicalise_path() local 888 num_parts = g_strv_length (parts) + 1; /* incl. terminator */ in gst_file_utils_canonicalise_path() 889 parts = g_renew (gchar *, parts, num_parts + 1); in gst_file_utils_canonicalise_path() 890 memmove (parts + 1, parts, num_parts * sizeof (gchar *)); in gst_file_utils_canonicalise_path()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 1602 .num_parts = 1, in radv_shader_variant_create()
|