/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | wcpncpy.c | 28 wchar_t src[] = L"Source string"; in wcpncpy_0100() local 31 wchar_t *result = wcpncpy(dst, src, src_len + 1); in wcpncpy_0100() 35 if (wcscmp(src, dst) != 0) { in wcpncpy_0100() 36 t_error("%s wcpncpy get dst is %ls are not want %ls\n", __func__, dst, src); in wcpncpy_0100() 47 wchar_t src[] = L"Source string"; in wcpncpy_0200() local 50 wchar_t *result = wcpncpy(dst, src, 2); in wcpncpy_0200() 55 t_error("%s wcpncpy get dst is %ls are not want %ls\n", __func__, dst, src); in wcpncpy_0200() 66 wchar_t src[] = L"Source string"; in wcpncpy_0300() local 69 wchar_t *result = wcpncpy(dst, src, 17); in wcpncpy_0300() 73 if (wcscmp(src, ds in wcpncpy_0300() [all...] |
H A D | wmemmove.c | 29 const wchar_t src[] = L"src content"; in wmemmove_0100() local 32 wcsncpy(tmp, src, count); in wmemmove_0100() 33 wmemmove(dest, src, count); in wmemmove_0100() 35 t_error("The dest specified bits are not equal to the src\n", __func__); in wmemmove_0100() 41 * @tc.desc : Dest and src overlaps 46 wchar_t src[] = L"This is a c test for wmemmove function"; in wmemmove_0200() local 47 wchar_t *dest = &src[2]; in wmemmove_0200() 50 wcsncpy(tmp, src, count); in wmemmove_0200() 51 wmemmove(dest, src, coun in wmemmove_0200() 64 wchar_t src[] = L"This is a c test for wmemmove function"; wmemmove_0300() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 447 std::ostringstream src; in initPrograms() local 449 src << "#version 450\n"; in initPrograms() 450 src << "#extension GL_EXT_shared_memory_block : enable\n"; in initPrograms() 451 src << "#extension GL_EXT_shader_explicit_arithmetic_types : enable\n"; in initPrograms() 454 src << "#extension GL_EXT_scalar_block_layout : enable\n"; in initPrograms() 456 src << "layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;\n"; in initPrograms() 459 src << m_caseDef.extraTypes << ";\n"; in initPrograms() 461 src << layout << "shared A { " << m_caseDef.writeType << "; } a;\n"; in initPrograms() 462 src << layout << "shared B { " << m_caseDef.readType << "; } b;\n"; in initPrograms() 463 src << "layou in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 469 std::ostringstream src; in initPrograms() local 471 src << "#version 450\n"; in initPrograms() 472 src << "#extension GL_EXT_shared_memory_block : enable\n"; in initPrograms() 473 src << "#extension GL_EXT_shader_explicit_arithmetic_types : enable\n"; in initPrograms() 476 src << "#extension GL_EXT_scalar_block_layout : enable\n"; in initPrograms() 478 src << "layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;\n"; in initPrograms() 481 src << m_caseDef.extraTypes << ";\n"; in initPrograms() 483 src << layout << "shared A { " << m_caseDef.writeType << "; } a;\n"; in initPrograms() 484 src << layout << "shared B { " << m_caseDef.readType << "; } b;\n"; in initPrograms() 485 src << "layou in initPrograms() [all...] |
/kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
H A D | common.h | 401 struct blkif_x86_32_request *src) in blkif_get_x86_32_req() 404 dst->operation = READ_ONCE(src->operation); in blkif_get_x86_32_req() 410 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_32_req() 411 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req() 412 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_32_req() 413 dst->u.rw.sector_number = src->u.rw.sector_number; in blkif_get_x86_32_req() 418 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_32_req() 421 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_32_req() 422 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_32_req() 423 dst->u.discard.sector_number = src in blkif_get_x86_32_req() 400 blkif_get_x86_32_req(struct blkif_request *dst, struct blkif_x86_32_request *src) blkif_get_x86_32_req() argument 448 blkif_get_x86_64_req(struct blkif_request *dst, struct blkif_x86_64_request *src) blkif_get_x86_64_req() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mpegpicture.c | 339 int ff_update_picture_tables(Picture *dst, const Picture *src) in ff_update_picture_tables() argument 343 ret = av_buffer_replace(&dst->mb_var_buf, src->mb_var_buf); in ff_update_picture_tables() 344 ret |= av_buffer_replace(&dst->mc_mb_var_buf, src->mc_mb_var_buf); in ff_update_picture_tables() 345 ret |= av_buffer_replace(&dst->mb_mean_buf, src->mb_mean_buf); in ff_update_picture_tables() 346 ret |= av_buffer_replace(&dst->mbskip_table_buf, src->mbskip_table_buf); in ff_update_picture_tables() 347 ret |= av_buffer_replace(&dst->qscale_table_buf, src->qscale_table_buf); in ff_update_picture_tables() 348 ret |= av_buffer_replace(&dst->mb_type_buf, src->mb_type_buf); in ff_update_picture_tables() 350 ret |= av_buffer_replace(&dst->motion_val_buf[i], src->motion_val_buf[i]); in ff_update_picture_tables() 351 ret |= av_buffer_replace(&dst->ref_index_buf[i], src->ref_index_buf[i]); in ff_update_picture_tables() 359 dst->mb_var = src in ff_update_picture_tables() 377 ff_mpeg_ref_picture(AVCodecContext *avctx, Picture *dst, Picture *src) ff_mpeg_ref_picture() argument [all...] |
H A D | ac3dec_fixed.c | 63 const int32_t *src, in scale_coefs() 77 temp = src[i] * mul; in scale_coefs() 78 temp1 = src[i+1] * mul; in scale_coefs() 80 temp2 = src[i+2] * mul; in scale_coefs() 84 temp3 = src[i+3] * mul; in scale_coefs() 88 temp4 = src[i + 4] * mul; in scale_coefs() 92 temp5 = src[i+5] * mul; in scale_coefs() 95 temp6 = src[i+6] * mul; in scale_coefs() 99 temp7 = src[i+7] * mul; in scale_coefs() 113 dst[i] = src[ in scale_coefs() 61 scale_coefs( int32_t *dst, const int32_t *src, int dynrng, int len) scale_coefs() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_transpose.c | 74 static inline void transpose_block_8_c(uint8_t *src, ptrdiff_t src_linesize, in transpose_block_8_c() argument 79 for (y = 0; y < h; y++, dst += dst_linesize, src++) in transpose_block_8_c() 81 dst[x] = src[x*src_linesize]; in transpose_block_8_c() 84 static void transpose_8x8_8_c(uint8_t *src, ptrdiff_t src_linesize, in transpose_8x8_8_c() argument 87 transpose_block_8_c(src, src_linesize, dst, dst_linesize, 8, 8); in transpose_8x8_8_c() 90 static inline void transpose_block_16_c(uint8_t *src, ptrdiff_t src_linesize, in transpose_block_16_c() argument 95 for (y = 0; y < h; y++, dst += dst_linesize, src += 2) in transpose_block_16_c() 97 *((uint16_t *)(dst + 2*x)) = *((uint16_t *)(src + x*src_linesize)); in transpose_block_16_c() 100 static void transpose_8x8_16_c(uint8_t *src, ptrdiff_t src_linesize, in transpose_8x8_16_c() argument 103 transpose_block_16_c(src, src_linesiz in transpose_8x8_16_c() 106 transpose_block_24_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) transpose_block_24_c() argument 119 transpose_8x8_24_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) transpose_8x8_24_c() argument 125 transpose_block_32_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) transpose_block_32_c() argument 136 transpose_8x8_32_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) transpose_8x8_32_c() argument 142 transpose_block_48_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) transpose_block_48_c() argument 155 transpose_8x8_48_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) transpose_8x8_48_c() argument 161 transpose_block_64_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) transpose_block_64_c() argument 171 transpose_8x8_64_c(uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) transpose_8x8_64_c() argument 285 uint8_t *dst, *src; filter_slice() local [all...] |
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | vertex_pulling_test.cc | 15 #include "src/transform/vertex_pulling.h" 19 #include "src/transform/test_helper.h" 28 auto* src = ""; in TEST_F() local 34 auto got = Run<VertexPulling>(src, data); in TEST_F() 40 auto* src = R"( in TEST_F() local 54 auto got = Run<VertexPulling>(src, data); in TEST_F() 60 auto* src = R"( in TEST_F() local 72 auto got = Run<VertexPulling>(src, data); in TEST_F() 78 auto* src = R"( in TEST_F() local 96 auto got = Run<VertexPulling>(src, dat in TEST_F() 102 auto* src = R"( TEST_F() local 132 auto* src = R"( TEST_F() local 171 auto* src = R"( TEST_F() local 210 auto* src = R"( TEST_F() local 250 auto* src = R"( TEST_F() local 299 auto* src = R"( TEST_F() local 357 auto* src = R"( TEST_F() local 437 auto* src = R"( TEST_F() local 514 auto* src = R"( TEST_F() local 558 auto* src = R"( TEST_F() local 613 auto* src = R"( TEST_F() local 665 auto* src = R"( TEST_F() local 825 auto* src = R"( TEST_F() local 986 auto* src = R"( TEST_F() local [all...] |
H A D | remove_phonies_test.cc | 15 #include "src/transform/remove_phonies.h" 21 #include "src/transform/test_helper.h" 30 auto* src = ""; in TEST_F() local 33 auto got = Run<RemovePhonies>(src); in TEST_F() 39 auto* src = R"( in TEST_F() local 64 auto got = Run<RemovePhonies>(src); in TEST_F() 70 auto* src = R"( in TEST_F() local 112 auto got = Run<RemovePhonies>(src); in TEST_F() 118 auto* src = R"( in TEST_F() local 169 auto got = Run<RemovePhonies>(src); in TEST_F() 175 auto* src = R"( TEST_F() local [all...] |
/third_party/node/deps/v8/src/wasm/baseline/loong64/ |
H A D | liftoff-assembler-loong64.h | 8 #include "src/base/platform/wrappers.h" 9 #include "src/codegen/machine-type.h" 10 #include "src/heap/memory-chunk.h" 11 #include "src/wasm/baseline/liftoff-assembler.h" 12 #include "src/wasm/wasm-objects.h" 99 inline void Load(LiftoffAssembler* assm, LiftoffRegister dst, MemOperand src, in Load() argument 103 assm->Ld_w(dst.gp(), src); in Load() 109 assm->Ld_d(dst.gp(), src); in Load() 112 assm->Fld_s(dst.fp(), src); in Load() 115 assm->Fld_d(dst.fp(), src); in Load() 125 Store(LiftoffAssembler* assm, Register base, int32_t offset, LiftoffRegister src, ValueKind kind) Store() argument 382 StoreTaggedPointer(Register dst_addr, Register offset_reg, int32_t offset_imm, LiftoffRegister src, LiftoffRegList pinned, SkipWriteBarrier skip_write_barrier) StoreTaggedPointer() argument 471 Store(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister src, StoreType type, LiftoffRegList pinned, uint32_t* protected_store_pc, bool is_store_mem) Store() argument 546 AtomicStore(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister src, StoreType type, LiftoffRegList pinned) AtomicStore() argument 834 StoreCallerFrameSlot(LiftoffRegister src, uint32_t caller_slot_idx, ValueKind kind) StoreCallerFrameSlot() argument 854 Move(Register dst, Register src, ValueKind kind) Move() argument 860 Move(DoubleRegister dst, DoubleRegister src, ValueKind kind) Move() argument 923 MemOperand src = liftoff::GetStackSlot(offset); Fill() local 985 emit_i64_clz(LiftoffRegister dst, LiftoffRegister src) emit_i64_clz() argument 989 emit_i64_ctz(LiftoffRegister dst, LiftoffRegister src) emit_i64_ctz() argument 993 emit_i64_popcnt(LiftoffRegister dst, LiftoffRegister src) emit_i64_popcnt() argument 1079 emit_i32_clz(Register dst, Register src) emit_i32_clz() argument 1083 emit_i32_ctz(Register dst, Register src) emit_i32_ctz() argument 1087 emit_i32_popcnt(Register dst, Register src) emit_i32_popcnt() argument 1214 emit_u32_to_uintptr(Register dst, Register src) emit_u32_to_uintptr() argument 1218 emit_f32_neg(DoubleRegister dst, DoubleRegister src) emit_f32_neg() argument 1222 emit_f64_neg(DoubleRegister dst, DoubleRegister src) emit_f64_neg() argument 1320 emit_type_conversion(WasmOpcode opcode, LiftoffRegister dst, LiftoffRegister src, Label* trap) emit_type_conversion() argument 1565 emit_i32_signextend_i8(Register dst, Register src) emit_i32_signextend_i8() argument 1569 emit_i32_signextend_i16(Register dst, Register src) emit_i32_signextend_i16() argument 1573 emit_i64_signextend_i8(LiftoffRegister dst, LiftoffRegister src) emit_i64_signextend_i8() argument 1578 emit_i64_signextend_i16(LiftoffRegister dst, LiftoffRegister src) emit_i64_signextend_i16() argument 1583 emit_i64_signextend_i32(LiftoffRegister dst, LiftoffRegister src) emit_i64_signextend_i32() argument 1625 emit_i32_eqz(Register dst, Register src) emit_i32_eqz() argument 1648 emit_i64_eqz(Register dst, LiftoffRegister src) emit_i64_eqz() argument 1790 LoadLane(LiftoffRegister dst, LiftoffRegister src, Register addr, Register offset_reg, uintptr_t offset_imm, LoadType type, uint8_t laneidx, uint32_t* protected_load_pc) LoadLane() argument 1797 StoreLane(Register dst, Register offset, uintptr_t offset_imm, LiftoffRegister src, StoreType type, uint8_t lane, uint32_t* protected_store_pc) StoreLane() argument 1818 emit_i8x16_splat(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_splat() argument 1823 emit_i16x8_splat(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_splat() argument 1828 emit_i32x4_splat(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_splat() argument 1833 emit_i64x2_splat(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_splat() argument 1838 emit_f32x4_splat(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_splat() argument 1843 emit_f64x2_splat(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_splat() argument 2007 emit_i64x2_abs(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_abs() argument 2037 emit_s128_not(LiftoffRegister dst, LiftoffRegister src) emit_s128_not() argument 2069 emit_i8x16_neg(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_neg() argument 2074 emit_v128_anytrue(LiftoffRegister dst, LiftoffRegister src) emit_v128_anytrue() argument 2079 emit_i8x16_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_alltrue() argument 2084 emit_i8x16_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_bitmask() argument 2179 emit_i8x16_popcnt(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_popcnt() argument 2184 emit_i16x8_neg(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_neg() argument 2189 emit_i16x8_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_alltrue() argument 2194 emit_i16x8_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_bitmask() argument 2294 emit_i32x4_neg(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_neg() argument 2299 emit_i32x4_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_alltrue() argument 2304 emit_i32x4_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_bitmask() argument 2386 emit_i64x2_neg(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_neg() argument 2391 emit_i64x2_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_alltrue() argument 2396 emit_i64x2_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_bitmask() argument 2458 emit_f32x4_abs(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_abs() argument 2463 emit_f32x4_neg(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_neg() argument 2468 emit_f32x4_sqrt(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_sqrt() argument 2473 emit_f32x4_ceil(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_ceil() argument 2479 emit_f32x4_floor(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_floor() argument 2485 emit_f32x4_trunc(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_trunc() argument 2491 emit_f32x4_nearest_int(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_nearest_int() argument 2537 emit_f64x2_abs(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_abs() argument 2542 emit_f64x2_neg(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_neg() argument 2547 emit_f64x2_sqrt(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_sqrt() argument 2552 emit_f64x2_ceil(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_ceil() argument 2558 emit_f64x2_floor(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_floor() argument 2564 emit_f64x2_trunc(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_trunc() argument 2570 emit_f64x2_nearest_int(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_nearest_int() argument 2616 emit_f64x2_convert_low_i32x4_s(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_convert_low_i32x4_s() argument 2621 emit_f64x2_convert_low_i32x4_u(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_convert_low_i32x4_u() argument 2626 emit_f64x2_promote_low_f32x4(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_promote_low_f32x4() argument 2631 emit_i32x4_sconvert_f32x4(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_sconvert_f32x4() argument 2636 emit_i32x4_uconvert_f32x4(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_uconvert_f32x4() argument 2641 emit_i32x4_trunc_sat_f64x2_s_zero(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_trunc_sat_f64x2_s_zero() argument 2646 emit_i32x4_trunc_sat_f64x2_u_zero(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_trunc_sat_f64x2_u_zero() argument 2651 emit_f32x4_sconvert_i32x4(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_sconvert_i32x4() argument 2656 emit_f32x4_uconvert_i32x4(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_uconvert_i32x4() argument 2661 emit_f32x4_demote_f64x2_zero(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_demote_f64x2_zero() argument 2690 emit_i16x8_sconvert_i8x16_low(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_sconvert_i8x16_low() argument 2695 emit_i16x8_sconvert_i8x16_high(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_sconvert_i8x16_high() argument 2700 emit_i16x8_uconvert_i8x16_low(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_uconvert_i8x16_low() argument 2705 emit_i16x8_uconvert_i8x16_high(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_uconvert_i8x16_high() argument 2710 emit_i32x4_sconvert_i16x8_low(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_sconvert_i16x8_low() argument 2715 emit_i32x4_sconvert_i16x8_high(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_sconvert_i16x8_high() argument 2720 emit_i32x4_uconvert_i16x8_low(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_uconvert_i16x8_low() argument 2725 emit_i32x4_uconvert_i16x8_high(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_uconvert_i16x8_high() argument 2730 emit_i64x2_sconvert_i32x4_low(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_sconvert_i32x4_low() argument 2735 emit_i64x2_sconvert_i32x4_high(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_sconvert_i32x4_high() argument 2740 emit_i64x2_uconvert_i32x4_low(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_uconvert_i32x4_low() argument 2745 emit_i64x2_uconvert_i32x4_high(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_uconvert_i32x4_high() argument 2762 emit_i8x16_abs(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_abs() argument 2767 emit_i16x8_abs(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_abs() argument 2772 emit_i32x4_abs(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_abs() argument 3044 emit_set_if_nan(Register dst, FPURegister src, ValueKind kind) emit_set_if_nan() argument 3061 emit_s128_set_if_nan(Register dst, LiftoffRegister src, Register tmp_gp, LiftoffRegister tmp_s128, ValueKind lane_kind) emit_s128_set_if_nan() argument 3077 const LiftoffAssembler::VarState& src = slot.src_; Construct() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | ShaderCore.cpp | 671 void ShaderCore::mov(Vector4f &dst, const Vector4f &src, bool integerDestination) in mov() argument 675 dst.x = As<Float4>(RoundInt(src.x)); in mov() 676 dst.y = As<Float4>(RoundInt(src.y)); in mov() 677 dst.z = As<Float4>(RoundInt(src.z)); in mov() 678 dst.w = As<Float4>(RoundInt(src.w)); in mov() 682 dst = src; in mov() 686 void ShaderCore::neg(Vector4f &dst, const Vector4f &src) in neg() argument 688 dst.x = -src.x; in neg() 689 dst.y = -src.y; in neg() 690 dst.z = -src in neg() 694 ineg(Vector4f &dst, const Vector4f &src) ineg() argument 702 f2b(Vector4f &dst, const Vector4f &src) f2b() argument 710 b2f(Vector4f &dst, const Vector4f &src) b2f() argument 718 f2i(Vector4f &dst, const Vector4f &src) f2i() argument 726 i2f(Vector4f &dst, const Vector4f &src) i2f() argument 734 f2u(Vector4f &dst, const Vector4f &src) f2u() argument 742 u2f(Vector4f &dst, const Vector4f &src) u2f() argument 750 i2b(Vector4f &dst, const Vector4f &src) i2b() argument 758 b2i(Vector4f &dst, const Vector4f &src) b2i() argument 830 rcpx(Vector4f &dst, const Vector4f &src, bool pp) rcpx() argument 932 rsqx(Vector4f &dst, const Vector4f &src, bool pp) rsqx() argument 942 sqrt(Vector4f &dst, const Vector4f &src, bool pp) sqrt() argument 950 rsq(Vector4f &dst, const Vector4f &src, bool pp) rsq() argument 958 len2(Float4 &dst, const Vector4f &src, bool pp) len2() argument 963 len3(Float4 &dst, const Vector4f &src, bool pp) len3() argument 968 len4(Float4 &dst, const Vector4f &src, bool pp) len4() argument 1119 exp2x(Vector4f &dst, const Vector4f &src, bool pp) exp2x() argument 1129 exp2(Vector4f &dst, const Vector4f &src, bool pp) exp2() argument 1137 exp(Vector4f &dst, const Vector4f &src, bool pp) exp() argument 1145 log2x(Vector4f &dst, const Vector4f &src, bool pp) log2x() argument 1155 log2(Vector4f &dst, const Vector4f &src, bool pp) log2() argument 1163 log(Vector4f &dst, const Vector4f &src, bool pp) log() argument 1171 lit(Vector4f &dst, const Vector4f &src) lit() argument 1206 isinf(Vector4f &dst, const Vector4f &src) isinf() argument 1214 isnan(Vector4f &dst, const Vector4f &src) isnan() argument 1337 frc(Vector4f &dst, const Vector4f &src) frc() argument 1345 trunc(Vector4f &dst, const Vector4f &src) trunc() argument 1353 floor(Vector4f &dst, const Vector4f &src) floor() argument 1361 round(Vector4f &dst, const Vector4f &src) round() argument 1369 roundEven(Vector4f &dst, const Vector4f &src) roundEven() argument 1388 ceil(Vector4f &dst, const Vector4f &src) ceil() argument 1535 sgn(Vector4f &dst, const Vector4f &src) sgn() argument 1543 isgn(Vector4f &dst, const Vector4f &src) isgn() argument 1551 abs(Vector4f &dst, const Vector4f &src) abs() argument 1559 iabs(Vector4f &dst, const Vector4f &src) iabs() argument 1567 nrm2(Vector4f &dst, const Vector4f &src, bool pp) nrm2() argument 1578 nrm3(Vector4f &dst, const Vector4f &src, bool pp) nrm3() argument 1589 nrm4(Vector4f &dst, const Vector4f &src, bool pp) nrm4() argument 1600 sincos(Vector4f &dst, const Vector4f &src, bool pp) sincos() argument 1606 cos(Vector4f &dst, const Vector4f &src, bool pp) cos() argument 1614 sin(Vector4f &dst, const Vector4f &src, bool pp) sin() argument 1622 tan(Vector4f &dst, const Vector4f &src, bool pp) tan() argument 1630 acos(Vector4f &dst, const Vector4f &src, bool pp) acos() argument 1638 asin(Vector4f &dst, const Vector4f &src, bool pp) asin() argument 1646 atan(Vector4f &dst, const Vector4f &src, bool pp) atan() argument 1662 cosh(Vector4f &dst, const Vector4f &src, bool pp) cosh() argument 1670 sinh(Vector4f &dst, const Vector4f &src, bool pp) sinh() argument 1678 tanh(Vector4f &dst, const Vector4f &src, bool pp) tanh() argument 1686 acosh(Vector4f &dst, const Vector4f &src, bool pp) acosh() argument 1694 asinh(Vector4f &dst, const Vector4f &src, bool pp) asinh() argument 1702 atanh(Vector4f &dst, const Vector4f &src, bool pp) atanh() argument 1710 expp(Vector4f &dst, const Vector4f &src, unsigned short shaderModel) expp() argument 1728 logp(Vector4f &dst, const Vector4f &src, unsigned short shaderModel) logp() argument 1782 insert(Vector4f &dst, const Vector4f &src, const Float4 &element, const Float4 &index) insert() argument 1790 sgn(Float4 &dst, const Float4 &src) sgn() argument 1797 isgn(Float4 &dst, const Float4 &src) isgn() argument 1957 all(Float4 &dst, const Vector4f &src) all() argument 1962 any(Float4 &dst, const Vector4f &src) any() argument 1967 bitwise_not(Vector4f &dst, const Vector4f &src) bitwise_not() argument [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_emit_nv50.cpp | 135 void CodeEmitterNV50::srcId(const ValueRef& src, const int pos) in srcId() argument 137 assert(src.get()); in srcId() 138 code[pos / 32] |= SDATA(src).id << (pos % 32); in srcId() 141 void CodeEmitterNV50::srcId(const ValueRef *src, const int pos) in srcId() argument 143 assert(src->get()); in srcId() 144 code[pos / 32] |= SDATA(*src).id << (pos % 32); in srcId() 147 void CodeEmitterNV50::srcAddr16(const ValueRef& src, bool adj, const int pos) in srcAddr16() argument 149 assert(src.get()); in srcAddr16() 151 int32_t offset = SDATA(src).offset; in srcAddr16() 153 assert(!adj || src in srcAddr16() 165 srcAddr8(const ValueRef& src, const int pos) srcAddr8() argument [all...] |
/kernel/linux/linux-5.10/arch/microblaze/lib/ |
H A D | memset.c | 37 char *src = v_src; in memset() local 44 *src++ = c; in memset() 51 char *src = v_src; in memset() local 68 switch ((unsigned) src & 3) { in memset() 70 *src++ = c; in memset() 73 *src++ = c; in memset() 76 *src++ = c; in memset() 80 i_src = (void *)src; in memset() 86 src = (void *)i_src; in memset() 91 *src in memset() [all...] |
/kernel/linux/linux-6.6/arch/microblaze/lib/ |
H A D | memset.c | 36 char *src = v_src; in memset() local 53 switch ((unsigned) src & 3) { in memset() 55 *src++ = c; in memset() 59 *src++ = c; in memset() 63 *src++ = c; in memset() 67 i_src = (void *)src; in memset() 73 src = (void *)i_src; in memset() 79 *src++ = c; in memset() 82 *src++ = c; in memset() 85 *src in memset() [all...] |
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | h264qpel.c | 72 static void OPNAME ## h264_qpel ## SIZE ## _mc00_ ## CODETYPE (uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 74 ff_ ## OPNAME ## pixels ## SIZE ## _ ## CODETYPE(dst, src, stride, SIZE);\ 77 static void OPNAME ## h264_qpel ## SIZE ## _mc10_ ## CODETYPE(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 80 put_h264_qpel ## SIZE ## _h_lowpass_ ## CODETYPE(half, src, SIZE, stride);\ 81 OPNAME ## pixels ## SIZE ## _l2_ ## CODETYPE(dst, src, half, stride, stride, SIZE);\ 84 static void OPNAME ## h264_qpel ## SIZE ## _mc20_ ## CODETYPE(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 86 OPNAME ## h264_qpel ## SIZE ## _h_lowpass_ ## CODETYPE(dst, src, stride, stride);\ 89 static void OPNAME ## h264_qpel ## SIZE ## _mc30_ ## CODETYPE(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\ 92 put_h264_qpel ## SIZE ## _h_lowpass_ ## CODETYPE(half, src, SIZE, stride);\ 93 OPNAME ## pixels ## SIZE ## _l2_ ## CODETYPE(dst, src [all...] |
/third_party/lwip/src/include/lwip/ |
H A D | ip_addr.h | 137 #define ip_addr_copy(dest, src) do{ IP_SET_TYPE_VAL(dest, IP_GET_TYPE(&src)); if(IP_IS_V6_VAL(src)){ \ 138 ip6_addr_copy(*ip_2_ip6(&(dest)), *ip_2_ip6(&(src))); }else{ \ 139 ip4_addr_copy(*ip_2_ip4(&(dest)), *ip_2_ip4(&(src))); ip_clear_no4(&dest); }}while(0) 141 #define ip_addr_copy_from_ip6(dest, src) do{ \ 142 ip6_addr_copy(*ip_2_ip6(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V6); }while(0) 144 #define ip_addr_copy_from_ip6_packed(dest, src) do{ \ 145 ip6_addr_copy_from_packed(*ip_2_ip6(&(dest)), src); IP_SET_TYPE_VAL(dest, IPADDR_TYPE_V6); }while(0) 147 #define ip_addr_copy_from_ip4(dest, src) d [all...] |
/third_party/skia/src/core/ |
H A D | SkM44.cpp | 13 #include "src/core/SkMatrixInvert.h" 14 #include "src/core/SkMatrixPriv.h" 15 #include "src/core/SkPathPriv.h" 39 static void transpose_arrays(SkScalar dst[], const SkScalar src[]) { in transpose_arrays() argument 40 dst[0] = src[0]; dst[1] = src[4]; dst[2] = src[8]; dst[3] = src[12]; in transpose_arrays() 41 dst[4] = src[1]; dst[5] = src[ in transpose_arrays() 142 map_rect_affine(const SkRect& src, const float mat[16]) map_rect_affine() argument 166 map_rect_perspective(const SkRect& src, const float mat[16]) map_rect_perspective() argument 218 MapRect(const SkM44& m, const SkRect& src) MapRect() argument 325 RectToRect(const SkRect& src, const SkRect& dst) RectToRect() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_transfer.c | 17 const struct nv50_m2mf_rect *src, in nvc0_m2mf_transfer_rect() 23 uint32_t src_ofst = src->base; in nvc0_m2mf_transfer_rect() 26 uint32_t sy = src->y; in nvc0_m2mf_transfer_rect() 30 assert(dst->cpp == src->cpp); in nvc0_m2mf_transfer_rect() 32 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); in nvc0_m2mf_transfer_rect() 37 if (nouveau_bo_memtype(src->bo)) { in nvc0_m2mf_transfer_rect() 39 PUSH_DATA (push, src->tile_mode); in nvc0_m2mf_transfer_rect() 40 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect() 41 PUSH_DATA (push, src in nvc0_m2mf_transfer_rect() 15 nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0, const struct nv50_m2mf_rect *dst, const struct nv50_m2mf_rect *src, uint32_t nblocksx, uint32_t nblocksy) nvc0_m2mf_transfer_rect() argument 110 nve4_m2mf_transfer_rect(struct nvc0_context *nvc0, const struct nv50_m2mf_rect *dst, const struct nv50_m2mf_rect *src, uint32_t nblocksx, uint32_t nblocksy) nve4_m2mf_transfer_rect() argument 205 uint32_t *src = (uint32_t *)data; nvc0_m2mf_push_linear() local 247 uint32_t *src = (uint32_t *)data; nve4_p2mf_push_linear() local 281 nvc0_m2mf_copy_linear(struct nouveau_context *nv, struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, struct nouveau_bo *src, unsigned srcoff, unsigned srcdom, unsigned size) nvc0_m2mf_copy_linear() argument 319 nve4_m2mf_copy_linear(struct nouveau_context *nv, struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, struct nouveau_bo *src, unsigned srcoff, unsigned srcdom, unsigned size) nve4_m2mf_copy_linear() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_readonly_images_to_tex.c | 82 nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]); in is_readonly_image_op() 124 nir_deref_instr *deref = nir_src_as_deref(intrin->src[0]); in lower_readonly_image_op() 138 tex->src[0].src_type = nir_tex_src_texture_deref; in lower_readonly_image_op() 139 tex->src[0].src = nir_src_for_ssa(&deref->dest.ssa); in lower_readonly_image_op() 148 assert(intrin->src[1].is_ssa); in lower_readonly_image_op() 150 nir_trim_vector(b, intrin->src[1].ssa, coord_components); in lower_readonly_image_op() 151 tex->src[1].src_type = nir_tex_src_coord; in lower_readonly_image_op() 152 tex->src[1].src in lower_readonly_image_op() [all...] |
H A D | nir_lower_atomics_to_ssbo.c | 124 new_instr->src[0] = nir_src_for_ssa(buffer); in lower_instr() 125 nir_src_copy(&new_instr->src[1], &instr->src[0]); in lower_instr() 126 new_instr->src[2] = nir_src_for_ssa(temp); in lower_instr() 133 new_instr->src[0] = nir_src_for_ssa(buffer); in lower_instr() 134 nir_src_copy(&new_instr->src[1], &instr->src[0]); in lower_instr() 135 new_instr->src[2] = nir_src_for_ssa(temp); in lower_instr() 139 new_instr->src[0] = nir_src_for_ssa(buffer); in lower_instr() 140 nir_src_copy(&new_instr->src[ in lower_instr() [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_vec.c | 92 ngtcp2_ssize ngtcp2_vec_split(ngtcp2_vec *src, size_t *psrccnt, ngtcp2_vec *dst, in ngtcp2_vec_split() argument 100 if (left >= src[i].len) { in ngtcp2_vec_split() 101 left -= src[i].len; in ngtcp2_vec_split() 105 if (*pdstcnt && src[srccnt - 1].base + src[srccnt - 1].len == dst[0].base) { in ngtcp2_vec_split() 110 dst[0].len += src[srccnt - 1].len; in ngtcp2_vec_split() 111 dst[0].base = src[srccnt - 1].base; in ngtcp2_vec_split() 112 extra = src[srccnt - 1].len; in ngtcp2_vec_split() 128 memcpy(dst, src + i, sizeof(ngtcp2_vec) * nmove); in ngtcp2_vec_split() 133 src[ in ngtcp2_vec_split() 145 ngtcp2_vec_merge(ngtcp2_vec *dst, size_t *pdstcnt, ngtcp2_vec *src, size_t *psrccnt, size_t left, size_t maxcnt) ngtcp2_vec_merge() argument 218 ngtcp2_vec_copy_at_most(ngtcp2_vec *dst, size_t dstcnt, const ngtcp2_vec *src, size_t srccnt, size_t left) ngtcp2_vec_copy_at_most() argument 241 ngtcp2_vec_copy(ngtcp2_vec *dst, const ngtcp2_vec *src, size_t cnt) ngtcp2_vec_copy() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 58 cc_copy_sg_portion(dev, areq_ctx->backup_mac, req->src, in cc_copy_mac() 323 dev_err(dev, "dma_map_sg() src buffer failed\n"); in cc_set_hash_buf() 340 unsigned int ivsize, struct scatterlist *src, in cc_unmap_cipher_request() 359 if (src != dst) { in cc_unmap_cipher_request() 360 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_cipher_request() 363 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request() 365 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request() 366 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request() 339 cc_unmap_cipher_request(struct device *dev, void *ctx, unsigned int ivsize, struct scatterlist *src, struct scatterlist *dst) cc_unmap_cipher_request() argument 370 cc_map_cipher_request(struct cc_drvdata *drvdata, void *ctx, unsigned int ivsize, unsigned int nbytes, void *info, struct scatterlist *src, struct scatterlist *dst, gfp_t flags) cc_map_cipher_request() argument 1141 cc_map_hash_request_final(struct cc_drvdata *drvdata, void *ctx, struct scatterlist *src, unsigned int nbytes, bool do_update, gfp_t flags) cc_map_hash_request_final() argument 1220 cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx, struct scatterlist *src, unsigned int nbytes, unsigned int block_size, gfp_t flags) cc_map_hash_request_update() argument 1331 cc_unmap_hash_request(struct device *dev, void *ctx, struct scatterlist *src, bool do_revert) cc_unmap_hash_request() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 58 cc_copy_sg_portion(dev, areq_ctx->backup_mac, req->src, in cc_copy_mac() 323 dev_err(dev, "dma_map_sg() src buffer failed\n"); in cc_set_hash_buf() 340 unsigned int ivsize, struct scatterlist *src, in cc_unmap_cipher_request() 359 if (src != dst) { in cc_unmap_cipher_request() 360 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_cipher_request() 363 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request() 365 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request() 366 dev_dbg(dev, "Unmapped req->src=%pK\n", sg_virt(src)); in cc_unmap_cipher_request() 339 cc_unmap_cipher_request(struct device *dev, void *ctx, unsigned int ivsize, struct scatterlist *src, struct scatterlist *dst) cc_unmap_cipher_request() argument 370 cc_map_cipher_request(struct cc_drvdata *drvdata, void *ctx, unsigned int ivsize, unsigned int nbytes, void *info, struct scatterlist *src, struct scatterlist *dst, gfp_t flags) cc_map_cipher_request() argument 1141 cc_map_hash_request_final(struct cc_drvdata *drvdata, void *ctx, struct scatterlist *src, unsigned int nbytes, bool do_update, gfp_t flags) cc_map_hash_request_final() argument 1220 cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx, struct scatterlist *src, unsigned int nbytes, unsigned int block_size, gfp_t flags) cc_map_hash_request_update() argument 1331 cc_unmap_hash_request(struct device *dev, void *ctx, struct scatterlist *src, bool do_revert) cc_unmap_hash_request() argument [all...] |
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_ra.c | 192 mark_node_class(alur, ins->src[0]); in mir_lower_special_reads() 193 mark_node_class(alur, ins->src[1]); in mir_lower_special_reads() 194 mark_node_class(alur, ins->src[2]); in mir_lower_special_reads() 197 mark_node_class(brar, ins->src[0]); in mir_lower_special_reads() 203 mark_node_class(ldst, ins->src[0]); in mir_lower_special_reads() 204 mark_node_class(ldst, ins->src[1]); in mir_lower_special_reads() 205 mark_node_class(ldst, ins->src[2]); in mir_lower_special_reads() 206 mark_node_class(ldst, ins->src[3]); in mir_lower_special_reads() 210 mark_node_class(texr, ins->src[0]); in mir_lower_special_reads() 211 mark_node_class(texr, ins->src[ in mir_lower_special_reads() 782 struct phys_reg src = index_to_reg(ctx, l, ins->src[0], src_shift[0]); install_registers_instr() local 800 struct phys_reg src = index_to_reg(ctx, l, src_index, src_shift[i]); install_registers_instr() local [all...] |