/glibc-2.36/malloc/ |
D | mtrace.pl | 94 my $addr = pop(@_); 96 if (open (ADDR, "addr2line -e $prog $addr|")) { 109 my $addr = $1; 111 return $cache{$addr} if (exists $cache{$addr}); 113 my $line = &addr2line($binary, $addr); 115 $cache{$addr} = $line; 116 return $cache{$addr}; 119 $cache{$addr} = $str = "$fct @ $addr"; 122 my $addr = $2; 124 return $cache{$addr} if (exists $cache{$addr}); [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/ |
D | ioperm.c | 157 void (*sethae)(unsigned long int addr); 177 stb_mb(unsigned char val, unsigned long addr) in stb_mb() argument 179 __asm__("stb %1,%0; mb" : "=m"(*(vucp)addr) : "r"(val)); in stb_mb() 183 stw_mb(unsigned short val, unsigned long addr) in stw_mb() argument 185 __asm__("stw %1,%0; mb" : "=m"(*(vusp)addr) : "r"(val)); in stw_mb() 189 stl_mb(unsigned int val, unsigned long addr) in stl_mb() argument 191 __asm__("stl %1,%0; mb" : "=m"(*(vip)addr) : "r"(val)); in stl_mb() 217 inline_sethae (unsigned long int addr, ioswizzle_t ioswiz) in inline_sethae() argument 224 msb = addr & 0xf8000000; in inline_sethae() 234 addr >>= 25; in inline_sethae() [all …]
|
/glibc-2.36/iconv/ |
D | loop.c | 67 # define get16(addr) *((const uint16_t *) (addr)) argument 68 # define get32(addr) *((const uint32_t *) (addr)) argument 71 # define put16(addr, val) *((uint16_t *) (addr)) = (val) argument 72 # define put32(addr, val) *((uint32_t *) (addr)) = (val) argument 78 # define get16(addr) \ argument 79 (((const unsigned char *) (addr))[1] << 8 \ 80 | ((const unsigned char *) (addr))[0]) 81 # define get32(addr) \ argument 82 (((((const unsigned char *) (addr))[3] << 8 \ 83 | ((const unsigned char *) (addr))[2]) << 8 \ [all …]
|
D | skeleton.c | 212 # define get16u(addr) *((const uint16_t *) (addr)) argument 213 # define get32u(addr) *((const uint32_t *) (addr)) argument 216 # define put16u(addr, val) *((uint16_t *) (addr)) = (val) argument 217 # define put32u(addr, val) *((uint32_t *) (addr)) = (val) argument 221 # define get16u(addr) \ argument 222 (((const unsigned char *) (addr))[1] << 8 \ 223 | ((const unsigned char *) (addr))[0]) 224 # define get32u(addr) \ argument 225 (((((const unsigned char *) (addr))[3] << 8 \ 226 | ((const unsigned char *) (addr))[2]) << 8 \ [all …]
|
/glibc-2.36/elf/ |
D | tst-_dl_addr_inside_object.c | 25 extern int _dl_addr_inside_object (struct link_map *l, const ElfW(Addr) addr); 31 ElfW(Addr) addr; in do_test() 42 addr = 0x5000; in do_test() 43 ret = _dl_addr_inside_object (&map, addr); in do_test() 58 addr = 0x3000; in do_test() 59 ret = _dl_addr_inside_object (&map, addr); in do_test() 74 addr = 0x1000; in do_test() 75 ret = _dl_addr_inside_object (&map, addr); in do_test() 90 addr = 0x2000; in do_test() 91 ret = _dl_addr_inside_object (&map, addr); in do_test() [all …]
|
/glibc-2.36/sysdeps/hppa/ |
D | dl-lookupcfg.h | 35 #define DL_LOOKUP_ADDRESS(addr) _dl_lookup_address ((const void *) addr) argument 41 #define DL_DT_FUNCTION_ADDRESS(map, start, attr, addr) \ argument 47 addr = (ElfW(Addr)) start; \ 53 addr = (ElfW(Addr))((unsigned int)fptr | 2); \ 58 ElfW(Addr) addr; \ 59 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 60 dl_init_t init = (dl_init_t) addr; \ 66 ElfW(Addr) addr; \ 67 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 68 fini_t fini = (fini_t) addr; \ [all …]
|
/glibc-2.36/resolv/ |
D | tst-inet_aton_exact.c | 25 struct in_addr addr = { }; in do_test() local 27 TEST_COMPARE (__inet_aton_exact ("192.0.2.1", &addr), 1); in do_test() 28 TEST_COMPARE (ntohl (addr.s_addr), 0xC0000201); in do_test() 30 TEST_COMPARE (__inet_aton_exact ("192.000.002.010", &addr), 1); in do_test() 31 TEST_COMPARE (ntohl (addr.s_addr), 0xC0000208); in do_test() 32 TEST_COMPARE (__inet_aton_exact ("0xC0000234", &addr), 1); in do_test() 33 TEST_COMPARE (ntohl (addr.s_addr), 0xC0000234); in do_test() 36 TEST_COMPARE (__inet_aton_exact ("192.0.2.2X", &addr), 0); in do_test() 37 TEST_COMPARE (__inet_aton_exact ("192.0.2.3 Y", &addr), 0); in do_test() 38 TEST_COMPARE (__inet_aton_exact ("192.0.2.4\nZ", &addr), 0); in do_test() [all …]
|
/glibc-2.36/sysdeps/ia64/ |
D | dl-lookupcfg.h | 37 #define DL_LOOKUP_ADDRESS(addr) _dl_lookup_address (addr) argument 43 #define DL_DT_FUNCTION_ADDRESS(map, start, attr, addr) \ argument 47 addr = (ElfW(Addr)) fptr; \ 51 ElfW(Addr) addr; \ 52 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 53 dl_init_t init = (dl_init_t) addr; \ 59 ElfW(Addr) addr; \ 60 DL_DT_FUNCTION_ADDRESS(map, start, , addr) \ 61 fini_t fini = (fini_t) addr; \ 69 #define DL_FIXUP_MAKE_VALUE(map, addr) \ argument [all …]
|
/glibc-2.36/sysdeps/mach/hurd/i386/sys/ |
D | io.h | 133 insb (unsigned short int port, void *addr, unsigned long int count) in insb() argument 135 __asm__ __volatile__ ("cld ; rep ; insb":"=D" (addr), in insb() 136 "=c" (count):"d" (port), "0" (addr), "1" (count)); in insb() 140 insw (unsigned short int port, void *addr, unsigned long int count) in insw() argument 142 __asm__ __volatile__ ("cld ; rep ; insw":"=D" (addr), in insw() 143 "=c" (count):"d" (port), "0" (addr), "1" (count)); in insw() 147 insl (unsigned short int port, void *addr, unsigned long int count) in insl() argument 149 __asm__ __volatile__ ("cld ; rep ; insl":"=D" (addr), in insl() 150 "=c" (count):"d" (port), "0" (addr), "1" (count)); in insl() 154 outsb (unsigned short int port, const void *addr, unsigned long int count) in outsb() argument [all …]
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | ptrace.c | 41 void *addr, *addr2; in ptrace() local 50 *size = round_page (addr + data) - trunc_page (addr); in ptrace() 51 err = __vm_read (task, trunc_page (addr), *size, ourpage, size); in ptrace() 85 err = __thread_get_state (thread, flavor, addr, &count); in ptrace() 102 addr = va_arg (ap, void *); in ptrace() 116 if (addr != (void *) 1) in ptrace() 130 MACHINE_THREAD_STATE_SET_PC (&state, addr); in ptrace() 202 addr = va_arg (ap, void *); in ptrace() 221 word = *(natural_t *) ((vm_address_t) addr - trunc_page (addr) in ptrace() 236 addr = va_arg (ap, void *); in ptrace() [all …]
|
D | getpeername.c | 34 struct sockaddr *addr = addrarg.__sockaddr__; in __getpeername() local 35 char *buf = (char *) addr; in __getpeername() 50 if (buf != (char *) addr) in __getpeername() 52 memcpy (addr, buf, *len); in __getpeername() 59 if (*len < (char *) (&addr->sa_family + 1) - (char *) addr) in __getpeername() 60 memcpy (&addr->sa_family, &family, in __getpeername() 63 addr->sa_family = family; in __getpeername()
|
D | accept4.c | 41 struct sockaddr *addr = addrarg.__sockaddr__; in __libc_accept4() local 42 char *buf = (char *) addr; in __libc_accept4() 58 if (addr != NULL) in __libc_accept4() 66 buf = (char *)addr; in __libc_accept4() 86 if (addr != NULL) in __libc_accept4() 91 if (buf != (char *) addr) in __libc_accept4() 93 memcpy (addr, buf, *addr_len); in __libc_accept4() 98 addr->sa_family = type; in __libc_accept4()
|
/glibc-2.36/nptl/ |
D | tst-tls5.c | 35 if (((struct tls_obj *)a)->addr < ((struct tls_obj *)b)->addr) in tls_addr_cmp() 37 if (((struct tls_obj *)a)->addr > ((struct tls_obj *)b)->addr) in tls_addr_cmp() 51 tls_registry[cnt].addr = (uintptr_t) pthread_self (); in do_test() 62 (void *) tls_registry[i].addr, in do_test() 64 if (tls_registry[i].addr & (tls_registry[i].align - 1)) in do_test() 70 && (tls_registry[i - 1].addr + tls_registry[i - 1].size in do_test() 71 > tls_registry[i].addr)) in do_test() 79 min_addr = MIN (tls_registry[i].addr, min_addr); in do_test() 80 max_addr = MAX (tls_registry[i].addr + tls_registry[i].size, in do_test() 94 max_addr = MAX (tls_registry[cnt - 1].addr, max_addr); in do_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/ |
D | ioperm.c | 136 volatile unsigned char *addr = (void *) io.base + io_offset (port); in _inb() local 139 ret = *addr; in _inb() 147 volatile unsigned short *addr = (void *) io.base + io_offset (port); in _inw() local 150 ret = *addr; in _inw() 158 volatile unsigned int *addr = (void *) io.base + io_offset (port); in _inl() local 161 ret = *addr; in _inl() 169 volatile unsigned char *addr = (void *) io.base + io_offset (port); in _outb() local 171 *addr = val; in _outb() 178 volatile unsigned short *addr = (void *) io.base + io_offset (port); in _outw() local 180 *addr = val; in _outw() [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/powerpc64/ |
D | ldsodefs.h | 39 const ElfW(Sym) *matchsym, ElfW(Addr) addr) in _dl_ppc64_addr_sym_match() 44 if (addr < value || addr >= value + 24) in _dl_ppc64_addr_sym_match() 47 if (addr < value || addr >= value + sym->st_size) in _dl_ppc64_addr_sym_match() 53 if (addr != value) in _dl_ppc64_addr_sym_match() 56 else if (addr < value || addr >= value + sym->st_size) in _dl_ppc64_addr_sym_match() 64 && (addr < matchvalue || addr > matchvalue + 24)) in _dl_ppc64_addr_sym_match()
|
/glibc-2.36/sysdeps/powerpc/ |
D | dl-lookupcfg.h | 20 #define DL_FIXUP_MAKE_VALUE(map, addr) (addr) argument 23 #define DL_FIXUP_ADDR_VALUE(addr) (addr) argument 26 # define DL_FIXUP_BINDNOW_ADDR_VALUE(addr) \ argument 27 (((Elf64_FuncDesc *)(addr))->fd_func) 36 # define DL_FIXUP_BINDNOW_ADDR_VALUE(addr) (addr) argument
|
/glibc-2.36/nss/nss_files/ |
D | files-ethers.c | 61 addr->ether_addr_octet[0], addr->ether_addr_octet[1], 62 addr->ether_addr_octet[2], addr->ether_addr_octet[3], 63 addr->ether_addr_octet[4], addr->ether_addr_octet[5]), 65 if (memcmp (&result->e_addr, addr, 68 }, const struct ether_addr *addr)
|
/glibc-2.36/locale/programs/ |
D | locarchive.c | 229 ah->addr = p; in create_archive() 302 void *p = mmap64 (ah->addr + start, st.st_size - start, in file_data_available_p() 357 ah->addr = mmap64 (ah->addr, st.st_size, PROT_READ | PROT_WRITE, in enlarge_archive() 364 munmap (ah->addr, ah->reserved); in enlarge_archive() 365 ah->addr = mmap64 (NULL, st.st_size, PROT_READ | PROT_WRITE, in enlarge_archive() 370 head = ah->addr; in enlarge_archive() 372 if (ah->addr == MAP_FAILED) in enlarge_archive() 465 new_ah.addr = p; in enlarge_archive() 471 oldnamehashtab = (struct namehashent *) ((char *) ah->addr in enlarge_archive() 481 = (struct locrecent *) ((char *) ah->addr in enlarge_archive() [all …]
|
/glibc-2.36/inet/ |
D | tst-inet6_scopeid_pton.c | 51 struct in6_addr addr; in from_string() local 52 if (inet_pton (AF_INET6, address, &addr) != 1) in from_string() 54 return addr; in from_string() 99 const struct in6_addr *addr, uint32_t scope) in check_ai() argument 101 if (memcmp (addr, &sa->sin6_addr, sizeof (*addr)) != 0) in check_ai() 123 struct in6_addr addr = from_string (address); in expect_failure() local 125 if (__inet6_scopeid_pton (&addr, scope, &result) == 0) in expect_failure() 159 struct in6_addr addr = from_string (address); in expect_success() local 161 if (__inet6_scopeid_pton (&addr, scope, &actual) != 0) in expect_success() 179 check_ai ("AF_UNSPEC", address, scope, &sa, &addr, expected); in expect_success() [all …]
|
D | ether_ntoa_r.c | 24 ether_ntoa_r (const struct ether_addr *addr, char *buf) in ether_ntoa_r() argument 27 addr->ether_addr_octet[0], addr->ether_addr_octet[1], in ether_ntoa_r() 28 addr->ether_addr_octet[2], addr->ether_addr_octet[3], in ether_ntoa_r() 29 addr->ether_addr_octet[4], addr->ether_addr_octet[5]); in ether_ntoa_r()
|
D | tst-inet6_rth.c | 95 struct in6_addr *addr = inet6_rth_getaddr (buf2.buffer, i); in do_test() local 96 if (addr == NULL) in do_test() 102 else if (addr->s6_addr[0] != nseg - 1 - i in do_test() 103 || memcmp (&addr->s6_addr[1], &in6addr_any.s6_addr[1], in do_test() 108 inet_ntop (AF_INET6, addr, addrbuf, sizeof (addrbuf)); in do_test() 163 struct in6_addr *addr = inet6_rth_getaddr (p, i); in do_test() local 164 if (addr == NULL) in do_test() 170 else if (addr->s6_addr[0] != nseg - 1 - i in do_test() 171 || memcmp (&addr->s6_addr[1], &in6addr_any.s6_addr[1], in do_test() 176 inet_ntop (AF_INET6, addr, addrbuf, sizeof (addrbuf)); in do_test()
|
/glibc-2.36/nis/ |
D | nis_clone_dir.c | 28 char *addr; in nis_clone_directory() local 36 if ((addr = calloc(1, size)) == NULL) in nis_clone_directory() 39 xdrmem_create(&xdrs, addr, size, XDR_ENCODE); in nis_clone_directory() 43 free (addr); in nis_clone_directory() 53 free (addr); in nis_clone_directory() 60 xdrmem_create (&xdrs, addr, size, XDR_DECODE); in nis_clone_directory() 66 free (addr); in nis_clone_directory() 70 free (addr); in nis_clone_directory()
|
D | nis_clone_res.c | 28 char *addr; in nis_clone_result() local 36 if ((addr = calloc(1, size)) == NULL) in nis_clone_result() 39 xdrmem_create (&xdrs, addr, size, XDR_ENCODE); in nis_clone_result() 43 free (addr); in nis_clone_result() 53 free (addr); in nis_clone_result() 60 xdrmem_create (&xdrs, addr, size, XDR_DECODE); in nis_clone_result() 66 free (addr); in nis_clone_result() 70 free (addr); in nis_clone_result()
|
/glibc-2.36/sysdeps/mips/ |
D | unwind-arch.h | 44 unwind_arch_adjustment (void *prev, void *addr) in unwind_arch_adjustment() argument 49 return addr; in unwind_arch_adjustment() 53 return addr; in unwind_arch_adjustment() 63 return addr; in unwind_arch_adjustment() 66 return (void *) ((uintptr_t) addr - 2); in unwind_arch_adjustment() 69 return (void *) ((uintptr_t) addr - 2); in unwind_arch_adjustment() 71 return addr; in unwind_arch_adjustment()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/sys/ |
D | rse.h | 29 ia64_rse_slot_num (unsigned long *addr) in ia64_rse_slot_num() argument 31 return (((unsigned long) addr) >> 3) & 0x3f; in ia64_rse_slot_num() 37 ia64_rse_is_rnat_slot (unsigned long *addr) in ia64_rse_is_rnat_slot() argument 39 return ia64_rse_slot_num (addr) == 0x3f; in ia64_rse_is_rnat_slot() 67 ia64_rse_skip_regs (unsigned long *addr, long num_regs) in ia64_rse_skip_regs() argument 69 long delta = ia64_rse_slot_num(addr) + num_regs; in ia64_rse_skip_regs() 73 return addr + num_regs + delta/0x3f; in ia64_rse_skip_regs()
|