Home
last modified time | relevance | path

Searched refs:tmp_addr (Results 1 - 12 of 12) sorted by relevance

/third_party/selinux/libsepol/src/
H A Dnode_record.c92 char *tmp_addr = NULL; in node_alloc_addr() local
99 tmp_addr = malloc(4); in node_alloc_addr()
100 if (!tmp_addr) in node_alloc_addr()
106 tmp_addr = malloc(16); in node_alloc_addr()
107 if (!tmp_addr) in node_alloc_addr()
116 *addr = tmp_addr; in node_alloc_addr()
124 free(tmp_addr); in node_alloc_addr()
187 char *tmp_addr = NULL; in node_alloc_addr_string() local
192 tmp_addr = malloc(INET_ADDRSTRLEN); in node_alloc_addr_string()
193 if (!tmp_addr) in node_alloc_addr_string()
356 char *tmp_addr = NULL; sepol_node_get_addr() local
396 char *tmp_addr = NULL; sepol_node_set_addr() local
422 char *tmp_addr = malloc(addr_sz); sepol_node_set_addr_bytes() local
[all...]
/third_party/libuv/test/
H A Dtest-udp-connect6.c106 struct sockaddr_in6 tmp_addr; in TEST_IMPL() local
130 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &tmp_addr)); in TEST_IMPL()
131 r = uv_udp_connect(&client, (const struct sockaddr*) &tmp_addr); in TEST_IMPL()
148 addrlen = sizeof(tmp_addr); in TEST_IMPL()
149 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
165 addrlen = sizeof(tmp_addr); in TEST_IMPL()
166 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
H A Dtest-udp-connect.c106 struct sockaddr_in tmp_addr; in TEST_IMPL() local
127 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &tmp_addr)); in TEST_IMPL()
128 r = uv_udp_connect(&client, (const struct sockaddr*) &tmp_addr); in TEST_IMPL()
145 addrlen = sizeof(tmp_addr); in TEST_IMPL()
146 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
162 addrlen = sizeof(tmp_addr); in TEST_IMPL()
163 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
/third_party/libunwind/libunwind/src/ptrace/
H A D_UPT_access_mem.c54 unw_word_t tmp_addr = i == 0 ? addr : addr + 4; in _UPT_access_mem() local
65 Debug (16, "mem[%lx] <- %lx\n", (long) tmp_addr, (long) tmp_val); in _UPT_access_mem()
69 ptrace (PTRACE_POKEDATA, pid, tmp_addr, tmp_val); in _UPT_access_mem()
79 tmp_val = (unsigned long) ptrace (PTRACE_PEEKDATA, pid, tmp_addr, 0); in _UPT_access_mem()
93 Debug (16, "mem[%lx] -> %lx\n", (long) tmp_addr, (long) tmp_val); in _UPT_access_mem()
/third_party/ltp/testcases/kernel/syscalls/bind/
H A Dbind05.c123 struct sockaddr_un *tmp_addr; in test_bind() local
174 tmp_addr = (struct sockaddr_un *)tc->address; in test_bind()
176 if (tc->address->sa_family == AF_UNIX && tmp_addr->sun_path[0]) in test_bind()
177 SAFE_UNLINK(tmp_addr->sun_path); in test_bind()
H A Dbind04.c109 struct sockaddr_un *tmp_addr; in test_bind() local
157 tmp_addr = (struct sockaddr_un *)tc->address; in test_bind()
159 if (tc->address->sa_family == AF_UNIX && tmp_addr->sun_path[0]) in test_bind()
160 SAFE_UNLINK(tmp_addr->sun_path); in test_bind()
/third_party/ltp/testcases/network/sockets/
H A DltpClient.c445 struct in_addr tmp_addr; in output_to_display() local
460 tmp_addr.s_addr = ip->saddr; in output_to_display()
464 ip->ttl, inet_ntoa(tmp_addr)); in output_to_display()
466 tmp_addr.s_addr = ip->daddr; in output_to_display()
467 printf("dst=%s\n", inet_ntoa(tmp_addr)); in output_to_display()
571 struct in_addr tmp_addr; in ltp_traceroute() local
626 tmp_addr.s_addr = ip->saddr; in ltp_traceroute()
628 inet_ntoa(tmp_addr)); in ltp_traceroute()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise02.c58 static char *tmp_addr; variable
76 {MADV_WILLNEED, "MADV_WILLNEED", &tmp_addr, EBADF, 0},
149 tmp_addr = (void*)LTP_ALIGN((long)ptr_addr, pagesize); in setup()
/third_party/libunwind/libunwind/src/ia64/
H A DGregs.c34 unw_word_t addr = c->sigcontext_addr, flags, tmp_addr; in linux_scratch_loc() local
67 tmp_addr = addr + LINUX_SC_FR_OFF + 32*16; in linux_scratch_loc()
68 for (i = 32; i < 128; ++i, tmp_addr += 16) in linux_scratch_loc()
69 if (ia64_putfp (c, IA64_LOC_ADDR (tmp_addr, 0), in linux_scratch_loc()
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbss_dgram.c367 struct in6_addr tmp_addr; in dgram_get_mtu_overhead() local
368 if (BIO_ADDR_rawaddress(&data->peer, &tmp_addr, NULL) in dgram_get_mtu_overhead()
369 && IN6_IS_ADDR_V4MAPPED(&tmp_addr)) in dgram_get_mtu_overhead()
538 struct in6_addr tmp_addr; in dgram_ctrl() local
539 if (BIO_ADDR_rawaddress(&data->peer, &tmp_addr, NULL) in dgram_ctrl()
540 && IN6_IS_ADDR_V4MAPPED(&tmp_addr)) in dgram_ctrl()
/third_party/openssl/crypto/bio/
H A Dbss_dgram.c367 struct in6_addr tmp_addr; in dgram_get_mtu_overhead() local
368 if (BIO_ADDR_rawaddress(&data->peer, &tmp_addr, NULL) in dgram_get_mtu_overhead()
369 && IN6_IS_ADDR_V4MAPPED(&tmp_addr)) in dgram_get_mtu_overhead()
538 struct in6_addr tmp_addr; in dgram_ctrl() local
539 if (BIO_ADDR_rawaddress(&data->peer, &tmp_addr, NULL) in dgram_ctrl()
540 && IN6_IS_ADDR_V4MAPPED(&tmp_addr)) in dgram_ctrl()
/third_party/backends/backend/pixma/
H A Dpixma_bjnp.c300 char tmp_addr[BJNP_HOST_MAX]; in get_address_info() local
309 inet_ntop( AF_INET6, addr -> ipv6.sin6_addr.s6_addr, tmp_addr, sizeof(tmp_addr) ); in get_address_info()
312 sprintf(addr_string, "[%s%%%d]", tmp_addr, addr -> ipv6.sin6_scope_id); in get_address_info()

Completed in 12 milliseconds