/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_tex.h | 104 const RegisterVec4& src, unsigned sid, unsigned rid, 115 const auto& src() const {return m_src;} in src() function in r600::TexInstr 116 auto& src() {return m_src;} in src() function in r600::TexInstr 160 static bool emit_buf_txf(nir_tex_instr *tex, Inputs& src, Shader& shader); 161 static bool emit_tex_txf(nir_tex_instr *tex, Inputs& src, Shader& shader); 162 static bool emit_tex_tex_ms_direct(nir_tex_instr *tex, Inputs& src, Shader& shader); 163 static bool emit_tex_tex_ms(nir_tex_instr *tex, Inputs& src, Shader& shader); 164 static bool emit_tex_tex(nir_tex_instr *tex, Inputs& src, Shader& shader); 165 static bool emit_tex_txl_txb(nir_tex_instr *tex, Inputs& src, Shader& shader); 166 static bool emit_tex_txs(nir_tex_instr *tex, Inputs& src, [all...] |
/third_party/skia/src/core/ |
H A D | SkPathEffect.cpp | 10 #include "src/core/SkPathEffectBase.h" 11 #include "src/core/SkReadBuffer.h" 12 #include "src/core/SkWriteBuffer.h" 16 bool SkPathEffect::filterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in filterPath() argument 18 return this->filterPath(dst, src, rec, bounds, SkMatrix::I()); in filterPath() 21 bool SkPathEffect::filterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, in filterPath() argument 24 if (dst == &src) { in filterPath() 27 if (as_PEB(this)->onFilterPath(tmpDst, src, rec, bounds, ctm)) { in filterPath() 28 if (dst == &src) { in filterPath() 36 bool SkPathEffectBase::asPoints(PointData* results, const SkPath& src, in asPoints() argument [all...] |
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | prscmnts.cpp | 55 UnicodeString src(source, srcLen); in removeText() 57 RegexMatcher myMatcher(patString, src, options, *status); in removeText() 71 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() argument 72 srcLen = removeText(src, srcLen, UnicodeString("^[ \\r\\n]+ "), 0, UnicodeString(), status); // remove leading new lines in trim() 73 srcLen = removeText(src, srcLen, UnicodeString("^\\s+"), 0, UnicodeString(), status); // remove leading spaces in trim() 74 srcLen = removeText(src, srcLen, UnicodeString("\\s+$"), 0, UnicodeString(), status); // remvoe trailing spcaes in trim() 98 UnicodeString src (source,srcLen); in getText() 103 pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); in getText() 133 UnicodeString src(source, srcLen); in getDescription() 138 pattern->split(src, stringArra in getDescription() [all...] |
/third_party/skia/gm/ |
H A D | rrect.cpp | 23 static void inset0(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset0() argument 24 SkRect r = src.rect(); in inset0() 34 radii[i] = src.radii((SkRRect::Corner)i); in inset0() 43 static void inset1(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset1() argument 44 SkRect r = src.rect(); in inset1() 54 radii[i] = src.radii((SkRRect::Corner)i); in inset1() 59 static void inset2(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset2() argument 60 SkRect r = src.rect(); in inset2() 70 radii[i] = src.radii((SkRRect::Corner)i); in inset2() 87 static void inset3(const SkRRect& src, SkScala argument [all...] |
/third_party/vixl/src/aarch64/ |
H A D | logic-aarch64.cc | 87 double Simulator::FixedToDouble(int64_t src, int fbits, FPRounding round) { in FixedToDouble() argument 88 if (src >= 0) { in FixedToDouble() 89 return UFixedToDouble(src, fbits, round); in FixedToDouble() 90 } else if (src == INT64_MIN) { in FixedToDouble() 91 return -UFixedToDouble(src, fbits, round); in FixedToDouble() 93 return -UFixedToDouble(-src, fbits, round); in FixedToDouble() 98 double Simulator::UFixedToDouble(uint64_t src, int fbits, FPRounding round) { in UFixedToDouble() argument 101 if (src == 0) { in UFixedToDouble() 107 const int highest_significant_bit = 63 - CountLeadingZeros(src); in UFixedToDouble() 110 return FPRoundToDouble(0, exponent, src, roun in UFixedToDouble() 114 FixedToFloat(int64_t src, int fbits, FPRounding round) FixedToFloat() argument 125 UFixedToFloat(uint64_t src, int fbits, FPRounding round) UFixedToFloat() argument 141 FixedToFloat16(int64_t src, int fbits, FPRounding round) FixedToFloat16() argument 152 UFixedToFloat16(uint64_t src, int fbits, FPRounding round) UFixedToFloat16() argument 395 st1(VectorFormat vform, LogicVRegister src, uint64_t addr) st1() argument 403 st1(VectorFormat vform, LogicVRegister src, int index, uint64_t addr) st1() argument 411 st2(VectorFormat vform, LogicVRegister src, LogicVRegister src2, uint64_t addr) st2() argument 426 st2(VectorFormat vform, LogicVRegister src, LogicVRegister src2, int index, uint64_t addr) st2() argument 437 st3(VectorFormat vform, LogicVRegister src, LogicVRegister src2, LogicVRegister src3, uint64_t addr) st3() argument 456 st3(VectorFormat vform, LogicVRegister src, LogicVRegister src2, LogicVRegister src3, int index, uint64_t addr) st3() argument 469 st4(VectorFormat vform, LogicVRegister src, LogicVRegister src2, LogicVRegister src3, LogicVRegister src4, uint64_t addr) st4() argument 492 st4(VectorFormat vform, LogicVRegister src, LogicVRegister src2, LogicVRegister src3, LogicVRegister src4, int index, uint64_t addr) st4() argument 1087 bic(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src, uint64_t imm) bic() argument 1197 const LogicVRegister* src = &src1; sminmaxp() local 1237 addp(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) addp() argument 1249 addv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) addv() argument 1267 saddlv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) saddlv() argument 1284 uaddlv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) uaddlv() argument 1301 sminmaxv(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src, bool max) sminmaxv() argument 1323 smaxv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) smaxv() argument 1331 sminv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) sminv() argument 1339 smaxv(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src) smaxv() argument 1349 sminv(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src) sminv() argument 1403 const LogicVRegister* src = &src1; uminmaxp() local 1443 uminmaxv(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src, bool max) uminmaxv() argument 1465 umaxv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) umaxv() argument 1473 uminv(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) uminv() argument 1481 umaxv(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src) umaxv() argument 1491 uminv(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src) uminv() argument 1501 shl(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src, int shift) shl() argument 1512 sshll(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src, int shift) sshll() argument 1524 sshll2(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src, int shift) sshll2() argument 1536 shll(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) shll() argument 1544 shll2(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src) shll2() argument 1552 ushll(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src, int shift) ushll() argument 1564 ushll2(VectorFormat vform, LogicVRegister dst, const LogicVRegister& src, int shift) ushll2() argument 1575 clast(VectorFormat vform, const LogicPRegister& pg, const LogicVRegister& src, int offset_from_last_active) clast() argument 1589 compact(VectorFormat vform, LogicVRegister dst, const LogicPRegister& pg, const LogicVRegister& src) compact() argument [all...] |
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_compile.c | 110 .src = { ~0, ~0, ~0, ~0 }, \ 119 i.src[0] = ssa; \ 198 .src = { ~0, ~0, ~0, ~0 }, in v_branch() 236 assert(intr->src[0].is_ssa); in midgard_nir_lower_global_load_instr() 237 nir_ssa_def *addr = intr->src[0].ssa; in midgard_nir_lower_global_load_instr() 254 shared_load->src[0] = nir_src_for_ssa(addr); in midgard_nir_lower_global_load_instr() 290 if (nir_src_bit_size(alu->src[0].src) == 64) in mdg_should_scalarize() 316 int src_bit_size = nir_src_bit_size(alu->src[0].src); in midgard_vectorize_filter() 522 nir_is_non_scalar_swizzle(nir_alu_src *src, unsigned nr_components) nir_is_non_scalar_swizzle() argument 581 nir_accepts_inot(nir_op op, unsigned src) nir_accepts_inot() argument 639 nir_alu_src src = instr->src[i]; mir_copy_src() local 1616 emit_fragment_store(compiler_context *ctx, unsigned src, unsigned src_z, unsigned src_s, enum midgard_rt_id rt, unsigned sample_iter) emit_fragment_store() argument 1732 mir_get_branch_cond(nir_src *src, bool *invert) mir_get_branch_cond() argument [all...] |
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | load_store_vectorizer_tests.cpp | 31 EXPECT_EQ((instr)->src[0].src.ssa, &(load)->dest.ssa); \ 80 std::string swizzle(nir_alu_instr *instr, int src); 110 nir_load_store_vectorize_test::swizzle(nir_alu_instr *instr, int src) in swizzle() argument 113 for (unsigned i = 0; i < nir_ssa_alu_instr_src_components(instr, src); i++) { in swizzle() 114 swizzle += "xyzw"[instr->src[src].swizzle[i]]; in swizzle() 190 res->src[0] = nir_src_for_ssa(nir_imm_zero(b, 1, 32)); in get_resource() 226 load->src[0] = nir_src_for_ssa(res); in create_indirect_load() 227 load->src[ in create_indirect_load() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_types.c | 391 const struct kbase_hwcnt_dump_buffer *src, in kbase_hwcnt_dump_buffer_copy() 399 WARN_ON(!src) || in kbase_hwcnt_dump_buffer_copy() 401 WARN_ON(dst == src) || in kbase_hwcnt_dump_buffer_copy() 402 WARN_ON(dst->metadata != src->metadata) || in kbase_hwcnt_dump_buffer_copy() 420 src, grp, blk, blk_inst); in kbase_hwcnt_dump_buffer_copy() 430 dst->clk_cnt_buf[clk] = src->clk_cnt_buf[clk]; in kbase_hwcnt_dump_buffer_copy() 436 const struct kbase_hwcnt_dump_buffer *src, in kbase_hwcnt_dump_buffer_copy_strict() 444 WARN_ON(!src) || in kbase_hwcnt_dump_buffer_copy_strict() 446 WARN_ON(dst == src) || in kbase_hwcnt_dump_buffer_copy_strict() 447 WARN_ON(dst->metadata != src in kbase_hwcnt_dump_buffer_copy_strict() 389 kbase_hwcnt_dump_buffer_copy( struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, const struct kbase_hwcnt_enable_map *dst_enable_map) kbase_hwcnt_dump_buffer_copy() argument 434 kbase_hwcnt_dump_buffer_copy_strict( struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, const struct kbase_hwcnt_enable_map *dst_enable_map) kbase_hwcnt_dump_buffer_copy_strict() argument 480 kbase_hwcnt_dump_buffer_accumulate( struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, const struct kbase_hwcnt_enable_map *dst_enable_map) kbase_hwcnt_dump_buffer_accumulate() argument 529 kbase_hwcnt_dump_buffer_accumulate_strict( struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, const struct kbase_hwcnt_enable_map *dst_enable_map) kbase_hwcnt_dump_buffer_accumulate_strict() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_types.c | 382 void kbase_hwcnt_dump_buffer_copy(struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, in kbase_hwcnt_dump_buffer_copy() argument 389 if (WARN_ON(!dst) || WARN_ON(!src) || WARN_ON(!dst_enable_map) || WARN_ON(dst == src) || in kbase_hwcnt_dump_buffer_copy() 390 WARN_ON(dst->metadata != src->metadata) || WARN_ON(dst->metadata != dst_enable_map->metadata)) { in kbase_hwcnt_dump_buffer_copy() 407 src_blk = kbase_hwcnt_dump_buffer_block_instance(src, grp, blk, blk_inst); in kbase_hwcnt_dump_buffer_copy() 416 dst->clk_cnt_buf[clk] = src->clk_cnt_buf[clk]; in kbase_hwcnt_dump_buffer_copy() 422 void kbase_hwcnt_dump_buffer_copy_strict(struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, in kbase_hwcnt_dump_buffer_copy_strict() argument 429 if (WARN_ON(!dst) || WARN_ON(!src) || WARN_ON(!dst_enable_map) || WARN_ON(dst == src) || in kbase_hwcnt_dump_buffer_copy_strict() 430 WARN_ON(dst->metadata != src in kbase_hwcnt_dump_buffer_copy_strict() 457 kbase_hwcnt_dump_buffer_accumulate(struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, const struct kbase_hwcnt_enable_map *dst_enable_map) kbase_hwcnt_dump_buffer_accumulate() argument 499 kbase_hwcnt_dump_buffer_accumulate_strict(struct kbase_hwcnt_dump_buffer *dst, const struct kbase_hwcnt_dump_buffer *src, const struct kbase_hwcnt_enable_map *dst_enable_map) kbase_hwcnt_dump_buffer_accumulate_strict() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationGeometryGridRenderTests.cpp | 149 std::ostringstream src; in initPrograms() local 150 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 157 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 162 std::ostringstream src; in initPrograms() local 163 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 172 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms() 177 std::ostringstream src; in initPrograms() local 178 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 193 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 198 std::ostringstream src; in initPrograms() local 228 std::ostringstream src; initPrograms() local [all...] |
H A D | vktTessellationWindingTests.cpp | 235 std::ostringstream src; in initPrograms() local 236 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 242 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 247 std::ostringstream src; in initPrograms() local 248 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 264 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 269 std::ostringstream src; in initPrograms() local 270 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 281 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()); in initPrograms() 286 std::ostringstream src; in initPrograms() local 303 std::ostringstream src; initPrograms() local 313 std::ostringstream src; initPrograms() local 346 std::ostringstream src; initPrograms() local 358 std::ostringstream src; initPrograms() local [all...] |
/third_party/typescript/tests/baselines/reference/tsbuild/outFile/ |
H A D | rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js | 17 //// [/src/first/first_PART1.ts]
31 //// [/src/first/first_part2.ts]
35 //// [/src/first/first_part3.ts]
40 //// [/src/first/tsconfig.json]
62 //// [/src/second/second_part1.ts]
76 //// [/src/second/second_part2.ts]
84 //// [/src/second/tsconfig.json]
102 //// [/src/third/third_part1.ts]
107 //// [/src/third/tsconfig.json]
133 /lib/tsc --b /src/thir [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationWindingTests.cpp | 235 std::ostringstream src; in initPrograms() local 236 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 242 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 247 std::ostringstream src; in initPrograms() local 248 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 264 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 269 std::ostringstream src; in initPrograms() local 270 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 281 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()); in initPrograms() 286 std::ostringstream src; in initPrograms() local 303 std::ostringstream src; initPrograms() local 313 std::ostringstream src; initPrograms() local 346 std::ostringstream src; initPrograms() local 358 std::ostringstream src; initPrograms() local [all...] |
/test/xts/acts/kernel_lite/futex_posix/src/ |
H A D | FutexTest.cpp | 20 void ChildAssertEQ(int src, int des) in ChildAssertEQ() argument 22 if (src != des) { in ChildAssertEQ() 23 LOG("> src = %d, but des = %d", src, des); in ChildAssertEQ() 28 int ChildExpectEQ(int src, int des) in ChildExpectEQ() argument 30 if (src != des) { in ChildExpectEQ() 31 LOG("> src = %d, but des = %d", src, des); in ChildExpectEQ()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | builtin-prototype.c | 1 void memcpy(void *dst, const void *src, unsigned int size); 2 void memcpy(void *dst, const void *src, unsigned int size) in memcpy() argument 4 __builtin_memcpy(dst, src, size); in memcpy() 7 unsigned int strlen(const char *src); 8 unsigned int strlen(const char *src) in strlen() argument 10 return __builtin_strlen(src); in strlen()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | ff_fragment_shader.cpp | 379 GLuint src, GLuint unit) in get_source() 384 switch (src) { in get_source() 397 ir_dereference_variable(p->src_texture[src - TEXENV_SRC_TEXTURE0]); in get_source() 437 ir_rvalue *src; in emit_combine_source() local 439 src = get_source(p, source, unit); in emit_combine_source() 443 return sub(new(p->mem_ctx) ir_constant(1.0f), src); in emit_combine_source() 446 return src->type->is_scalar() ? src : swizzle_w(src); in emit_combine_source() 449 ir_rvalue *const scalar = src in emit_combine_source() 378 get_source(texenv_fragment_program *p, GLuint src, GLuint unit) get_source() argument 519 ir_rvalue *src[MAX_COMBINER_TERMS]; emit_combine() local 841 load_texenv_source(texenv_fragment_program *p, GLuint src, GLuint unit) load_texenv_source() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_schedule_instructions.cpp | 163 * (since the last two src operands are in different register banks): in set_latency_gfx7() 167 * (since the last two src operands are in the same register bank): in set_latency_gfx7() 171 * (since the last two src operands are in different register banks): in set_latency_gfx7() 176 * (since the last two src operands are in the same register bank): in set_latency_gfx7() 189 * (since the last two src operands are in different register banks): in set_latency_gfx7() 193 * (since the last two src operands are in the same register bank): in set_latency_gfx7() 197 * (since the last two src operands are in different register banks): in set_latency_gfx7() 202 * (since the last two src operands are in the same register bank): in set_latency_gfx7() 763 is_src_duplicate(fs_inst *inst, int src) in is_src_duplicate() argument 765 for (int i = 0; i < src; in is_src_duplicate() [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | example.c | 404 struct storage_hash *src; in find_pseudo_storage() local 406 src = find_storage_hash(pseudo, state->internal); in find_pseudo_storage() 407 if (!src) { in find_pseudo_storage() 408 src = find_storage_hash(pseudo, state->inputs); in find_pseudo_storage() 409 if (!src) { in find_pseudo_storage() 410 src = find_storage_hash(pseudo, state->outputs); in find_pseudo_storage() 412 if (!src) in find_pseudo_storage() 419 if (src->storage->type != REG_STACK) in find_pseudo_storage() 430 if (src->storage->type == REG_UDEF) { in find_pseudo_storage() 432 src in find_pseudo_storage() 586 struct storage_hash *src; fill_reg() local 652 move_reg(struct bb_state *state, struct hardreg *src, struct hardreg *dst) move_reg() argument 657 copy_reg(struct bb_state *state, struct hardreg *src, pseudo_t target) copy_reg() argument 737 struct storage *src; get_generic_operand() local 881 target_copy_reg(struct bb_state *state, struct hardreg *src, pseudo_t target) target_copy_reg() argument 890 struct operand *src = get_register_operand(state, val1, insn->target); do_binop() local 960 struct storage_hash *src; mark_pseudo_dead() local 1020 struct hardreg *src = getreg(state, insn->src, insn->target); generate_copy() local 1027 struct hardreg *src = getreg(state, insn->src, insn->target); generate_cast() local 1175 const char *src = *src_p; replace_asm_percent() local 1193 const char *src = *src_p; replace_asm_named() local 1343 struct hardreg *src; generate_compare() local 1507 write_val_to_storage(struct bb_state *state, pseudo_t src, struct storage *storage) write_val_to_storage() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 154 struct nv50_miptree *src, unsigned src_level, in nv50_2d_texture_do_copy() 159 const enum pipe_format sfmt = src->base.base.format; in nv50_2d_texture_do_copy() 170 ret = nv50_2d_texture_set(push, 0, src, src_level, sz, sfmt, eqfmt); in nv50_2d_texture_do_copy() 188 PUSH_DATA (push, sx << src->ms_x); in nv50_2d_texture_do_copy() 190 PUSH_DATA (push, sy << src->ms_y); in nv50_2d_texture_do_copy() 199 struct pipe_resource *src, unsigned src_level, in nv50_resource_copy_region() 207 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in nv50_resource_copy_region() 210 nv04_resource(src), src_box->x, src_box->width); in nv50_resource_copy_region() 215 assert((src->nr_samples | 1) == (dst->nr_samples | 1)); in nv50_resource_copy_region() 217 m2mf = (src in nv50_resource_copy_region() 151 nv50_2d_texture_do_copy(struct nouveau_pushbuf *push, struct nv50_miptree *dst, unsigned dst_level, unsigned dx, unsigned dy, unsigned dz, struct nv50_miptree *src, unsigned src_level, unsigned sx, unsigned sy, unsigned sz, unsigned w, unsigned h) nv50_2d_texture_do_copy() argument 196 nv50_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) nv50_resource_copy_region() argument 1375 struct pipe_resource *src = info->src.resource; nv50_blit_3d() local 1525 struct nv50_miptree *src = nv50_miptree(info->src.resource); nv50_blit_eng2d() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | psd.c | 57 uint64_t line_size;/* length of src data (even width) */ 461 const uint8_t *src[5] = { ptr_data }; in decode_frame() local 462 src[1] = src[0] + s->line_size * s->height; in decode_frame() 463 src[2] = src[1] + s->line_size * s->height; in decode_frame() 464 src[3] = src[2] + s->line_size * s->height; in decode_frame() 465 src[4] = src[ in decode_frame() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_gcm.c | 168 is_src_scalarizable(nir_src *src) in is_src_scalarizable() argument 170 assert(src->is_ssa); in is_src_scalarizable() 172 nir_instr *src_instr = src->ssa->parent_instr; in is_src_scalarizable() 203 nir_deref_instr *deref = nir_src_as_deref(src_intrin->src[0]); in is_src_scalarizable() 232 is_binding_uniform(nir_src src) in is_binding_uniform() argument 234 nir_binding binding = nir_chase_binding(src); in is_binding_uniform() 272 nir_deref_mode_may_be(nir_src_as_deref(intrin->src[0]), in pin_intrinsic() 274 if (!is_binding_uniform(intrin->src[0])) in pin_intrinsic() 277 if (!nir_src_is_always_uniform(intrin->src[0])) in pin_intrinsic() 280 nir_deref_mode_is(nir_src_as_deref(intrin->src[ in pin_intrinsic() 348 nir_tex_src *src = &tex->src[i]; gcm_pin_instructions() local 428 gcm_schedule_early_src(nir_src *src, void *void_state) gcm_schedule_early_src() argument [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 171 void fetchTexture (const tcu::SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4& colorBias); 173 void sampleTexture (const tcu::PixelBufferAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params); 175 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params); 176 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& params); 177 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& params); 178 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& params); 179 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& params); 180 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& params); 181 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceParams& params); 211 const tcu::Texture1DView& src, [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi_insn.c | 133 swizzle(struct src_register src, in swizzle() argument 140 x = (src.base.swizzle >> (x * 2)) & 0x3; in swizzle() 141 y = (src.base.swizzle >> (y * 2)) & 0x3; in swizzle() 142 z = (src.base.swizzle >> (z * 2)) & 0x3; in swizzle() 143 w = (src.base.swizzle >> (w * 2)) & 0x3; in swizzle() 145 src.base.swizzle = TRANSLATE_SWIZZLE(x, y, z, w); in swizzle() 147 return src; in swizzle() 157 scalar(struct src_register src, unsigned comp) in scalar() argument 160 return swizzle( src, comp, comp, comp, comp ); in scalar() 191 * Translate a TGSI src registe 197 struct src_register src; translate_src_register() local 321 emit_src(struct svga_shader_emitter *emit, const struct src_register src) emit_src() argument 415 absolute(struct src_register src) absolute() argument 427 negate(struct src_register src) negate() argument 717 alias_src_dst(struct src_register src, SVGA3dShaderDestToken dst) alias_src_dst() argument 1732 emit_tex_swizzle(struct svga_shader_emitter *emit, SVGA3dShaderDestToken dst, struct src_register src, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w) emit_tex_swizzle() argument 1975 struct src_register src; emit_scalar_op1() local 1995 const struct tgsi_full_src_register *src = insn->Src; emit_simple_instruction() local 2032 const struct tgsi_full_src_register *src = &insn->Src[0]; emit_mov() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_multiply.c | 47 AVFrame *src, *ref, *dst; member 78 const float *src = (const float *)ssrc; in multiply() local 85 dst[x] = src[x] * factor; in multiply() 97 const ptrdiff_t src_linesize = td->src->linesize[p]; in multiply_slice() 100 const int w = td->src->width; in multiply_slice() 101 const int h = td->src->height; in multiply_slice() 104 const uint8_t *src = td->src->data[p] + slice_start * src_linesize; in multiply_slice() local 115 multiply(src, ref, dst, scale, offset, w); in multiply_slice() 118 src in multiply_slice() 131 AVFrame *out, *src, *ref; process_frame() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | filterednormalizer2.cpp | 36 FilteredNormalizer2::normalize(const UnicodeString &src, in normalize() argument 39 uprv_checkCanGetBuffer(src, errorCode); in normalize() 44 if(&dest==&src) { in normalize() 49 return normalize(src, dest, USET_SPAN_SIMPLE, errorCode); in normalize() 54 // span length at the start of src. 56 // USET_SPAN_SIMPLE should be passed in for the start of src 60 FilteredNormalizer2::normalize(const UnicodeString &src, in normalize() argument 65 for(int32_t prevSpanLimit=0; prevSpanLimit<src.length();) { in normalize() 66 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 70 dest.append(src, prevSpanLimi in normalize() 91 normalizeUTF8(uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) const normalizeUTF8() argument 104 normalizeUTF8(uint32_t options, const char *src, int32_t length, ByteSink &sink, Edits *edits, USetSpanCondition spanCondition, UErrorCode &errorCode) const normalizeUTF8() argument [all...] |