Home
last modified time | relevance | path

Searched refs:size_t (Results 7601 - 7625 of 37303) sorted by relevance

1...<<301302303304305306307308309310>>...1493

/kernel/linux/linux-5.10/drivers/parport/
H A Dparport_pc.c259 static size_t parport_pc_epp_read_data(struct parport *port, void *buf, in parport_pc_epp_read_data()
260 size_t length, int flags) in parport_pc_epp_read_data()
262 size_t got = 0; in parport_pc_epp_read_data()
266 size_t left = length; in parport_pc_epp_read_data()
325 static size_t parport_pc_epp_write_data(struct parport *port, const void *buf, in parport_pc_epp_write_data()
326 size_t length, int flags) in parport_pc_epp_write_data()
328 size_t written = 0; in parport_pc_epp_write_data()
353 static size_t parport_pc_epp_read_addr(struct parport *port, void *buf, in parport_pc_epp_read_addr()
354 size_t length, int flags) in parport_pc_epp_read_addr()
356 size_t go in parport_pc_epp_read_addr()
[all...]
/kernel/linux/linux-6.6/drivers/vfio/
H A Dvfio_iommu_type1.c92 size_t size; /* Map size (bytes) */
101 size_t locked_vm;
138 size_t len;
166 dma_addr_t start, size_t size) in vfio_find_dma()
234 static int vfio_dma_bitmap_alloc(struct vfio_dma *dma, size_t pgsize) in vfio_dma_bitmap_alloc()
260 static void vfio_dma_populate_bitmap(struct vfio_dma *dma, size_t pgsize) in vfio_dma_populate_bitmap()
284 static int vfio_dma_bitmap_alloc_all(struct vfio_iommu *iommu, size_t pgsize) in vfio_dma_bitmap_alloc_all()
979 static size_t unmap_unpin_fast(struct vfio_domain *domain, in unmap_unpin_fast()
981 size_t len, phys_addr_t phys, long *unlocked, in unmap_unpin_fast()
986 size_t unmappe in unmap_unpin_fast()
[all...]
/kernel/linux/linux-6.6/drivers/parport/
H A Dparport_pc.c266 static size_t parport_pc_epp_read_data(struct parport *port, void *buf, in parport_pc_epp_read_data()
267 size_t length, int flags) in parport_pc_epp_read_data()
269 size_t got = 0; in parport_pc_epp_read_data()
273 size_t left = length; in parport_pc_epp_read_data()
338 static size_t parport_pc_epp_write_data(struct parport *port, const void *buf, in parport_pc_epp_write_data()
339 size_t length, int flags) in parport_pc_epp_write_data()
341 size_t written = 0; in parport_pc_epp_write_data()
372 static size_t parport_pc_epp_read_addr(struct parport *port, void *buf, in parport_pc_epp_read_addr()
373 size_t length, int flags) in parport_pc_epp_read_addr()
375 size_t go in parport_pc_epp_read_addr()
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-sysfs.c167 const char *buf, size_t size) in reset_store()
294 const char *buf, size_t size) in mode_store()
460 const char *buf, size_t size) in pe_store()
495 const char *buf, size_t size) in event_store()
544 const char *buf, size_t size) in event_instren_store()
600 const char *buf, size_t size) in event_ts_store()
630 const char *buf, size_t size) in syncfreq_store()
660 const char *buf, size_t size) in cyc_threshold_store()
693 const char *buf, size_t size) in bb_ctrl_store()
733 const char *buf, size_t siz in event_vinst_store()
[all...]
/third_party/node/deps/brotli/c/dec/
H A Ddecode.c1010 (uint8_t*)BROTLI_DECODER_ALLOC(s, (size_t)context_map_size); in DecodeContextMap()
1015 memset(*context_map_arg, 0, (size_t)context_map_size); in DecodeContextMap()
1166 size_t i; in DetectTrivialLiteralBlockTypes()
1169 size_t offset = i << BROTLI_LITERAL_CONTEXT_BITS; in DetectTrivialLiteralBlockTypes()
1170 size_t error = 0; in DetectTrivialLiteralBlockTypes()
1171 size_t sample = s->context_map[offset]; in DetectTrivialLiteralBlockTypes()
1172 size_t j; in DetectTrivialLiteralBlockTypes()
1184 size_t trivial; in PrepareLiteralDecoding()
1257 static size_t UnwrittenBytes(const BrotliDecoderState* s, BROTLI_BOOL wrap) { in UnwrittenBytes()
1258 size_t po in UnwrittenBytes()
[all...]
/third_party/skia/third_party/externals/brotli/c/dec/
H A Ddecode.c1010 (uint8_t*)BROTLI_DECODER_ALLOC(s, (size_t)context_map_size); in DecodeContextMap()
1015 memset(*context_map_arg, 0, (size_t)context_map_size); in DecodeContextMap()
1166 size_t i; in DetectTrivialLiteralBlockTypes()
1169 size_t offset = i << BROTLI_LITERAL_CONTEXT_BITS; in DetectTrivialLiteralBlockTypes()
1170 size_t error = 0; in DetectTrivialLiteralBlockTypes()
1171 size_t sample = s->context_map[offset]; in DetectTrivialLiteralBlockTypes()
1172 size_t j; in DetectTrivialLiteralBlockTypes()
1184 size_t trivial; in PrepareLiteralDecoding()
1257 static size_t UnwrittenBytes(const BrotliDecoderState* s, BROTLI_BOOL wrap) { in UnwrittenBytes()
1258 size_t po in UnwrittenBytes()
[all...]
/third_party/node/src/
H A Dnode_http2.cc207 static_cast<size_t>(buffer[IDX_OPTIONS_MAX_SETTINGS])); in Http2Options()
219 size_t Http2Settings::Init( in Init()
225 size_t count = 0; in Init()
266 size_t count = Init(state, entries); in Pack()
272 size_t count, in Pack()
369 size_t origin_count) in Origins()
402 size_t n = 0; in Origins()
458 void Http2Session::CheckAllocatedSize(size_t previous_size) const { in CheckAllocatedSize()
462 void Http2Session::IncreaseAllocatedSize(size_t size) { in IncreaseAllocatedSize()
466 void Http2Session::DecreaseAllocatedSize(size_t siz
[all...]
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h495 template <typename F, std::size_t... tuple_ids>
610 template <size_t N>
716 template <typename Tup, size_t kRemainingSize>
879 const size_t i1 = s1.find(nul), i2 = s2.find(nul); in CaseInsensitiveStringEquals()
1283 for (size_t i = 0; i < matchers_.size(); ++i) {
1292 for (size_t i = 0; i < matchers_.size(); ++i) {
1305 for (size_t i = 0; i < matchers_.size(); ++i) {
1353 CreateVariadicMatcher<T>(&values, std::integral_constant<size_t, 0>()); in operator Matcher()
1358 template <typename T, size_t I>
1360 std::integral_constant<size_t, in CreateVariadicMatcher()
[all...]
/kernel/linux/linux-5.10/drivers/iommu/
H A Dio-pgtable-arm.c187 static void *__arm_lpae_alloc_pages(size_t size, gfp_t gfp, in __arm_lpae_alloc_pages()
226 static void __arm_lpae_free_pages(void *pages, size_t size, in __arm_lpae_free_pages()
251 static size_t __arm_lpae_unmap(struct arm_lpae_io_pgtable *data,
253 unsigned long iova, size_t size, int lvl,
289 size_t sz = ARM_LPAE_BLOCK_SIZE(lvl, data); in arm_lpae_init_pte()
335 phys_addr_t paddr, size_t size, arm_lpae_iopte prot, in __arm_lpae_map()
339 size_t block_size = ARM_LPAE_BLOCK_SIZE(lvl, data); in __arm_lpae_map()
340 size_t tblsz = ARM_LPAE_GRANULE(data); in __arm_lpae_map()
445 phys_addr_t paddr, size_t size, int iommu_prot, gfp_t gfp) in arm_lpae_map()
516 static size_t arm_lpae_split_blk_unma
[all...]
H A Dvirtio-iommu.c103 static int viommu_get_req_errno(void *buf, size_t len) in viommu_get_req_errno()
129 static void viommu_set_req_status(void *buf, size_t len, int status) in viommu_set_req_status()
138 size_t len) in viommu_get_write_desc_offset()
140 size_t tail_size = sizeof(struct virtio_iommu_req_tail); in viommu_get_write_desc_offset()
157 size_t write_len; in __viommu_sync_req()
217 static int __viommu_add_req(struct viommu_dev *viommu, void *buf, size_t len, in __viommu_add_req()
264 static int viommu_add_req(struct viommu_dev *viommu, void *buf, size_t len) in viommu_add_req()
283 size_t len) in viommu_send_req_sync()
314 phys_addr_t paddr, size_t size, u32 flags) in viommu_add_mapping()
345 static size_t viommu_del_mapping
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Ddebug.c176 size_t count, loff_t *ppos) in read_file_beacon()
225 size_t count, loff_t *ppos) in write_file_beacon()
230 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_beacon()
258 size_t count, loff_t *ppos) in write_file_reset()
297 size_t count, loff_t *ppos) in read_file_debug()
326 size_t count, loff_t *ppos) in write_file_debug()
332 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_debug()
359 size_t count, loff_t *ppos) in read_file_antenna()
431 size_t count, loff_t *ppos) in write_file_antenna()
437 count = min_t(size_t, coun in write_file_antenna()
[all...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dpci-sysfs.c64 const char *buf, size_t count) in broken_parity_status_store()
263 const char *buf, size_t count) in enable_store()
303 size_t count) in numa_node_store()
366 const char *buf, size_t count) in msi_bus_store()
401 static ssize_t rescan_store(struct bus_type *bus, const char *buf, size_t count) in rescan_store()
435 size_t count) in dev_rescan_store()
454 const char *buf, size_t count) in remove_store()
470 const char *buf, size_t count) in bus_rescan_store()
494 const char *buf, size_t count) in d3cold_allowed_store()
535 const char *buf, size_t coun in driver_override_store()
[all...]
/kernel/linux/linux-6.6/drivers/base/firmware_loader/
H A Dmain.c115 size_t size, in __allocate_fw_priv()
116 size_t offset, in __allocate_fw_priv()
168 struct fw_priv **fw_priv, void *dbuf, size_t size, in alloc_lookup_fw_priv()
169 size_t offset, u32 opt_flags) in alloc_lookup_fw_priv()
311 size_t in_size, const void *in_buffer) in fw_decompress_zstd()
313 size_t len, out_size, workspace_size; in fw_decompress_zstd()
386 size_t in_size, const void *in_buffer) in fw_decompress_xz_single()
412 size_t in_size, const void *in_buffer) in fw_decompress_xz_pages()
459 size_t in_size, const void *in_buffer) in fw_decompress_xz()
492 size_t in_siz in fw_get_filesystem_firmware()
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtb.h55 size_t active_size;
59 size_t buf_data_size;
500 const void *buf, size_t size);
501 int (*get_boot_acl)(struct tb *tb, uuid_t *uuids, size_t nuuids);
502 int (*set_boot_acl)(struct tb *tb, const uuid_t *uuids, size_t nuuids);
516 u8 *status, const void *tx_data, size_t tx_data_len,
517 void *rx_data, size_t rx_data_len);
733 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize);
775 size_t bytes);
780 typedef int (*read_block_fn)(void *, unsigned int, void *, size_t);
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
H A Ddebug.c176 size_t count, loff_t *ppos) in read_file_beacon()
225 size_t count, loff_t *ppos) in write_file_beacon()
230 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_beacon()
258 size_t count, loff_t *ppos) in write_file_reset()
297 size_t count, loff_t *ppos) in read_file_debug()
326 size_t count, loff_t *ppos) in write_file_debug()
332 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_debug()
359 size_t count, loff_t *ppos) in read_file_antenna()
431 size_t count, loff_t *ppos) in write_file_antenna()
437 count = min_t(size_t, coun in write_file_antenna()
[all...]
/third_party/backends/backend/
H A Dgt68xx_mid.c224 size_t size; in line_read_gray_8()
243 size_t size; in line_read_gray_double_8()
269 size_t size; in line_read_gray_12()
287 size_t size; in line_read_gray_double_12()
313 size_t size; in line_read_gray_16()
331 size_t size; in line_read_gray_double_16()
358 size_t size; in line_read_rgb_8_line_mode()
392 size_t size; in line_read_rgb_double_8_line_mode()
438 size_t size; in line_read_bgr_8_line_mode()
471 size_t siz in line_read_rgb_12_line_mode()
[all...]
/third_party/curl/lib/
H A Dc-hyper.c73 size_t Curl_hyper_recv(void *userp, hyper_context *ctx, in Curl_hyper_recv()
74 uint8_t *buf, size_t buflen) in Curl_hyper_recv()
102 return (size_t)nread; in Curl_hyper_recv()
105 size_t Curl_hyper_send(void *userp, hyper_context *ctx, in Curl_hyper_send()
106 const uint8_t *buf, size_t buflen) in Curl_hyper_send()
134 return (size_t)nwrote; in Curl_hyper_send()
139 size_t name_len, in hyper_each_header()
141 size_t value_len) in hyper_each_header()
144 size_t len; in hyper_each_header()
201 size_t le in hyper_body_chunk()
[all...]
/third_party/nghttp2/src/
H A Dutil.cc138 std::string percent_encode(const unsigned char *target, size_t len) { in percent_encode()
140 for (size_t i = 0; i < len; ++i) { in percent_encode()
203 size_t percent_encode_tokenlen(const StringRef &target) { in percent_encode_tokenlen()
204 size_t n = 0; in percent_encode_tokenlen()
249 size_t quote_stringlen(const StringRef &target) { in quote_stringlen()
250 size_t n = 0; in quote_stringlen()
265 Iterator cpydig(Iterator d, uint32_t n, size_t len) { in cpydig()
501 std::string format_hex(const unsigned char *s, size_t len) { in format_hex()
505 for (size_t i = 0; i < len; ++i) { in format_hex()
616 for (size_t in show_candidates()
[all...]
/third_party/mesa3d/src/util/
H A Dxxhash.h181 #include <stddef.h> /* size_t */
211 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed);
242 XXH_PUBLIC_API XXH_errorcode XXH32_update (XXH32_state_t* statePtr, const void* input, size_t length);
286 XXH_PUBLIC_API XXH64_hash_t XXH64 (const void* input, size_t length, XXH64_hash_t seed);
295 XXH_PUBLIC_API XXH_errorcode XXH64_update (XXH64_state_t* statePtr, const void* input, size_t length);
443 static void* XXH_malloc(size_t s) { return malloc(s); } in XXH_malloc()
447 static void* XXH_memcpy(void* dest, const void* src, size_t size) { return memcpy(dest,src,size); } in XXH_memcpy()
708 XXH32_finalize(xxh_u32 h32, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH32_finalize()
777 XXH32_endian_align(const xxh_u8* input, size_t len, xxh_u32 seed, XXH_alignment align) in XXH32_endian_align()
785 bEnd=input=(const xxh_u8*)(size_t)1 in XXH32_endian_align()
[all...]
/third_party/lwip/src/apps/altcp_tls/
H A Daltcp_tls_mbedtls.c127 static int altcp_mbedtls_bio_send(void *ctx, const unsigned char *dataptr, size_t size);
450 altcp_mbedtls_bio_recv(void *ctx, unsigned char *buf, size_t len) in altcp_mbedtls_bio_recv()
673 size_t sz; in altcp_tls_create_config()
800 const u8_t *privkey, size_t privkey_len, in altcp_tls_config_server_add_privkey_cert()
801 const u8_t *privkey_pass, size_t privkey_pass_len, in altcp_tls_config_server_add_privkey_cert()
802 const u8_t *cert, size_t cert_len) in altcp_tls_config_server_add_privkey_cert()
853 altcp_tls_create_config_server_privkey_cert(const u8_t *privkey, size_t privkey_len, in altcp_tls_create_config_server_privkey_cert()
854 const u8_t *privkey_pass, size_t privkey_pass_len, in altcp_tls_create_config_server_privkey_cert()
855 const u8_t *cert, size_t cert_len) in altcp_tls_create_config_server_privkey_cert()
872 altcp_tls_create_config_client_common(const u8_t *ca, size_t ca_le
[all...]
/third_party/lwip/test/unit/mdns/
H A Dtest_mdns.c49 p->payload = (void *)(size_t)data; in START_TEST()
68 p->payload = (void *)(size_t)data; in START_TEST()
87 p->payload = (void *)(size_t)data; in START_TEST()
112 p->payload = (void *)(size_t)data; in START_TEST()
168 p->payload = (void *)(size_t)data; in START_TEST()
193 p->payload = (void *)(size_t)data; in START_TEST()
222 p->payload = (void *)(size_t)data; in START_TEST()
256 p->payload = (void *)(size_t)data; in START_TEST()
282 p->payload = (void *)(size_t)data; in START_TEST()
304 p->payload = (void *)(size_t)dat in START_TEST()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha256_hw.c35 void sha256_block_data_order(void *c, const void *p, size_t len);
36 int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks,
48 size_t keylen) in aesni_cbc_hmac_sha256_init_key()
71 void sha256_block_data_order(void *c, const void *p, size_t len);
73 static void sha256_update(SHA256_CTX *c, const void *data, size_t len) in sha256_update()
76 size_t res; in sha256_update()
125 static size_t tls1_multi_block_encrypt(void *vctx, in tls1_multi_block_encrypt()
128 size_t inp_len, int n4x) in tls1_multi_block_encrypt()
143 size_t ret = 0; in tls1_multi_block_encrypt()
153 mctx = (SHA256_MB_CTX *) (storage + 32 - ((size_t)storag in tls1_multi_block_encrypt()
[all...]
/third_party/node/deps/uv/src/win/
H A Dutil.c96 int uv_exepath(char* buffer, size_t* size_ptr) { in uv_exepath()
154 int uv_cwd(char* buffer, size_t* size) { in uv_cwd()
229 size_t utf16_len, new_utf16_len; in uv_chdir()
457 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title()
458 size_t len; in uv_get_process_title()
517 int uv_resident_set_memory(size_t* rss) { in uv_resident_set_memory()
607 size_t len; in uv_cpu_info()
754 size_t uv_address_buf_size; in uv_interface_addresses()
907 size_t max_name_size; in uv_interface_addresses()
915 if (max_name_size > (size_t) INT_MA in uv_interface_addresses()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.hpp109 virtual size_t getVertexByteSize (void) const = 0;
113 virtual size_t getIndexByteSize (void) const = 0;
233 size_t getVertexByteSize (void) const override;
237 size_t getIndexByteSize (void) const override;
247 size_t getBlockSize () const; // Return stored vertex buffer block size.
274 size_t trianglesBlockSize;
275 size_t aabbsBlockSize;
279 size_t m_vertexCount;
285 static constexpr size_t kVertexSize = sizeof(V);
286 static constexpr size_t kIndexSiz
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha256_hw.c35 void sha256_block_data_order(void *c, const void *p, size_t len);
36 int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks,
48 size_t keylen) in aesni_cbc_hmac_sha256_init_key()
71 void sha256_block_data_order(void *c, const void *p, size_t len);
73 static void sha256_update(SHA256_CTX *c, const void *data, size_t len) in sha256_update()
76 size_t res; in sha256_update()
125 static size_t tls1_multi_block_encrypt(void *vctx, in tls1_multi_block_encrypt()
128 size_t inp_len, int n4x) in tls1_multi_block_encrypt()
143 size_t ret = 0; in tls1_multi_block_encrypt()
153 mctx = (SHA256_MB_CTX *) (storage + 32 - ((size_t)storag in tls1_multi_block_encrypt()
[all...]

Completed in 51 milliseconds

1...<<301302303304305306307308309310>>...1493