/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/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/libuv/test/ |
D | test-udp-connect.c | 107 struct sockaddr_in tmp_addr; in TEST_IMPL() local 128 ASSERT_EQ(0, uv_ip4_addr("0.0.0.0", TEST_PORT, &tmp_addr)); in TEST_IMPL() 129 r = uv_udp_connect(&client, (const struct sockaddr*) &tmp_addr); in TEST_IMPL() 146 addrlen = sizeof(tmp_addr); in TEST_IMPL() 147 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL() 163 addrlen = sizeof(tmp_addr); in TEST_IMPL() 164 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
|
D | test-udp-connect6.c | 107 struct sockaddr_in6 tmp_addr; in TEST_IMPL() local 131 ASSERT_EQ(0, uv_ip6_addr("::", TEST_PORT, &tmp_addr)); in TEST_IMPL() 132 r = uv_udp_connect(&client, (const struct sockaddr*) &tmp_addr); in TEST_IMPL() 149 addrlen = sizeof(tmp_addr); in TEST_IMPL() 150 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL() 166 addrlen = sizeof(tmp_addr); in TEST_IMPL() 167 r = uv_udp_getpeername(&client, (struct sockaddr*) &tmp_addr, &addrlen); in TEST_IMPL()
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/ |
D | conv2d_3x3_int8_coder.cc | 34 auto tmp_addr = reinterpret_cast<int16_t *>(malloc(tmp_size)); in ProcessFilterUint8() local 35 MS_CHECK_PTR_IF_NULL(tmp_addr); in ProcessFilterUint8() 36 int ret = memset_s(tmp_addr, tmp_size, 0, tmp_size); in ProcessFilterUint8() 38 free(tmp_addr); in ProcessFilterUint8() 42 PackWeightToC8Int8(origin_weight, tmp_addr, conv_param); in ProcessFilterUint8() 43 Conv3x3Int8FilterTransform(tmp_addr, dst_weight, iC8, output_channel, kernel_plane); in ProcessFilterUint8() 44 free(tmp_addr); in ProcessFilterUint8()
|
/third_party/boost/boost/stacktrace/detail/ |
D | to_hex_array.hpp | 35 const unsigned char tmp_addr = (addr & 0xFFu); in to_hex_array() local 36 *out = to_hex_array_bytes[tmp_addr & 0xF]; in to_hex_array() 38 *out = to_hex_array_bytes[tmp_addr >> 4]; in to_hex_array()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | convolution_3x3_int8.cc | 37 auto tmp_addr = reinterpret_cast<int16_t *>(malloc(tmp_size)); in ProcessFilterUint8() local 38 if (tmp_addr == nullptr) { in ProcessFilterUint8() 41 memset(tmp_addr, 0, tmp_size); in ProcessFilterUint8() 42 PackWeightToC8Int8(origin_weight, tmp_addr, conv_param); in ProcessFilterUint8() 43 Conv3x3Int8FilterTransform(tmp_addr, dst_weight, iC8, output_channel, kernel_plane); in ProcessFilterUint8() 45 free(tmp_addr); in ProcessFilterUint8()
|
/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/testcases/kernel/syscalls/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()
|
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()
|
/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/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/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | concat_cpu_kernel.cc | 64 auto *tmp_addr = reinterpret_cast<T *>(inputs[j]->addr); in Launch() local 65 (void)input_addr_list.emplace_back(tmp_addr); in Launch()
|
/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/iptables/extensions/ |
D | libebt_ip6.c | 291 struct in6_addr *tmp_addr; in ebt_parse_ip6_address() local 302 tmp_addr = parse_ip6_mask(p + 1); in ebt_parse_ip6_address() 304 tmp_addr = parse_ip6_mask(NULL); in ebt_parse_ip6_address() 306 *msk = *tmp_addr; in ebt_parse_ip6_address()
|
/third_party/openssl/crypto/bio/ |
D | bss_dgram.c | 375 struct in6_addr tmp_addr; in dgram_get_mtu_overhead() local 376 if (BIO_ADDR_rawaddress(&data->peer, &tmp_addr, NULL) in dgram_get_mtu_overhead() 377 && IN6_IS_ADDR_V4MAPPED(&tmp_addr)) in dgram_get_mtu_overhead() 546 struct in6_addr tmp_addr; in dgram_ctrl() local 547 if (BIO_ADDR_rawaddress(&data->peer, &tmp_addr, NULL) in dgram_ctrl() 548 && IN6_IS_ADDR_V4MAPPED(&tmp_addr)) in dgram_ctrl()
|
/third_party/boost/boost/asio/detail/impl/ |
D | socket_ops.ipp | 3844 sockaddr_storage_type tmp_addr; 3845 memcpy(&tmp_addr, addr, addrlen); 3846 addr = reinterpret_cast<socket_addr_type*>(&tmp_addr);
|
/third_party/boost/libs/asio/include/boost/asio/detail/impl/ |
D | socket_ops.ipp | 3844 sockaddr_storage_type tmp_addr; 3845 memcpy(&tmp_addr, addr, addrlen); 3846 addr = reinterpret_cast<socket_addr_type*>(&tmp_addr);
|