/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | context.h | 41 static inline int mls_context_cpy(struct context *dst, struct context *src) in mls_context_cpy() argument 45 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 46 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 50 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 51 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() 59 * Sets both levels in the MLS range of 'dst' to the low level of 'src'. 61 static inline int mls_context_cpy_low(struct context *dst, struct context *src) in mls_context_cpy_low() argument 65 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() 66 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low() 70 dst->range.level[1].sens = src in mls_context_cpy_low() 81 mls_context_cpy_high(struct context *dst, struct context *src) mls_context_cpy_high() argument 150 context_cpy(struct context *dst, struct context *src) context_cpy() argument [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | context.h | 41 static inline int mls_context_cpy(struct context *dst, const struct context *src) in mls_context_cpy() argument 45 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 46 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 50 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 51 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() 59 * Sets both levels in the MLS range of 'dst' to the low level of 'src'. 61 static inline int mls_context_cpy_low(struct context *dst, const struct context *src) in mls_context_cpy_low() argument 65 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() 66 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low() 70 dst->range.level[1].sens = src in mls_context_cpy_low() 81 mls_context_cpy_high(struct context *dst, const struct context *src) mls_context_cpy_high() argument 151 context_cpy(struct context *dst, const struct context *src) context_cpy() argument [all...] |
/third_party/node/src/ |
H A D | base64-inl.h | 39 const TypeName* const src, const size_t srclen, in base64_decode_group_slow() 45 const uint8_t c = static_cast<uint8_t>(src[*i]); \ in base64_decode_group_slow() 69 const TypeName* const src, const size_t srclen, in base64_decode_fast() 78 static_cast<unsigned char>(unbase64(static_cast<uint8_t>(src[i + 0]))), in base64_decode_fast() 79 static_cast<unsigned char>(unbase64(static_cast<uint8_t>(src[i + 1]))), in base64_decode_fast() 80 static_cast<unsigned char>(unbase64(static_cast<uint8_t>(src[i + 2]))), in base64_decode_fast() 81 static_cast<unsigned char>(unbase64(static_cast<uint8_t>(src[i + 3]))), in base64_decode_fast() 87 if (!base64_decode_group_slow(dst, dstlen, src, srclen, &i, &k)) in base64_decode_fast() 99 base64_decode_group_slow(dst, dstlen, src, srclen, &i, &k); in base64_decode_fast() 106 size_t base64_decoded_size(const TypeName* src, size_ 38 base64_decode_group_slow(char* const dst, const size_t dstlen, const TypeName* const src, const size_t srclen, size_t* const i, size_t* const k) base64_decode_group_slow() argument 68 base64_decode_fast(char* const dst, const size_t dstlen, const TypeName* const src, const size_t srclen, const size_t decoded_size) base64_decode_fast() argument [all...] |
/third_party/musl/src/string/aarch64/ |
H A D | memcpy.S | 15 #define src x1 define 37 #define H_l src 56 add srcend, src, count 66 ldp A_l, A_h, [src] 75 ldr A_l, [src] 85 ldr A_lw, [src] 95 ldrb A_lw, [src] 97 ldrb B_lw, [src, tmp1] 107 ldp A_l, A_h, [src] 108 ldp B_l, B_h, [src, 1 [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/include/ |
H A D | basic_rust_types.h | 70 OhCloudExtRustType OhCloudExtVectorGetValueTyp(OhCloudExtVector *src); 78 OhCloudExtVector *src, 89 const OhCloudExtVector *src, 98 int OhCloudExtVectorGetLength(const OhCloudExtVector *src, unsigned int *len); 103 void OhCloudExtVectorFree(OhCloudExtVector *src); 124 OhCloudExtRustType OhCloudExtHashMapGetKeyTyp(const OhCloudExtHashMap *src); 129 OhCloudExtRustType OhCloudExtHashMapGetValueTyp(const OhCloudExtHashMap *src); 134 int OhCloudExtHashMapGetLength(const OhCloudExtHashMap *src, unsigned int *len); 142 OhCloudExtHashMap *src, 151 * @param src [I [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | iomap_copy.c | 24 const u32 *src = from; in __iowrite32_copy() local 25 const u32 *end = src + count; in __iowrite32_copy() 27 while (src < end) in __iowrite32_copy() 28 __raw_writel(*src++, dst++); in __iowrite32_copy() 45 const u32 __iomem *src = from; in __ioread32_copy() local 46 const u32 __iomem *end = src + count; in __ioread32_copy() 48 while (src < end) in __ioread32_copy() 49 *dst++ = __raw_readl(src++); in __ioread32_copy() 69 const u64 *src = from; in __iowrite64_copy() local 70 const u64 *end = src in __iowrite64_copy() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | iomap_copy.c | 24 const u32 *src = from; in __iowrite32_copy() local 25 const u32 *end = src + count; in __iowrite32_copy() 27 while (src < end) in __iowrite32_copy() 28 __raw_writel(*src++, dst++); in __iowrite32_copy() 45 const u32 __iomem *src = from; in __ioread32_copy() local 46 const u32 __iomem *end = src + count; in __ioread32_copy() 48 while (src < end) in __ioread32_copy() 49 *dst++ = __raw_readl(src++); in __ioread32_copy() 69 const u64 *src = from; in __iowrite64_copy() local 70 const u64 *end = src in __iowrite64_copy() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | bswapdsp.c | 25 static void bswap_buf(uint32_t *dst, const uint32_t *src, int w) in bswap_buf() argument 30 dst[i + 0] = av_bswap32(src[i + 0]); in bswap_buf() 31 dst[i + 1] = av_bswap32(src[i + 1]); in bswap_buf() 32 dst[i + 2] = av_bswap32(src[i + 2]); in bswap_buf() 33 dst[i + 3] = av_bswap32(src[i + 3]); in bswap_buf() 34 dst[i + 4] = av_bswap32(src[i + 4]); in bswap_buf() 35 dst[i + 5] = av_bswap32(src[i + 5]); in bswap_buf() 36 dst[i + 6] = av_bswap32(src[i + 6]); in bswap_buf() 37 dst[i + 7] = av_bswap32(src[i + 7]); in bswap_buf() 40 dst[i + 0] = av_bswap32(src[ in bswap_buf() 43 bswap16_buf(uint16_t *dst, const uint16_t *src, int len) bswap16_buf() argument [all...] |
H A D | jacosubdec.c | 95 static void jacosub_to_ass(AVCodecContext *avctx, AVBPrint *dst, const char *src) in jacosub_to_ass() argument 98 char c = av_toupper(*src); in jacosub_to_ass() 106 do *p++ = av_toupper(*src++); in jacosub_to_ass() 107 while (*src && !jss_whitespace(*src) && p < pend); in jacosub_to_ass() 109 src = jss_skip_whitespace(src); in jacosub_to_ass() 136 while (*src && *src != '\n') { in jacosub_to_ass() 139 if (src[ in jacosub_to_ass() [all...] |
/third_party/elfutils/libelf/ |
H A D | elf32_xlatetof.c | 45 elfw2(LIBELFBITS, xlatetof) (Elf_Data *dest, const Elf_Data *src, in elfw2() 52 size_t recsize = __libelf_type_sizes[ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type]; in elfw2() 54 if (src->d_size % recsize != 0) in elfw2() 61 if (src->d_size > dest->d_size) in elfw2() 89 if (src->d_buf != dest->d_buf) in elfw2() 90 memmove (dest->d_buf, src->d_buf, src->d_size); in elfw2() 95 fctp = __elf_xfctstom[ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type]; in elfw2() 98 (*fctp) (dest->d_buf, src->d_buf, src in elfw2() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | format_pack.h | 39 const float src[][4], void *dst) in _mesa_pack_float_rgba_row() 41 util_format_pack_rgba(format, dst, src, n); in _mesa_pack_float_rgba_row() 46 const uint8_t *src, void *dst) in _mesa_pack_ubyte_rgba_row() 49 pack->pack_rgba_8unorm((uint8_t *)dst, 0, src, 0, n, 1); in _mesa_pack_ubyte_rgba_row() 54 const uint32_t src[][4], void *dst) in _mesa_pack_uint_rgba_row() 56 util_format_pack_rgba(format, dst, src, n); in _mesa_pack_uint_rgba_row() 61 const float *src, void *dst) in _mesa_pack_float_z_row() 63 util_format_pack_z_float(format, dst, src, n); in _mesa_pack_float_z_row() 68 const uint32_t *src, void *dst) in _mesa_pack_uint_z_row() 70 util_format_pack_z_32unorm(format, dst, src, in _mesa_pack_uint_z_row() 38 _mesa_pack_float_rgba_row(mesa_format format, uint32_t n, const float src[][4], void *dst) _mesa_pack_float_rgba_row() argument 45 _mesa_pack_ubyte_rgba_row(mesa_format format, uint32_t n, const uint8_t *src, void *dst) _mesa_pack_ubyte_rgba_row() argument 53 _mesa_pack_uint_rgba_row(mesa_format format, uint32_t n, const uint32_t src[][4], void *dst) _mesa_pack_uint_rgba_row() argument 60 _mesa_pack_float_z_row(mesa_format format, uint32_t n, const float *src, void *dst) _mesa_pack_float_z_row() argument 67 _mesa_pack_uint_z_row(mesa_format format, uint32_t n, const uint32_t *src, void *dst) _mesa_pack_uint_z_row() argument 74 _mesa_pack_ubyte_stencil_row(mesa_format format, uint32_t n, const uint8_t *src, void *dst) _mesa_pack_ubyte_stencil_row() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | memccpy.c | 29 const char src[TEST_BUFFER_SIZE] = "musl test"; in memccpy_0100() local 32 void *rev = memccpy(dest, src, ' ', TEST_DATA_LEN); in memccpy_0100() 36 EXPECT_EQ("memccpy_0100", dest[i], src[i]); in memccpy_0100() 40 rev = memccpy(dest, src, ' ', sizeof(src)); in memccpy_0100() 44 EXPECT_EQ("memccpy_0100", dest[i], src[i]); in memccpy_0100() 56 const char src[TEST_BUFFER_SIZE] = "musl test"; in memccpy_0200() local 59 void *rev = memccpy(dest, src, 'A', strlen(src)); in memccpy_0200() 61 EXPECT_STREQ("memccpy_0200", dest, src); in memccpy_0200() 71 const char src[TEST_BUFFER_SIZE] = "musl test"; memccpy_0300() local [all...] |
/kernel/linux/linux-5.10/arch/hexagon/mm/ |
H A D | copy_user_template.S | 21 r3 = or(dst,src) 22 r4 = xor(dst,src) 28 src_dst_sav = combine(src,dst) 41 d_dbuf = memd(src++#8) 71 w_dbuf = memw(src++#4) 97 w_dbuf = memuh(src++#2) 113 w_dbuf = memub(src++#1) 137 if (p0.new) w_dbuf = memub(src) 138 p0 = tstbit(src,#0) 145 if (p0) src [all...] |
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
H A D | frnd.c | 40 register unsigned int src, result; in sgl_frnd() local 44 src = *srcptr; in sgl_frnd() 48 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_frnd() 52 if (Sgl_isone_signaling(src)) { in sgl_frnd() 57 Sgl_set_quiet(src); in sgl_frnd() 62 *dstptr = src; in sgl_frnd() 69 *dstptr = src; in sgl_frnd() 76 Sgl_clear_exponent_set_hidden(src); in sgl_frnd() 77 result = src; in sgl_frnd() 80 if (Sgl_isinexact_to_fix(src,src_exponen in sgl_frnd() [all...] |
/kernel/linux/linux-5.10/arch/s390/mm/ |
H A D | maccess.c | 21 static notrace long s390_kernel_write_odd(void *dst, const void *src, size_t size) in s390_kernel_write_odd() argument 39 : "a" (&tmp), "a" (&tmp[offset]), "a" (src) in s390_kernel_write_odd() 47 * @src: source address 58 notrace void *s390_kernel_write(void *dst, const void *src, size_t size) in s390_kernel_write() argument 66 memcpy(dst, src, size); in s390_kernel_write() 69 copied = s390_kernel_write_odd(tmp, src, size); in s390_kernel_write() 71 src += copied; in s390_kernel_write() 80 static int __no_sanitize_address __memcpy_real(void *dest, void *src, size_t count) in __memcpy_real() argument 84 register unsigned long _src asm("4") = (unsigned long) src; in __memcpy_real() 96 : "m" (*((long *) src)) in __memcpy_real() 101 _memcpy_real(unsigned long dest, unsigned long src, unsigned long count) _memcpy_real() argument 127 memcpy_real(void *dest, void *src, size_t count) memcpy_real() argument 150 memcpy_absolute(void *dest, void *src, size_t count) memcpy_absolute() argument 174 copy_to_user_real(void __user *dest, void *src, unsigned long count) copy_to_user_real() argument [all...] |
/kernel/linux/linux-6.6/arch/hexagon/mm/ |
H A D | copy_user_template.S | 21 r3 = or(dst,src) 22 r4 = xor(dst,src) 28 src_dst_sav = combine(src,dst) 41 d_dbuf = memd(src++#8) 71 w_dbuf = memw(src++#4) 97 w_dbuf = memuh(src++#2) 113 w_dbuf = memub(src++#1) 137 if (p0.new) w_dbuf = memub(src) 138 p0 = tstbit(src,#0) 145 if (p0) src [all...] |
/kernel/linux/linux-6.6/arch/parisc/math-emu/ |
H A D | frnd.c | 40 register unsigned int src, result; in sgl_frnd() local 44 src = *srcptr; in sgl_frnd() 48 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_frnd() 52 if (Sgl_isone_signaling(src)) { in sgl_frnd() 57 Sgl_set_quiet(src); in sgl_frnd() 62 *dstptr = src; in sgl_frnd() 69 *dstptr = src; in sgl_frnd() 76 Sgl_clear_exponent_set_hidden(src); in sgl_frnd() 77 result = src; in sgl_frnd() 80 if (Sgl_isinexact_to_fix(src,src_exponen in sgl_frnd() [all...] |
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_native_layer_mathunary.c | 61 const float *src; in ff_dnn_execute_layer_math_unary() local 80 src = input->data; in ff_dnn_execute_layer_math_unary() 86 dst[i] = FFABS(src[i]); in ff_dnn_execute_layer_math_unary() 90 dst[i] = sin(src[i]); in ff_dnn_execute_layer_math_unary() 94 dst[i] = cos(src[i]); in ff_dnn_execute_layer_math_unary() 98 dst[i] = tan(src[i]); in ff_dnn_execute_layer_math_unary() 102 dst[i] = asin(src[i]); in ff_dnn_execute_layer_math_unary() 106 dst[i] = acos(src[i]); in ff_dnn_execute_layer_math_unary() 110 dst[i] = atan(src[i]); in ff_dnn_execute_layer_math_unary() 114 dst[i] = sinh(src[ in ff_dnn_execute_layer_math_unary() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_dead_write_vars.c | 65 clear_unused_for_read(struct util_dynarray *unused_writes, nir_deref_instr *src) in clear_unused_for_read() argument 68 if (nir_compare_derefs(src, entry->dst) & nir_derefs_may_alias_bit) in clear_unused_for_read() 175 nir_deref_instr *src = nir_src_as_deref(intrin->src[1]); in remove_dead_write_vars_local() local 176 clear_unused_for_read(&unused_writes, src); in remove_dead_write_vars_local() 183 nir_deref_instr *src = nir_src_as_deref(intrin->src[10]); in remove_dead_write_vars_local() local 184 clear_unused_for_read(&unused_writes, src); in remove_dead_write_vars_local() 189 nir_deref_instr *src = nir_src_as_deref(intrin->src[ in remove_dead_write_vars_local() local 217 nir_deref_instr *src = nir_src_as_deref(intrin->src[1]); remove_dead_write_vars_local() local [all...] |
H A D | nir_builtin_builder.c | 342 if (tex->src[i].src_type == nir_tex_src_texture_deref || in nir_get_texture_size() 343 tex->src[i].src_type == nir_tex_src_sampler_deref || in nir_get_texture_size() 344 tex->src[i].src_type == nir_tex_src_texture_offset || in nir_get_texture_size() 345 tex->src[i].src_type == nir_tex_src_sampler_offset || in nir_get_texture_size() 346 tex->src[i].src_type == nir_tex_src_texture_handle || in nir_get_texture_size() 347 tex->src[i].src_type == nir_tex_src_sampler_handle) in nir_get_texture_size() 363 if (tex->src[i].src_type == nir_tex_src_texture_deref || in nir_get_texture_size() 364 tex->src[i].src_type == nir_tex_src_sampler_deref || in nir_get_texture_size() 365 tex->src[i].src_type == nir_tex_src_texture_offset || in nir_get_texture_size() 366 tex->src[ in nir_get_texture_size() [all...] |
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | image.cpp | 58 OHOS::Image::ImageType Image::CheckImgType(const char* src) in CheckImgType() argument 62 int32_t fd = open(src, O_RDONLY | O_BINARY); in CheckImgType() 64 int32_t fd = open(src, O_RDONLY); in CheckImgType() 67 GRAPHIC_LOGE("can't open %s\n", src); in CheckImgType() 94 bool Image::SetStandardSrc(const char* src) in SetStandardSrc() argument 96 if (src == nullptr) { in SetStandardSrc() 101 const char* ptr = strrchr(src, '.'); in SetStandardSrc() 107 ImageType imageType = CheckImgType(src); in SetStandardSrc() 110 return SetPNGSrc(src); in SetStandardSrc() 115 return SetJPEGSrc(src); in SetStandardSrc() 136 SetLiteSrc(const char* src) SetLiteSrc() argument 190 SetSrc(const char* src) SetSrc() argument 209 SetSrc(const ImageInfo* src) SetSrc() argument 231 PreParse(const char *src) PreParse() argument 315 SetPNGSrc(const char* src) SetPNGSrc() argument 412 SetJPEGSrc(const char* src) SetJPEGSrc() argument [all...] |
/kernel/linux/linux-5.10/arch/parisc/lib/ |
H A D | lusercopy.S | 140 src = arg1 define 168 xor src,dst,t0 181 20: ldb,ma 1(srcspc,src),t1 194 10: ldd 0(srcspc,src),t1 195 11: ldd 8(srcspc,src),t2 196 ldo 16(src),src 199 14: ldd 0(srcspc,src),t1 200 15: ldd 8(srcspc,src),t2 201 ldo 16(src),sr [all...] |
/kernel/linux/linux-6.6/arch/parisc/lib/ |
H A D | lusercopy.S | 90 src = arg1 define 118 xor src,dst,t0 131 20: ldb,ma 1(srcspc,src),t1 144 10: ldd 0(srcspc,src),t1 145 11: ldd 8(srcspc,src),t2 146 ldo 16(src),src 149 14: ldd 0(srcspc,src),t1 150 15: ldd 8(srcspc,src),t2 151 ldo 16(src),sr [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_blitter.c | 51 struct pipe_resource *src, unsigned srclevel) in default_src_texture() 54 src->screen->get_param(src->screen, PIPE_CAP_SAMPLER_VIEW_TARGET); in default_src_texture() 58 if (cube_as_2darray && (src->target == PIPE_TEXTURE_CUBE || in default_src_texture() 59 src->target == PIPE_TEXTURE_CUBE_ARRAY)) in default_src_texture() 62 src_templ->target = src->target; in default_src_texture() 64 if (src->target == PIPE_BUFFER) { in default_src_texture() 70 src_templ->u.tex.last_layer = src->target == PIPE_TEXTURE_3D in default_src_texture() 71 ? u_minify(src->depth0, srclevel) - 1 in default_src_texture() 72 : (unsigned)(src in default_src_texture() 50 default_src_texture(struct pipe_sampler_view *src_templ, struct pipe_resource *src, unsigned srclevel) default_src_texture() argument 123 struct pipe_resource *src = info->src.resource; fd_blitter_blit() local 349 fd_resource_copy_region(struct pipe_context *pctx, 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) fd_resource_copy_region() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkGeometry.h | 44 SkPoint SkEvalQuadAt(const SkPoint src[3], SkScalar t); 45 SkPoint SkEvalQuadTangentAt(const SkPoint src[3], SkScalar t); 47 /** Set pt to the point on the src quadratic specified by t. t must be 50 void SkEvalQuadAt(const SkPoint src[3], SkScalar t, SkPoint* pt, SkVector* tangent = nullptr); 52 /** Given a src quadratic bezier, chop it at the specified t value, 56 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t); 58 /** Given a src quadratic bezier, chop it at the specified t == 1/2, 61 void SkChopQuadAtHalf(const SkPoint src[3], SkPoint dst[5]); 75 /** Given a src quadratic bezier, returns the T value whose tangent angle is halfway between the 78 float SkFindQuadMidTangent(const SkPoint src[ 83 SkChopQuadAtMidTangent(const SkPoint src[3], SkPoint dst[5]) SkChopQuadAtMidTangent() argument 187 SkChopCubicAtMidTangent(const SkPoint src[4], SkPoint dst[7]) SkChopCubicAtMidTangent() argument [all...] |