HomeSort by relevance Sort by last modified time
    Searched defs:addr (Results 201 - 225 of 2441) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/elfutils/tests/
vdsosyms.c 56 GElf_Addr addr; local
57 const char *sname = dwfl_module_getsym_info (mod, i, &sym, &addr,
61 i, sname, sym.st_value, addr);
  /external/iproute2/lib/
dnet_ntop.c 8 static __inline__ u_int16_t dn_ntohs(u_int16_t addr)
15 u.word = addr;
19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started)
21 u_int16_t tmp = *addr / scale;
30 *addr -= (tmp * scale);
39 u_int16_t addr, area; local
43 memcpy(&addr, dna->a_addr, sizeof(addr));
44 addr = dn_ntohs(addr);
    [all...]
dnet_pton.c 8 static __inline__ u_int16_t dn_htons(u_int16_t addr)
15 u.word = addr;
41 u_int16_t addr; local
53 addr = dn_htons((area << 10) | node);
54 memcpy(dna->a_addr, &addr, sizeof(addr));
59 int dnet_pton(int af, const char *src, void *addr)
66 err = dnet_pton1(src, (struct dn_naddr *)addr);
  /external/kernel-headers/original/uapi/linux/
aspeed-lpc-ctrl.h 34 * addr: Address on the host LPC bus that the specified window should
38 * host (at addr). This must be a multiple of size.
49 __u32 addr; member in struct:aspeed_lpc_ctrl_mapping
elf-fdpic.h 22 Elf32_Addr addr; /* core address to which mapped */ member in struct:elf32_fdpic_loadseg
  /external/libchrome/base/trace_event/
heap_profiler_allocation_register_posix.cc 35 void* addr = mmap(nullptr, map_size, PROT_READ | PROT_WRITE, local
38 PCHECK(addr != MAP_FAILED);
44 reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(addr) + size);
48 return addr;
  /external/libcups/cups/
getifaddrs.c 34 struct sockaddr addr; /* Address data */ local
54 memset (&addr, 0, sizeof(addr));
  /external/libnl/src/
nl-fib-lookup.c 17 "Usage: nl-fib-lookup [options] <addr>\n"
31 struct nl_addr *addr; local
78 if ((err = nl_addr_parse(argv[optind], AF_INET, &addr)) < 0)
95 err = flnl_request_set_addr(request, addr);
96 nl_addr_put(addr);
  /external/libnl/tests/
