/third_party/selinux/libsepol/src/ |
D | node_record.c | 92 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() [all …]
|
/third_party/libuv/test/ |
D | test-udp-connect.c | 103 struct sockaddr_in tmp_addr; in TEST_IMPL() local 124 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &tmp_addr)); in TEST_IMPL() 125 r = uv_udp_connect(&client, (const struct sockaddr*) &tmp_addr); in TEST_IMPL() 142 addrlen = sizeof(tmp_addr); in TEST_IMPL() 143 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL() 159 addrlen = sizeof(tmp_addr); in TEST_IMPL() 160 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
|
D | test-udp-connect6.c | 103 struct sockaddr_in6 tmp_addr; in TEST_IMPL() local 127 ASSERT_EQ(0, uv_ip6_addr("::", 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/src/ptrace/ |
D | _UPT_access_mem.c | 54 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/network/sockets/ |
D | ltpClient.c | 445 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/utils/sctp/func_tests/ |
D | test_1_to_1_connectx.c | 78 struct sockaddr *tmp_addr; in main() local 136 tmp_addr = (struct sockaddr *) malloc(sizeof(struct sockaddr) - 1); in main() 137 tmp_addr->sa_family = AF_INET; in main() 138 error = sctp_connectx(sk, tmp_addr, 1, NULL); in main()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind04.c | 109 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()
|
D | bind05.c | 123 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()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise02.c | 59 static char *tmp_addr; variable 77 {MADV_WILLNEED, "MADV_WILLNEED", &tmp_addr, EBADF, 0}, 158 tmp_addr = (void*)LTP_ALIGN((long)ptr_addr, pagesize); in setup()
|
/third_party/libunwind/src/ia64/ |
D | Gregs.c | 34 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/openssl/crypto/bio/ |
D | bss_dgram.c | 367 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/node/deps/openssl/openssl/crypto/bio/ |
D | bss_dgram.c | 367 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()
|