/kernel/liteos_m/components/lms/ |
H A D | lms_libc.c | 43 void *memmove(void *dest, const void *src, size_t len)
in memmove() argument 46 __asan_storeN_noabort((UINTPTR)dest, len);
in memmove() 47 return __memmove(dest, src, len);
in memmove() 51 void *memcpy(void *dest, const void *src, size_t len)
in memcpy() argument 54 __asan_storeN_noabort((UINTPTR)dest, len);
in memcpy() 55 return __memcpy(dest, src, len);
in memcpy() 77 char *strcpy(char *dest, const char *src)
in strcpy() argument 79 if ((dest == NULL) || (src == NULL)) {
in strcpy() 84 __asan_storeN_noabort((UINTPTR)dest, len + 1);
in strcpy() 87 return __strcpy(dest, sr in strcpy() 91 strncat(char *dest, const char *src, size_t n) strncat() argument 110 strncpy(char *dest, const char *src, size_t n) strncpy() argument [all...] |
/kernel/liteos_m/testsuites/unittest/xts/io/ |
H A D | xts_io_string_test.c | 70 const char dest[] = "abcdef"; variable 72 int ret = strncmp(dest, src, 1); /* 1 common data for test, no special meaning */ 91 char dest[50] = {0}; /* 50 common data for test, no special meaning */ variable 92 char *ret = stpcpy(dest, src); 94 ICUNIT_ASSERT_STRING_EQUAL(dest, src, dest); 112 char dest[50] = {0}; /* 50 common data for test, no special meaning */ variable 113 char *ret = stpncpy(dest, src, 5); /* 5 common data for test, no special meaning */ 115 ICUNIT_ASSERT_STRING_EQUAL(dest, "hello", dest); 133 char dest[20] = {0}; /* 20 common data for test, no special meaning */ global() variable 152 char dest[20] = {0}; global() variable 169 char dest[50] = {0}; /* 50 common data for test, no special meaning */ global() variable 186 char dest[50] = "hello world || "; /* 50 common data for test, no special meaning */ global() variable 296 const char dest[] = "hello world !"; global() variable 314 const char dest[] = "hello world !"; global() variable 338 const char dest[] = "hello world !"; global() variable [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | string.c | 79 char *strcpy(char *dest, const char *src) in strcpy() argument 81 char *tmp = dest; in strcpy() 83 while ((*dest++ = *src++) != '\0') in strcpy() 91 char *strncpy(char *dest, const char *src, size_t count) in strncpy() argument 93 char *tmp = dest; in strncpy() 101 return dest; in strncpy() 107 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() argument 113 __builtin_memcpy(dest, src, len); in strlcpy() 114 dest[len] = '\0'; in strlcpy() 122 ssize_t strscpy(char *dest, cons argument 207 stpcpy(char *__restrict__ dest, const char *__restrict__ src) stpcpy() argument 216 strcat(char *dest, const char *src) strcat() argument 230 strncat(char *dest, const char *src, size_t count) strncat() argument 250 strlcat(char *dest, const char *src, size_t count) strlcat() argument 619 memcpy(void *dest, const void *src, size_t count) memcpy() argument 640 memmove(void *dest, const void *src, size_t count) memmove() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vc1dsp.c | 247 static void vc1_inv_trans_8x8_dc_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) in vc1_inv_trans_8x8_dc_c() argument 256 dest[0] = av_clip_uint8(dest[0] + dc); in vc1_inv_trans_8x8_dc_c() 257 dest[1] = av_clip_uint8(dest[1] + dc); in vc1_inv_trans_8x8_dc_c() 258 dest[2] = av_clip_uint8(dest[2] + dc); in vc1_inv_trans_8x8_dc_c() 259 dest[3] = av_clip_uint8(dest[3] + dc); in vc1_inv_trans_8x8_dc_c() 260 dest[ in vc1_inv_trans_8x8_dc_c() 338 vc1_inv_trans_8x4_dc_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) vc1_inv_trans_8x4_dc_c() argument 359 vc1_inv_trans_8x4_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) vc1_inv_trans_8x4_c() argument 415 vc1_inv_trans_4x8_dc_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) vc1_inv_trans_4x8_dc_c() argument 432 vc1_inv_trans_4x8_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) vc1_inv_trans_4x8_c() argument 488 vc1_inv_trans_4x4_dc_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) vc1_inv_trans_4x4_dc_c() argument 505 vc1_inv_trans_4x4_c(uint8_t *dest, ptrdiff_t stride, int16_t *block) vc1_inv_trans_4x4_c() argument [all...] |
H A D | faanidct.c | 50 static inline void p8idct(int16_t data[64], FLOAT temp[64], uint8_t *dest, in p8idct() argument 106 dest[0*stride + i]= av_clip_uint8(((int)dest[0*stride + i]) + lrintf(os07 + od07)); in p8idct() 107 dest[7*stride + i]= av_clip_uint8(((int)dest[7*stride + i]) + lrintf(os07 - od07)); in p8idct() 108 dest[1*stride + i]= av_clip_uint8(((int)dest[1*stride + i]) + lrintf(os16 + od16)); in p8idct() 109 dest[6*stride + i]= av_clip_uint8(((int)dest[6*stride + i]) + lrintf(os16 - od16)); in p8idct() 110 dest[ in p8idct() 140 ff_faanidct_add(uint8_t *dest, ptrdiff_t line_size, int16_t block[64]) ff_faanidct_add() argument 154 ff_faanidct_put(uint8_t *dest, ptrdiff_t line_size, int16_t block[64]) ff_faanidct_put() argument [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_probe_tmpl.h | 54 * If dest is NULL, don't store result and return required dynamic data size. 58 void *dest, void *base); 61 fetch_store_string(unsigned long addr, void *dest, void *base); 64 fetch_store_string_user(unsigned long addr, void *dest, void *base); 66 probe_mem_read(void *dest, void *src, size_t size); 68 probe_mem_read_user(void *dest, void *src, size_t size); 88 fetch_store_symstring(unsigned long addr, void *dest, void *base) in fetch_store_symstring() argument 90 int maxlen = get_loc_len(*(u32 *)dest); in fetch_store_symstring() 96 __dest = get_loc_data(dest, base); in fetch_store_symstring() 124 void *dest, voi in process_fetch_insn_bottom() 123 process_fetch_insn_bottom(struct fetch_insn *code, unsigned long val, void *dest, void *base) process_fetch_insn_bottom() argument [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_cid.c | 67 void ngtcp2_scid_copy(ngtcp2_scid *dest, const ngtcp2_scid *src) { in ngtcp2_scid_copy() argument 68 ngtcp2_scid_init(dest, src->seq, &src->cid); in ngtcp2_scid_copy() 69 dest->retired_ts = src->retired_ts; in ngtcp2_scid_copy() 70 dest->flags = src->flags; in ngtcp2_scid_copy() 102 void ngtcp2_dcid_copy(ngtcp2_dcid *dest, const ngtcp2_dcid *src) { in ngtcp2_dcid_copy() argument 103 ngtcp2_dcid_init(dest, src->seq, &src->cid, in ngtcp2_dcid_copy() 106 ngtcp2_path_copy(&dest->ps.path, &src->ps.path); in ngtcp2_dcid_copy() 107 dest->retired_ts = src->retired_ts; in ngtcp2_dcid_copy() 108 dest->bound_ts = src->bound_ts; in ngtcp2_dcid_copy() 109 dest in ngtcp2_dcid_copy() 115 ngtcp2_dcid_copy_cid_token(ngtcp2_dcid *dest, const ngtcp2_dcid *src) ngtcp2_dcid_copy_cid_token() argument [all...] |
/third_party/ltp/testcases/kernel/kvm/ |
H A D | lib_guest.c | 22 void *memset(void *dest, int val, size_t size) in memset() argument 24 char *ptr = dest; in memset() 29 return dest; in memset() 32 void *memzero(void *dest, size_t size) in memzero() argument 34 return memset(dest, 0, size); in memzero() 37 void *memcpy(void *dest, const void *src, size_t size) in memcpy() argument 39 char *dptr = dest; in memcpy() 45 return dest; in memcpy() 48 char *strcpy(char *dest, const char *src) in strcpy() argument 50 char *ret = dest; in strcpy() 58 strcat(char *dest, const char *src) strcat() argument 79 ptr2hex(char *dest, uintptr_t val) ptr2hex() argument [all...] |
/kernel/linux/linux-5.10/tools/objtool/arch/x86/ |
H A D | decode.c | 150 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 151 op->dest.reg = CFI_SP; in arch_decode_instruction() 162 op->dest.type = OP_DEST_PUSH; in arch_decode_instruction() 172 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 173 op->dest.reg = op_to_cfi_reg[op1 & 0x7][rex_b]; in arch_decode_instruction() 183 op->dest.type = OP_DEST_PUSH; in arch_decode_instruction() 202 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 203 op->dest.reg = CFI_SP; in arch_decode_instruction() 220 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 221 op->dest in arch_decode_instruction() [all...] |
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | reg_add_sub.c | 31 FPU_REG * dest, int deststnr, int control_w); 40 FPU_REG *dest = &st(deststnr); in FPU_add() local 44 u_char saved_sign = getsign(dest); in FPU_add() 56 FPU_u_add(a, b, dest, control_w, signa, expa, expb); in FPU_add() 72 FPU_u_sub(a, b, dest, control_w, signa, in FPU_add() 76 FPU_u_sub(b, a, dest, control_w, signb, in FPU_add() 81 setsign(dest, ((control_w & CW_RC) != RC_DOWN) in FPU_add() 88 setsign(dest, saved_sign); in FPU_add() 125 dest, deststnr, control_w); in FPU_add() 128 /* Subtract b from a. (a-b) -> dest */ 132 FPU_REG *dest; FPU_sub() local 271 add_sub_specials(FPU_REG const *a, u_char taga, u_char signa, FPU_REG const *b, u_char tagb, u_char signb, FPU_REG * dest, int deststnr, int control_w) add_sub_specials() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | reg_add_sub.c | 31 FPU_REG * dest, int deststnr, int control_w); 40 FPU_REG *dest = &st(deststnr); in FPU_add() local 44 u_char saved_sign = getsign(dest); in FPU_add() 56 FPU_u_add(a, b, dest, control_w, signa, expa, expb); in FPU_add() 72 FPU_u_sub(a, b, dest, control_w, signa, in FPU_add() 76 FPU_u_sub(b, a, dest, control_w, signb, in FPU_add() 81 setsign(dest, ((control_w & CW_RC) != RC_DOWN) in FPU_add() 88 setsign(dest, saved_sign); in FPU_add() 125 dest, deststnr, control_w); in FPU_add() 128 /* Subtract b from a. (a-b) -> dest */ 132 FPU_REG *dest; FPU_sub() local 271 add_sub_specials(FPU_REG const *a, u_char taga, u_char signa, FPU_REG const *b, u_char tagb, u_char signb, FPU_REG * dest, int deststnr, int control_w) add_sub_specials() argument [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/ |
H A D | aeabindk32.cpp | 33 extern "C" int __aeabi_memclr(void *dest, size_t n);
34 extern "C" int __aeabi_memclr4(void *dest, size_t n);
35 extern "C" int __aeabi_memclr8(void *dest, size_t n);
51 char dest[] = "__aeabi_memclr";
in AeabiMemclr() local 53 if (__aeabi_memclr(dest, sizeof(dest)) != PARAM_0) {
in AeabiMemclr() 64 char dest[] = "__aeabi_memclr";
in AeabiMemclr4() local 66 if (__aeabi_memclr4(dest, sizeof(dest)) != PARAM_0) {
in AeabiMemclr4() 77 char dest[] in AeabiMemclr8() local 90 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemcpy() local 105 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemcpy4() local 120 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemcpy8() local 135 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemmove() local 150 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemmove4() local 165 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemmove8() local 180 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemset() local 195 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemset4() local 210 int dest[] = {1, 2, 3, 4, 5, 6, 7}; AeabiMemset8() local [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | wmv2dsp_mmi.c | 98 void ff_wmv2_idct_add_mmi(uint8_t *dest, ptrdiff_t line_size, int16_t *block) in ff_wmv2_idct_add_mmi() argument 121 MMI_LDC1(%[ftmp9], %[dest], 0x00) in ff_wmv2_idct_add_mmi() 127 MMI_SDC1(%[ftmp1], %[dest], 0x00) in ff_wmv2_idct_add_mmi() 128 PTR_ADDU "%[dest], %[dest], %[line_size] \n\t" in ff_wmv2_idct_add_mmi() 130 MMI_LDC1(%[ftmp9], %[dest], 0x00) in ff_wmv2_idct_add_mmi() 136 MMI_SDC1(%[ftmp3], %[dest], 0x00) in ff_wmv2_idct_add_mmi() 137 PTR_ADDU "%[dest], %[dest], %[line_size] \n\t" in ff_wmv2_idct_add_mmi() 139 MMI_LDC1(%[ftmp9], %[dest], in ff_wmv2_idct_add_mmi() 215 ff_wmv2_idct_put_mmi(uint8_t *dest, ptrdiff_t line_size, int16_t *block) ff_wmv2_idct_put_mmi() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unorm.cpp | 99 UChar *dest, int32_t destCapacity, in unorm_normalize() 106 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 109 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 118 UChar *dest, int32_t destCapacity, in _iterate() 125 if(destCapacity<0 || (dest==NULL && destCapacity>0) || src==NULL) { in _iterate() 134 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _iterate() 163 UnicodeString destString(dest, 0, destCapacity); in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate() 178 UChar *dest, int32_ in unorm_iterate() 97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) unorm_normalize() argument 117 _iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) _iterate() argument 177 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_iterate() argument 197 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_previous() argument 210 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_next() argument 225 _concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UErrorCode *pErrorCode) _concatenate() argument 261 unorm_concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) unorm_concatenate() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | unorm.cpp | 99 char16_t *dest, int32_t destCapacity, in unorm_normalize() 106 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 109 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 118 char16_t *dest, int32_t destCapacity, in _iterate() 125 if(destCapacity<0 || (dest==nullptr && destCapacity>0) || src==nullptr) { in _iterate() 134 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _iterate() 163 UnicodeString destString(dest, 0, destCapacity); in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate() 178 char16_t *dest, int32_ in unorm_iterate() 97 unorm_normalize(const char16_t *src, int32_t srcLength, UNormalizationMode mode, int32_t options, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) unorm_normalize() argument 117 _iterate(UCharIterator *src, UBool forward, char16_t *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) _iterate() argument 177 unorm_iterate(UCharIterator *src, UBool forward, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_iterate() argument 197 unorm_previous(UCharIterator *src, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_previous() argument 210 unorm_next(UCharIterator *src, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_next() argument 225 _concatenate(const char16_t *left, int32_t leftLength, const char16_t *right, int32_t rightLength, char16_t *dest, int32_t destCapacity, const Normalizer2 *n2, UErrorCode *pErrorCode) _concatenate() argument 261 unorm_concatenate(const char16_t *left, int32_t leftLength, const char16_t *right, int32_t rightLength, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) unorm_concatenate() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unorm.cpp | 99 UChar *dest, int32_t destCapacity, in unorm_normalize() 106 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 109 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 118 UChar *dest, int32_t destCapacity, in _iterate() 125 if(destCapacity<0 || (dest==NULL && destCapacity>0) || src==NULL) { in _iterate() 134 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _iterate() 163 UnicodeString destString(dest, 0, destCapacity); in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate() 178 UChar *dest, int32_ in unorm_iterate() 97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) unorm_normalize() argument 117 _iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) _iterate() argument 177 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_iterate() argument 197 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_previous() argument 210 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_next() argument 225 _concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UErrorCode *pErrorCode) _concatenate() argument 261 unorm_concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) unorm_concatenate() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/hisysevent/ |
H A D | hisysevent_raw_data.c | 38 int raw_data_update(struct hisysevent_raw_data *dest, u8 *src, unsigned int len, in raw_data_update() argument 41 if (!dest) { in raw_data_update() 49 if (dest->len < pos) { in raw_data_update() 53 if ((pos + len) > dest->capacity) { in raw_data_update() 58 resize_data = kmalloc(dest->capacity + expanded_size, GFP_KERNEL); in raw_data_update() 63 if (dest->data) { in raw_data_update() 64 memcpy(resize_data, dest->data, dest->len); in raw_data_update() 65 dest->capacity += expanded_size; in raw_data_update() 66 kfree(dest in raw_data_update() 79 raw_data_append(struct hisysevent_raw_data *dest, u8 *src, unsigned int len) raw_data_append() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/hisysevent/ |
H A D | hisysevent_raw_data.c | 38 int raw_data_update(struct hisysevent_raw_data *dest, u8 *src, unsigned int len, in raw_data_update() argument 41 if (!dest) { in raw_data_update() 49 if (dest->len < pos) { in raw_data_update() 53 if ((pos + len) > dest->capacity) { in raw_data_update() 58 resize_data = kmalloc(dest->capacity + expanded_size, GFP_KERNEL); in raw_data_update() 63 if (dest->data) { in raw_data_update() 64 memcpy(resize_data, dest->data, dest->len); in raw_data_update() 65 dest->capacity += expanded_size; in raw_data_update() 66 kfree(dest in raw_data_update() 79 raw_data_append(struct hisysevent_raw_data *dest, u8 *src, unsigned int len) raw_data_append() argument [all...] |
/third_party/musl/porting/linux/user/include/fortify/ |
H A D | stdio.h | 78 char* fgets(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, int size, FILE* stream) 81 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS(dest), size), in __DIAGNOSE_ERROR_IF() 85 size_t bos = __DIAGNOSE_BOS(dest); in __DIAGNOSE_ERROR_IF() 88 return __fgets_chk(dest, size, stream, bos); in __DIAGNOSE_ERROR_IF() 91 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(fgets)(dest, size, stream); in __DIAGNOSE_ERROR_IF() 95 int vsnprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, 99 size_t bos = __DIAGNOSE_BOS(dest); 100 return __builtin___vsnprintf_chk(dest, size, 0, bos, format, ap); 104 int vsprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, const char* format, va_list ap) 107 return __builtin___vsprintf_chk(dest, [all...] |
/third_party/musl/include/fortify/linux/ |
H A D | stdio.h | 78 char* fgets(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, int size, FILE* stream) 81 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS(dest), size), in __DIAGNOSE_ERROR_IF() 85 size_t bos = __DIAGNOSE_BOS(dest); in __DIAGNOSE_ERROR_IF() 88 return __fgets_chk(dest, size, stream, bos); in __DIAGNOSE_ERROR_IF() 91 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(fgets)(dest, size, stream); in __DIAGNOSE_ERROR_IF() 95 int vsnprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, 99 size_t bos = __DIAGNOSE_BOS(dest); 100 return __builtin___vsnprintf_chk(dest, size, 0, bos, format, ap); 104 int vsprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, const char* format, va_list ap) 107 return __builtin___vsprintf_chk(dest, [all...] |
/kernel/linux/linux-5.10/kernel/irq/ |
H A D | ipi.c | 17 * @dest: cpumask of cpus which can receive the IPI 19 * Allocate a virq that can be used to send IPI to any CPU in dest mask. 24 const struct cpumask *dest) in irq_reserve_ipi() 35 if (!cpumask_subset(dest, cpu_possible_mask)) { in irq_reserve_ipi() 40 nr_irqs = cpumask_weight(dest); in irq_reserve_ipi() 64 offset = cpumask_first(dest); in irq_reserve_ipi() 69 next = cpumask_next_zero(offset, dest); in irq_reserve_ipi() 71 next = cpumask_next(next, dest); in irq_reserve_ipi() 85 (void *) dest, true, NULL); in irq_reserve_ipi() 94 cpumask_copy(data->common->affinity, dest); in irq_reserve_ipi() 23 irq_reserve_ipi(struct irq_domain *domain, const struct cpumask *dest) irq_reserve_ipi() argument 115 irq_destroy_ipi(unsigned int irq, const struct cpumask *dest) irq_destroy_ipi() argument 186 ipi_send_verify(struct irq_chip *chip, struct irq_data *data, const struct cpumask *dest, unsigned int cpu) ipi_send_verify() argument 263 __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest) __ipi_send_mask() argument 328 ipi_send_mask(unsigned int virq, const struct cpumask *dest) ipi_send_mask() argument [all...] |
/kernel/linux/linux-6.6/kernel/irq/ |
H A D | ipi.c | 17 * @dest: cpumask of CPUs which can receive the IPI 19 * Allocate a virq that can be used to send IPI to any CPU in dest mask. 24 const struct cpumask *dest) in irq_reserve_ipi() 35 if (!cpumask_subset(dest, cpu_possible_mask)) { in irq_reserve_ipi() 40 nr_irqs = cpumask_weight(dest); in irq_reserve_ipi() 64 offset = cpumask_first(dest); in irq_reserve_ipi() 69 next = cpumask_next_zero(offset, dest); in irq_reserve_ipi() 71 next = cpumask_next(next, dest); in irq_reserve_ipi() 85 (void *) dest, true, NULL); in irq_reserve_ipi() 94 cpumask_copy(data->common->affinity, dest); in irq_reserve_ipi() 23 irq_reserve_ipi(struct irq_domain *domain, const struct cpumask *dest) irq_reserve_ipi() argument 115 irq_destroy_ipi(unsigned int irq, const struct cpumask *dest) irq_destroy_ipi() argument 188 ipi_send_verify(struct irq_chip *chip, struct irq_data *data, const struct cpumask *dest, unsigned int cpu) ipi_send_verify() argument 269 __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest) __ipi_send_mask() argument 334 ipi_send_mask(unsigned int virq, const struct cpumask *dest) ipi_send_mask() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-promises-writefile.js | 14 const dest = path.resolve(tmpDir, 'tmp.txt'); 61 await fsPromises.writeFile(dest, buffer); 62 const data = fs.readFileSync(dest); 67 await fsPromises.writeFile(dest, stream); 69 const data = fs.readFileSync(dest, 'utf-8'); 84 await fsPromises.writeFile(dest, iterable); 85 const data = fs.readFileSync(dest, 'utf-8'); 92 assert.rejects(fsPromises.writeFile(dest, iterableWith(value)), { 100 await fsPromises.writeFile(dest, stream2, 'latin1'); 102 const data = fs.readFileSync(dest, 'latin [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_meta.c | 62 u32 *dest) in nft_meta_get_eval_time() 66 nft_reg_store64((u64 *)dest, ktime_get_real_ns()); in nft_meta_get_eval_time() 69 nft_reg_store8(dest, nft_meta_weekday()); in nft_meta_get_eval_time() 72 *dest = nft_meta_hour(ktime_get_real_seconds()); in nft_meta_get_eval_time() 81 u32 *dest) in nft_meta_get_eval_pkttype_lo() 88 nft_reg_store8(dest, PACKET_MULTICAST); in nft_meta_get_eval_pkttype_lo() 90 nft_reg_store8(dest, PACKET_BROADCAST); in nft_meta_get_eval_pkttype_lo() 93 nft_reg_store8(dest, PACKET_MULTICAST); in nft_meta_get_eval_pkttype_lo() 107 nft_reg_store8(dest, PACKET_MULTICAST); in nft_meta_get_eval_pkttype_lo() 109 nft_reg_store8(dest, PACKET_BROADCAS in nft_meta_get_eval_pkttype_lo() 61 nft_meta_get_eval_time(enum nft_meta_keys key, u32 *dest) nft_meta_get_eval_time() argument 80 nft_meta_get_eval_pkttype_lo(const struct nft_pktinfo *pkt, u32 *dest) nft_meta_get_eval_pkttype_lo() argument 130 nft_meta_get_eval_skugid(enum nft_meta_keys key, u32 *dest, const struct nft_pktinfo *pkt) nft_meta_get_eval_skugid() argument 166 nft_meta_get_eval_cgroup(u32 *dest, const struct nft_pktinfo *pkt) nft_meta_get_eval_cgroup() argument 178 nft_meta_get_eval_kind(enum nft_meta_keys key, u32 *dest, const struct nft_pktinfo *pkt) nft_meta_get_eval_kind() argument 202 nft_meta_store_ifindex(u32 *dest, const struct net_device *dev) nft_meta_store_ifindex() argument 207 nft_meta_store_ifname(u32 *dest, const struct net_device *dev) nft_meta_store_ifname() argument 212 nft_meta_store_iftype(u32 *dest, const struct net_device *dev) nft_meta_store_iftype() argument 221 nft_meta_store_ifgroup(u32 *dest, const struct net_device *dev) nft_meta_store_ifgroup() argument 230 nft_meta_get_eval_ifname(enum nft_meta_keys key, u32 *dest, const struct nft_pktinfo *pkt) nft_meta_get_eval_ifname() argument 275 nft_meta_get_eval_rtclassid(const struct sk_buff *skb, u32 *dest) nft_meta_get_eval_rtclassid() argument 300 nft_meta_get_eval_sdifname(u32 *dest, const struct nft_pktinfo *pkt) nft_meta_get_eval_sdifname() argument 315 u32 *dest = ®s->data[priv->dreg]; nft_meta_get_eval() local 865 u32 *dest = ®s->data[priv->dreg]; nft_meta_inner_eval() local [all...] |
/third_party/bounds_checking_function/include/ |
H A D | securec.h | 66 /* Once the error is detected, the dest buffer must be reset! Value is 22 or 128 */ 76 /* Once the error is detected, the dest buffer must be reset! Value is 34 or 128 */ 81 /* Once the buffer overlap is detected, the dest buffer must be reset! Value is 54 or 128 */ 127 * the first count characters of the object pointed to by dest. 128 * Parameter: dest - destination address 131 * Parameter: count - copies count bytes of value to dest 134 SECUREC_API errno_t memset_s(void *dest, size_t destMax, int c, size_t count); 146 * into the object pointed to by dest. 147 * Parameter: dest - destination address 153 SECUREC_API errno_t memmove_s(void *dest, size_ [all...] |