check-addr.c 2 * tests/check-addr.c nl_addr unit tests
13 #include <netlink/addr.h>
17 struct nl_addr *addr; local
19 addr = nl_addr_alloc(16);
20 fail_if(addr == NULL,
23 fail_if(nl_addr_iszero(addr) == 0,
26 fail_if(nl_addr_get_family(addr) != AF_UNSPEC,
29 fail_if(nl_addr_get_prefixlen(addr) != 0,
32 fail_if(nl_addr_shared(addr),
35 fail_if(nl_addr_get(addr) != addr
55 struct nl_addr *addr, *addr2; local
184 struct nl_addr *addr; local
    [all...]
  /external/libpcap/
fad-getad.c 106 #define SA_LEN(addr) ((addr)->sa_len)
110 get_sa_len(struct sockaddr *addr)
112 switch (addr->sa_family) {
133 #define SA_LEN(addr) (get_sa_len(addr))
135 #define SA_LEN(addr) (sizeof (struct sockaddr))
152 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local
224 addr = ifa->ifa_addr;
225 addr_size = SA_LEN(addr);
    [all...]
  /external/libunwind/src/aarch64/
Ginit.c 84 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
91 if (map_local_is_writable (addr, sizeof(unw_word_t)))
94 Debug (16, "mem[%lx] <- %lx\n", addr, *val);
95 *(unw_word_t *) addr = *val;
100 Debug (16, "Unwritable memory mem[%lx] <- %lx\n", addr, *val);
110 if (map_local_is_readable (addr, sizeof(unw_word_t)))
113 *val = *(unw_word_t *) addr;
114 Debug (16, "mem[%lx] -> %lx\n", addr, *val);
119 Debug (16, "Unreadable memory mem[%lx] -> XXX\n", addr);
132 unw_word_t *addr; local
163 unw_fpreg_t *addr; local
    [all...]
  /external/libunwind/src/arm/
Ginit.c 76 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
83 if (map_local_is_writable (addr, sizeof(unw_word_t)))
86 Debug (16, "mem[%x] <- %x\n", addr, *val);
87 *(unw_word_t *) addr = *val;
92 Debug (16, "Unwritable memory mem[%x] <- %x\n", addr, *val);
102 if (map_local_is_readable (addr, sizeof(unw_word_t)))
105 *val = *(unw_word_t *) addr;
106 Debug (16, "mem[%x] -> %x\n", addr, *val);
111 Debug (16, "Unreadable memory mem[%x] -> XXX\n", addr);
124 unw_word_t *addr; local
156 unw_fpreg_t *addr; local
    [all...]
  /external/libunwind/src/hppa/
Ginit.c 46 void *addr; local
49 addr = &uc->uc_mcontext.sc_gr[reg - UNW_HPPA_GR];
51 addr = &uc->uc_mcontext.sc_fr[reg - UNW_HPPA_FR];
53 addr = NULL;
54 return addr;
89 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
96 if (map_local_is_writable (addr, sizeof(unw_word_t)))
99 Debug (12, "mem[%x] <- %x\n", addr, *val);
100 *(unw_word_t *) addr = *val;
105 Debug (12, "Unwritable memory mem[%x] <- %x\n", addr, *val)
137 unw_word_t *addr; local
169 unw_fpreg_t *addr; local
    [all...]
  /external/libunwind/src/mips/
Ginit.c 60 char *addr = uc_addr (uc, reg); local
65 addr += 4;
67 return addr;
94 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
101 if (map_local_is_writable (addr, sizeof(unw_word_t)))
104 Debug (16, "mem[%llx] <- %llx\n", (long long) addr, (long long) *val);
105 *(unw_word_t *) (uintptr_t) addr = *val;
110 Debug (16, "Unwritable memory mem[%llx] <- %llx\n", (long long) addr,
121 if (map_local_is_readable (addr, sizeof(unw_word_t)))
124 *val = *(unw_word_t *) (uintptr_t) addr;
143 unw_word_t *addr; local
175 unw_fpreg_t *addr; local
    [all...]
  /external/libunwind/src/ppc32/
Ginit.c 48 void *addr; local
51 addr = &uc->uc_mcontext.uc_regs->gregs[reg - UNW_PPC32_R0];
56 addr = &uc->uc_mcontext.uc_regs->fpregs.fpregs[reg - UNW_PPC32_F0];
79 addr = &uc->uc_mcontext.uc_regs->gregs[gregs_idx];
81 return addr;
112 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
119 if (map_local_is_writable (addr, sizeof(unw_word_t)))
122 Debug (12, "mem[%lx] <- %lx\n", addr, *val);
123 *(unw_word_t *) addr = *val;
128 Debug (12, "Unwritable memory mem[%lx] <- %lx\n", addr, *val)
160 unw_word_t *addr; local
193 unw_fpreg_t *addr; local
    [all...]
  /external/libunwind/src/ppc64/
Ginit.c 48 void *addr; local
51 addr = &uc->uc_mcontext.gp_regs[reg - UNW_PPC64_R0];
54 addr = &uc->uc_mcontext.fp_regs[reg - UNW_PPC64_F0];
57 addr = (uc->uc_mcontext.v_regs == 0) ? NULL : &uc->uc_mcontext.v_regs->vrregs[reg - UNW_PPC64_V0][0];
83 addr = &uc->uc_mcontext.gp_regs[gregs_idx];
85 return addr;
116 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
123 if (map_local_is_writable (addr, sizeof(unw_word_t)))
126 Debug (12, "mem[%lx] <- %lx\n", addr, *val);
127 *(unw_word_t *) addr = *val
164 unw_word_t *addr; local
198 unw_fpreg_t *addr; local
    [all...]
  /external/libunwind/src/sh/
Ginit.c 83 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write,
90 if (map_local_is_writable (addr, sizeof(unw_word_t)))
93 Debug (16, "mem[%x] <- %x\n", addr, *val);
94 *(unw_word_t *) addr = *val;
99 Debug (16, "Unwritable memory mem[%x] <- %x\n", addr, *val);
109 if (map_local_is_readable (addr, sizeof(unw_word_t)))
112 *val = *(unw_word_t *) addr;
113 Debug (16, "mem[%x] -> %x\n", addr, *val);
118 Debug (16, "Unreadable memory mem[%x] -> XXX\n", addr);
131 unw_word_t *addr; local
162 unw_fpreg_t *addr; local
    [all...]
  /external/libvpx/libvpx/vpx_mem/
vpx_mem.c 56 void *x = NULL, *addr; local
60 addr = malloc((size_t)aligned_size);
61 if (addr) {
62 x = align_addr((unsigned char *)addr + ADDRESS_STORAGE_SIZE, align);
63 set_actual_malloc_address(x, addr);
81 void *addr = get_actual_malloc_address(memblk); local
82 free(addr);
  /external/linux-kselftest/tools/testing/selftests/net/
reuseaddr_conflict.c 28 struct sockaddr *addr; local
44 addr = (struct sockaddr*)&addr6;
47 addr = (struct sockaddr*)&addr4;
68 if (bind(fd, addr, addrlen) < 0) {
  /external/linux-kselftest/tools/testing/selftests/vm/
hugepage-mmap.c 32 #define ADDR (void *)(0x8000000000000000UL)
35 #define ADDR (void *)(0x0UL)
39 static void check_bytes(char *addr)
41 printf("First hex is %x\n", *((unsigned int *)addr));
44 static void write_bytes(char *addr)
49 *(addr + i) = (char)i;
52 static int read_bytes(char *addr)
56 check_bytes(addr);
58 if (*(addr + i) != (char)i) {
67 void *addr; local
    [all...]
map_hugetlb.c 28 #define ADDR (void *)(0x8000000000000000UL)
31 #define ADDR (void *)(0x0UL)
35 static void check_bytes(char *addr)
37 printf("First hex is %x\n", *((unsigned int *)addr));
40 static void write_bytes(char *addr)
45 *(addr + i) = (char)i;
48 static int read_bytes(char *addr)
52 check_bytes(addr);
54 if (*(addr + i) != (char)i) {
63 void *addr; local
    [all...]
  /external/linux-kselftest/tools/testing/selftests/x86/
5lvl.c 11 void *addr; member in struct:testcase
21 .addr = NULL,
28 .addr = LOW_ADDR,
35 .addr = HIGH_ADDR,
42 .addr = HIGH_ADDR,
49 .addr = HIGH_ADDR,
55 .addr = (void*) -1,
62 .addr = (void*) -1,
68 .addr = (void *)((1UL << 47) - PAGE_SIZE),
76 .addr = (void *)((1UL << 47) - PAGE_SIZE / 2)
    [all...]
  /external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
hugemmap01.c 48 static long *addr; variable
66 addr = mmap(NULL, page_sz, PROT_READ | PROT_WRITE,
69 if (addr == MAP_FAILED) {
76 *(int *)addr = 0;
84 munmap(addr, page_sz);
hugemmap04.c 51 static long *addr; variable
82 addr = mmap(NULL, mapsize, PROT_READ | PROT_WRITE,
84 if (addr == MAP_FAILED) {
93 *(int *)addr = 0;
103 munmap(addr, mapsize);
  /external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
hugeshmat03.c 49 static void *addr; variable
69 addr = shmat(shm_id_1, NULL, 0);
70 if (addr != (void *)-1) {

Completed in 759 milliseconds

1 2 3 4 5 6 7 891011>>