/third_party/skia/modules/svg/src/ |
H A D | SkSVGPattern.cpp | 42 int inherit_if_needed(const SkTLazy<T>& src, SkTLazy<T>& dst) { in inherit_if_needed() argument 43 if (!dst.isValid()) { in inherit_if_needed() 44 dst = src; in inherit_if_needed()
|
/third_party/skia/docs/examples/ |
H A D | skpaint_xfer.cpp | 43 SkPaint stroke, src, dst; in REG_FIDDLE() local 64 dst.setShader(SkGradientShader::MakeLinear( in REG_FIDDLE() 80 canvas->drawPaint(dst); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | poly2poly.cpp | 45 SkPoint src[4], dst[4]; in doDraw() local 49 dst[i].set(SkIntToScalar(idst[2*i+0]), SkIntToScalar(idst[2*i+1])); in doDraw() 53 matrix.setPolyToPoly(src, dst, count); in doDraw()
|
H A D | perspimages.cpp | 90 SkRect dst = {0, 0, variable 97 canvas->drawImageRect(img, src, dst, sampling, &paint, 101 canvas->drawImageRect(img, src, dst, sampling, &paint,
|
/third_party/skia/bench/ |
H A D | ReadPixBench.cpp | 89 SkPixmap src, dst; variable 91 fDst.peekPixels(&dst); 93 SkPixmapPriv::Orient(dst, src, kTopRight_SkEncodedOrigin);
|
/third_party/vk-gl-cts/framework/delibs/deimage/ |
H A D | deTarga.c | 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp); in deImage_loadTarga() local 96 *dst++ = deARGB_set(r, g, b, 0xFF); in deImage_loadTarga() 107 *dst++ = deARGB_set(r, g, b, a); in deImage_loadTarga()
|
/third_party/vk-gl-cts/framework/platform/ohos/ |
H A D | tcuOhosPlatform.cpp | 140 void OhosPlatform::describePlatform(std::ostream& dst) const in describePlatform() 148 dst << "OS: " << sysInfo.sysname << " " << sysInfo.release << " " << sysInfo.version << "\n"; in describePlatform() 149 dst << "CPU: " << sysInfo.machine << "\n"; in describePlatform()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrVertexAttrib.hpp | 151 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0); 152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0); 153 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0);
|
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/ |
H A D | coap_client.c | 91 int CoapClientSendMsg(char* dst) in CoapClientSendMsg() argument 102 printf("[%s][%d] server : %s\n", __FUNCTION__, __LINE__, dst); in CoapClientSendMsg() 104 if (!ipaddr_aton(dst, &(dst_addr.addr))) { in CoapClientSendMsg()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShader.cpp | 2111 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitCompositeConstruct() local 2123 dst.move(offset++, srcObjectAccess.Float(j)); in EmitCompositeConstruct() 2134 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitCompositeInsert() local 2145 dst.move(i, srcObjectAccess.Float(i)); in EmitCompositeInsert() 2150 dst.move(firstNewComponent + i, newPartObjectAccess.Float(i)); in EmitCompositeInsert() 2155 dst.move(i, srcObjectAccess.Float(i)); in EmitCompositeInsert() 2164 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitCompositeExtract() local 2172 dst.move(i, compositeObjectAccess.Float(firstComponent + i)); in EmitCompositeExtract() 2181 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitVectorShuffle() local 2197 dst in EmitVectorShuffle() 2215 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); EmitVectorExtractDynamic() local 2235 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); EmitVectorInsertDynamic() local 2252 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); EmitSelect() local 2276 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); EmitAny() local 2295 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); EmitAll() local 2320 auto &dst = state->createIntermediate(resultId, resultType.componentCount); EmitAtomicOp() local 2398 auto &dst = state->createIntermediate(resultId, resultType.componentCount); EmitAtomicCompareExchange() local 2423 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); EmitCopyObject() local 2500 auto &dst = routine->getVariable(insn.resultId()); emitEpilog() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | garmin_gps.c | 589 unsigned char *dst; in gsp_send() local 658 dst = garmin_data_p->outbuffer+GPS_OUT_BUFSIZ-datalen; in gsp_send() 659 memcpy(dst, src, datalen); in gsp_send() 660 src = dst; in gsp_send() 663 dst = garmin_data_p->outbuffer; in gsp_send() 665 *dst++ = DLE; in gsp_send() 666 *dst++ = pktid; in gsp_send() 668 *dst++ = datalen; in gsp_send() 671 *dst++ = DLE; in gsp_send() 675 *dst in gsp_send() [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | garmin_gps.c | 590 unsigned char *dst; in gsp_send() local 659 dst = garmin_data_p->outbuffer+GPS_OUT_BUFSIZ-datalen; in gsp_send() 660 memcpy(dst, src, datalen); in gsp_send() 661 src = dst; in gsp_send() 664 dst = garmin_data_p->outbuffer; in gsp_send() 666 *dst++ = DLE; in gsp_send() 667 *dst++ = pktid; in gsp_send() 669 *dst++ = datalen; in gsp_send() 672 *dst++ = DLE; in gsp_send() 676 *dst in gsp_send() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | hp-wmi-sensors.c | 422 char *dst; in convert_raw_wmi_string() local 435 dst = kmalloc((len + 1) * sizeof(*dst), GFP_KERNEL); in convert_raw_wmi_string() 436 if (!dst) in convert_raw_wmi_string() 439 i = utf16s_to_utf8s(++src, cps, UTF16_LITTLE_ENDIAN, dst, len); in convert_raw_wmi_string() 440 dst[i] = '\0'; in convert_raw_wmi_string() 442 return dst; in convert_raw_wmi_string() 448 char *dst; in hp_wmi_strdup() local 453 dst = devm_kmalloc(dev, (len + 1) * sizeof(*dst), GFP_KERNE in hp_wmi_strdup() 466 char *dst; hp_wmi_wstrdup() local [all...] |
/kernel/liteos_a/fs/vfs/vfs_cmd/ |
H A D | vfs_shellcmd.c | 907 static int os_wildcard_extract_directory(char *fullpath, void *dst, wildcard_type mark) in os_wildcard_extract_directory() argument 924 ret = os_shell_cmd_do_cp(fullpath, dst); in os_wildcard_extract_directory() 928 (*(int *)dst)++; in os_wildcard_extract_directory() 965 ret = os_shell_cmd_do_cp(src, dst); in os_wildcard_extract_directory() 969 (*(int *)dst)++; in os_wildcard_extract_directory() 970 if ((*(int *)dst) > 1) { in os_wildcard_extract_directory() 989 ret = os_wildcard_extract_directory(src, dst, mark); in os_wildcard_extract_directory() 990 if (mark == CP_COUNT && (*(int *)dst) > 1) { in os_wildcard_extract_directory() 1010 const char *dst = NULL; in osShellCmdCp() local 1023 dst in osShellCmdCp() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | zswap.c | 455 u8 *dst; in zswap_dstmem_prepare() local 457 dst = kmalloc_node(PAGE_SIZE * 2, GFP_KERNEL, cpu_to_node(cpu)); in zswap_dstmem_prepare() 458 if (!dst) in zswap_dstmem_prepare() 463 kfree(dst); in zswap_dstmem_prepare() 468 per_cpu(zswap_dstmem, cpu) = dst; in zswap_dstmem_prepare() 476 u8 *dst; in zswap_dstmem_dead() local 482 dst = per_cpu(zswap_dstmem, cpu); in zswap_dstmem_dead() 483 kfree(dst); in zswap_dstmem_dead() 1209 u8 *src, *dst; in zswap_store() local 1295 dst in zswap_store() 1406 u8 *src, *dst, *tmp; zswap_load() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | icmp.c | 310 struct dst_entry *dst = &rt->dst; in icmpv4_xrlim_allow() local 319 if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) in icmpv4_xrlim_allow() 322 vif = l3mdev_master_ifindex(dst->dev); in icmpv4_xrlim_allow() 401 struct net *net = dev_net(rt->dst.dev); in icmp_reply() 510 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, in icmp_route_lookup() 543 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup() 545 dst_release(&rt2->dst); in icmp_route_lookup() 553 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_ciescope.c | 1380 AVFilterContext *ctx = inlink->dst; in filter_frame() 1411 uint16_t *dst = (uint16_t *)out->data[0]; in filter_frame() local 1443 r = dst[pos + 0] + i; in filter_frame() 1444 g = dst[pos + 1] + i; in filter_frame() 1445 b = dst[pos + 2] + i; in filter_frame() 1447 dst[pos + 0] = FFMIN(r, 65535); in filter_frame() 1448 dst[pos + 1] = FFMIN(g, 65535); in filter_frame() 1449 dst[pos + 2] = FFMIN(b, 65535); in filter_frame() 1450 dst[pos + 3] = 65535; in filter_frame() 1455 uint16_t *dst in filter_frame() local [all...] |
H A D | af_loudnorm.c | 411 AVFilterContext *ctx = inlink->dst; in filter_frame() 416 double *dst; in filter_frame() local 439 dst = (double *)out->data[0]; in filter_frame() 501 true_peak_limiter(s, dst, subframe_length, inlink->ch_layout.nb_channels); in filter_frame() 502 ff_ebur128_add_frames_double(s->r128_out, dst, subframe_length); in filter_frame() 539 true_peak_limiter(s, dst, in->nb_samples, inlink->ch_layout.nb_channels); in filter_frame() 540 ff_ebur128_add_frames_double(s->r128_out, dst, in->nb_samples); in filter_frame() 592 true_peak_limiter(s, dst, subframe_length, inlink->ch_layout.nb_channels); in filter_frame() 611 dst += (subframe_length * inlink->ch_layout.nb_channels); in filter_frame() 614 dst in filter_frame() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | proresenc_anatoliy.c | 477 unsigned stride, unsigned width, unsigned height, uint16_t *dst, in subimage_with_fill_template() 500 dst[j] = src[j]; in subimage_with_fill_template() 502 dst[j] = src[j] << 6; /* alpha 10b to 16b */ in subimage_with_fill_template() 506 last_pix = dst[j - 1]; in subimage_with_fill_template() 508 last_pix = dst[j - 1] << 6; /* alpha 10b to 16b */ in subimage_with_fill_template() 511 dst[j] = last_pix; in subimage_with_fill_template() 513 dst += dst_width; in subimage_with_fill_template() 515 last_line = dst - dst_width; in subimage_with_fill_template() 518 dst[j] = last_line[j]; in subimage_with_fill_template() 520 dst in subimage_with_fill_template() 476 subimage_with_fill_template(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_alpha_plane, int is_interlaced, int is_top_field) subimage_with_fill_template() argument 524 subimage_with_fill(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) subimage_with_fill() argument 532 subimage_alpha_with_fill(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) subimage_alpha_with_fill() argument 805 scale_mat(const uint8_t* src, int* dst, int scale) scale_mat() argument [all...] |
/third_party/ffmpeg/libavcodec/x86/ |
H A D | h264_qpel_10bit.asm | 170 ; void ff_h264_qpel_mc00(uint8_t *dst, uint8_t *src, int stride) 224 ; void ff_h264_qpel_mc20(uint8_t *dst, uint8_t *src, int stride) 308 ; void ff_h264_qpel_mc30(uint8_t *dst, uint8_t *src, int stride) 319 ; void ff_h264_qpel_mc10(uint8_t *dst, uint8_t *src, int stride) 386 ; void ff_h264_qpel_mc02(uint8_t *dst, uint8_t *src, int stride) 435 ; void ff_h264_qpel_mc01(uint8_t *dst, uint8_t *src, int stride) 461 ; void ff_h264_qpel_mc03(uint8_t *dst, uint8_t *src, int stride) 472 ; void ff_h264_qpel_mc11(uint8_t *dst, uint8_t *src, int stride) 554 ; void ff_h264_qpel_mc31(uint8_t *dst, uint8_t *src, int stride) 566 ; void ff_h264_qpel_mc13(uint8_t *dst, uint8_ [all...] |
H A D | h264_qpel_8bit.asm | 57 cglobal %1_h264_qpel4_h_lowpass, 4,5 ; dst, src, dstStride, srcStride 100 cglobal %1_h264_qpel8_h_lowpass, 4,5 ; dst, src, dstStride, srcStride 160 cglobal %1_h264_qpel8_h_lowpass, 4,5,8 ; dst, src, dstStride, srcStride 204 cglobal %1_h264_qpel4_h_lowpass_l2, 5,6 ; dst, src, src2, dstStride, srcStride 251 cglobal %1_h264_qpel8_h_lowpass_l2, 5,6 ; dst, src, src2, dstStride, srcStride 315 cglobal %1_h264_qpel8_h_lowpass_l2, 5,6,8 ; dst, src, src2, dstStride, src2Stride 362 ; dst, src, dstStride, srcStride 384 cglobal %1_h264_qpel4_v_lowpass, 4,4 ; dst, src, dstStride, srcStride 418 cglobal %1_h264_qpel8or16_v_lowpass, 5,5,8 ; dst, src, dstStride, srcStride, h 424 cglobal %1_h264_qpel8or16_v_lowpass_op, 5,5,8 ; dst, sr [all...] |
/third_party/backends/backend/ |
H A D | gt68xx_mid.c | 138 unpack_8_mono (SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line) in unpack_8_mono() argument 140 for (; pixels_per_line > 0; ++src, ++dst, --pixels_per_line) in unpack_8_mono() 142 *dst = (((unsigned int) *src) << 8) | *src; in unpack_8_mono() 147 unpack_8_rgb (SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line) in unpack_8_rgb() argument 149 for (; pixels_per_line > 0; src += 3, ++dst, --pixels_per_line) in unpack_8_rgb() 151 *dst = (((unsigned int) *src) << 8) | *src; in unpack_8_rgb() 158 unpack_12_le_mono (SANE_Byte * src, unsigned int *dst, in unpack_12_le_mono() argument 161 for (; pixels_per_line > 0; src += 3, dst += 2, pixels_per_line -= 2) in unpack_12_le_mono() 163 dst[0] = ((((unsigned int) (src[1] & 0x0f)) << 12) in unpack_12_le_mono() 165 dst[ in unpack_12_le_mono() 199 unpack_16_le_mono(SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line) unpack_16_le_mono() argument 209 unpack_16_le_rgb(SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line) unpack_16_le_rgb() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_pipe_common.c | 229 struct r600_resource *dst, struct r600_resource *src) in r600_need_dma_space() 234 if (dst) { in r600_need_dma_space() 235 vram += dst->vram_usage; in r600_need_dma_space() 236 gtt += dst->gart_usage; in r600_need_dma_space() 245 ((dst && in r600_need_dma_space() 246 ctx->ws->cs_is_buffer_referenced(&ctx->gfx.cs, dst->buf, in r600_need_dma_space() 276 if ((dst && in r600_need_dma_space() 277 ctx->ws->cs_is_buffer_referenced(&ctx->dma.cs, dst->buf, in r600_need_dma_space() 288 if (dst) in r600_need_dma_space() 289 radeon_add_to_buffer_list(ctx, &ctx->dma, dst, in r600_need_dma_space() 228 r600_need_dma_space(struct r600_common_context *ctx, unsigned num_dw, struct r600_resource *dst, struct r600_resource *src) r600_need_dma_space() argument 535 r600_dma_clear_buffer_fallback(struct pipe_context *ctx, struct pipe_resource *dst, uint64_t offset, uint64_t size, unsigned value) r600_dma_clear_buffer_fallback() argument 1070 r600_fence_reference(struct pipe_screen *screen, struct pipe_fence_handle **dst, struct pipe_fence_handle *src) r600_fence_reference() argument 1454 r600_screen_clear_buffer(struct r600_common_screen *rscreen, struct pipe_resource *dst, uint64_t offset, uint64_t size, unsigned value) r600_screen_clear_buffer() argument [all...] |
/third_party/skia/src/ports/ |
H A D | SkScalerContext_win_dw.cpp | 869 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in BilevelToBW() local 886 dst[i] = byte; in BilevelToBW() 897 dst[byteCount] = byte; in BilevelToBW() 900 dst += dstRB; in BilevelToBW() 910 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in GrayscaleToA8() local 915 dst[i] = sk_apply_lut_if<APPLY_PREBLEND>(a, table8); in GrayscaleToA8() 917 dst = SkTAddOffset<uint8_t>(dst, dstRB); in GrayscaleToA8() 927 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in RGBToA8() local 934 dst[ in RGBToA8() 946 uint16_t* SK_RESTRICT dst = static_cast<uint16_t*>(glyph.fImage); RGBToLcd16() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | testmgr.c | 238 * req->dst), or whether they'll merely point to two separate scatterlists 239 * (req->src != req->dst) that reference the same underlying memory. 285 * @dst_divs: description of how to arrange the dst scatterlist, if applicable 360 .name = "one src, two even splits dst", 731 struct test_sglist dst; member 744 if (init_test_sglist(&tsgls->dst) != 0) in alloc_cipher_test_sglists() 760 destroy_test_sglist(&tsgls->dst); in free_cipher_test_sglists() 765 /* Build the src and dst scatterlists for an skcipher or AEAD test */ 788 * source and destination (req->src == req->dst), or can use separate in build_cipher_test_sglists() 789 * scatterlists (req->src != req->dst) whic in build_cipher_test_sglists() 2332 struct scatterlist src[2], dst; generate_aead_message() local 3030 struct scatterlist src, dst; generate_random_cipher_testvec() local 3413 struct scatterlist src, dst; test_acomp() local 3903 struct scatterlist src, dst; do_test_kpp() local 4069 test_pack_u32(u8 *dst, u32 val) test_pack_u32() argument 4085 struct scatterlist src, dst, src_tab[3]; test_akcipher_one() local [all...] |