/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | remoteproc_coredump.c | 47 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size) in rproc_coredump_add_segment() 79 dma_addr_t da, size_t size, in rproc_coredump_add_custom_segment() 82 void *dest, size_t offset, in rproc_coredump_add_custom_segment() 83 size_t size), in rproc_coredump_add_custom_segment() 135 size_t *data_left) in rproc_coredump_find_segment() 153 size_t offset, size_t size) in rproc_copy_segment() 172 static ssize_t rproc_coredump_read(char *buffer, loff_t offset, size_t count, in rproc_coredump_read() 173 void *data, size_t header_sz) in rproc_coredump_read() 175 size_t seg_dat in rproc_coredump_read() [all...] |
/kernel/linux/linux-5.10/drivers/rpmsg/ |
H A D | qcom_glink_smem.c | 49 static size_t glink_smem_rx_avail(struct qcom_glink_pipe *np) in glink_smem_rx_avail() 52 size_t len; in glink_smem_rx_avail() 80 void *data, unsigned int offset, size_t count) in glink_smem_rx_peak() 83 size_t len; in glink_smem_rx_peak() 91 len = min_t(size_t, count, pipe->native.length - tail); in glink_smem_rx_peak() 100 size_t count) in glink_smem_rx_advance() 114 static size_t glink_smem_tx_avail(struct qcom_glink_pipe *np) in glink_smem_tx_avail() 139 const void *data, size_t count) in glink_smem_tx_write_one() 141 size_t len; in glink_smem_tx_write_one() 143 len = min_t(size_t, coun in glink_smem_tx_write_one() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | dax.h | 37 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t); 42 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff, 43 void *addr, size_t bytes, struct iov_iter *iter); 67 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, 68 void *addr, size_t bytes, struct iov_iter *i); 120 static inline size_t dax_recovery_write(struct dax_device *dax_dev, in dax_recovery_write() 121 pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) in dax_recovery_write() 232 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, 233 size_t bytes, struct iov_iter *i); 234 size_t dax_copy_to_ite [all...] |
H A D | net.h | 141 size_t written; 142 size_t count; 157 unsigned int, size_t); 197 size_t total_len); 207 size_t total_len, int flags); 211 struct pipe_inode_info *pipe, size_t len, unsigned int flags); 224 size_t size); 327 size_t num, size_t len); 329 struct kvec *vec, size_t nu [all...] |
H A D | uaccess.h | 201 copy_mc_to_kernel(void *dst, const void *src, size_t cnt) in copy_mc_to_kernel() 280 static inline size_t probe_subpage_writeable(char __user *uaddr, size_t size) in probe_subpage_writeable() 298 extern __must_check int check_zeroed_user(const void __user *from, size_t size); 317 * SYSCALL_DEFINE2(foobar, const struct foo __user *, uarg, size_t, usize) 348 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() 349 size_t usize) in copy_struct_from_user() 351 size_t size = min(ksize, usize); in copy_struct_from_user() 352 size_t rest = max(ksize, usize) - size; in copy_struct_from_user() 372 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t siz [all...] |
/kernel/linux/linux-6.6/kernel/module/ |
H A D | decompress.c | 63 static size_t module_gzip_header_len(const u8 *buf, size_t size) in module_gzip_header_len() 66 size_t len = 10; in module_gzip_header_len() 86 const void *buf, size_t size) in module_gzip_decompress() 89 size_t new_size = 0; in module_gzip_decompress() 90 size_t gzip_hdr_len; in module_gzip_decompress() 150 const void *buf, size_t size) in module_xz_decompress() 156 size_t new_size = 0; in module_xz_decompress() 208 const void *buf, size_t size) in module_zstd_decompress() 214 size_t wksp_siz in module_zstd_decompress() [all...] |
/kernel/linux/linux-6.6/security/keys/ |
H A D | internal.h | 161 size_t callout_len, 216 size_t callout_len, 246 extern long keyctl_update_key(key_serial_t, const void __user *, size_t); 252 extern long keyctl_describe_key(key_serial_t, char __user *, size_t); 255 extern long keyctl_read_key(key_serial_t, char __user *, size_t); 259 size_t, key_serial_t); 265 size_t buflen); 287 size_t, struct keyctl_kdf_params __user *); 289 size_t, struct keyctl_kdf_params *); 292 char __user *buffer, size_t bufle [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | socklib.c | 30 size_t count; 34 typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *desc, void *to, 35 size_t len); 46 static size_t 47 xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits() 66 static size_t xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_and_csum_bits() 95 size_t ret; in xdr_partial_copy_from_skb() 207 size_t seek) in xprt_sendmsg() 215 struct kvec *vec, size_t see in xprt_send_kvec() [all...] |
/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | PthreadAttrTest.cpp | 103 size_t getGuardSize; in ThreadPthreadAttrSetguardsize() 104 const size_t setGuardSize = DEF_PROCESS_GUARD_SIZE * 2; in ThreadPthreadAttrSetguardsize() 122 size_t getGuardSize; in HWTEST_F() 123 const size_t setGuardSize = DEF_PROCESS_GUARD_SIZE * 2; in HWTEST_F() 143 size_t stackSize; in ThreadPthreadAttrSetstacksize() 144 size_t guardSize; in ThreadPthreadAttrSetstacksize() 165 size_t stackSize; in HWTEST_F() 191 size_t stackSize; in HWTEST_F() 205 size_t stackSize = 0; in ThreadPthreadAttrSetstack() 223 size_t stackSiz in HWTEST_F() [all...] |
/third_party/gn/src/base/strings/ |
H A D | string_util.h | 33 int vsnprintf(char* buffer, size_t size, const char* format, va_list arguments) 41 size_t size, 45 size_t size, in snprintf() 179 const size_t byte_size, 313 size_t start_offset, 317 size_t start_offset, 328 size_t start_offset, 332 size_t start_offset, 356 char* WriteInto(std::string* str, size_t length_with_null); 357 char16_t* WriteInto(std::u16string* str, size_t length_with_nul [all...] |
/third_party/gn/src/gn/ |
H A D | hash_table_base_unittest.cc | 39 size_t hash() const { return static_cast<size_t>(x_); } in hash() 48 static size_t creation_counter; 49 static size_t destruction_counter; 52 size_t Int::creation_counter; 53 size_t Int::destruction_counter; 62 size_t hash_value() const { return int_ptr->hash(); } in hash_value() 133 size_t hash = static_cast<size_t>(x); in contains() 142 size_t has in insert() [all...] |
/third_party/alsa-lib/include/ |
H A D | local.h | 249 size_t page_align(size_t size); 250 size_t page_size(void); 251 size_t page_ptr(size_t object_offset, size_t object_size, size_t *offset, size_t *mmap_offset); 262 int snd_send_fd(int sock, void *data, size_t len, int fd); 263 int snd_receive_fd(int sock, void *data, size_t le [all...] |
/third_party/lzma/CPP/Common/ |
H A D | UTFConvert.cpp | 144 void CUtf8Check::Check_Buf(const char *src, size_t size) throw()
in Check_Buf() 230 bool Check_UTF8_Buf(const char *src, size_t size, bool allowReduced) throw()
in Check_UTF8_Buf() 339 static bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, const char *srcLim, unsigned flags) throw()
in Utf8_To_Utf16() 341 size_t destPos = 0;
in Utf8_To_Utf16() 473 static size_t Utf16_To_Utf8_Calc(const wchar_t *src, const wchar_t *srcLim, unsigned flags)
in Utf16_To_Utf8_Calc() 475 size_t size = (size_t)(srcLim - src);
in Utf16_To_Utf8_Calc() 660 bool Convert_UTF8_Buf_To_Unicode(const char *src, size_t srcSize, UString &dest, unsigned flags)
in Convert_UTF8_Buf_To_Unicode() 663 size_t destLen = 0;
in Convert_UTF8_Buf_To_Unicode() 709 const size_t destLe in ConvertUnicodeToUTF8_Flags() [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | FileIO.h | 55 bool Parse(const Byte *p, size_t size);
77 bool Parse(const Byte *p, size_t size);
261 bool ReadFull(void *data, size_t size, size_t &processedSize) throw();
276 bool WriteFull(const void *data, size_t size) throw();
334 ssize_t read_part(void *data, size_t size) throw();
335 // ssize_t read_full(void *data, size_t size, size_t &processed);
336 bool ReadFull(void *data, size_t size, size_t [all...] |
/third_party/node/deps/v8/src/zone/ |
H A D | zone-handle-set.h | 26 size_t size() const { in size() 32 Handle<T> at(size_t i) const { in at() 41 Handle<T> operator[](size_t i) const { return at(i); } in operator []() 63 for (size_t i = 0; i < old_list->size(); ++i) { in insert() 69 size_t i = 0; in insert() 97 for (size_t i = 0; i < other.list()->size(); ++i) { in contains() 120 for (size_t i = 0; i < size(); ++i) { in remove() 137 for (size_t i = 0; i < lhs_list->size(); ++i) { in operator ==() 151 friend size_t hash_value(ZoneHandleSet<T> const& set) { in hash_value() 152 return static_cast<size_t>(se in hash_value() [all...] |
/third_party/node/test/cctest/ |
H A D | test_aliased_buffer.cc | 11 for (size_t i = 0, j = buf->size(); i < buf->size(); i++, j--) { in CreateOracleValues() 20 for (size_t i = 0; i < oracle.size(); i++) { in WriteViaOperator() 29 for (size_t i = 0; i < oracle.size(); i++) { in WriteViaSetValue() 40 for (size_t i = 0; i < oracle.size(); i++) { in ReadAndValidate() 57 for (size_t i = 0; i < oracle.size(); i++) { in ReadAndValidate() 77 const size_t size = 100; in ReadWriteTest() 100 size_t count_A, in SharedBufferTest() 101 size_t count_B, in SharedBufferTest() 102 size_t count_C) { in SharedBufferTest() 108 size_t sizeInBytes_ in SharedBufferTest() [all...] |
/third_party/nghttp2/src/ |
H A D | deflatehd.cc | 53 size_t table_size; 54 size_t deflate_table_size; 61 static size_t input_sum; 62 static size_t output_sum; 71 static void to_hex(char *dest, const uint8_t *src, size_t len) { in to_hex() 72 size_t i; in to_hex() 80 size_t buflen, size_t inputlen, in output_to_json() 114 const std::vector<nghttp2_nv> &nva, size_t inputlen, in deflate_hd() 134 size_t inputle in deflate_hd_json() [all...] |
/third_party/libinput/src/ |
H A D | util-prop-parsers.c | 151 parse_dimension_property(const char *prop, size_t *w, size_t *h) in parse_dimension_property() 164 *w = (size_t)x; in parse_dimension_property() 165 *h = (size_t)y; in parse_dimension_property() 184 size_t num_calibration; in parse_calibration_property() 190 for (size_t idx = 0; idx < 6; idx++) { in parse_calibration_property() 368 parse_evcode_property(const char *prop, struct input_event *events, size_t *nevents) in parse_evcode_property() 376 size_t ncodes; in parse_evcode_property() 382 for (size_t idx = 0; strv[idx]; idx++) { in parse_evcode_property() 405 strlen(s) != (size_t)consume in parse_evcode_property() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | c-linkage.cc | 145 size_t kFPParamRegisterCount, in BuildParameterLocations() 146 size_t kParamRegisterCount, in BuildParameterLocations() 157 for (size_t i = 0; i < msig->parameter_count(); i++) { in BuildParameterLocations() 182 size_t kFPParamRegisterCount, 183 size_t kParamRegisterCount, 192 size_t num_params = 0; 193 size_t num_fp_params = 0; 194 for (size_t i = 0; i < msig->parameter_count(); i++) { 228 DCHECK_LE(msig->parameter_count(), static_cast<size_t>(kMaxCParameters)); in GetSimplifiedCDescriptor() 235 for (size_t in GetSimplifiedCDescriptor() [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | page-memory.cc | 64 size_t allocation_size) { in ReserveMemoryRegion() 99 constexpr size_t NormalPageMemoryRegion::kNumPageRegions; 110 for (size_t i = 0; i < kNumPageRegions; ++i) { in NormalPageMemoryRegion() 119 const size_t index = GetIndex(writeable_base); in Allocate() 125 const size_t index = GetIndex(writeable_base); in Free() 131 for (size_t i = 0; i < kNumPageRegions; ++i) { in UnprotectForTesting() 138 size_t length) in LargePageMemoryRegion() 174 void NormalPageMemoryPool::Add(size_t bucket, NormalPageMemoryRegion* pmr, in Add() 181 size_t bucket) { in Take() 195 Address PageBackend::AllocateNormalPageMemory(size_t bucke [all...] |
/third_party/mindspore/test/utils/ |
H A D | model_utils.cpp | 55 size_t num = 0; in IsNPU() 70 size_t num = 0; in AddContextDeviceNNRT() 101 for (size_t i = 0; i < inputs.handle_num; ++i) { in FillInputsData() 103 size_t size1; in FillInputsData() 104 size_t *ptrSize1 = &size1; in FillInputsData() 116 size_t shapeNum; in FillInputsData() 143 for (size_t i = 0; i < outputs.handle_num; ++i) { in CompareResult() 168 size_t size; in ModelPredict() 169 size_t *ptrSize = &size; in ModelPredict() 219 size_t siz in ModelPredict_ModelBuild() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_siv.c | 30 static void *aes_siv_newctx(void *provctx, size_t keybits, unsigned int mode, in aes_siv_newctx() 79 static int siv_init(void *vctx, const unsigned char *key, size_t keylen, in siv_init() 80 const unsigned char *iv, size_t ivlen, in siv_init() 101 static int siv_einit(void *vctx, const unsigned char *key, size_t keylen, in siv_einit() 102 const unsigned char *iv, size_t ivlen, in siv_einit() 108 static int siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in siv_dinit() 109 const unsigned char *iv, size_t ivlen, in siv_dinit() 115 static int siv_cipher(void *vctx, unsigned char *out, size_t *outl, in siv_cipher() 116 size_t outsize, const unsigned char *in, size_t in in siv_cipher() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | kbkdf.c | 64 size_t ki_len; 66 size_t label_len; 68 size_t context_len; 70 size_t iv_len; 152 size_t iv_len, unsigned char *label, size_t label_len, in derive() 153 unsigned char *context, size_t context_len, in derive() 154 unsigned char *k_i, size_t h, uint32_t l, int has_separator, in derive() 155 unsigned char *ko, size_t ko_len) in derive() 159 size_t writte in derive() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/macs/ |
H A D | hmac_prov.c | 53 size_t keylen; 55 size_t tls_data_size; 59 size_t tls_mac_out_size; 65 size_t *md_out_size, 68 size_t data_size, 69 size_t data_plus_mac_plus_padding_size, 71 size_t mac_secret_length, char is_sslv3); 137 static size_t hmac_size(struct hmac_data_st *macctx) in hmac_size() 152 const unsigned char *key, size_t keylen) in hmac_setkey() 174 size_t keyle in hmac_init() [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | passphrase.c | 35 size_t passphrase_len) in ossl_pw_set_passphrase() 118 static int do_ui_passphrase(char *pass, size_t pass_size, size_t *pass_len, in do_ui_passphrase() 195 *pass_len = (size_t)res; in do_ui_passphrase() 210 int ossl_pw_get_passphrase(char *pass, size_t pass_size, size_t *pass_len, in ossl_pw_get_passphrase() 215 size_t source_len = 0; in ossl_pw_get_passphrase() 318 size_t password_len = 0; in ossl_pw_get_password() 325 if (ossl_pw_get_passphrase(buf, (size_t)size, &password_len, params, in ossl_pw_get_password() 341 int ossl_pw_passphrase_callback_enc(char *pass, size_t pass_siz [all...] |