/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_cpp.cpp | 59 INTERFACE WEAK void operator delete(void *ptr)NOEXCEPT { 60 AllocatorPtr->deallocate(ptr, scudo::Chunk::Origin::New); 62 INTERFACE WEAK void operator delete[](void *ptr) NOEXCEPT { 63 AllocatorPtr->deallocate(ptr, scudo::Chunk::Origin::NewArray); 65 INTERFACE WEAK void operator delete(void *ptr, std::nothrow_t const &)NOEXCEPT { 66 AllocatorPtr->deallocate(ptr, scudo::Chunk::Origin::New); 68 INTERFACE WEAK void operator delete[](void *ptr, 70 AllocatorPtr->deallocate(ptr, scudo::Chunk::Origin::NewArray); 72 INTERFACE WEAK void operator delete(void *ptr, size_t size)NOEXCEPT { 73 AllocatorPtr->deallocate(ptr, scud [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_new_delete.cpp | 53 if (ptr) hwasan_free(ptr, &stack) 56 void operator delete(void *ptr) NOEXCEPT { OPERATOR_DELETE_BODY; } 58 void operator delete[](void *ptr) NOEXCEPT { OPERATOR_DELETE_BODY; } 60 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } argument 62 void operator delete[](void *ptr, std::nothrow_t const&) { argument
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_new_delete.cpp | 138 if (IS_FROM_LOCAL_POOL(ptr)) return;\ 140 asan_delete(ptr, 0, 0, &stack, type); 143 if (IS_FROM_LOCAL_POOL(ptr)) return;\ 145 asan_delete(ptr, size, 0, &stack, type); 148 if (IS_FROM_LOCAL_POOL(ptr)) return;\ 150 asan_delete(ptr, 0, static_cast<uptr>(align), &stack, type); 153 if (IS_FROM_LOCAL_POOL(ptr)) return;\ 155 asan_delete(ptr, size, static_cast<uptr>(align), &stack, type); 159 void operator delete(void *ptr) NOEXCEPT 162 void operator delete[](void *ptr) NOEXCEP 165 operator delete(void *ptr, std::nothrow_t const&) argument 168 operator delete[](void *ptr, std::nothrow_t const&) argument 183 operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&) argument 186 operator delete[](void *ptr, std::align_val_t align, std::nothrow_t const&) argument 196 INTERCEPTOR(void, _ZdlPv, void *ptr) argument 198 INTERCEPTOR(void, _ZdaPv, void *ptr) argument 200 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) argument 202 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) argument [all...] |
/freebsd-11-stable/contrib/atf/atf-c++/detail/ |
H A D | auto_array.hpp | 45 auto_array_ref< T >::auto_array_ref(T* ptr) : argument 46 m_ptr(ptr) 73 auto_array< T >::auto_array(T* ptr) argument 75 m_ptr(ptr) 80 auto_array< T >::auto_array(auto_array< T >& ptr) argument 82 m_ptr(ptr.release()) 122 T* ptr = m_ptr; local 124 return ptr; 129 auto_array< T >::reset(T* ptr) argument 134 m_ptr = ptr; 139 operator =(auto_array< T >& ptr) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | poolio.c | 31 pool_ioctl(iocfunc, cmd, ptr) 34 void *ptr; 36 return (*iocfunc)(poolfd, cmd, ptr);
|
/freebsd-11-stable/usr.sbin/bluetooth/btpand/ |
H A D | sdp.c | 55 * _sdp_match_uuid16(ptr, limit, uuid) 57 * examine SDP data stream at ptr for a UUID, and return 62 _sdp_match_uuid16(uint8_t **ptr, uint8_t *limit, uint16_t uuid) argument 64 uint8_t *p = *ptr; 74 *ptr = p; 79 * _sdp_get_uuid(ptr, limit, uuid) 81 * examine SDP data stream at ptr for a UUID, and extract 82 * to given storage, advancing ptr. 86 _sdp_get_uuid(uint8_t **ptr, uint8_t *limit, uuid_t *uuid) argument 88 uint8_t *p = *ptr; 136 _sdp_get_seq(uint8_t **ptr, uint8_t *limit, uint8_t **seq) argument 188 _sdp_get_uint16(uint8_t **ptr, uint8_t *limit, uint16_t *value) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_malloc_mac.cpp | 34 #define COMMON_MALLOC_REALLOC(ptr, size) \ 35 if (in_symbolizer()) return InternalRealloc(ptr, size); \ 36 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \ 37 void *p = user_realloc(thr, pc, ptr, size) 56 #define COMMON_MALLOC_FREE(ptr) \ 57 if (in_symbolizer()) return InternalFree(ptr); \ 58 SCOPED_INTERCEPTOR_RAW(free, ptr); \ 59 user_free(thr, pc, ptr) 60 #define COMMON_MALLOC_SIZE(ptr) uptr size = user_alloc_usable_size(ptr); [all...] |
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | heap.h | 33 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__) 46 # define sm_free_tagged(ptr, file, line) sm_free(ptr) 47 # define sm_heap_register(ptr, size, file, line, grp) (true) 48 # define sm_heap_checkptr_tagged(ptr, tag, num) ((void)0) 59 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__) 94 #define SM_FREE(ptr) \ 97 if ((ptr) ! [all...] |
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | huge.c | 7 huge_node_get(const void *ptr) argument 11 node = chunk_lookup(ptr, true); 18 huge_node_set(tsdn_t *tsdn, const void *ptr, extent_node_t *node) argument 21 assert(extent_node_addr_get(node) == ptr); 23 return (chunk_register(tsdn, ptr, node)); 27 huge_node_reset(tsdn_t *tsdn, const void *ptr, extent_node_t *node) argument 31 err = huge_node_set(tsdn, ptr, node); 36 huge_node_unset(const void *ptr, const extent_node_t *node) argument 39 chunk_deregister(ptr, node); 117 huge_dalloc_junk(tsdn_t *tsdn, void *ptr, size_ argument 136 huge_ralloc_no_move_similar(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t usize_min, size_t usize_max, bool zero) argument 199 huge_ralloc_no_move_shrink(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t usize) argument 252 huge_ralloc_no_move_expand(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t usize, bool zero) argument 300 huge_ralloc_no_move(tsdn_t *tsdn, void *ptr, size_t oldsize, size_t usize_min, size_t usize_max, bool zero) argument 362 huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize, size_t usize, size_t alignment, bool zero, tcache_t *tcache) argument 393 huge_dalloc(tsdn_t *tsdn, void *ptr) argument 415 huge_aalloc(const void *ptr) argument 422 huge_salloc(tsdn_t *tsdn, const void *ptr) argument 438 huge_prof_tctx_get(tsdn_t *tsdn, const void *ptr) argument 454 huge_prof_tctx_set(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) argument 467 huge_prof_tctx_reset(tsdn_t *tsdn, const void *ptr) argument [all...] |
/freebsd-11-stable/contrib/dma/ |
H A D | dfcompat.c | 94 reallocf(void *ptr, size_t size) argument 98 nptr = realloc(ptr, size); 99 if (!nptr && ptr) 100 free(ptr);
|
/freebsd-11-stable/contrib/libc-pwcache/ |
H A D | pwcache.c | 266 UIDC *ptr, **pptr; local 275 ptr = *pptr; 277 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->uid == uid)) { 281 if (!noname || (ptr->valid == VALID)) 282 return (ptr->name); 295 if (ptr == NULL) 296 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); 303 if (ptr 335 GIDC *ptr, **pptr; local 402 UIDC *ptr, **pptr; local 466 GIDC *ptr, **pptr; local [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/ |
H A D | uaccess.h | 58 #define unsafe_get_user(x, ptr, err) do { \ 59 if (unlikely(__get_user(x, ptr))) \ 63 #define unsafe_put_user(x, ptr, err) do { \ 64 if (unlikely(__put_user(x, ptr))) \
|
/freebsd-11-stable/stand/i386/kgzldr/ |
H A D | lib.c | 53 void *ptr; local 57 ptr = mem + memtot; 60 return ptr; 67 kzipfree(void *ptr) argument
|
/freebsd-11-stable/contrib/expat/tests/ |
H A D | memcheck.c | 52 static AllocationEntry *find_allocation(void *ptr); 85 find_allocation(void *ptr) { argument 89 if (entry->allocation == ptr) { 98 tracking_free(void *ptr) { argument 101 if (ptr == NULL) { 106 entry = find_allocation(ptr); 119 printf("Attempting to free unallocated memory at %p\n", ptr); 121 free(ptr); 126 tracking_realloc(void *ptr, size_t size) { argument 129 if (ptr [all...] |
/freebsd-11-stable/contrib/expat/lib/ |
H A D | xmltok.h | 175 int(PTRCALL *getAtts)(const ENCODING *enc, const char *ptr, int attsMax, 177 int(PTRFASTCALL *charRefNumber)(const ENCODING *enc, const char *ptr); 180 void(PTRCALL *updatePosition)(const ENCODING *, const char *ptr, 182 int(PTRCALL *isPublicId)(const ENCODING *enc, const char *ptr, 198 /* Scan the string starting at ptr until the end of the next complete 202 Return XML_TOK_NONE when ptr == eptr; nextTokPtr will not be set. 219 #define XmlTok(enc, state, ptr, end, nextTokPtr) \ 220 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr)) 222 #define XmlPrologTok(enc, ptr, end, nextTokPtr) \ 223 XmlTok(enc, XML_PROLOG_STATE, ptr, en [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_new_delete.cpp | 64 scudoDeallocate(ptr, 0, 0, Type); 66 scudoDeallocate(ptr, size, 0, Type); 68 scudoDeallocate(ptr, 0, static_cast<uptr>(align), Type); 70 scudoDeallocate(ptr, size, static_cast<uptr>(align), Type); 73 void operator delete(void *ptr) NOEXCEPT 76 void operator delete[](void *ptr) NOEXCEPT 79 void operator delete(void *ptr, std::nothrow_t const&) argument 82 void operator delete[](void *ptr, std::nothrow_t const&) argument 85 void operator delete(void *ptr, size_t size) NOEXCEPT 88 void operator delete[](void *ptr, size_ 97 operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&) argument 100 operator delete[](void *ptr, std::align_val_t align, std::nothrow_t const&) argument [all...] |
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | _doprnt.c | 46 ptr++; /* Go past the asterisk. */ \ 56 ptr++; \ 65 *sptr++ = *ptr++; /* Copy the type specifier. */ \ 80 const char * ptr = format; local 84 while (*ptr != '\0') 86 if (*ptr != '%') /* While we have regular characters, print them. */ 87 PRINT_CHAR(*ptr); 93 *sptr++ = *ptr++; /* Copy the % and move forward. */ 95 while (strchr ("-+ #0", *ptr)) /* Move past flags. */ 96 *sptr++ = *ptr [all...] |
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | _doprnt.c | 46 ptr++; /* Go past the asterisk. */ \ 56 ptr++; \ 65 *sptr++ = *ptr++; /* Copy the type specifier. */ \ 80 const char * ptr = format; local 84 while (*ptr != '\0') 86 if (*ptr != '%') /* While we have regular characters, print them. */ 87 PRINT_CHAR(*ptr); 93 *sptr++ = *ptr++; /* Copy the % and move forward. */ 95 while (strchr ("-+ #0", *ptr)) /* Move past flags. */ 96 *sptr++ = *ptr [all...] |
/freebsd-11-stable/crypto/heimdal/lib/asn1/ |
H A D | hash.c | 43 void *ptr); /* And key */ 71 _search(Hashtab * htab, void *ptr) argument 75 assert(htab && ptr); 77 for (hptr = htab->tab[(*htab->hash) (ptr) % htab->sz]; 80 if ((*htab->cmp) (ptr, hptr->ptr) == 0) 88 hashtabsearch(Hashtab * htab, void *ptr) argument 92 tmp = _search(htab, ptr); 93 return tmp ? tmp->ptr : tmp; 101 hashtabadd(Hashtab * htab, void *ptr) argument 129 _hashtabdel(Hashtab * htab, void *ptr, int freep) argument 150 hashtabforeach(Hashtab * htab, int (*func) (void *ptr, void *arg), void *arg) argument [all...] |
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | atom.c | 175 int *ptr, uint32_t *saved, int print) 183 idx = U16(*ptr); 184 (*ptr) += 2; 218 idx = U8(*ptr); 219 (*ptr)++; 227 idx = U8(*ptr); 228 (*ptr)++; 264 idx = U16(*ptr); 265 (*ptr) += 2; 275 idx = U8(*ptr); 174 atom_get_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr, uint32_t *saved, int print) argument 362 atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) argument 398 atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) argument 403 atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) argument 429 atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t *saved, int print) argument 438 atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) argument 445 atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t val, uint32_t saved) argument 584 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument 598 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument 612 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument 617 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument 633 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument 645 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument 659 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument 671 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument 688 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument 693 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument 746 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument 763 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument 780 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument 791 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument 796 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument 810 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument 816 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument 821 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument 826 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument 831 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument 845 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument 852 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument 879 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument 886 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument 902 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument 918 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument 937 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument 956 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument 970 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument 997 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument 1009 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument 1023 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument 1159 int len, ws, ps, ptr; local [all...] |
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | macro.c | 127 buffer_and_nest (const char *from, const char *to, sb *ptr, argument 133 int line_start = ptr->len; 135 int more = get_line (ptr); 158 while (i < ptr->len && ISWHITE (ptr->ptr[i])) 165 if (i >= ptr->len || ! is_name_beginner (ptr->ptr[i])) 168 while (i < ptr 713 formal_entry *ptr; local 927 formal_entry *ptr; local 990 formal_entry *ptr; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | i386-stub.c | 716 hexToInt (char **ptr, int *intValue) argument 723 while (**ptr) 725 hexValue = hex (**ptr); 734 (*ptr)++; 748 char *ptr; local 762 ptr = remcomOutBuffer; 764 *ptr++ = 'T'; /* notify gdb with signo, PC, FP and SP */ 765 *ptr++ = hexchars[sigval >> 4]; 766 *ptr++ = hexchars[sigval & 0xf]; 768 *ptr [all...] |
/freebsd-11-stable/lib/libusb/ |
H A D | libusb20_desc.c | 71 const uint8_t *ptr; local 78 ptr = config_desc; 79 if (ptr[1] != LIBUSB20_DT_CONFIG) { 91 ptr = NULL; 94 pcdesc.ptr = LIBUSB20_ADD_BYTES(config_desc, 0); 101 while ((ptr = libusb20_desc_foreach(&pcdesc, ptr))) { 102 if (ptr[1] == LIBUSB20_DT_ENDPOINT) { 104 } else if ((ptr[1] == LIBUSB20_DT_INTERFACE) && (ptr[ 321 libusb20_me_encode(void *ptr, uint16_t len, const void *pd) argument 553 libusb20_me_decode(const void *ptr, uint16_t len, void *pd) argument [all...] |
/freebsd-11-stable/usr.sbin/pciconf/ |
H A D | cap.c | 52 cap_power(int fd, struct pci_conf *p, uint8_t ptr) argument 56 cap = read_config(fd, &p->pc_sel, ptr + PCIR_POWER_CAP, 2); 57 status = read_config(fd, &p->pc_sel, ptr + PCIR_POWER_STATUS, 2); 66 cap_agp(int fd, struct pci_conf *p, uint8_t ptr) argument 70 status = read_config(fd, &p->pc_sel, ptr + AGP_STATUS, 4); 71 command = read_config(fd, &p->pc_sel, ptr + AGP_CAPID, 4); 120 cap_vpd(int fd __unused, struct pci_conf *p __unused, uint8_t ptr __unused) 127 cap_msi(int fd, struct pci_conf *p, uint8_t ptr) argument 132 ctrl = read_config(fd, &p->pc_sel, ptr + PCIR_MSI_CTRL, 2); 146 cap_pcix(int fd, struct pci_conf *p, uint8_t ptr) argument 222 cap_ht(int fd, struct pci_conf *p, uint8_t ptr) argument 301 cap_vendor(int fd, struct pci_conf *p, uint8_t ptr) argument 359 cap_debug(int fd, struct pci_conf *p, uint8_t ptr) argument 369 cap_subvendor(int fd, struct pci_conf *p, uint8_t ptr) argument 434 cap_express(int fd, struct pci_conf *p, uint8_t ptr) argument 540 cap_msix(int fd, struct pci_conf *p, uint8_t ptr) argument 574 cap_pciaf(int fd, struct pci_conf *p, uint8_t ptr) argument 645 cap_ea(int fd, struct pci_conf *p, uint8_t ptr) argument 724 uint8_t ptr, cap; local 819 ecap_aer(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver) argument 835 ecap_vc(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver) argument 851 ecap_sernum(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver) argument 864 ecap_vendor(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver) argument 876 ecap_sec_pcie(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver) argument 895 ecap_sriov(int fd, struct pci_conf *p, uint16_t ptr, uint8_t ver) argument 1004 uint16_t ptr; local 1054 uint8_t ptr, cap; local 1088 uint16_t ptr; local [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | tree-flow-inline.h | 448 ssa_use_operand_t *ptr; local 449 ptr = &(SSA_NAME_IMM_USE_NODE (var)); 451 return (ptr == ptr->next); 458 ssa_use_operand_t *ptr; local 459 ptr = &(SSA_NAME_IMM_USE_NODE (var)); 461 return (ptr != ptr->next && ptr == ptr 469 ssa_use_operand_t *ptr; local 487 ssa_use_operand_t *ptr, *start; local 812 op_iter_done(ssa_op_iter *ptr) argument 819 op_iter_next_use(ssa_op_iter *ptr) argument 859 op_iter_next_def(ssa_op_iter *ptr) argument 889 op_iter_next_tree(ssa_op_iter *ptr) argument 949 clear_and_done_ssa_iter(ssa_op_iter *ptr) argument 967 op_iter_init(ssa_op_iter *ptr, tree stmt, int flags) argument 990 op_iter_init_use(ssa_op_iter *ptr, tree stmt, int flags) argument 1001 op_iter_init_def(ssa_op_iter *ptr, tree stmt, int flags) argument 1012 op_iter_init_tree(ssa_op_iter *ptr, tree stmt, int flags) argument 1022 op_iter_next_maymustdef(use_operand_p *use, def_operand_p *def, ssa_op_iter *ptr) argument 1054 op_iter_init_maydef(ssa_op_iter *ptr, tree stmt, use_operand_p *use, def_operand_p *def) argument 1068 op_iter_init_mustdef(ssa_op_iter *ptr, tree stmt, use_operand_p *kill, def_operand_p *def) argument 1081 op_iter_init_must_and_may_def(ssa_op_iter *ptr, tree stmt, use_operand_p *kill, def_operand_p *def) argument 1249 op_iter_init_phiuse(ssa_op_iter *ptr, tree phi, int flags) argument 1278 op_iter_init_phidef(ssa_op_iter *ptr, tree phi, int flags) argument [all...] |