/external/toolchain-utils/cros_utils/ |
logger.py | 119 def LogMsg(self, file_fd, term_fd, msg, flush=True): 150 self.LogMsg(self.cmdfd, self._GetStdout(print_to_console), 154 self.LogMsg(self.stderr, self._GetStderr(print_to_console), 156 self.LogMsg(self.stderr, self._GetStderr(print_to_console), 161 self.LogMsg(self.stderr, self._GetStderr(print_to_console), 165 self.LogMsg(self.stderr, self._GetStderr(print_to_console), 169 self.LogMsg(self.stdout, self._GetStdout(print_to_console), 185 self.LogMsg(self.stdout, 191 self.LogMsg(self.stderr, 268 def LogMsg(self, _file_fd, _term_fd, msg, **_kwargs) [all...] |
/external/mdnsresponder/mDNSPosix/ |
PosixDaemon.c | 101 LogMsg("Unable to parse DNS server list. Unicast DNS-SD unavailable"); 121 if (result != 0) { LogMsg("Could not run as daemon - exiting"); exit(result); } 123 LogMsg("The POSIX mdnsd should only be used on OS X for testing - exiting"); 133 LogMsg("---- BEGIN STATE LOG ----"); 135 LogMsg("---- END STATE LOG ----"); 174 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); 186 LogMsg("%s starting", mDNSResponderVersionString); 218 LogMsg("WARNING: mdnsd continuing as root because user \"%s\" does not exist", MDNS_USERNAME); 224 LogMsg("%s stopping", mDNSResponderVersionString); 229 LogMsg("ExitCallback: udsserver_exit failed") [all...] |
mDNSPosix.c | 174 LogMsg("mDNSPlatformSendUDP: Invalid argument -dstPort is set to 0"); 219 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d", 222 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a", errno, strerror(errno), dst); 765 //LogMsg("Joining %.16a on %d", &imr6.ipv6mr_multiaddr, imr6.ipv6mr_interface); 879 //LogMsg("SetupOneInterface: %#a %#a", &intf->coreIntf.ip, &intf->coreIntf.mask); [all...] |
/external/mdnsresponder/mDNSCore/ |
mDNSDebug.h | 98 #define LogMsg( ... ) LogMsgWithLevel(MDNS_LOG_MSG, __VA_ARGS__) 104 #define LogMsg( ARGS... ) LogMsgWithLevel(MDNS_LOG_MSG, ARGS) 115 #define LogMsg LogMsg_ 141 extern int mDNS_DebugMode; // If non-zero, LogMsg() writes to stderr instead of syslog 147 #define LogMsgNoIdent LogMsg
|
uDNS.c | 111 LogMsg("mDNS_AddDNSServer: DNS server limit of %d reached, not adding this server", MAX_UNICAST_DNS_SERVERS); 119 LogMsg("mDNS_AddDNSServer: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->mDNS_reentrancy); 141 if (!*p) LogMsg("Error: mDNS_AddDNSServer - malloc"); 170 LogMsg("PenalizeDNSServer: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->mDNS_reentrancy); 179 LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->qtype), q->unansweredQueries); 222 LogMsg("PenalizeDNSServer: ERROR!! GetServerForQuestion returned the same server %#a:%d", &new->addr, 225 LogMsg("PenalizeDNSServer: ERROR!! GetServerForQuestion returned the same server NULL"); 309 LogMsg("GetAuthInfoForName_internal: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->mDNS_reentrancy); 356 if (!info || !b64keydata) { LogMsg("mDNS_SetSecretForDomain: ERROR: info %p b64keydata %p", info, b64keydata); return(mStatus_BadParamErr); } 375 LogMsg("mDNS_SetSecretForDomain: ERROR: Could not convert shared secret from base64: domain %##s key %##s (…) [all...] |
DNSCommon.c | 511 if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); return(mDNSNULL); } [all...] |
mDNS.c | 129 LogMsg("SetNextQueryTime: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->mDNS_reentrancy); 142 LogMsg("SetNextQueryTime: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->mDNS_reentrancy); 173 LogMsg("ReleaseAuthGroup: Releasing AuthGroup %##s", (*cp)->name->c); 175 LogMsg("ERROR: (*cp)->members == mDNSNULL but (*cp)->rrauth_tail != &(*cp)->members)"); 186 if (r->rrauth_lock) { LogMsg("GetFreeCacheRR ERROR! Cache already locked!"); return(mDNSNULL); } 256 if (!ag) { LogMsg("GetAuthGroup: Failed to allocate memory for %##s", rr->name->c); return(mDNSNULL); } 266 LogMsg("GetAuthGroup: Failed to allocate name storage for %##s", rr->name->c); 272 if (AuthGroupForRecord(r, slot, rr)) LogMsg("GetAuthGroup: Already have AuthGroup for %##s", rr->name->c); 274 if (AuthGroupForRecord(r, slot, rr) != ag) LogMsg("GetAuthGroup: Not finding AuthGroup for %##s", rr->name->c); 303 if (!a) { LogMsg("RemoveAuthRecord: ERROR!! AuthGroup not found for %s", ARDisplayString(m, rr)); return mDNSNULL; [all...] |
DNSCommon.h | 281 if (m->mDNS_busy != m->mDNS_reentrancy) LogMsg("%s: Locking Failure! mDNS_busy (%ld) != mDNS_reentrancy (%ld)", __func__, m->mDNS_busy, m->mDNS_reentrancy); \ 285 if (m->mDNS_busy != m->mDNS_reentrancy) LogMsg("%s: Unlocking Failure! mDNS_busy (%ld) != mDNS_reentrancy (%ld)", __func__, m->mDNS_busy, m->mDNS_reentrancy); \
|
DNSDigest.c | [all...] |
/external/mdnsresponder/mDNSShared/ |
PlatformCommon.c | 72 { LogMsg("mDNSPlatformSourceAddrForDest: connect %#a failed errno %d (%s)", dst, errno, strerror(errno)); goto exit; } 75 { LogMsg("mDNSPlatformSourceAddrForDest: getsockname failed errno %d (%s)", errno, strerror(errno)); goto exit; } 89 if (len + 1 + MAX_ESCAPED_DOMAIN_NAME > sizeof(buf)-1) { LogMsg("GetConfigOption: option %s too long", option); return mDNSfalse; } 128 if (errno != ENOENT) LogMsg("ERROR: Config file exists, but cannot be opened."); 137 if (err) LogMsg("ERROR: mDNS_SetSecretForDomain returned %d for domain %##s", err, domain->c); 143 LogMsg("ERROR: malformatted config file");
|
uds_daemon.c | 289 LogMsg("%s: %s", errmsg, dnssd_strerror(dnssd_errno)); 302 // hack to search-replace perror's to LogMsg's 305 LogMsg("%s: %d (%s)", errmsg, dnssd_errno, dnssd_strerror(dnssd_errno)); 311 { LogMsg("abort_request: ERROR: Attempt to abort operation %p with req->terminate %p", req, req->terminate); return; } 319 { LogMsg("abort_request: ERROR: Attempt to abort operation %p with invalid fd %d", req, req->sd); return; } 355 else LogMsg("AbortUnlinkAndFree: ERROR: Attempt to abort operation %p not in list", req); 364 LogMsg("ERROR: create_reply - data length less than length of required fields"); 504 if (str_err) { LogMsg("ERROR: read_rr_from_ipc_msg - get_string"); return NULL; } 506 if (!request->msgptr) { LogMsg("Error reading Resource Record from client"); return NULL; } 512 LogMsg("ERROR: Bad resource record flags (must be kDNSServiceFlagsShared or kDNSServiceFlagsUnique)") [all...] |
dnsextd_parser.y | 206 LogMsg("ERROR: memory allocation failure"); 227 LogMsg("ERROR: memory allocation failure"); 249 LogMsg("ERROR: memory allocation failure"); 336 LogMsg("ERROR: memory allocation failure");
|
dnssd_clientshim.c | 116 //LogMsg("DNSServiceRefDeallocate"); 292 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); 364 //LogMsg("DNSServiceBrowseDispose"); 381 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; } 385 LogMsg("FoundInstance: %##s PTR %##s received from network is not valid DNS-SD service pointer", 440 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); 569 LogMsg("DNSServiceResolve(\"%s\", \"%s\", \"%s\") failed: %s (%ld)", name, regtype, domain, errormsg, err); 694 LogMsg("DNSServiceQueryRecord(\"%s\", %d, %d) failed: %s (%ld)", fullname, rrtype, rrclass, errormsg, err); 770 LogMsg("DNSServiceGetAddrInfo(\"%s\", %d) failed: %s (%ld)", inHostName, inProtocol, errormsg, err);
|
dnsextd.c | [all...] |
/external/toolchain-utils/crosperf/ |
suite_runner_unittest.py | 215 save_log_msg = self.real_logger.LogMsg 216 self.real_logger.LogMsg = FakeLogMsg 246 self.real_logger.LogMsg = save_log_msg 288 save_log_msg = self.real_logger.LogMsg 289 self.real_logger.LogMsg = FakeLogMsg 339 self.real_logger.LogMsg = save_log_msg
|
/external/mdnsresponder/mDNSWindows/ |
mDNSWin32.c | 479 LogMsg( "Unable to stop SMBThread" ); [all...] |
/external/vulkan-validation-layers/layers/ |
core_validation.cpp | [all...] |