/external/libcups/cups/ |
D | getifaddrs.c | 27 _cups_getifaddrs(struct ifaddrs **addrs)/* O - List of interfaces */ in _cups_getifaddrs() argument 45 if (addrs == NULL) in _cups_getifaddrs() 48 *addrs = NULL; in _cups_getifaddrs() 129 temp->ifa_next = *addrs; in _cups_getifaddrs() 130 *addrs = temp; in _cups_getifaddrs() 204 _cups_freeifaddrs(struct ifaddrs *addrs)/* I - Interface list to free */ in _cups_freeifaddrs() argument 209 while (addrs != NULL) in _cups_freeifaddrs() 215 next = addrs->ifa_next; in _cups_freeifaddrs() 221 if (addrs->ifa_name) in _cups_freeifaddrs() 223 free(addrs->ifa_name); in _cups_freeifaddrs() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | EquivalentAddressGroup.java | 35 private final List<SocketAddress> addrs; field in EquivalentAddressGroup 46 public EquivalentAddressGroup(List<SocketAddress> addrs) { in EquivalentAddressGroup() argument 47 this(addrs, Attributes.EMPTY); in EquivalentAddressGroup() 53 public EquivalentAddressGroup(List<SocketAddress> addrs, Attributes attrs) { in EquivalentAddressGroup() argument 54 Preconditions.checkArgument(!addrs.isEmpty(), "addrs is empty"); in EquivalentAddressGroup() 55 this.addrs = Collections.unmodifiableList(new ArrayList<>(addrs)); in EquivalentAddressGroup() 59 hashCode = this.addrs.hashCode(); in EquivalentAddressGroup() 80 return addrs; in getAddresses() 93 return "[addrs=" + addrs + ", attrs=" + attrs + "]"; in toString() 116 if (addrs.size() != that.addrs.size()) { in equals() [all …]
|
D | LoadBalancer.java | 464 public Subchannel createSubchannel(EquivalentAddressGroup addrs, Attributes attrs) { in createSubchannel() argument 465 Preconditions.checkNotNull(addrs, "addrs"); in createSubchannel() 466 return createSubchannel(Collections.singletonList(addrs), attrs); in createSubchannel() 481 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in createSubchannel() argument 498 Subchannel subchannel, EquivalentAddressGroup addrs) { in updateSubchannelAddresses() argument 499 Preconditions.checkNotNull(addrs, "addrs"); in updateSubchannelAddresses() 500 updateSubchannelAddresses(subchannel, Collections.singletonList(addrs)); in updateSubchannelAddresses() 513 Subchannel subchannel, List<EquivalentAddressGroup> addrs) { in updateSubchannelAddresses() argument
|
/external/syzkaller/vendor/google.golang.org/grpc/ |
D | balancer.go | 157 addrs []*addrInfo // all the addresses the client should potentially connect member 181 for _, v := range rr.addrs { 191 rr.addrs = append(rr.addrs, &addrInfo{addr: addr}) 193 for i, v := range rr.addrs { 195 copy(rr.addrs[i:], rr.addrs[i+1:]) 196 rr.addrs = rr.addrs[:len(rr.addrs)-1] 205 open := make([]Address, len(rr.addrs)) 206 for i, v := range rr.addrs { 230 rr.addrs = append(rr.addrs, &addrInfo{addr: Address{Addr: target}}) 255 for _, a := range rr.addrs { [all …]
|
D | balancer_conn_wrappers.go | 88 addrs []resolver.Address member 139 ccb.balancer.HandleResolvedAddrs(t.addrs, t.err) 180 func (ccb *ccBalancerWrapper) handleResolvedAddrs(addrs []resolver.Address, err error) { 186 addrs: addrs, 191 func (ccb *ccBalancerWrapper) NewSubConn(addrs []resolver.Address, opts balancer.NewSubConnOptions)… 192 if len(addrs) <= 0 { 200 ac, err := ccb.cc.newAddrConn(addrs) 251 func (acbw *acBalancerWrapper) UpdateAddresses(addrs []resolver.Address) { 254 if len(addrs) <= 0 { 258 if !acbw.ac.tryUpdateAddrs(addrs) { [all …]
|
/external/ltp/utils/sctp/lib/ |
D | connectx.c | 37 static int __connectx_addrsize(const struct sockaddr *addrs, in __connectx_addrsize() argument 45 addrbuf = addrs; in __connectx_addrsize() 67 int __sctp_connectx(int fd, struct sockaddr *addrs, int addrcnt) in __sctp_connectx() argument 69 int addrs_size = __connectx_addrsize(addrs, addrcnt); in __sctp_connectx() 74 return setsockopt(fd, SOL_SCTP, SCTP_SOCKOPT_CONNECTX_OLD, addrs, in __sctp_connectx() 82 static int __connectx(int fd, struct sockaddr *addrs, socklen_t addrs_size, in __connectx() argument 90 status = setsockopt(fd, SOL_SCTP, SCTP_SOCKOPT_CONNECTX, addrs, in __connectx() 114 addrs, addrs_size); in __connectx() 117 int sctp_connectx2(int fd, struct sockaddr *addrs, int addrcnt, in sctp_connectx2() argument 120 int addrs_size = __connectx_addrsize(addrs, addrcnt); in sctp_connectx2() [all …]
|
D | addrs.c | 38 struct sockaddr **addrs) in sctp_getaddrs() argument 83 *addrs = (struct sockaddr*)getaddrs; in sctp_getaddrs() 93 sctp_getpaddrs(int sd, sctp_assoc_t id, struct sockaddr **addrs) in sctp_getpaddrs() argument 97 addrs); in sctp_getpaddrs() 104 sctp_freepaddrs(struct sockaddr *addrs) in sctp_freepaddrs() argument 106 free(addrs); in sctp_freepaddrs() 116 sctp_getladdrs(int sd, sctp_assoc_t id, struct sockaddr **addrs) in sctp_getladdrs() argument 120 addrs); in sctp_getladdrs() 127 sctp_freeladdrs(struct sockaddr *addrs) in sctp_freeladdrs() argument 129 free(addrs); in sctp_freeladdrs()
|
/external/elfutils/libdwfl/ |
D | frame_unwind.c | 101 Dwarf_Addr *addrs; member 118 new_addrs = realloc (stack->addrs, in do_push() 119 stack->allocated * sizeof (*stack->addrs)); in do_push() 125 stack->addrs = new_addrs; in do_push() 127 stack->addrs[stack->used++] = val; in do_push() 139 *val = stack->addrs[--stack->used]; in do_pop() 158 .addrs = NULL, in expr_eval() 182 free (stack.addrs); in expr_eval() 189 free (stack.addrs); in expr_eval() 209 free (stack.addrs); in expr_eval() [all …]
|
/external/tcpdump/tests/ |
D | vrrp-v.out | 2 … Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4… 4 …: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 6 ….0.18: VRRPv3, Advertisement, vrid 44, prio 191, intvl 1000cs, length 16, addrs(2): 10.4.44.100,10… 8 … Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4… 10 …: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 14 ….0.18: VRRPv3, Advertisement, vrid 44, prio 191, intvl 1000cs, length 16, addrs(2): 10.4.44.100,10… 16 … Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4… 18 …: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 22 ….0.18: VRRPv3, Advertisement, vrid 44, prio 191, intvl 1000cs, length 16, addrs(2): 10.4.44.100,10… 24 … Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4… [all …]
|
/external/ppp/pppd/ |
D | auth.c | 1379 struct wordlist *addrs = NULL, *opts = NULL; 1397 ret = (*pap_auth_hook)(user, passwd, msg, &addrs, &opts); 1402 set_allowed_addrs(unit, addrs, opts); 1405 if (addrs != 0) 1406 free_wordlist(addrs); 1417 addrs = opts = NULL; 1425 if (scan_authfile(f, user, our_name, secret, &addrs, &opts, filename, 0) < 0) { 1479 set_allowed_addrs(unit, addrs, opts); 1482 if (addrs != NULL) 1483 free_wordlist(addrs); [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | unix_sockets_posix.cc | 43 grpc_resolved_addresses** addrs) { in grpc_resolve_unix_domain_address() argument 56 *addrs = static_cast<grpc_resolved_addresses*>( in grpc_resolve_unix_domain_address() 58 (*addrs)->naddrs = 1; in grpc_resolve_unix_domain_address() 59 (*addrs)->addrs = static_cast<grpc_resolved_address*>( in grpc_resolve_unix_domain_address() 61 un = reinterpret_cast<struct sockaddr_un*>((*addrs)->addrs->addr); in grpc_resolve_unix_domain_address() 64 (*addrs)->addrs->len = in grpc_resolve_unix_domain_address()
|
D | resolve_address.cc | 38 void grpc_resolved_addresses_destroy(grpc_resolved_addresses* addrs) { in grpc_resolved_addresses_destroy() argument 39 if (addrs != nullptr) { in grpc_resolved_addresses_destroy() 40 gpr_free(addrs->addrs); in grpc_resolved_addresses_destroy() 42 gpr_free(addrs); in grpc_resolved_addresses_destroy()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_wrapper_windows.cc | 36 const char* name, const char* default_port, grpc_lb_addresses** addrs, in inner_maybe_resolve_localhost_manually_locked() argument 57 GPR_ASSERT(*addrs == nullptr); in inner_maybe_resolve_localhost_manually_locked() 58 *addrs = grpc_lb_addresses_create(2, nullptr); in inner_maybe_resolve_localhost_manually_locked() 67 *addrs, 0, &ipv6_loopback_addr, sizeof(ipv6_loopback_addr), in inner_maybe_resolve_localhost_manually_locked() 78 *addrs, 1, &ipv4_loopback_addr, sizeof(ipv4_loopback_addr), in inner_maybe_resolve_localhost_manually_locked() 82 grpc_cares_wrapper_address_sorting_sort(*addrs); in inner_maybe_resolve_localhost_manually_locked() 89 const char* name, const char* default_port, grpc_lb_addresses** addrs) { in grpc_ares_maybe_resolve_localhost_manually_locked() argument 93 addrs, &host, &port); in grpc_ares_maybe_resolve_localhost_manually_locked()
|
D | grpc_ares_wrapper.cc | 363 grpc_lb_addresses** addrs, bool check_grpclb, char** service_config_json, in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked() argument 396 r->lb_addrs_out = addrs; in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked() 485 grpc_lb_addresses** addrs, in inner_resolve_as_ip_literal_locked() argument 510 GPR_ASSERT(*addrs == nullptr); in inner_resolve_as_ip_literal_locked() 511 *addrs = grpc_lb_addresses_create(1, nullptr); in inner_resolve_as_ip_literal_locked() 513 *addrs, 0, addr.addr, addr.len, false /* is_balancer */, in inner_resolve_as_ip_literal_locked() 522 grpc_lb_addresses** addrs) { in resolve_as_ip_literal_locked() argument 526 bool out = inner_resolve_as_ip_literal_locked(name, default_port, addrs, in resolve_as_ip_literal_locked() 537 grpc_lb_addresses** addrs, bool check_grpclb, char** service_config_json, in grpc_dns_lookup_ares_locked_impl() argument 540 if (resolve_as_ip_literal_locked(name, default_port, addrs)) { in grpc_dns_lookup_ares_locked_impl() [all …]
|
/external/strace/tests-m32/ |
D | riscv_flush_icache.c | 47 } addrs[] = { in main() local 69 for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { in main() 70 for (size_t j = 0; j < ARRAY_SIZE(addrs); j++) { in main() 73 addrs[i].addr, in main() 74 addrs[j].addr, in main() 78 addrs[i].str, addrs[j].str, flags[k].str, in main()
|
/external/strace/tests/ |
D | riscv_flush_icache.c | 47 } addrs[] = { in main() local 69 for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { in main() 70 for (size_t j = 0; j < ARRAY_SIZE(addrs); j++) { in main() 73 addrs[i].addr, in main() 74 addrs[j].addr, in main() 78 addrs[i].str, addrs[j].str, flags[k].str, in main()
|
/external/strace/tests-mx32/ |
D | riscv_flush_icache.c | 47 } addrs[] = { in main() local 69 for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { in main() 70 for (size_t j = 0; j < ARRAY_SIZE(addrs); j++) { in main() 73 addrs[i].addr, in main() 74 addrs[j].addr, in main() 78 addrs[i].str, addrs[j].str, flags[k].str, in main()
|
/external/grpc-grpc/test/core/end2end/ |
D | goaway_server_test.cc | 62 grpc_resolved_addresses** addrs) { in my_resolve_address() argument 65 on_done, addrs); in my_resolve_address() 75 *addrs = static_cast<grpc_resolved_addresses*>(gpr_malloc(sizeof(**addrs))); in my_resolve_address() 76 (*addrs)->naddrs = 1; in my_resolve_address() 77 (*addrs)->addrs = static_cast<grpc_resolved_address*>( in my_resolve_address() 78 gpr_malloc(sizeof(*(*addrs)->addrs))); in my_resolve_address() 79 memset((*addrs)->addrs, 0, sizeof(*(*addrs)->addrs)); in my_resolve_address() 81 reinterpret_cast<grpc_sockaddr_in*>((*addrs)->addrs[0].addr); in my_resolve_address() 85 (*addrs)->addrs[0].len = static_cast<socklen_t>(sizeof(*sa)); in my_resolve_address()
|
/external/grpc-grpc/test/core/client_channel/resolvers/ |
D | dns_resolver_connectivity_test.cc | 41 grpc_resolved_addresses** addrs) { in my_resolve_address() argument 51 *addrs = static_cast<grpc_resolved_addresses*>(gpr_malloc(sizeof(**addrs))); in my_resolve_address() 52 (*addrs)->naddrs = 1; in my_resolve_address() 53 (*addrs)->addrs = static_cast<grpc_resolved_address*>( in my_resolve_address() 54 gpr_malloc(sizeof(*(*addrs)->addrs))); in my_resolve_address() 55 (*addrs)->addrs[0].len = 123; in my_resolve_address()
|
/external/curl/tests/unit/ |
D | unit1608.c | 30 static struct Curl_addrinfo addrs[NUM_ADDRS]; variable 36 addrs[i].ai_next = &addrs[i + 1]; in unit_setup() 51 struct Curl_addrinfo* addrhead = addrs; 63 if(addrhead != addrs) 69 abort_unless(addrhead != addrs, "addresses are not being reordered");
|
/external/grpc-grpc/test/core/iomgr/ |
D | resolve_address_test.cc | 41 grpc_resolved_addresses* addrs; member 56 args->addrs = nullptr; in args_init() 62 grpc_resolved_addresses_destroy(args->addrs); in args_finish() 106 GPR_ASSERT(args->addrs != nullptr); in must_succeed() 107 GPR_ASSERT(args->addrs->naddrs > 0); in must_succeed() 130 &args.addrs); in test_localhost() 143 &args.addrs); in test_default_port() 156 &args.addrs); in test_non_numeric_default_port() 169 &args.addrs); in test_missing_default_port() 182 &args.addrs); in test_ipv6_with_port() [all …]
|
D | resolve_address_posix_test.cc | 43 grpc_resolved_addresses* addrs; member 58 args->addrs = nullptr; in args_init() 66 grpc_resolved_addresses_destroy(args->addrs); in args_finish() 115 GPR_ASSERT(args->addrs != nullptr); in must_succeed() 116 GPR_ASSERT(args->addrs->naddrs > 0); in must_succeed() 134 &args.addrs); in test_unix_socket() 155 &args.addrs); in test_unix_socket_path_name_too_long()
|
/external/webrtc/webrtc/p2p/stunprober/ |
D | stunprober_unittest.cc | 59 const std::vector<rtc::SocketAddress>& addrs, in StartProbing() argument 66 prober->Start(addrs, shared_socket, interval, pings_per_ip, in StartProbing() 74 std::vector<rtc::SocketAddress> addrs; in RunProber() local 75 addrs.push_back(kStunAddr1); in RunProber() 76 addrs.push_back(kStunAddr2); in RunProber() 78 addrs.push_back(kFailedStunAddr); in RunProber() 93 static_cast<uint32_t>(pings_per_ip * addrs.size()); in RunProber() 99 StartProbing(socket_factory.get(), addrs, networks, shared_mode, 3, in RunProber()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AutoConfiguredLoadBalancerFactoryTest.java | 116 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in handleResolvedAddressGroups_keepOldBalancer() 117 assertThat(addrs).isEqualTo(servers); in handleResolvedAddressGroups_keepOldBalancer() 118 return new TestSubchannel(addrs, attrs); in handleResolvedAddressGroups_keepOldBalancer() 150 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in handleResolvedAddressGroups_shutsDownOldBalancer() 151 assertThat(addrs).isEqualTo(servers); in handleResolvedAddressGroups_shutsDownOldBalancer() 152 return new TestSubchannel(addrs, attrs); in handleResolvedAddressGroups_shutsDownOldBalancer() 307 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in createSubchannel() argument 308 return delegate().createSubchannel(addrs, attrs); in createSubchannel() 351 TestSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in TestSubchannel() argument 352 this.addrs = addrs; in TestSubchannel() [all …]
|
/external/elfutils/libebl/ |
D | eblobjnote.c | 70 } addrs; in ebl_object_note() local 89 .d_buf = &addrs, .d_size = addrs_size in ebl_object_note() 115 pc = addrs.a32[0]; in ebl_object_note() 116 base = addrs.a32[1]; in ebl_object_note() 117 sem = addrs.a32[2]; in ebl_object_note() 121 pc = addrs.a64[0]; in ebl_object_note() 122 base = addrs.a64[1]; in ebl_object_note() 123 sem = addrs.a64[2]; in ebl_object_note() 155 } addrs; in ebl_object_note() local 172 .d_buf = &addrs, .d_size = descsz in ebl_object_note() [all …]
|