/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_opt_constant_folding.c | 61 int nsrc = qir_get_nsrc(inst); in constant_fold() local 62 uint32_t ui[nsrc]; in constant_fold() 64 for (int i = 0; i < nsrc; i++) { in constant_fold() 89 for (int i = 1; i < nsrc; i++) in constant_fold()
|
D | vc4_qir_lower_uniforms.c | 122 uint32_t nsrc = qir_get_nsrc(inst); in qir_lower_uniforms() local 127 for (int i = 0; i < nsrc; i++) { in qir_lower_uniforms() 157 uint32_t nsrc = qir_get_nsrc(inst); in qir_lower_uniforms() local 179 for (int i = 0; i < nsrc; i++) { in qir_lower_uniforms() 194 for (int i = 0; i < nsrc; i++) { in qir_lower_uniforms()
|
D | vc4_qir.c | 32 uint8_t ndst, nsrc; member 106 return qir_op_info[inst->op].nsrc; in qir_get_non_sideband_nsrc() 114 int nsrc = qir_get_non_sideband_nsrc(inst); in qir_get_nsrc() local 120 nsrc++; in qir_get_nsrc() 122 return nsrc; in qir_get_nsrc()
|
/third_party/gstreamer/gstplugins_good/gst/effectv/ |
D | gstrev.c | 110 guint32 *nsrc; in gst_revtv_transform_frame() local 144 nsrc = src + (y * sstride / 4) + x; in gst_revtv_transform_frame() 147 R = ((*nsrc) & 0xff0000) >> (16 - 1); in gst_revtv_transform_frame() 148 G = ((*nsrc) & 0xff00) >> (8 - 2); in gst_revtv_transform_frame() 149 B = (*nsrc) & 0xff; in gst_revtv_transform_frame()
|
/third_party/mesa3d/src/panfrost/util/ |
D | nir_mod_helpers.c | 62 nir_alu_src nsrc = { in pan_has_source_mod() local 68 nsrc.swizzle[i] = alu->src[0].swizzle[src->swizzle[i]]; in pan_has_source_mod() 71 *src = nsrc; in pan_has_source_mod()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | vir_to_qpu.c | 204 int nsrc = vir_get_nsrc(qinst); in v3d_generate_code_block() local 206 for (int i = 0; i < nsrc; i++) { in v3d_generate_code_block() 301 if (nsrc >= 1) { in v3d_generate_code_block() 305 if (nsrc >= 2) { in v3d_generate_code_block() 313 if (nsrc >= 1) { in v3d_generate_code_block() 317 if (nsrc >= 2) { in v3d_generate_code_block()
|
D | vir_dump.c | 260 int nsrc = vir_get_nsrc(inst); in vir_dump_alu() local 289 for (int i = 0; i < nsrc; i++) { in vir_dump_alu()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_alu.cpp | 42 m_src(alu_ops.at(opcode).nsrc), in AluInstruction() 46 if (alu_ops.at(opcode).nsrc == 3) in AluInstruction() 64 if (alu_ops.at(opcode).nsrc == 3) in AluInstruction()
|
D | sfn_alu_defines.h | 255 nsrc(ns), is_float(f), unit_mask(um), name(n) in AluOp() 263 int nsrc: 4; member 369 int nsrc; member
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_clone.c | 238 nir_src *nsrc, const nir_src *src) in __clone_src() argument 240 nsrc->is_ssa = src->is_ssa; in __clone_src() 242 nsrc->ssa = remap_local(state, src->ssa); in __clone_src() 244 nsrc->reg.reg = remap_reg(state, src->reg.reg); in __clone_src() 246 nsrc->reg.indirect = malloc(sizeof(nir_src)); in __clone_src() 247 __clone_src(state, ninstr_or_if, nsrc->reg.indirect, src->reg.indirect); in __clone_src() 249 nsrc->reg.base_offset = src->reg.base_offset; in __clone_src() 451 nir_phi_src *nsrc = nir_phi_instr_add_src(nphi, src->pred, src->src); in clone_phi() local 456 list_add(&nsrc->src.use_link, &state->phi_srcs); in clone_phi()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3.c | 429 instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc) in instr_create() argument 433 nsrc += 2; in instr_create() 436 (nsrc * sizeof(instr->srcs[0])); in instr_create() 446 instr->srcs_max = nsrc; in instr_create() 453 ir3_instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc) in ir3_instr_create() argument 455 struct ir3_instruction *instr = instr_create(block, opc, ndst, nsrc); in ir3_instr_create()
|
D | ir3_print.c | 369 int nsrc; in print_instr() member 386 if (brinfo[instr->cat0.brtype].nsrc >= 1) { in print_instr() 393 if (brinfo[instr->cat0.brtype].nsrc >= 2) { in print_instr()
|
D | ir3_compiler_nir.c | 2839 nir_foreach_phi_src (nsrc, nphi) { in read_phi_src() 2840 if (blk->nblock == nsrc->pred) { in read_phi_src() 2841 if (nsrc->src.ssa->parent_instr->type == nir_instr_type_ssa_undef) { in read_phi_src() 2845 return ir3_get_src(ctx, &nsrc->src)[0]; in read_phi_src()
|
D | ir3.h | 654 int ndst, int nsrc);
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_ra_init.cpp | 769 vvec sv, tv, nsrc(4); in split_vector_inst() local 774 nsrc.begin()); in split_vector_inst() 776 split_vec(nsrc, tv, sv, !no_src_swizzle); in split_vector_inst() 782 std::copy(nsrc.begin(), nsrc.end(), n->src.begin() + arg_start); in split_vector_inst()
|
D | sb_sched.cpp | 146 unsigned nsrc = n->bc.op_ptr->src_count, i; in unreserve() local 148 for (i = 0; i < nsrc; ++i) { in unreserve() 231 unsigned nsrc = n->bc.op_ptr->src_count, i; in unreserve() local 238 for (i = 0; i < nsrc; ++i) { in unreserve() 259 unsigned nsrc = n->bc.op_ptr->src_count, i; in try_reserve() local 262 unsigned opt = !trans && nsrc >= 2 && in try_reserve() 268 for (i = 0; i < nsrc; ++i) { in try_reserve() 293 if ((i == nsrc) && (min_gpr_cycle + 1 > const_count)) in try_reserve() 440 unsigned nsrc = n->bc.op_ptr->src_count; in try_reserve() local 468 for (unsigned i = 0; i < nsrc; ++i) { in try_reserve()
|
/third_party/boost/libs/numeric/conversion/test/ |
D | converter_test.cpp | 193 static const S nsrc = boost::numeric::bounds<S>::lowest (); in test_overflow_handler() local 196 static const T nres = static_cast<T>(nsrc); in test_overflow_handler() 199 test_conv_base ( ConversionInstance<converter>(nres,nsrc,neg) ) ; in test_overflow_handler()
|
/third_party/mesa3d/src/broadcom/qpu/ |
D | qpu_pack.c | 996 int nsrc = v3d_qpu_add_op_num_src(instr->alu.add.op); in v3d_qpu_add_pack() local 1009 if (nsrc < 2) in v3d_qpu_add_pack() 1012 if (nsrc < 1) in v3d_qpu_add_pack() 1208 int nsrc = v3d_qpu_mul_op_num_src(instr->alu.mul.op); in v3d_qpu_mul_pack() local 1222 if (nsrc < 2) in v3d_qpu_mul_pack() 1225 if (nsrc < 1) in v3d_qpu_mul_pack()
|
/third_party/mesa3d/src/mesa/state_tracker/tests/ |
D | st_tests_common.cpp | 144 int nsrc = num_inst_src_regs(&instr); in FakeCodeline() local 147 copy(instr.src, instr.src + nsrc, std::back_inserter(src)); in FakeCodeline()
|
/third_party/iptables/extensions/ |
D | libxt_hashlimit.c | 1298 unsigned int nsrc, unsigned int ndst) in hashlimit_mode_xlate() argument 1326 ((family == NFPROTO_IPV4 && nsrc != 32) || in hashlimit_mode_xlate() 1327 (family == NFPROTO_IPV6 && nsrc != 128))) in hashlimit_mode_xlate() 1328 hashlimit_print_subnet_xlate(xl, nsrc, family); in hashlimit_mode_xlate()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | nucnvtst.c | 3519 UChar nsrc[10] = {0}; in TestFullRoundtrip() local 3522 nsrc[0]=0x0061; in TestFullRoundtrip() 3526 nsrc[2]=0x5555; in TestFullRoundtrip() 3527 TestConv(nsrc,3,cp,"",NULL,0); in TestFullRoundtrip() 3559 nsrc[1]=usource[0]; in TestFullRoundtrip() 3560 nsrc[2]=usource[1]; in TestFullRoundtrip() 3561 nsrc[len+1]=0x5555; in TestFullRoundtrip() 3562 TestConv(nsrc,len+2,cp,"",NULL,0); in TestFullRoundtrip()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 356 unsigned nsrc; member 369 BYTE nsrc; member 415 for (i = 0; i < insn->nsrc && i < ARRAY_SIZE(insn->src); ++i) { in sm1_dump_instruction() 3232 for (i = 0; i < tx->insn.nsrc && i < ARRAY_SIZE(src); ++i) in NineTranslateInstruction_Generic() 3237 src, tx->insn.nsrc, 0); in NineTranslateInstruction_Generic() 3492 insn->nsrc = info->nsrc; in sm1_parse_instruction() 3510 for (i = 0; i < insn->nsrc; ++i) in sm1_parse_instruction()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_disasm.c | 1990 } else if (desc && desc->nsrc == 3) { in brw_disassemble_inst() 2008 if (desc->nsrc > 0) { in brw_disassemble_inst() 2013 if (desc->nsrc > 1) { in brw_disassemble_inst()
|
D | brw_eu.h | 1887 int nsrc; member 1928 return desc && desc->nsrc == 3; in is_3src()
|
D | brw_eu_validate.c | 247 assert(desc->nsrc < 4); in num_sources_from_inst() 248 return desc->nsrc; in num_sources_from_inst()
|