Lines Matching refs:errormsg

239 	const char *errormsg = "Unknown";  in DNSServiceRegister()  local
253 …else if (!MakeDomainLabelFromLiteralString(&n, name)) { errormsg = "B… in DNSServiceRegister()
254 …if (!regtype || !*regtype || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "B… in DNSServiceRegister()
255 …if (!MakeDomainNameFromDNSNameString(&d, (domain && *domain) ? domain : "local.")) { errormsg = "B… in DNSServiceRegister()
256 …if (!MakeDomainNameFromDNSNameString(&h, (host && *host ) ? host : "")) { errormsg = "B… in DNSServiceRegister()
257 …if (!ConstructServiceName(&srv, &n, &t, &d)) { errormsg = "B… in DNSServiceRegister()
264 if (!x) { err = mStatus_NoMemoryErr; errormsg = "No memory"; goto fail; } in DNSServiceRegister()
283 if (err) { mDNSPlatformMemFree(x); errormsg = "mDNS_RegisterService"; goto fail; } in DNSServiceRegister()
292 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceRegister()
409 const char *errormsg = "Unknown"; in DNSServiceBrowse() local
416 …if (!regtype[0] || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "Illegal regty… in DNSServiceBrowse()
417 …if (!MakeDomainNameFromDNSNameString(&d, *domain ? domain : "local.")) { errormsg = "Illegal domai… in DNSServiceBrowse()
421 if (!x) { err = mStatus_NoMemoryErr; errormsg = "No memory"; goto fail; } in DNSServiceBrowse()
431 if (err) { mDNSPlatformMemFree(x); errormsg = "mDNS_StartBrowse"; goto fail; } in DNSServiceBrowse()
440 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceBrowse()
492 const char *errormsg = "Unknown"; in DNSServiceResolve() local
501 …if (!name[0] || !MakeDomainLabelFromLiteralString(&n, name )) { errormsg = "Bad Instance Name"… in DNSServiceResolve()
502 …if (!regtype[0] || !MakeDomainNameFromDNSNameString(&t, regtype)) { errormsg = "Bad Service Type";… in DNSServiceResolve()
503 …if (!domain[0] || !MakeDomainNameFromDNSNameString(&d, domain )) { errormsg = "Bad Domain"; … in DNSServiceResolve()
504 …if (!ConstructServiceName(&srv, &n, &t, &d)) { errormsg = "Bad Name"; … in DNSServiceResolve()
508 if (!x) { err = mStatus_NoMemoryErr; errormsg = "No memory"; goto fail; } in DNSServiceResolve()
558 …if (err) { DNSServiceResolveDispose((mDNS_DirectOP*)x); errormsg = "mDNS_StartQuery qSRV"; goto fa… in DNSServiceResolve()
560 …if (err) { DNSServiceResolveDispose((mDNS_DirectOP*)x); errormsg = "mDNS_StartQuery qTXT"; goto fa… in DNSServiceResolve()
569 …DNSServiceResolve(\"%s\", \"%s\", \"%s\") failed: %s (%ld)", name, regtype, domain, errormsg, err); in DNSServiceResolve()
652 const char *errormsg = "Unknown"; in DNSServiceQueryRecord() local
660 if (!x) { err = mStatus_NoMemoryErr; errormsg = "No memory"; goto fail; } in DNSServiceQueryRecord()
687 if (err) { DNSServiceResolveDispose((mDNS_DirectOP*)x); errormsg = "mDNS_StartQuery"; goto fail; } in DNSServiceQueryRecord()
694 …DNSServiceQueryRecord(\"%s\", %d, %d) failed: %s (%ld)", fullname, rrtype, rrclass, errormsg, err); in DNSServiceQueryRecord()
744 const char * errormsg = "Unknown"; in DNSServiceGetAddrInfo() local
750 if (!x) { err = mStatus_NoMemoryErr; errormsg = "No memory"; goto fail; } in DNSServiceGetAddrInfo()
764 …if (err) { DNSServiceGetAddrInfoDispose((mDNS_DirectOP*)x); errormsg = "DNSServiceQueryRecord"; go… in DNSServiceGetAddrInfo()
770 …LogMsg("DNSServiceGetAddrInfo(\"%s\", %d) failed: %s (%ld)", inHostName, inProtocol, errormsg, err… in DNSServiceGetAddrInfo()