/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 104 static int p2p_sd_dns_uncompress(char *buf, size_t buf_len, const u8 *msg, in p2p_sd_dns_uncompress() 105 size_t msg_len, size_t offset) in p2p_sd_dns_uncompress() 155 size_t len; in wpas_p2p_service_get_bonjour() 264 size_t query_len) in match_bonjour_query() 292 const u8 *query, size_t query_len) in wpas_sd_req_bonjour() 399 const u8 *query, size_t query_len) in wpas_sd_req_upnp() 481 const u8 *query, size_t query_len) in wpas_sd_req_wfd() 535 const u8 *needle, size_t needle_len) in find_p2ps_substr() 538 size_t haystack_le in find_p2ps_substr() [all...] |
/kernel/linux/linux-5.10/drivers/base/ |
H A D | devres.c | 23 size_t size; 51 size_t size) in set_node_dbginfo() 92 static bool check_dr_size(size_t size, size_t *tot_size) in check_dr_size() 103 size_t size, gfp_t gfp, int nid) in alloc_dr() 105 size_t tot_size; in alloc_dr() 138 void * __devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid, in __devres_alloc_node() 165 void * devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid) in devres_alloc_node() 826 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kmalloc() 864 void *devm_krealloc(struct device *dev, void *ptr, size_t new_siz [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | blk-sysfs.c | 24 ssize_t (*store)(struct request_queue *, const char *, size_t); 34 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store() 67 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() 98 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() 183 const char *page, size_t count) in queue_discard_max_store() 230 queue_max_sectors_store(struct request_queue *q, const char *page, size_t count) in queue_max_sectors_store() 270 queue_##name##_store(struct request_queue *q, const char *page, size_t count) \ 327 size_t count) in queue_nomerges_store() 354 queue_rq_affinity_store(struct request_queue *q, const char *page, size_t count) in queue_rq_affinity_store() 391 size_t coun in queue_poll_delay_store() [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-log-writes.c | 212 size_t entrylen, void *data, size_t datalen, in write_metadata() 218 size_t ret; in write_metadata() 264 size_t entrylen, void *data, size_t datalen, in write_inline_data() 270 size_t ret; in write_inline_data() 336 size_t metadatalen, ret; in log_one_block() 609 size_t maxsize = lc->sectorsize - sizeof(struct log_write_entry); in log_mark() 672 size_t alloc_size; in log_writes_map() 903 static int log_dax(struct log_writes_c *lc, sector_t sector, size_t byte [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | net_driver.h | 593 void (*get_name)(struct efx_channel *, char *buf, size_t len); 1361 size_t (*describe_stats)(struct efx_nic *efx, u8 *names); 1362 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats, 1364 size_t (*update_stats_atomic)(struct efx_nic *efx, u64 *full_stats, 1383 const efx_dword_t *hdr, size_t hdr_len, 1384 const efx_dword_t *sdu, size_t sdu_len); 1387 size_t pdu_offset, size_t pdu_len); 1453 int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len, 1454 size_t *retle [all...] |
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | smem.c | 245 size_t size; 267 size_t global_cacheline; 269 size_t cacheline[SMEM_HOST_COUNT]; 287 size_t cacheline) in phdr_to_first_cached_entry() 321 cached_entry_next(struct smem_private_entry *e, size_t cacheline) in cached_entry_next() 351 size_t size) in qcom_smem_alloc_private() 354 size_t alloc_size; in qcom_smem_alloc_private() 401 size_t size) in qcom_smem_alloc_global() 441 int qcom_smem_alloc(unsigned host, unsigned item, size_t size) in qcom_smem_alloc() 483 size_t *siz in qcom_smem_get_global() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | net_driver.h | 590 void (*get_name)(struct efx_channel *, char *buf, size_t len); 1372 size_t (*describe_stats)(struct efx_nic *efx, u8 *names); 1373 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats, 1375 size_t (*update_stats_atomic)(struct efx_nic *efx, u64 *full_stats, 1396 const efx_dword_t *hdr, size_t hdr_len, 1397 const efx_dword_t *sdu, size_t sdu_len); 1400 size_t pdu_offset, size_t pdu_len); 1466 int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len, 1467 size_t *retle [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 592 void (*get_name)(struct efx_channel *, char *buf, size_t len); 1323 size_t (*describe_stats)(struct efx_nic *efx, u8 *names); 1324 size_t (*update_stats)(struct efx_nic *efx, u64 *full_stats, 1326 size_t (*update_stats_atomic)(struct efx_nic *efx, u64 *full_stats, 1347 const efx_dword_t *hdr, size_t hdr_len, 1348 const efx_dword_t *sdu, size_t sdu_len); 1351 size_t pdu_offset, size_t pdu_len); 1417 int (*mtd_read)(struct mtd_info *mtd, loff_t start, size_t len, 1418 size_t *retle [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-sysfs.c | 26 ssize_t (*store)(struct request_queue *, const char *, size_t); 36 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store() 56 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() 89 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() 175 const char *page, size_t count) in queue_discard_max_store() 227 queue_max_sectors_store(struct request_queue *q, const char *page, size_t count) in queue_max_sectors_store() 287 queue_##name##_store(struct request_queue *q, const char *page, size_t count) \ 344 size_t count) in queue_nomerges_store() 371 queue_rq_affinity_store(struct request_queue *q, const char *page, size_t count) in queue_rq_affinity_store() 401 size_t coun in queue_poll_delay_store() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_format_helper_test.c | 439 static size_t conversion_buf_size(u32 dst_format, unsigned int dst_pitch, in conversion_buf_size() 453 static u16 *le16buf_to_cpu(struct kunit *test, const __le16 *buf, size_t buf_size) in le16buf_to_cpu() 468 static u32 *le32buf_to_cpu(struct kunit *test, const __le32 *buf, size_t buf_size) in le32buf_to_cpu() 483 static __le32 *cpubuf_to_le32(struct kunit *test, const u32 *buf, size_t buf_size) in cpubuf_to_le32() 511 size_t dst_size; in drm_test_fb_xrgb8888_to_gray8() 541 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb332() 571 size_t dst_size; in drm_test_fb_xrgb8888_to_rgb565() 607 size_t dst_size; in drm_test_fb_xrgb8888_to_xrgb1555() 638 size_t dst_size; in drm_test_fb_xrgb8888_to_argb1555() 669 size_t dst_siz in drm_test_fb_xrgb8888_to_rgba5551() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 32 size_t n_bits; 38 size_t n_bits); 42 size_t n_bits) in tlpm_add() 45 size_t n; in tlpm_add() 82 size_t n_bits) in tlpm_match() 85 size_t i; in tlpm_match() 111 size_t n_bits) in tlpm_delete() 172 size_t i, j; in test_lpm_order() 211 volatile size_t n_matches, n_matches_after_delete; in test_lpm_map() 212 size_t in test_lpm_map() [all...] |
/third_party/exfatprogs/lib/ |
H A D | libexfat.c | 210 ssize_t exfat_read(int fd, void *buf, size_t size, off_t offset) in exfat_read() 215 ssize_t exfat_write(int fd, void *buf, size_t size, off_t offset) in exfat_write() 220 size_t exfat_utf16_len(const __le16 *str, size_t max_size) in exfat_utf16_len() 222 size_t i = 0; in exfat_utf16_len() 229 ssize_t exfat_utf16_enc(const char *in_str, __u16 *out_str, size_t out_size) in exfat_utf16_enc() 231 size_t mbs_len, out_len, i; in exfat_utf16_enc() 235 if (mbs_len == (size_t)-1) { in exfat_utf16_enc() 246 if (mbstowcs(wcs, in_str, mbs_len+1) == (size_t)-1) { in exfat_utf16_enc() 276 ssize_t exfat_utf16_dec(const __u16 *in_str, size_t in_le [all...] |
/third_party/backends/backend/ |
H A D | cardscan.c | 607 size_t bytes = HEADER_SIZE + CAL_COLOR_SIZE*2 + CAL_GRAY_SIZE*2; in load_calibration() 1029 size_t bytes = HEADER_SIZE + 1; in heat_lamp_gray() 1091 size_t bytes = HEADER_SIZE + 3; in heat_lamp_color() 1227 size_t bytes = HEADER_SIZE + s->gray_block_size; in read_from_scanner_gray() 1292 size_t bytes = HEADER_SIZE + s->color_block_size; in read_from_scanner_color() 1392 size_t bytes = sizeof(buf); in power_down() 1413 size_t bytes = sizeof(buf); in power_down() 1512 unsigned char * cmdBuff, size_t cmdLen, in do_cmd() 1513 unsigned char * outBuff, size_t outLen, in do_cmd() 1514 unsigned char * inBuff, size_t * inLe in do_cmd() [all...] |
/third_party/mbedtls/programs/test/ |
H A D | benchmark.c | 95 * block. ptmalloc2/3 (used in gnu libc for instance) uses 2 size_t per block, 98 #define MEM_BLOCK_OVERHEAD (2 * sizeof(size_t)) 174 size_t max_used, max_blocks, max_bytes; \ 175 size_t prv_used, prv_blocks; \ 176 size_t alloc_cnt, free_cnt, prv_alloc, prv_free; \ 452 static int myrand(void *rng_state, unsigned char *output, size_t len) in myrand() 454 size_t use_len; in myrand() 742 size_t iv_off = 0; in main() 783 size_t nc_off; in main() 1080 const size_t dhm_P_siz in main() [all...] |
/third_party/node/src/ |
H A D | udp_wrap.cc | 78 size_t msg_size; 517 size_t count = args[2].As<Uint32>()->Value(); in DoSend() 522 for (size_t i = 0; i < count; i++) { in DoSend() 526 size_t length = Buffer::Length(chunk); in DoSend() 557 size_t count, in Send() 561 size_t msg_size = 0; in Send() 562 for (size_t i = 0; i < count; i++) in Send() 571 size_t sent = err; in Send() 582 CHECK_EQ(static_cast<size_t>(err), msg_size); in Send() 614 ReqWrap<uv_udp_send_t>* UDPWrap::CreateSendWrap(size_t msg_siz [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__hosts_file.c | 95 size_t refcnt; /*! If the entry is stored multiple times in the 106 size_t len = 0; in ares__read_file_into_buf() 107 size_t ptr_len = 0; in ares__read_file_into_buf() 143 len = (size_t)ftell_len; in ares__read_file_into_buf() 181 size_t i; in ares__is_hostname() 191 size_t *out_len) in ares_dns_pton() 194 size_t ptr_len = 0; in ares_dns_pton() 227 size_t out_len) in ares__normalize_ipaddr() 231 size_t addr_len = 0; in ares__normalize_ipaddr() 395 size_t num_hostname in ares__hosts_file_add() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | read-only-spaces.cc | 32 for (size_t i = 0; i < ReadOnlyHeap::kEntriesCount; ++i) { in CopyAndRebaseRoots() 86 size_t size = RoundUp(chunk->size(), page_allocator_->AllocatePageSize()); in ~SingleCopyReadOnlyArtifacts() 145 for (size_t i = 0; i < pages_.size(); ++i) { in CreateReadOnlySpace() 200 PointerCompressedReadOnlyArtifacts::RemapPageTo(size_t i, Address new_address, in RemapPageTo() 227 size_t size = RoundUp(page->size(), page_allocator->AllocatePageSize()); in Initialize() 332 ReadOnlyPage::ReadOnlyPage(Heap* heap, BaseSpace* space, size_t chunk_size, in ReadOnlyPage() 562 size_t total_capacity = 0; in VerifyCounters() 563 size_t total_allocated = 0; in VerifyCounters() 567 size_t real_allocated = 0; in VerifyCounters() 585 size_t ReadOnlySpac [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | ModifyStruct.cpp | 22 size_t ModifiedStructMachineries::size() const in size() 27 const ModifiedStructMachinery &ModifiedStructMachineries::at(size_t index) const in at() 383 void addPadding(size_t padAmount, bool updateLayout) 390 const size_t begin = modifiedFields.size(); 469 const size_t size = modifiedFields.size(); 471 for (size_t i = 0; i < size; ++i) 504 const size_t j = i + 1; 511 const size_t pad = unpackedGlslLayout.sizeOf - packedGlslLayout.sizeOf; 550 size_t prePadAmount = 0; 553 const size_t prePaddedSiz [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_build.c | 155 size_t i; in p2p_buf_add_channel_list() 191 size_t nlen, i; in p2p_buf_add_device_info() 291 const u8 *ssid, size_t ssid_len) in p2p_buf_add_group_id() 404 size_t info_len = 0; in p2p_buf_add_session_info() 479 size_t *total_len, u8 *attr_len) in p2p_buf_add_service_info() 481 size_t svc_len; in p2p_buf_add_service_info() 482 size_t remaining; in p2p_buf_add_service_info() 483 size_t info_len; in p2p_buf_add_service_info() 527 size_t front = remaining; in p2p_buf_add_service_info() 528 size_t bac in p2p_buf_add_service_info() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | utils_module_tests.c | 26 size_t len; 48 size_t binlen; in printf_encode_decode_tests() 299 size_t res_len; in base64_tests() 365 size_t len; in common_tests() 455 ptr = os_calloc((size_t) -1, (size_t) -1); in os_tests() 460 ptr = os_calloc((size_t) 2, (size_t) -1); in os_tests() 465 ptr = os_calloc((size_t) -1, (size_t) in os_tests() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_build.c | 155 size_t i; in p2p_buf_add_channel_list() 191 size_t nlen, i; in p2p_buf_add_device_info() 291 const u8 *ssid, size_t ssid_len) in p2p_buf_add_group_id() 404 size_t info_len = 0; in p2p_buf_add_session_info() 479 size_t *total_len, u8 *attr_len) in p2p_buf_add_service_info() 481 size_t svc_len; in p2p_buf_add_service_info() 482 size_t remaining; in p2p_buf_add_service_info() 483 size_t info_len; in p2p_buf_add_service_info() 527 size_t front = remaining; in p2p_buf_add_service_info() 528 size_t bac in p2p_buf_add_service_info() [all...] |
/third_party/vulkan-loader/tests/framework/ |
H A D | test_environment.h | 104 void handle_assert_no_values(size_t length, T handles[]) { in handle_assert_no_values() 105 for (size_t i = 0; i < length; i++) { in handle_assert_no_values() 116 for (size_t i = 0; i < left.size(); i++) { in handle_assert_equal() 121 void handle_assert_equal(size_t count, T left[], T right[]) { in handle_assert_equal() 122 for (size_t i = 0; i < count; i++) { in handle_assert_equal() 602 TestICD& get_test_icd(size_t index = 0) noexcept; 603 TestICD& reset_icd(size_t index = 0) noexcept; 604 fs::path get_test_icd_path(size_t index = 0) noexcept; 605 fs::path get_icd_manifest_path(size_t index = 0) noexcept; 606 fs::path get_shimmed_icd_manifest_path(size_t inde [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | wnm_ap.c | 54 size_t len; in ieee802_11_send_wnmsleep_resp() 55 size_t gtk_elem_len = 0; in ieee802_11_send_wnmsleep_resp() 56 size_t igtk_elem_len = 0; in ieee802_11_send_wnmsleep_resp() 345 size_t len; in ieee802_11_send_bss_trans_mgmt_request() 383 size_t len) in ieee802_11_rx_bss_trans_mgmt_query() 439 size_t len) in ieee802_11_rx_bss_trans_mgmt_resp() 515 size_t len) in ieee802_11_rx_wnm_notification_req() 538 size_t len) in ieee802_11_rx_wnm_coloc_intf_report() 542 size_t hex_len; in ieee802_11_rx_wnm_coloc_intf_report() 579 const struct ieee80211_mgmt *mgmt, size_t le in ieee802_11_rx_wnm_action_ap() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | xdr.c | 22 static void _copy_to_pages(struct page **, size_t, const char *, size_t); 136 size_t xdr_buf_pagecount(const struct xdr_buf *buf) in xdr_buf_pagecount() 146 size_t i, n = xdr_buf_pagecount(buf); in xdr_alloc_bvec() 266 _shift_data_left_pages(struct page **pages, size_t pgto_base, in _shift_data_left_pages() 267 size_t pgfrom_base, size_t len) in _shift_data_left_pages() 271 size_t copy; in _shift_data_left_pages() 331 _shift_data_right_pages(struct page **pages, size_t pgto_base, in _shift_data_right_pages() 332 size_t pgfrom_bas in _shift_data_right_pages() [all...] |
/third_party/mksh/ |
H A D | sh.h | 367 #define SIZE_MAX ((size_t)-1) 493 size_t strlcpy(char *, const char *, size_t); 701 size_t strdup_len = strlen(strdup_src) + 1; \ 712 size_t strndup_len = (n); \ 723 size_t strndup_len = strlen(strdup_src); \ 724 size_t strndup_ln2 = strlen(strdup_app) + 1; \ 734 size_t strndup_len = strlen(strdup_src) + 1; \ 735 size_t strndup_ln2 = ((cond) || *strdup_app) ? \ 804 size_t le [all...] |