/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | storage.c | 45 size_t native_slot_size(upb_fieldtype_t type) { in native_slot_size() 485 static size_t align_up_to(size_t offset, size_t granularity) { in align_up_to() 502 size_t off = 0; in create_layout() 503 size_t hasbit = 0; in create_layout() 604 size_t field_size; in create_layout() 640 size_t field_size = NATIVE_SLOT_MAX_SIZE; in create_layout() 663 size_t field_size = sizeof(uint32_t); in create_layout() 740 size_t hasbi in slot_set_hasbit() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_aka.c | 34 size_t res_len; 51 size_t network_name_len; 272 size_t len; in eap_aka_add_checkcode() 302 const u8 *checkcode, size_t checkcode_len) in eap_aka_verify_checkcode() 305 size_t len; in eap_aka_verify_checkcode() 307 size_t hash_len; in eap_aka_verify_checkcode() 672 size_t len; in eap_aka_check() 803 size_t identity_len; in eap_aka_fullauth() 922 size_t extra_len) in eap_aka_verify_mac() 1204 size_t le in eap_aka_process() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_aka.c | 34 size_t res_len; 51 size_t network_name_len; 272 size_t len; in eap_aka_add_checkcode() 302 const u8 *checkcode, size_t checkcode_len) in eap_aka_verify_checkcode() 305 size_t len; in eap_aka_verify_checkcode() 307 size_t hash_len; in eap_aka_verify_checkcode() 672 size_t len; in eap_aka_check() 803 size_t identity_len; in eap_aka_fullauth() 922 size_t extra_len) in eap_aka_verify_mac() 1206 size_t le in eap_aka_process() [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 22 #include <cstddef> // nullptr_t, ptrdiff_t, size_t 202 #include <cstddef> // size_t 2896 const auto l_index = static_cast<std::size_t>(lhs); 2897 const auto r_index = static_cast<std::size_t>(rhs); 3009 #include <cstddef> // size_t 3022 std::size_t chars_read_total = 0; 3024 std::size_t chars_read_current_line = 0; 3026 std::size_t lines_read = 0; 3028 /// conversion to size_t to preserve SAX interface 3029 constexpr operator size_t() cons [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan.hpp | 311 template <size_t N> 317 template <size_t N, typename B = T, typename std::enable_if<std::is_const<B>::value, int>::type = 0> 323 template <size_t N> 329 template <size_t N, typename B = T, typename std::enable_if<std::is_const<B>::value, int>::type = 0> 364 template <size_t N = std::dynamic_extent> 370 template <size_t N = std::dynamic_extent, 378 template <size_t N = std::dynamic_extent> 384 template <size_t N = std::dynamic_extent, 509 template <size_t N> 515 template <size_t [all...] |
/third_party/backends/backend/ |
H A D | test.c | 291 static size_t 294 size_t size, max_size = 0; in max_string_size() 398 test_device->val[opt_mode].s = malloc ((size_t) od->size); in init_options() 465 test_device->val[opt_three_pass_order].s = malloc ((size_t) od->size); in init_options() 494 test_device->val[opt_scan_source].s = malloc ((size_t) od->size); in init_options() 530 test_device->val[opt_test_picture].s = malloc ((size_t) od->size); in init_options() 625 test_device->val[opt_read_status_code].s = malloc ((size_t) od->size); in init_options() 1176 test_device->val[opt_string].s = malloc ((size_t) od->size); in init_options() 1195 test_device->val[opt_string_constraint_string_list].s = malloc ((size_t) od->size); in init_options() 1216 malloc ((size_t) o in init_options() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | hostapd.c | 77 size_t i; in hostapd_for_each_interface() 144 size_t wpa_ie_len; in hostapd_reload_bss() 175 size_t j; in hostapd_clear_old() 200 size_t i; in hostapd_iface_conf_changed() 220 size_t j; in hostapd_reload_config() 487 size_t contentLen = strlen(WPA_EVENT_TERMINATING); in hostapd_cleanup() 755 size_t i; in mac_in_conf() 932 size_t identity_len; in hostapd_das_find_sta() 1228 set_ssid = (conf->ssid.ssid_len != (size_t) ssid_len || in hostapd_setup_bss() 1522 size_t in start_ctrl_iface() [all...] |
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/ |
H A D | hdi_device_test.cpp | 112 size_t MindIR_LiteGraph_GetConstTensorSize(const mindspore::lite::LiteGraph* lite_graph) in MindIR_LiteGraph_GetConstTensorSize() 135 for (size_t indexInput = 0; indexInput < model->input_indices_.size(); ++indexInput) { in BuildLiteGraph() 139 for (size_t indexOutput = 0; indexOutput < model->output_indices_.size(); ++indexOutput) { in BuildLiteGraph() 152 void GetBuffer(void*& buffer, size_t length); 157 void HDIDeviceTest::GetBuffer(void*& buffer, size_t length) in GetBuffer() 160 const size_t dataLength = 100; in GetBuffer() 630 for (size_t i = 0; i < expectOpsSize; ++i) { in HWTEST_F() 986 size_t length = 100; in HWTEST_F() 1020 size_t length = 100; in HWTEST_F() 1075 size_t lengt in HWTEST_F() [all...] |
/third_party/vixl/src/aarch64/ |
H A D | simulator-aarch64.h | 74 explicit SimStack(size_t size) : usable_size_(size) {} in SimStack() 79 void SetBaseGuardSize(size_t size) { base_guard_size_ = size; } in SetBaseGuardSize() 84 void SetLimitGuardSize(size_t size) { limit_guard_size_ = size; } in SetLimitGuardSize() 88 void SetUsableSize(size_t size) { usable_size_ = size; } in SetUsableSize() 116 bool IsAccessInGuardRegion(const T* base, size_t size) const { in IsAccessInGuardRegion() 132 size_t alloc_size_; 139 size_t align_to = 1 << align_log2_; in Allocate() 140 size_t l = AlignUp(limit_guard_size_, align_to); in Allocate() 141 size_t u = AlignUp(usable_size_, align_to); in Allocate() 142 size_t in Allocate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p.c | 27 const u8 *sa, const u8 *data, size_t len, 31 size_t len); 57 size_t i; in p2p_expire_peers() 418 size_t count = 0; in p2p_create_device() 465 const u8 *gi, size_t gi_len, in p2p_add_group_clients() 469 size_t c; in p2p_add_group_clients() 633 size_t ies_len) in p2p_update_peer_vendor_elems() 710 size_t ies_len, int scan_res) in p2p_add_device() 952 size_t cl, ch; in p2p_get_next_prog_freq() 1124 size_t in p2ps_gen_hash() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/ |
H A D | time_picker_test_update.cpp | 206 size_t sizet = 0; in HWTEST_F() 231 size_t sizet = 0; in HWTEST_F() 270 size_t sizet = 0; in HWTEST_F() 310 size_t sizet = 0; in HWTEST_F() 351 size_t sizet = 0; in HWTEST_F() 392 size_t sizet = 0; in HWTEST_F() 433 size_t sizet = 0; in HWTEST_F() 477 size_t sizet = 0; in HWTEST_F() 525 size_t sizet = 0; in HWTEST_F() 573 size_t size in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | draw_cmd.h | 131 bool Register(uint32_t type, UnmarshallingFunc func, size_t unmarshallingSize); 132 std::pair<UnmarshallingFunc, size_t> GetFuncAndSize(uint32_t type); 144 std::unordered_map<uint32_t, size_t> opUnmarshallingSize_; 152 std::shared_ptr<DrawOpItem> Unmarshalling(uint32_t type, void* handle, size_t avaliableSize); 162 bool GenerateCachedOpItem(uint32_t type, void* handle, size_t avaliableSize); 262 ConstructorHandle(PointMode mode, const std::pair<size_t, size_t>& pts, const PaintHandle& paintHandle) in ConstructorHandle() 266 std::pair<size_t, size_t> pts; 700 ConstructorHandle(const OpDataHandle& atlas, const std::pair<size_t, size_ [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | sed-opal.c | 54 size_t len; 90 size_t pos; 95 size_t prev_d_len; 336 size_t buflen = IO_BUFFER_LENGTH; in opal_recv_check() 382 const struct opal_step *step, size_t stepIndex) in execute_step() 396 const struct opal_step *steps, size_t n_steps) in execute_steps() 398 size_t state = 0; in execute_steps() 532 static size_t remaining_size(struct opal_dev *cmd) in remaining_size() 537 static bool can_add(int *err, struct opal_dev *cmd, size_t len) in can_add() 589 size_t le in add_token_u64() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm93.c | 1145 const char *buf, size_t count) in in_min_store() 1210 const char *buf, size_t count) in in_max_store() 1279 size_t count) in temp_min_store() 1312 size_t count) in temp_max_store() 1345 const char *buf, size_t count) in temp_auto_base_store() 1378 const char *buf, size_t count) in temp_auto_boost_store() 1414 const char *buf, size_t count) in temp_auto_boost_hyst_store() 1457 const char *buf, size_t count) in temp_auto_offset_store() 1536 const char *buf, size_t count) in temp_auto_pwm_min_store() 1579 const char *buf, size_t coun in temp_auto_offset_hyst_store() [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | iommu.c | 60 const char *buf, size_t count); 351 const char *buf, size_t count) in iommu_group_attr_store() 2340 static size_t iommu_pgsize(struct iommu_domain *domain, in iommu_pgsize() 2341 unsigned long addr_merge, size_t size) in iommu_pgsize() 2344 size_t pgsize; in iommu_pgsize() 2373 phys_addr_t paddr, size_t size, int prot, gfp_t gfp) in __iommu_map() 2378 size_t orig_size = size; in __iommu_map() 2406 size_t pgsize = iommu_pgsize(domain, iova | paddr, size); in __iommu_map() 2430 phys_addr_t paddr, size_t size, int prot, gfp_t gfp) in _iommu_map() 2443 phys_addr_t paddr, size_t siz in iommu_map() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | mm.h | 222 int overcommit_ratio_handler(struct ctl_table *, int, void *, size_t *, 224 int overcommit_kbytes_handler(struct ctl_table *, int, void *, size_t *, 226 int overcommit_policy_handler(struct ctl_table *, int, void *, size_t *, 760 int region_intersects(resource_size_t offset, size_t size, unsigned long flags, 792 extern void *kvmalloc_node(size_t size, gfp_t flags, int node); 793 static inline void *kvmalloc(size_t size, gfp_t flags) in kvmalloc() 797 static inline void *kvzalloc_node(size_t size, gfp_t flags, int node) in kvzalloc_node() 801 static inline void *kvzalloc(size_t size, gfp_t flags) in kvzalloc() 806 static inline void *kvmalloc_array(size_t n, size_t siz [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | auxtrace.c | 168 mp->len = auxtrace_pages * (size_t)page_size; in auxtrace_mmap_params__init() 423 off_t file_offset, size_t sz) in auxtrace_queues__add_indexed_event() 552 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() 569 size_t priv_size) in auxtrace_record__info_fill() 851 size_t nr; in auxtrace_index__auxtrace_event() 869 size_t i; in auxtrace_index__do_write() 906 size_t nr; in auxtrace_index__process_entry() 969 size_t i; in auxtrace_queues__process_index() 1113 size_t adj = buffer->data_offset & (page_size - 1); in auxtrace_buffer__get_data() 1114 size_t siz in auxtrace_buffer__get_data() [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | file.c | 83 static ssize_t __iter_get_bvecs(struct iov_iter *iter, size_t maxsize, in __iter_get_bvecs() 86 size_t size = 0; in __iter_get_bvecs() 95 size_t start; in __iter_get_bvecs() 130 static ssize_t iter_get_bvecs_alloc(struct iov_iter *iter, size_t maxsize, in iter_get_bvecs_alloc() 134 size_t orig_count = iov_iter_count(iter); in iter_get_bvecs_alloc() 899 size_t page_off; in ceph_sync_read() 903 size_t left; in ceph_sync_read() 957 size_t len, copied; in ceph_sync_read() 959 len = min_t(size_t, left, PAGE_SIZE - page_off); in ceph_sync_read() 996 size_t total_le [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | fsntfs.c | 131 bool ntfs_fix_pre_write(struct NTFS_RECORD_HEADER *rhdr, size_t bytes) in ntfs_fix_pre_write() 168 int ntfs_fix_post_read(struct NTFS_RECORD_HEADER *rhdr, size_t bytes, in ntfs_fix_post_read() 359 size_t alcn, zlen, zeroes, zlcn, zlen2, ztrim, new_zlen; in ntfs_look_for_free_space() 420 new_zlen = max_t(size_t, zlen - ztrim, NTFS_MIN_MFT_ZONE); in ntfs_look_for_free_space() 454 size_t free, zlen, avail; in ntfs_check_for_free_space() 460 zlen = min_t(size_t, NTFS_MIN_MFT_ZONE, wnd_zone_len(wnd)); in ntfs_check_for_free_space() 502 size_t new_mft_total; in ntfs_extend_mft() 560 size_t zbit, zlen, from, to, fr; in ntfs_look_free_mft() 561 size_t mft_total; in ntfs_look_free_mft() 770 int ntfs_clear_mft_tail(struct ntfs_sb_info *sbi, size_t fro [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1362 size_t fw_image_size; 1586 void *cpu_addr, dma_addr_t dma_addr, size_t size); 1590 void* (*asic_dma_alloc_coherent)(struct hl_device *hdev, size_t size, 1592 void (*asic_dma_free_coherent)(struct hl_device *hdev, size_t size, 1599 void* (*asic_dma_pool_zalloc)(struct hl_device *hdev, size_t size, 1604 size_t size, dma_addr_t *dma_handle); 1606 size_t size, void *vaddr); 1650 int (*get_eeprom_data)(struct hl_device *hdev, void *data, size_t max_size); 2298 size_t count, loff_t *f_pos); 2478 int (*print_single_monitor)(char **buf, size_t *siz [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm93.c | 1145 const char *buf, size_t count) in in_min_store() 1210 const char *buf, size_t count) in in_max_store() 1279 size_t count) in temp_min_store() 1312 size_t count) in temp_max_store() 1345 const char *buf, size_t count) in temp_auto_base_store() 1378 const char *buf, size_t count) in temp_auto_boost_store() 1414 const char *buf, size_t count) in temp_auto_boost_hyst_store() 1457 const char *buf, size_t count) in temp_auto_offset_store() 1536 const char *buf, size_t count) in temp_auto_pwm_min_store() 1579 const char *buf, size_t coun in temp_auto_offset_hyst_store() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt.c | 71 size_t max_depth = clt->queue_depth; in __rtrs_get_permit() 696 static int post_recv_io(struct rtrs_clt_con *con, size_t q_size) in post_recv_io() 718 size_t q_size = 0; in post_recv_path() 948 const struct kvec *vec, size_t usr_len, in rtrs_clt_init_req() 949 struct scatterlist *sg, size_t sg_cnt, in rtrs_clt_init_req() 950 size_t data_len, int dir) in rtrs_clt_init_req() 953 size_t len; in rtrs_clt_init_req() 982 const struct kvec *vec, size_t usr_len, in rtrs_clt_get_req() 983 struct scatterlist *sg, size_t sg_cnt, in rtrs_clt_get_req() 984 size_t data_le in rtrs_clt_get_req() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | auxtrace.c | 164 mp->len = auxtrace_pages * (size_t)page_size; in auxtrace_mmap_params__init() 426 off_t file_offset, size_t sz) in auxtrace_queues__add_indexed_event() 555 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() 572 size_t priv_size) in auxtrace_record__info_fill() 884 size_t nr; in auxtrace_index__auxtrace_event() 902 size_t i; in auxtrace_index__do_write() 939 size_t nr; in auxtrace_index__process_entry() 1002 size_t i; in auxtrace_queues__process_index() 1150 size_t adj = buffer->data_offset & (page_size - 1); in auxtrace_buffer__get_data_rw() 1151 size_t siz in auxtrace_buffer__get_data_rw() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | filemap.c | 2399 loff_t pos, size_t count, struct folio *folio, in filemap_range_uptodate() 2423 struct address_space *mapping, size_t count, in filemap_update_page() 2535 static int filemap_get_pages(struct kiocb *iocb, size_t count, in filemap_get_pages() 2694 size_t fsize = folio_size(folio); in filemap_read() 2695 size_t offset = iocb->ki_pos & (fsize - 1); in filemap_read() 2696 size_t bytes = min_t(loff_t, end_offset - iocb->ki_pos, in filemap_read() 2698 size_t copied; in filemap_read() 2735 int kiocb_write_and_wait(struct kiocb *iocb, size_t count) in kiocb_write_and_wait() 2750 int kiocb_invalidate_pages(struct kiocb *iocb, size_t count) in kiocb_invalidate_pages() 2801 size_t coun in generic_file_read_iter() [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui.h | 74 #define IM_OFFSETOF(_TYPE,_MEMBER) ((size_t)&(((_TYPE*)0)->_MEMBER)) // Offset of _MEMBER within _TYPE. Standardized as offsetof() in modern C++. 173 float operator[] (size_t idx) const { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine. in operator []() 174 float& operator[] (size_t idx) { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine. in operator []() 205 IMGUI_API bool DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert); 447 IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 448 IMGUI_API bool InputTextMultiline(const char* label, char* buf, size_t buf_siz [all...] |