/kernel/linux/common_modules/memory_security/ |
H A D | Makefile | 8 src/hideaddr.o \ 12 src/jit_space_list.o \ 13 src/jit_process.o \ 14 src/jit_memory.o \ 15 src/jit_memory_module.o \
|
/kernel/linux/linux-6.6/arch/hexagon/mm/ |
H A D | copy_from_user.S | 10 * The easy way to do this is only speed up src/dest similar alignment. 30 #define src r1 define 48 /* Normal copy loops. Do epilog. Use src-src_sav to compute distance */ 54 r2 += sub(src_sav,src) 64 r2 += sub(src_sav,src) 74 r2 += sub(src_sav,src) 84 r2 += sub(src_sav,src)
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | hwdep_compat.c | 20 struct snd_hwdep_dsp_image32 __user *src) in snd_hwdep_dsp_load_compat() 25 if (copy_from_user(&info, src, 4 + 64) || in snd_hwdep_dsp_load_compat() 26 get_user(ptr, &src->image) || in snd_hwdep_dsp_load_compat() 27 get_user(info.length, &src->length) || in snd_hwdep_dsp_load_compat() 28 get_user(info.driver_data, &src->driver_data)) in snd_hwdep_dsp_load_compat() 19 snd_hwdep_dsp_load_compat(struct snd_hwdep *hw, struct snd_hwdep_dsp_image32 __user *src) snd_hwdep_dsp_load_compat() argument
|
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.h | 46 void *info, struct scatterlist *src, 50 struct scatterlist *src, struct scatterlist *dst); 57 struct scatterlist *src, unsigned int nbytes, 61 struct scatterlist *src, unsigned int nbytes, 65 struct scatterlist *src, bool do_revert);
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | hwdep_compat.c | 20 struct snd_hwdep_dsp_image32 __user *src) in snd_hwdep_dsp_load_compat() 25 if (copy_from_user(&info, src, 4 + 64) || in snd_hwdep_dsp_load_compat() 26 get_user(ptr, &src->image) || in snd_hwdep_dsp_load_compat() 27 get_user(info.length, &src->length) || in snd_hwdep_dsp_load_compat() 28 get_user(info.driver_data, &src->driver_data)) in snd_hwdep_dsp_load_compat() 19 snd_hwdep_dsp_load_compat(struct snd_hwdep *hw, struct snd_hwdep_dsp_image32 __user *src) snd_hwdep_dsp_load_compat() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | ffv1_template.c | 23 static inline int RENAME(predict)(TYPE *src, TYPE *last) in predict() argument 27 const int L = src[-1]; in predict() 32 static inline int RENAME(get_context)(PlaneContext *p, TYPE *src, in get_context() argument 38 const int L = src[-1]; in get_context() 42 const int LL = src[-2]; in get_context()
|
/third_party/elfutils/libelf/ |
H A D | gelf_update_sym.c | 42 gelf_update_sym (Elf_Data *data, int ndx, GElf_Sym *src) in gelf_update_sym() argument 67 if (unlikely (src->st_value > 0xffffffffull) in gelf_update_sym() 68 || unlikely (src->st_size > 0xffffffffull)) in gelf_update_sym() 84 sym->name = src->name in gelf_update_sym() 104 ((Elf64_Sym *) data_scn->d.d_buf)[ndx] = *src; in gelf_update_sym()
|
H A D | gelf_getrela.c | 73 Elf32_Rela *src = &((Elf32_Rela *) data_scn->d.d_buf)[ndx]; in gelf_getrela() local 75 dst->r_offset = src->r_offset; in gelf_getrela() 76 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info), in gelf_getrela() 77 ELF32_R_TYPE (src->r_info)); in gelf_getrela() 78 dst->r_addend = src->r_addend; in gelf_getrela()
|
/third_party/ffmpeg/libswscale/ |
H A D | hscale_fast_bilinear.c | 24 const uint8_t *src, int srcW, int xInc) in ff_hyscale_fast_c() 31 dst[i] = (src[xx] << 7) + (src[xx + 1] - src[xx]) * xalpha; in ff_hyscale_fast_c() 35 dst[i] = src[srcW-1]*128; in ff_hyscale_fast_c() 23 ff_hyscale_fast_c(SwsContext *c, int16_t *dst, int dstWidth, const uint8_t *src, int srcW, int xInc) ff_hyscale_fast_c() argument
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usb_string.c | 48 int utf8_to_utf16le(const char *src, uint8_t *target, uint32_t len) in utf8_to_utf16le() argument 54 while (len != 0 && (c = (uint8_t)*src++) != 0) in utf8_to_utf16le() 64 c = (uint8_t)*src++; in utf8_to_utf16le() 74 c = (uint8_t)*src++; in utf8_to_utf16le() 80 c = (uint8_t)*src++; in utf8_to_utf16le()
|
/third_party/ltp/testcases/commands/ln/ |
H A D | ln_tests.sh | 54 local src="$2" 57 EXPECT_PASS ln $args $src $link 59 if [ -f $src ]; then 60 check_file_link $src $link 62 check_dir_link $src $link
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test.h | 104 read_elem(struct lp_type type, const void *src, unsigned index); 108 write_elem(struct lp_type type, void *dst, unsigned index, double src); 116 read_vec(struct lp_type type, const void *src, double *dst); 120 write_vec(struct lp_type type, void *dst, const double *src); 136 dump_vec(FILE *fp, struct lp_type type, const void *src);
|
/third_party/node/deps/v8/src/base/ |
H A D | safe_conversions_arm_impl.h | 19 #include "src/base/safe_conversions_impl.h" 36 int32_t src = value; in Do() local 40 asm("ssat %[dst], %[shift], %[src]" in Do() 42 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value <= 32 in Do() 46 asm("usat %[dst], %[shift], %[src]" in Do() 48 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value < 32 in Do()
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | valhall.h | 151 va_src_info(enum bi_opcode op, unsigned src) in va_src_info() argument 153 unsigned idx = (va_swap_12(op) && (src == 1 || src == 2)) ? (3 - src) : src; in va_src_info()
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_conversions_arm_impl.h | 34 int32_t src = value; in Do() local 38 asm("ssat %[dst], %[shift], %[src]" in Do() 40 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value <= 32 in Do() 46 asm("usat %[dst], %[shift], %[src]" in Do() 48 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value < 32 in Do()
|
/third_party/skia/tests/ |
H A D | SkBase64Test.cpp | 25 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST() 26 SkBase64::Encode(all + offset, length, src.get()); in DEF_TEST() 28 src[SkToInt(encodeLength)] = '\0'; in DEF_TEST() 34 err = SkBase64::Decode(src.get(), encodeLength, nullptr, &decodeLength); in DEF_TEST() 42 err = SkBase64::Decode(src.get(), encodeLength, dst, &decodeLength); in DEF_TEST()
|
H A D | SamplingTest.cpp | 11 #include "src/core/SkSamplingPriv.h" 26 auto src = GetResourceAsImage(name); in DEF_TEST() local 27 auto surf = SkSurface::MakeRasterN32Premul(src->width(), src->height()); in DEF_TEST() 32 canvas->drawImage(src.get(), 0, 0, sampling, nullptr); in DEF_TEST() 36 REPORTER_ASSERT(r, ToolUtils::equal_pixels(src.get(), dst.get()) == expect_same); in DEF_TEST()
|
H A D | ColorPrivTest.cpp | 31 const SkPMColor src = 0xAB998877, dst = 0x66334455; in DEF_TEST() local 33 ASSERT(SkFourByteInterp256(src, dst, scale) == SkFastFourByteInterp256(src, dst, scale)); in DEF_TEST() 39 const SkPMColor slow = SkFourByteInterp(src, dst, scale); in DEF_TEST() 40 const SkPMColor fast = SkFastFourByteInterp(src, dst, scale); in DEF_TEST()
|
/third_party/skia/third_party/externals/icu/fuzzers/ |
H A D | icu_ucasemap_fuzzer.cc | 34 auto src = reinterpret_cast<const char*>(data); in LLVMFuzzerTestOneInput() local 37 case 0: ucasemap_utf8ToLower(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 40 case 1: ucasemap_utf8ToUpper(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 43 case 2: ucasemap_utf8ToTitle(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 46 case 3: ucasemap_utf8FoldCase(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput()
|
/base/global/i18n/frameworks/intl/src/ |
H A D | utils.cpp | 47 void Split(const string &src, const string &sep, vector<string> &dest) in Split() argument 49 if (src == "") { in Split() 53 string::size_type end = src.find(sep); in Split() 55 dest.push_back(src.substr(begin, end - begin)); in Split() 57 end = src.find(sep, begin); in Split() 59 if (begin != src.size()) { in Split() 60 dest.push_back(src.substr(begin)); in Split() 64 void Merge(const std::vector<std::string>& src, const std::string& sep, std::string& dest) in Merge() argument 66 if (src.size() == 0) { in Merge() 70 dest = src[ in Merge() [all...] |
/base/telephony/core_service/utils/codec/src/ |
H A D | asn1_utils.cpp | 106 void Asn1Utils::BchToString(const std::vector<uint8_t> &src, std::string &destStr) in BchToString() argument 108 std::string hexStr = BytesToHexStr(src); in BchToString() 130 uint32_t Asn1Utils::ByteToHexStr(uint8_t src, std::string &dest) in ByteToHexStr() argument 133 oss << std::hex << std::uppercase << std::setw(BYTE_TO_HEX_LEN) << std::setfill('0') << (src & MAX_UINT8); in ByteToHexStr() 157 int32_t Asn1Utils::BytesToInt(const std::vector<uint8_t> &src, uint32_t offset, uint32_t length) in BytesToInt() argument 159 if (length > HEX_STR_MAX_LENGTH || (offset + length) > src.size()) { in BytesToInt() 160 TELEPHONY_LOGE("src length is more than four byte."); in BytesToInt() 163 std::vector<uint8_t> subByteStream(src.begin() + offset, src.begin() + offset + length); in BytesToInt() 189 std::string Asn1Utils::BytesToString(const std::vector<uint8_t> &src) in BytesToString() argument 218 StringToBytes(const std::string &src) StringToBytes() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | tea.c | 57 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt() argument 62 const __le32 *in = (const __le32 *)src; in tea_encrypt() 85 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt() argument 90 const __le32 *in = (const __le32 *)src; in tea_decrypt() 130 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt() argument 135 const __le32 *in = (const __le32 *)src; in xtea_encrypt() 151 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt() argument 155 const __le32 *in = (const __le32 *)src; in xtea_decrypt() 174 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt() argument 179 const __le32 *in = (const __le32 *)src; in xeta_encrypt() 195 xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) xeta_decrypt() argument [all...] |
H A D | nhpoly1305.c | 94 const u8 *src, unsigned int srclen, nh_t nh_fn) in nhpoly1305_units() 102 nh_fn(key->nh_key, src, bytes, state->nh_hash); in nhpoly1305_units() 112 nh_fn(&key->nh_key[pos / 4], src, bytes, tmp_hash); in nhpoly1305_units() 120 src += bytes; in nhpoly1305_units() 156 const u8 *src, unsigned int srclen, in crypto_nhpoly1305_update_helper() 165 memcpy(&state->buffer[state->buflen], src, bytes); in crypto_nhpoly1305_update_helper() 172 src += bytes; in crypto_nhpoly1305_update_helper() 178 nhpoly1305_units(state, key, src, bytes, nh_fn); in crypto_nhpoly1305_update_helper() 179 src += bytes; in crypto_nhpoly1305_update_helper() 184 memcpy(state->buffer, src, srcle in crypto_nhpoly1305_update_helper() 92 nhpoly1305_units(struct nhpoly1305_state *state, const struct nhpoly1305_key *key, const u8 *src, unsigned int srclen, nh_t nh_fn) nhpoly1305_units() argument 155 crypto_nhpoly1305_update_helper(struct shash_desc *desc, const u8 *src, unsigned int srclen, nh_t nh_fn) crypto_nhpoly1305_update_helper() argument 191 crypto_nhpoly1305_update(struct shash_desc *desc, const u8 *src, unsigned int srclen) crypto_nhpoly1305_update() argument [all...] |
/kernel/linux/linux-5.10/arch/ia64/lib/ |
H A D | memcpy.S | 25 # define src r3 43 * First, check if everything (src, dst, len) is a multiple of eight. If 83 mov src=in1 // copy because of rotation 98 (p[0]) ld8 val[0]=[src],8 142 (p[0]) ld1 val[0]=[src],1 185 and t0=-8,src // t0 = src & ~7 186 and t2=7,src // t2 = src & 7 189 adds src2=7,src // src [all...] |
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | twofish_avx_glue.c | 25 asmlinkage void twofish_ecb_enc_8way(const void *ctx, u8 *dst, const u8 *src); 26 asmlinkage void twofish_ecb_dec_8way(const void *ctx, u8 *dst, const u8 *src); 28 asmlinkage void twofish_cbc_dec_8way(const void *ctx, u8 *dst, const u8 *src); 29 asmlinkage void twofish_ctr_8way(const void *ctx, u8 *dst, const u8 *src, 32 asmlinkage void twofish_xts_enc_8way(const void *ctx, u8 *dst, const u8 *src, 34 asmlinkage void twofish_xts_dec_8way(const void *ctx, u8 *dst, const u8 *src, 43 static inline void twofish_enc_blk_3way(const void *ctx, u8 *dst, const u8 *src) in twofish_enc_blk_3way() argument 45 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way() 48 static void twofish_xts_enc(const void *ctx, u8 *dst, const u8 *src, le128 *iv) in twofish_xts_enc() argument 50 glue_xts_crypt_128bit_one(ctx, dst, src, i in twofish_xts_enc() 53 twofish_xts_dec(const void *ctx, u8 *dst, const u8 *src, le128 *iv) twofish_xts_dec() argument [all...] |