Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/bigint/
Dfromstring.cc91 int num_parts = static_cast<int>(accumulator->heap_parts_.size()); in FromStringLarge() local
92 DCHECK(num_parts >= 2); in FromStringLarge()
93 DCHECK(Z.len() >= num_parts); in FromStringLarge()
94 RWDigits parts(accumulator->heap_parts_.data(), num_parts); in FromStringLarge()
95 Storage multipliers_storage(num_parts); in FromStringLarge()
96 RWDigits multipliers(multipliers_storage.get(), num_parts); in FromStringLarge()
97 RWDigits temp(Z, 0, num_parts); in FromStringLarge()
107 for (; i + 1 < num_parts; i += 2) { in FromStringLarge()
111 digit_t m_in2 = i == num_parts - 2 ? last_multiplier : max_multiplier; in FromStringLarge()
131 if (i < num_parts) { in FromStringLarge()
[all …]
/third_party/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 …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_container.c37 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()
365 size_t header_size = 32 + 4 * c->num_parts; in dxil_container_write()
373 for (int i = 0; i < c->num_parts; ++i) { in dxil_container_write()
379 if (!blob_write_bytes(blob, &c->num_parts, sizeof(c->num_parts)) || in dxil_container_write()
380 !blob_write_bytes(blob, part_offsets, sizeof(uint32_t) * c->num_parts) || in dxil_container_write()
Ddxil_container.h39 unsigned num_parts; member
/third_party/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()
481 for (unsigned i = 0; i < binary->num_parts; ++i) { in ac_rtld_close()
490 binary->num_parts = 0; in ac_rtld_close()
517 assert(binary->num_parts == 1); in ac_rtld_get_section_by_name()
524 for (unsigned i = 0; i < binary->num_parts; ++i) { in ac_rtld_read_config()
765 for (unsigned i = 0; i < u->binary->num_parts; ++i) { in ac_rtld_upload()
795 for (unsigned i = 0; i < u->binary->num_parts; ++i) { in ac_rtld_upload()
Dac_rtld.h71 unsigned num_parts; member
101 unsigned num_parts; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c118 .num_parts = 1, in si_compile_llvm()
425 unsigned num_parts, unsigned main_part, in si_build_wrapper_function() argument
443 for (unsigned i = 0; i < num_parts; ++i) { in si_build_wrapper_function()
511 last_func_type = LLVMGetElementType(LLVMTypeOf(parts[num_parts - 1])); in si_build_wrapper_function()
579 for (unsigned part = 0; part < num_parts; ++part) { in si_build_wrapper_function()
1167 unsigned num_parts = 0; in si_llvm_compile_shader() local
1178 parts[num_parts++] = ctx.main_fn; in si_llvm_compile_shader()
1181 parts[num_parts++] = ngg_cull_main_fn; in si_llvm_compile_shader()
1190 parts[num_parts++] = ctx.main_fn; in si_llvm_compile_shader()
1191 if (num_parts == 1) in si_llvm_compile_shader()
[all …]
Dsi_shader_llvm_ps.c936 unsigned num_parts = 0, main_index; in si_llvm_build_monolithic_ps() local
944 parts[num_parts++] = ctx->main_fn; in si_llvm_build_monolithic_ps()
947 main_index = num_parts; in si_llvm_build_monolithic_ps()
948 parts[num_parts++] = main_fn; in si_llvm_build_monolithic_ps()
953 parts[num_parts++] = ctx->main_fn; in si_llvm_build_monolithic_ps()
955 si_build_wrapper_function(ctx, parts, num_parts, main_index, 0, false); in si_llvm_build_monolithic_ps()
Dsi_shader_internal.h221 unsigned num_parts, unsigned main_part,
Dsi_shader.c826 unsigned num_parts = 0; in si_shader_binary_open() local
830 part_elfs[num_parts] = (shader_or_part)->binary.elf_buffer; \ in si_shader_binary_open()
831 part_sizes[num_parts] = (shader_or_part)->binary.elf_size; \ in si_shader_binary_open()
832 num_parts++; \ in si_shader_binary_open()
869 .num_parts = num_parts, in si_shader_binary_open()
970 .num_parts = 1, in si_shader_dump_disassembly()
Dsi_compute.c72 .num_parts = 1, in si_compute_get_code_object()
Dsi_debug.c847 .num_parts = 1, in si_add_split_disasm()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp560 int num_parts; member
818 if (num_parts > 1) { in decode_cem()
831 for (int i = 0; i < num_parts; ++i) in decode_cem()
846 if (num_parts == 2) { in decode_cem()
865 } else if (num_parts == 3) { in decode_cem()
887 } else if (num_parts == 4) { in decode_cem()
990 for (int part = 0; part < num_parts; ++part) { in decode_colour_endpoints()
1471 num_parts = in.get_bits(11, 2) + 1; in decode()
1474 in.printf_bits(11, 2, "partitions = %d", num_parts); in decode()
1476 if (dual_plane && num_parts > 3) in decode()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Dwebpinfo.c395 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/astc-encoder/Source/
Dtinyexr.h421 unsigned int num_parts,
435 unsigned int num_parts,
13301 unsigned int num_parts, argument
13304 if (exr_images == NULL || exr_headers == NULL || num_parts == 0 ||
13313 for (unsigned int i = 0; i < num_parts; i++) {
13340 for (size_t i = 0; i < static_cast<size_t>(num_parts); i++) {
13363 for (size_t i = 0; i < static_cast<size_t>(num_parts); i++) {
13398 unsigned int num_parts, const char *filename, argument
13400 if (exr_images == NULL || exr_headers == NULL || num_parts == 0) {
13432 return LoadEXRMultipartImageFromMemory(exr_images, exr_headers, num_parts,
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c1947 .num_parts = 1, in radv_open_rtld_binary()