• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/mDNSResponder-561.1.1/mDNSShared/

Lines Matching defs:tmp

96 // Uncomment the line below to use the old error return mechanism of creating a temporary named socket (e.g. in /var/tmp)
106 #define CTL_PATH_PREFIX "/var/tmp/dnssd_result_socket."
347 char ctrl_path[64] = ""; // "/var/tmp/dnssd_result_socket.xxxxxxxxxx-xxx-xxxxxx"
1149 DNSServiceOp *tmp;
1152 DNSServiceErrorType err = ConnectToServer(&tmp, 0, getproperty_request, NULL, NULL, NULL);
1155 hdr = create_hdr(getproperty_request, &len, &ptr, 0, tmp);
1156 if (!hdr) { DNSServiceRefDeallocate(tmp); return kDNSServiceErr_NoMemory; }
1159 err = deliver_request(hdr, tmp); // Will free hdr for us
1160 if (read_all(tmp->sockfd, (char*)&actualsize, (int)sizeof(actualsize)) < 0)
1161 { DNSServiceRefDeallocate(tmp); return kDNSServiceErr_ServiceNotRunning; }
1164 if (read_all(tmp->sockfd, (char*)result, actualsize < *size ? actualsize : *size) < 0)
1165 { DNSServiceRefDeallocate(tmp); return kDNSServiceErr_ServiceNotRunning; }
1166 DNSServiceRefDeallocate(tmp);
1180 DNSServiceOp *tmp;
1183 DNSServiceErrorType err = ConnectToServer(&tmp, 0, getpid_request, NULL, NULL, NULL);
1187 hdr = create_hdr(getpid_request, &len, &ptr, 0, tmp);
1190 DNSServiceRefDeallocate(tmp);
1195 err = deliver_request(hdr, tmp); // Will free hdr for us
1197 if (read_all(tmp->sockfd, (char*)pid, sizeof(int32_t)) < 0)
1199 DNSServiceRefDeallocate(tmp);
1203 DNSServiceRefDeallocate(tmp);
1542 DNSServiceOp *tmp;
1546 DNSServiceErrorType err = ConnectToServer(&tmp, 0, setdomain_request, NULL, NULL, NULL);
1549 hdr = create_hdr(setdomain_request, &len, &ptr, 0, tmp);
1550 if (!hdr) { DNSServiceRefDeallocate(tmp); return kDNSServiceErr_NoMemory; }
1554 err = deliver_request(hdr, tmp); // Will free hdr for us
1555 DNSServiceRefDeallocate(tmp);
2069 DNSServiceOp *tmp;
2071 DNSServiceErrorType err = ConnectToServer(&tmp, flags, reconfirm_record_request, NULL, NULL, NULL);
2079 hdr = create_hdr(reconfirm_record_request, &len, &ptr, 0, tmp);
2080 if (!hdr) { DNSServiceRefDeallocate(tmp); return kDNSServiceErr_NoMemory; }
2090 err = deliver_request(hdr, tmp); // Will free hdr for us
2091 DNSServiceRefDeallocate(tmp);