/prebuilts/go/darwin-x86/src/net/ |
dnsclient_test.go | 12 func checkDistribution(t *testing.T, data []*SRV, margin float64) { 14 for _, srv := range data { 15 sum += int(srv.Weight) 22 d := make([]*SRV, len(data)) 43 data := make([]*SRV, size) 45 data[i] = &SRV{Target: string('a' + i), Weight: 1} 59 data := []*SRV{
|
dnsclient.go | 159 // An SRV represents a single DNS SRV record. 160 type SRV struct { 167 // byPriorityWeight sorts SRV records by ascending priority and weight. 168 type byPriorityWeight []*SRV 176 // shuffleByWeight shuffles SRV records by weight using the algorithm 200 // sort reorders SRV records as specified in RFC 2782.
|
lookup_stub.go | 31 func lookupSRV(service, proto, name string) (cname string, srvs []*SRV, err error) {
|
lookup_unix.go | 94 func lookupSRV(service, proto, name string) (string, []*SRV, error) { 105 srvs := make([]*SRV, len(rrs)) 108 srvs[i] = &SRV{Target: rr.Target, Port: rr.Port, Priority: rr.Priority, Weight: rr.Weight}
|
lookup.go | 140 // LookupSRV tries to resolve an SRV query of the given service, 147 // publishing SRV records under non-standard names, if both service 149 func LookupSRV(service, proto, name string) (cname string, addrs []*SRV, err error) {
|
lookup_windows.go | 239 func lookupSRV(service, proto, name string) (string, []*SRV, error) { 255 srvs := make([]*SRV, 0, 10) 258 srvs = append(srvs, &SRV{syscall.UTF16ToString((*[256]uint16)(unsafe.Pointer(v.Target))[:]), v.Port, v.Priority, v.Weight})
|
dnsmsg_test.go | 186 // Valid DNS SRV reply 196 // Corrupt DNS SRV reply, with its final RR having a bogus length
|
lookup_plan9.go | 206 func lookupSRV(service, proto, name string) (cname string, addrs []*SRV, err error) { 213 lines, err := queryDNS(target, "srv") 228 addrs = append(addrs, &SRV{f[5], uint16(port), uint16(priority), uint16(weight)})
|
lookup_test.go | 77 for _, srv := range srvs { 78 if !strings.HasSuffix(srv.Target, tt.target) && !strings.HasSuffix(srv.Target, tt.target+".") { 79 t.Errorf("got %v; want a record containing %s", srv, tt.target) 460 for _, srv := range srvs { 461 if !strings.HasSuffix(srv.Target, ".google.com.") { 493 func srvString(srvs []*SRV) string { 497 for _, srv := range srvs { 498 fmt.Fprintf(&buf, "%s%s:%d:%d:%d", sep, srv.Target, srv.Port, srv.Priority, srv.Weight [all...] |
/prebuilts/go/linux-x86/src/net/ |
dnsclient_test.go | 12 func checkDistribution(t *testing.T, data []*SRV, margin float64) { 14 for _, srv := range data { 15 sum += int(srv.Weight) 22 d := make([]*SRV, len(data)) 43 data := make([]*SRV, size) 45 data[i] = &SRV{Target: string('a' + i), Weight: 1} 59 data := []*SRV{
|
dnsclient.go | 159 // An SRV represents a single DNS SRV record. 160 type SRV struct { 167 // byPriorityWeight sorts SRV records by ascending priority and weight. 168 type byPriorityWeight []*SRV 176 // shuffleByWeight shuffles SRV records by weight using the algorithm 200 // sort reorders SRV records as specified in RFC 2782.
|
lookup_stub.go | 31 func lookupSRV(service, proto, name string) (cname string, srvs []*SRV, err error) {
|
lookup_unix.go | 94 func lookupSRV(service, proto, name string) (string, []*SRV, error) { 105 srvs := make([]*SRV, len(rrs)) 108 srvs[i] = &SRV{Target: rr.Target, Port: rr.Port, Priority: rr.Priority, Weight: rr.Weight}
|
lookup.go | 140 // LookupSRV tries to resolve an SRV query of the given service, 147 // publishing SRV records under non-standard names, if both service 149 func LookupSRV(service, proto, name string) (cname string, addrs []*SRV, err error) {
|
lookup_windows.go | 239 func lookupSRV(service, proto, name string) (string, []*SRV, error) { 255 srvs := make([]*SRV, 0, 10) 258 srvs = append(srvs, &SRV{syscall.UTF16ToString((*[256]uint16)(unsafe.Pointer(v.Target))[:]), v.Port, v.Priority, v.Weight})
|
dnsmsg_test.go | 186 // Valid DNS SRV reply 196 // Corrupt DNS SRV reply, with its final RR having a bogus length
|
lookup_plan9.go | 206 func lookupSRV(service, proto, name string) (cname string, addrs []*SRV, err error) { 213 lines, err := queryDNS(target, "srv") 228 addrs = append(addrs, &SRV{f[5], uint16(port), uint16(priority), uint16(weight)})
|
lookup_test.go | 77 for _, srv := range srvs { 78 if !strings.HasSuffix(srv.Target, tt.target) && !strings.HasSuffix(srv.Target, tt.target+".") { 79 t.Errorf("got %v; want a record containing %s", srv, tt.target) 460 for _, srv := range srvs { 461 if !strings.HasSuffix(srv.Target, ".google.com.") { 493 func srvString(srvs []*SRV) string { 497 for _, srv := range srvs { 498 fmt.Fprintf(&buf, "%s%s:%d:%d:%d", sep, srv.Target, srv.Port, srv.Priority, srv.Weight [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
rdatatype.py | 64 SRV = 33 126 'SRV' : SRV,
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
SRV.py | 22 class SRV(dns.rdata.Rdata): 23 """SRV record 38 super(SRV, self).__init__(rdclass, rdtype)
|
/external/mdnsresponder/mDNSShared/ |
dnssd_clientshim.c | 87 const ResourceRecord *SRV; 241 domainname t, d, h, srv; local 257 if (!ConstructServiceName(&srv, &n, &t, &d)) { errormsg = "Bad Name"; goto badparam; } 461 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL; 466 if (answer->rrtype == kDNSType_SRV) x->SRV = answer; 468 if (x->SRV && x->TXT && x->callback) 472 ConvertDomainNameToCString(&x->SRV->rdata->u.srv.target, targethost); 474 x->SRV->rdata->u.srv.port.NotAnInteger, x->TXT->rdlength, (unsigned char*)x->TXT->rdata->u.txt.c, x->cont (…) 494 domainname t, d, srv; local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ProgramState.cpp | 741 if (const SymbolRegionValue *SRV = dyn_cast<SymbolRegionValue>(*SI)) 742 Tainted = Tainted || isTainted(SRV->getRegion(), Kind);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
windns.h | 675 DNS_SRV_DATAW SRV,Srv; 708 DNS_SRV_DATAA SRV,Srv;
|
/external/webrtc/talk/media/testdata/ |
h264-svc-99-640x360.rtpdump | 453 ??/?t?G. Q??O?,b?b?8??e?d?K?U?c???y*???e"??u??O?? ??(l Z}??S?:kVP???]SRV(?
O????Q??1n???#??na??o?"+??}$U???y??? ?c%k??'??f?? f ???,r 8 >?? ??4?z? v?Hc^X|d'?v?I\f???]? ??~??+??V????I???[????!???+?h??-[#?MNox??Rd1iK????1?<zIA?d???0??P???AE~s?\ [all...] |