/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | djpeg.c | 36 extern void free(void *ptr);
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | evp.rs | 283 ptr: *mut c_void, in EVP_CIPHER_CTX_ctrl()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | conv.rs | 41 use core::ptr::null_mut;
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 12 use std::ptr; // For splice and copy_file_range 577 .unwrap_or(ptr::null_mut()); in copy_file_range() 580 .unwrap_or(ptr::null_mut()); in copy_file_range() 607 .unwrap_or(ptr::null_mut()); in splice() 610 .unwrap_or(ptr::null_mut()); in splice()
|
/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan.hpp | 280 ArrayProxy( uint32_t count, T const * ptr ) VULKAN_HPP_NOEXCEPT 282 , m_ptr( ptr ) in m_ptr() 287 ArrayProxy( T const ( &ptr )[C] ) VULKAN_HPP_NOEXCEPT 289 , m_ptr( ptr ) in m_ptr() 403 ArrayProxyNoTemporaries( uint32_t count, T * ptr ) VULKAN_HPP_NOEXCEPT 405 , m_ptr( ptr ) in m_ptr() 410 ArrayProxyNoTemporaries( uint32_t count, typename std::remove_const<T>::type * ptr ) VULKAN_HPP_NOEXCEPT 412 , m_ptr( ptr ) in m_ptr() 417 ArrayProxyNoTemporaries( T ( &ptr )[C] ) VULKAN_HPP_NOEXCEPT 419 , m_ptr( ptr ) in m_ptr() [all...] |
/third_party/backends/backend/ |
H A D | avision.c | 7782 uint8_t* ptr = stripe_data; in reader_process() local 7792 fwrite (ptr, (size_t) s->avdimen.hw_bytes_per_line, 1, rear_fp); in reader_process() 7794 memmove (ptr, ptr+s->avdimen.hw_bytes_per_line, in reader_process() 7795 (size_t) (stripe_data + stripe_fill - ptr - s->avdimen.hw_bytes_per_line)); in reader_process() 7797 ptr += s->avdimen.hw_bytes_per_line; in reader_process() 7802 ptr += s->avdimen.hw_bytes_per_line; in reader_process() 7811 uint8_t* ptr = stripe_data; in reader_process() local 7814 fwrite (ptr, (size_t) s->avdimen.hw_bytes_per_line, 1, rear_fp); in reader_process() 7817 ptr in reader_process() [all...] |
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf.c | 141 # define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) 153 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() argument 155 return (__u64) (unsigned long) ptr; in ptr_to_u64() 881 pr_warn("struct_ops init_kern %s: kernel member %s is not a func ptr\n", in bpf_map__init_kern_struct_ops() 891 pr_debug("struct_ops init_kern %s: func ptr %s is set to prog %s from data(+%u) to kern_data(+%u)\n", in bpf_map__init_kern_struct_ops() 1906 case BTF_KIND_PTR: return "ptr"; in btf_kind_str() 8629 pr_warn("struct_ops reloc %s: cannot relocate non func ptr %s\n", in bpf_object__collect_st_ops_relos() 8636 pr_warn("struct_ops reloc %s: cannot find prog at shdr_idx %u to relocate func ptr in bpf_object__collect_st_ops_relos() 9050 libbpf_get_error(const void *ptr) libbpf_get_error() argument 10516 void *ptr; bpf_program__get_prog_info_linear() local [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi_vgpu10.c | 201 char *ptr; member 549 emit->ptr = err_buf; in expand() 556 emit->ptr = new_buf + (emit->ptr - emit->buf); in expand() 596 while (emit->ptr - emit->buf + nr_dwords * sizeof(uint32) >= emit->size) { in reserve() 610 *(uint32 *)emit->ptr = dword; in emit_dword() 611 emit->ptr += sizeof dword; in emit_dword() 623 memcpy(emit->ptr, dwords, nr * sizeof *dwords); in emit_dwords() 624 emit->ptr += nr * sizeof *dwords; in emit_dwords() 632 return (emit->ptr in emit_get_num_tokens() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_cfg80211.c | 1600 WL_DBG(("NON OCE IE. next ie ptr:%p", parse)); in wl_cfg80211_is_oce_ap() 2962 WL_ERR(("cfg/ndev/name ptr null\n")); in wl_cfg80211_add_if() 3201 /* If only ifname is provided, fetch corresponding wdev ptr from our in _wl_cfg80211_del_if() 3207 /* Check whether we have a valid wdev ptr */ in _wl_cfg80211_del_if() 4868 /* Iface post ops successful. Return ndev/wdev ptr */ in wl_cfg80211_create_iface() 5651 const u8 *eptr = NULL, *ptr = NULL; in wl_cfg80211_set_mfp() local 5684 * ptr --> to keep track of current/required byte addr in wl_cfg80211_set_mfp() 5687 /* pointing ptr to the next byte after rns_cap */ in wl_cfg80211_set_mfp() 5688 ptr = (const u8*)rsn_cap + RSN_CAP_LEN; in wl_cfg80211_set_mfp() 5689 if (mfp && (eptr - ptr) > in wl_cfg80211_set_mfp() 10953 wl_cfg80211_parse_ies(const u8 *ptr, u32 len, struct parsed_ies *ies) wl_cfg80211_parse_ies() argument 17426 wl_cfg80211_netdev_notifier_call(struct notifier_block * nb, unsigned long state, void *ptr) wl_cfg80211_netdev_notifier_call() argument 21021 u8 *ptr = (u8 *)frame; wl_get_action_category() local 21034 u8 *ptr = (u8 *)frame; wl_get_public_action() local 21394 u8 *ptr; wl_cfg80211_set_mgmt_vndr_ies() local [all...] |
/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 2553 void* ptr = obj->GetBuffer(vm); in napi_create_buffer() local 2554 CHECK_ARG(env, ptr); in napi_create_buffer() 2595 void* ptr = obj->GetBuffer(vm); in napi_create_buffer_copy() local 2596 CHECK_ARG(env, ptr); in napi_create_buffer_copy() 2630 void* ptr = object->GetBuffer(vm); in napi_create_external_buffer() local 2631 CHECK_ARG(env, ptr); in napi_create_external_buffer()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 274 [&](WeakPtr& ptr) -> bool { return ROSEN_EQ<RSRenderNode>(ptr, child); }); in MoveChild() 297 [&](WeakPtr& ptr) -> bool { return ROSEN_EQ<RSRenderNode>(ptr, child); }); in RemoveChild() 456 [&](WeakPtr& ptr) -> bool { return ROSEN_EQ<RSRenderNode>(ptr, child); }); in RemoveCrossParentChild()
|
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | hdi_sink.c | 709 void *ptr; in SinkRenderPrimaryMix() local 711 ptr = pa_memblock_acquire(chunkIn->memblock); in SinkRenderPrimaryMix() 714 (uint8_t*) ptr + chunkIn->index, length, in SinkRenderPrimaryMix() 753 void *ptr; in SinkRenderPrimaryMixCap() local 755 ptr = pa_memblock_acquire(chunkIn->memblock); in SinkRenderPrimaryMixCap() 763 chunkIn->length = pa_mix(infoIn, n, (uint8_t*) ptr + chunkIn->index, length, &si->sample_spec, NULL, false); in SinkRenderPrimaryMixCap()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-integrity.c | 499 io_req.mem.ptr.addr = ic->sb; in sync_rw_sb() 973 io_req.mem.ptr.pl = &ic->journal_io[pl_index]; in rw_journal_sectors() 975 io_req.mem.ptr.pl = &ic->journal[pl_index]; in rw_journal_sectors() 1093 io_req.mem.ptr.pl = &ic->journal[pl_index]; in copy_from_journal() 1419 fr.io_req.mem.ptr.addr = NULL, in dm_integrity_flush_buffers() 2592 io_req.mem.ptr.addr = ic->recalc_buffer; in integrity_recalc()
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | macsec.c | 149 static struct macsec_rx_sa *macsec_rxsa_get(struct macsec_rx_sa __rcu *ptr) in macsec_rxsa_get() argument 151 struct macsec_rx_sa *sa = rcu_dereference_bh(ptr); in macsec_rxsa_get() 209 static struct macsec_tx_sa *macsec_txsa_get(struct macsec_tx_sa __rcu *ptr) in macsec_txsa_get() argument 211 struct macsec_tx_sa *sa = rcu_dereference_bh(ptr); in macsec_txsa_get() 4318 void *ptr) in macsec_notify() 4320 struct net_device *real_dev = netdev_notifier_info_to_dev(ptr); in macsec_notify() 4317 macsec_notify(struct notifier_block *this, unsigned long event, void *ptr) macsec_notify() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | ncr53c8xx.c | 265 static void ___m_free(m_pool_s *mp, void *ptr, int size) in ___m_free() argument 274 printk("___m_free(%p, %d)\n", ptr, size); in ___m_free() 285 a = (m_addr_t) ptr; in ___m_free() 332 static void __m_free(m_pool_s *mp, void *ptr, int size, char *name) in __m_free() argument 335 printk ("freeing %-10s[%4d] @%p.\n", name, size, ptr); in __m_free() 337 ___m_free(mp, ptr, size); in __m_free()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ctree.c | 1918 /* once for the root ptr */ in balance_level() 4699 unsigned long ptr; in btrfs_truncate_item() local 4709 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item() 4710 memmove_extent_buffer(leaf, ptr, in btrfs_truncate_item() 4950 unsigned long ptr; in btrfs_insert_item() local 4958 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item() 4959 write_extent_buffer(leaf, data, ptr, data_size); in btrfs_insert_item()
|
/kernel/linux/linux-5.10/net/key/ |
H A D | af_key.c | 1791 static int dump_sa(struct xfrm_state *x, int count, void *ptr) in dump_sa() argument 1793 struct pfkey_sock *pfk = ptr; in dump_sa() 1913 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument 1916 u32 reqid = *(u32*)ptr; in check_reqid() 2692 static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr) in dump_sp() argument 2694 struct pfkey_sock *pfk = ptr; in dump_sp()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | ctree.c | 1117 /* once for the root ptr */ in balance_level() 4186 unsigned long ptr; in btrfs_truncate_item() local 4196 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item() 4197 memmove_extent_buffer(leaf, ptr, in btrfs_truncate_item() 4446 unsigned long ptr; in btrfs_insert_item() local 4454 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item() 4455 write_extent_buffer(leaf, data, ptr, data_size); in btrfs_insert_item()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ncr53c8xx.c | 270 static void ___m_free(m_pool_s *mp, void *ptr, int size) in ___m_free() argument 279 printk("___m_free(%p, %d)\n", ptr, size); in ___m_free() 290 a = (m_addr_t) ptr; in ___m_free() 337 static void __m_free(m_pool_s *mp, void *ptr, int size, char *name) in __m_free() argument 340 printk ("freeing %-10s[%4d] @%p.\n", name, size, ptr); in __m_free() 342 ___m_free(mp, ptr, size); in __m_free()
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | macsec.c | 141 static struct macsec_rx_sa *macsec_rxsa_get(struct macsec_rx_sa __rcu *ptr) in macsec_rxsa_get() argument 143 struct macsec_rx_sa *sa = rcu_dereference_bh(ptr); in macsec_rxsa_get() 201 static struct macsec_tx_sa *macsec_txsa_get(struct macsec_tx_sa __rcu *ptr) in macsec_txsa_get() argument 203 struct macsec_tx_sa *sa = rcu_dereference_bh(ptr); in macsec_txsa_get() 4335 void *ptr) in macsec_notify() 4337 struct net_device *real_dev = netdev_notifier_info_to_dev(ptr); in macsec_notify() 4334 macsec_notify(struct notifier_block *this, unsigned long event, void *ptr) macsec_notify() argument
|
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 3622 int sz, __le64 *ptr) in debugfs_show_row_64_v3_hw() 3628 for (i = 1; i <= sz / 8; i++, ptr++) { in debugfs_show_row_64_v3_hw() 3629 seq_printf(s, " 0x%016llx", le64_to_cpu(*ptr)); in debugfs_show_row_64_v3_hw() 3638 int sz, __le32 *ptr) in debugfs_show_row_32_v3_hw() 3644 for (i = 1; i <= sz / 4; i++, ptr++) { in debugfs_show_row_32_v3_hw() 3645 seq_printf(s, " 0x%08x", le32_to_cpu(*ptr)); in debugfs_show_row_32_v3_hw() 3621 debugfs_show_row_64_v3_hw(struct seq_file *s, int index, int sz, __le64 *ptr) debugfs_show_row_64_v3_hw() argument 3637 debugfs_show_row_32_v3_hw(struct seq_file *s, int index, int sz, __le32 *ptr) debugfs_show_row_32_v3_hw() argument
|
/kernel/linux/linux-6.6/net/key/ |
H A D | af_key.c | 1786 static int dump_sa(struct xfrm_state *x, int count, void *ptr) in dump_sa() argument 1788 struct pfkey_sock *pfk = ptr; in dump_sa() 1908 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) in check_reqid() argument 1911 u32 reqid = *(u32*)ptr; in check_reqid() 2687 static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr) in dump_sp() argument 2689 struct pfkey_sock *pfk = ptr; in dump_sp()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_compiler.c | 1168 nir_variable *var, **ptr; in get_bo_var() local 1172 ptr = &bo->ssbo[bit_size >> 4]; in get_bo_var() 1175 ptr = &bo->uniforms[bit_size >> 4]; in get_bo_var() 1177 ptr = &bo->ubo[bit_size >> 4]; in get_bo_var() 1179 var = *ptr; in get_bo_var() 1190 *ptr = var; in get_bo_var()
|
/third_party/mesa3d/src/glx/tests/ |
H A D | indirect_api.cpp | 386 void __indirect_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glColorPointer() argument 395 void __indirect_glEdgeFlagPointer(GLsizei stride, const GLvoid *ptr) { } in __indirect_glEdgeFlagPointer() argument 399 void __indirect_glIndexPointer(GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glIndexPointer() argument 404 void __indirect_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glNormalPointer() argument 409 void __indirect_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glTexCoordPointer() argument 412 void __indirect_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { } in __indirect_glVertexPointer() argument
|
/third_party/mesa3d/src/mesa/main/ |
H A D | bufferobj.c | 1058 * Set ptr to bufObj w/ reference counting. 1064 struct gl_buffer_object **ptr, in _mesa_reference_buffer_object_() 1068 if (*ptr) { in _mesa_reference_buffer_object_() 1070 struct gl_buffer_object *oldObj = *ptr; in _mesa_reference_buffer_object_() 1075 * ptr is a binding point shared by multiple contexts (such as a texture in _mesa_reference_buffer_object_() 1088 *ptr = NULL; in _mesa_reference_buffer_object_() 1090 assert(!*ptr); in _mesa_reference_buffer_object_() 1099 *ptr = bufObj; in _mesa_reference_buffer_object_() 1536 * If *ptr points to obj, set ptr 1063 _mesa_reference_buffer_object_(struct gl_context *ctx, struct gl_buffer_object **ptr, struct gl_buffer_object *bufObj, bool shared_binding) _mesa_reference_buffer_object_() argument [all...] |