Home
last modified time | relevance | path

Searched refs:LogMsg (Results 1 – 17 of 17) sorted by relevance

/external/toolchain-utils/cros_utils/
Dlogger.py119 def LogMsg(self, file_fd, term_fd, msg, flush=True): member in Logger
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): member in MockLogger
[all …]
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c101 LogMsg("Unable to parse DNS server list. Unicast DNS-SD unavailable"); in Reconfigure()
121 if (result != 0) { LogMsg("Could not run as daemon - exiting"); exit(result); } in ParseCmdLinArgs()
123 LogMsg("The POSIX mdnsd should only be used on OS X for testing - exiting"); in ParseCmdLinArgs()
133 LogMsg("---- BEGIN STATE LOG ----"); in DumpStateLog()
135 LogMsg("---- END STATE LOG ----"); in DumpStateLog()
174 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); in MainLoop()
186 LogMsg("%s starting", mDNSResponderVersionString); in main()
218 LogMsg("WARNING: mdnsd continuing as root because user \"%s\" does not exist", MDNS_USERNAME); in main()
224 LogMsg("%s stopping", mDNSResponderVersionString); in main()
229 LogMsg("ExitCallback: udsserver_exit failed"); in main()
DmDNSPosix.c174 LogMsg("mDNSPlatformSendUDP: Invalid argument -dstPort is set to 0"); in mDNSPlatformSendUDP()
219 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d", in mDNSPlatformSendUDP()
222LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a", errno, strerror(errno), dst); in mDNSPlatformSendUDP()
/external/mdnsresponder/mDNSCore/
DuDNS.c111LogMsg("mDNS_AddDNSServer: DNS server limit of %d reached, not adding this server", MAX_UNICAST_DN… in mDNS_AddDNSServer()
119LogMsg("mDNS_AddDNSServer: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m-… in mDNS_AddDNSServer()
141 if (!*p) LogMsg("Error: mDNS_AddDNSServer - malloc"); in mDNS_AddDNSServer()
170LogMsg("PenalizeDNSServer: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m-… in PenalizeDNSServer()
179LogMsg("PenalizeDNSServer: ERROR!! Null DNS server for %##s (%s) %d", q->qname.c, DNSTypeName(q->q… in PenalizeDNSServer()
222LogMsg("PenalizeDNSServer: ERROR!! GetServerForQuestion returned the same server %#a:%d", &new->ad… in PenalizeDNSServer()
225 LogMsg("PenalizeDNSServer: ERROR!! GetServerForQuestion returned the same server NULL"); in PenalizeDNSServer()
309LogMsg("GetAuthInfoForName_internal: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDN… in GetAuthInfoForName_internal()
356 …if (!info || !b64keydata) { LogMsg("mDNS_SetSecretForDomain: ERROR: info %p b64keydata %p", info, … in mDNS_SetSecretForDomain()
375LogMsg("mDNS_SetSecretForDomain: ERROR: Could not convert shared secret from base64: domain %##s k… in mDNS_SetSecretForDomain()
[all …]
DmDNSDebug.h98 #define LogMsg( ... ) LogMsgWithLevel(MDNS_LOG_MSG, __VA_ARGS__) macro
104 #define LogMsg( ARGS... ) LogMsgWithLevel(MDNS_LOG_MSG, ARGS)
115 #define LogMsg LogMsg_
147 #define LogMsgNoIdent LogMsg
DDNSCommon.c511 …if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); re… in AppendDNSNameString()
741LogMsg("Bad service type in %#s.%##s%##s Application protocol name must be underscore plus 1-15 ch… in ConstructServiceName()
795 LogMsg("ConstructServiceName: %s: %#s.%##s%##s", errormsg, name->c, type->c, domain->c); in ConstructServiceName()
1003LogMsg("mDNS_SetupResourceRecord: ERROR!! Mismatch LocalOnly record InterfaceID %p called with art… in mDNS_SetupResourceRecord()
1008LogMsg("mDNS_SetupResourceRecord: ERROR!! Mismatch P2P record InterfaceID %p called with artype %d… in mDNS_SetupResourceRecord()
1013LogMsg("mDNS_SetupResourceRecord: ERROR!! Mismatch InterfaceAny record InterfaceID %p called with … in mDNS_SetupResourceRecord()
1223LogMsg("SameNameRecordAnswersQuestion: ERROR!! called with LocalOnly ResourceRecord %p, Question %… in SameNameRecordAnswersQuestion()
1249LogMsg("ResourceRecordAnswersQuestion: ERROR!! called with LocalOnly/P2P ResourceRecord %p, Questi… in ResourceRecordAnswersQuestion()
1287LogMsg("LocalOnlyRecordAnswersQuestion: ERROR!! called with regular AuthRecordAny %##s", rr->name-… in LocalOnlyRecordAnswersQuestion()
1352LogMsg("AnyTypeRecordAnswersQuestion: ERROR!! called with LocalOnly ResourceRecord %p, Question %p… in AnyTypeRecordAnswersQuestion()
[all …]
DmDNS.c129LogMsg("SetNextQueryTime: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->… in SetNextQueryStopTime()
142LogMsg("SetNextQueryTime: Lock not held! mDNS_busy (%ld) mDNS_reentrancy (%ld)", m->mDNS_busy, m->… in SetNextQueryTime()
173 LogMsg("ReleaseAuthGroup: Releasing AuthGroup %##s", (*cp)->name->c); in ReleaseAuthGroup()
175 LogMsg("ERROR: (*cp)->members == mDNSNULL but (*cp)->rrauth_tail != &(*cp)->members)"); in ReleaseAuthGroup()
186 if (r->rrauth_lock) { LogMsg("GetFreeCacheRR ERROR! Cache already locked!"); return(mDNSNULL); } in GetAuthEntity()
256 …if (!ag) { LogMsg("GetAuthGroup: Failed to allocate memory for %##s", rr->name->c); return(mDNSNUL… in GetAuthGroup()
266 LogMsg("GetAuthGroup: Failed to allocate name storage for %##s", rr->name->c); in GetAuthGroup()
272 …if (AuthGroupForRecord(r, slot, rr)) LogMsg("GetAuthGroup: Already have AuthGroup for %##s", rr->n… in GetAuthGroup()
274 …if (AuthGroupForRecord(r, slot, rr) != ag) LogMsg("GetAuthGroup: Not finding AuthGroup for %##s", … in GetAuthGroup()
303 …if (!a) { LogMsg("RemoveAuthRecord: ERROR!! AuthGroup not found for %s", ARDisplayString(m, rr)); … in RemoveAuthRecord()
[all …]
DDNSDigest.c1374 …if (utc32 == (unsigned)-1) { LogMsg("ERROR: DNSDigest_SignMessage - mDNSPlatformUTC returned bad t… in DNSDigest_SignMessage()
1424 …if (!*end) { LogMsg("ERROR: DNSDigest_SignMessage - could not put TSIG"); *end = mDNSNULL; return;… in DNSDigest_SignMessage()
1453 LogMsg("ERROR: DNSDigest_VerifyMessage - TSIG algorithm not supported: %##s", algo->c); in DNSDigest_VerifyMessage()
1467 LogMsg("ERROR: DNSDigest_VerifyMessage - mDNSPlatformUTC returned bad time -1"); in DNSDigest_VerifyMessage()
1493 LogMsg("ERROR: DNSDigest_VerifyMessage - time skew > %d", fudge); in DNSDigest_VerifyMessage()
1561 LogMsg("ERROR: DNSDigest_VerifyMessage - bad signature"); in DNSDigest_VerifyMessage()
DDNSCommon.h281 …if (m->mDNS_busy != m->mDNS_reentrancy) LogMsg("%s: Locking Failure! mDNS_busy (%ld) != mDNS_reent…
285 …if (m->mDNS_busy != m->mDNS_reentrancy) LogMsg("%s: Unlocking Failure! mDNS_busy (%ld) != mDNS_ree…
/external/mdnsresponder/mDNSShared/
Duds_daemon.c289 LogMsg("%s: %s", errmsg, dnssd_strerror(dnssd_errno)); in FatalError()
305 LogMsg("%s: %d (%s)", errmsg, dnssd_errno, dnssd_strerror(dnssd_errno)); in my_perror()
311 …{ LogMsg("abort_request: ERROR: Attempt to abort operation %p with req->terminate %p", req, req->t… in abort_request()
319 …{ LogMsg("abort_request: ERROR: Attempt to abort operation %p with invalid fd %d", req, req->s… in abort_request()
355 else LogMsg("AbortUnlinkAndFree: ERROR: Attempt to abort operation %p not in list", req); in AbortUnlinkAndFree()
364 LogMsg("ERROR: create_reply - data length less than length of required fields"); in create_reply()
504 if (str_err) { LogMsg("ERROR: read_rr_from_ipc_msg - get_string"); return NULL; } in read_rr_from_ipc_msg()
506 if (!request->msgptr) { LogMsg("Error reading Resource Record from client"); return NULL; } in read_rr_from_ipc_msg()
512LogMsg("ERROR: Bad resource record flags (must be kDNSServiceFlagsShared or kDNSServiceFlagsUnique… in read_rr_from_ipc_msg()
534 LogMsg("ERROR: bad name: %s", name); in read_rr_from_ipc_msg()
[all …]
DPlatformCommon.c72 …{ LogMsg("mDNSPlatformSourceAddrForDest: connect %#a failed errno %d (%s)", dst, errno, strerror(e… in mDNSPlatformSourceAddrForDest()
75 …{ LogMsg("mDNSPlatformSourceAddrForDest: getsockname failed errno %d (%s)", errno, strerror(errno)… in mDNSPlatformSourceAddrForDest()
89 …if (len + 1 + MAX_ESCAPED_DOMAIN_NAME > sizeof(buf)-1) { LogMsg("GetConfigOption: option %s too lo… in GetConfigOption()
128 if (errno != ENOENT) LogMsg("ERROR: Config file exists, but cannot be opened."); in ReadDDNSSettingsFromConfFile()
137 if (err) LogMsg("ERROR: mDNS_SetSecretForDomain returned %d for domain %##s", err, domain->c); in ReadDDNSSettingsFromConfFile()
143 LogMsg("ERROR: malformatted config file"); in ReadDDNSSettingsFromConfFile()
Ddnsextd_parser.y206 LogMsg("ERROR: memory allocation failure");
227 LogMsg("ERROR: memory allocation failure");
249 LogMsg("ERROR: memory allocation failure");
336 LogMsg("ERROR: memory allocation failure");
Ddnssd_clientshim.c292 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceRegister()
381 …{ LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype);… in FoundInstance()
385 LogMsg("FoundInstance: %##s PTR %##s received from network is not valid DNS-SD service pointer", in FoundInstance()
440 LogMsg("DNSServiceBrowse(\"%s\", \"%s\") failed: %s (%ld)", regtype, domain, errormsg, err); in DNSServiceBrowse()
569LogMsg("DNSServiceResolve(\"%s\", \"%s\", \"%s\") failed: %s (%ld)", name, regtype, domain, errorm… in DNSServiceResolve()
694LogMsg("DNSServiceQueryRecord(\"%s\", %d, %d) failed: %s (%ld)", fullname, rrtype, rrclass, errorm… in DNSServiceQueryRecord()
770LogMsg("DNSServiceGetAddrInfo(\"%s\", %d) failed: %s (%ld)", inHostName, inProtocol, errormsg, err… in DNSServiceGetAddrInfo()
Ddnsextd.c1921 if (SendLLQ(d, &response, e->cli, NULL ) < 0) LogMsg("Error: SendEvents - SendLLQ"); in SendEvents()
2426 LogMsg( "IsAuthorized: unable to find Additional section" ); in IsAuthorized()
2685 …require_action_quiet( reply, exit, LogMsg( "TCPMessageHandler: No reply for client %s", inet_ntop(… in TCPMessageHandler()
2690 …require_action( res >= 0, exit, LogMsg("TCPMessageHandler: Unable to send reply to client %s", ine… in TCPMessageHandler()
2727 require_action( pkt || !closed, exit, err = mStatus_UnknownErr; LogMsg( "client disconnected" ) ); in RecvTCPMessage()
2773LogMsg( "Client %s Not authorized for zone %##s", inet_ntoa( context->pkt.src.sin_addr ), pkt->zon… in RecvTCPMessage()
/external/toolchain-utils/crosperf/
Dsuite_runner_unittest.py215 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/
DmDNSWin32.c479 LogMsg( "Unable to stop SMBThread" ); in mDNSPlatformClose()
1053LogMsg("ERROR: mDNSPlatformTCPConnect - attempt to connect to an IPv6 address: operation not suppo… in mDNSPlatformTCPConnect()
3245 LogMsg( "WSARecvMsg failed (%d)\n", err ); in UDPBeginRecv()
3344 LogMsg( "UDPEndRecv: WSARecvMsg control information error." ); in UDPEndRecv()
4593 if (!sa) { LogMsg("SetupAddr ERROR: NULL sockaddr"); return(mStatus_Invalid); } in SetupAddr()
4612 LogMsg("SetupAddr invalid sa_family %d", sa->sa_family); in SetupAddr()
4858 LogMsg( "SMBRegistrationThread: DNSServiceRegister returned %d\n", err ); in SMBRegistrationThread()
4874 LogMsg( "SMBRegistrationThread: WaitForMultipleObjects returned %d\n", GetLastError() ); in SMBRegistrationThread()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp8103 bool LogMsg(VuIndex vu_index, uint32_t family, const char *param_name) const { in LogMsg() function in barrier_queue_families::ValidatorState
8112 bool LogMsg(VuIndex vu_index, uint32_t src_family, uint32_t dst_family) const { in LogMsg() function in barrier_queue_families::ValidatorState
8203 skip |= val.LogMsg(kSrcOrDstMustBeIgnore, src_queue_family, dst_queue_family); in Validate()
8207 skip |= val.LogMsg(kSpecialOrIgnoreOnly, src_queue_family, dst_queue_family); in Validate()
8212 skip |= val.LogMsg(kSrcIgnoreRequiresDstIgnore, src_queue_family, dst_queue_family); in Validate()
8215 … skip |= val.LogMsg(kDstValidOrSpecialIfNotIgnore, dst_queue_family, "dstQueueFamilyIndex"); in Validate()
8218 … skip |= val.LogMsg(kSrcValidOrSpecialIfNotIgnore, src_queue_family, "srcQueueFamilyIndex"); in Validate()
8225 skip |= val.LogMsg(kSrcAndDestMustBeIgnore, src_queue_family, dst_queue_family); in Validate()
8230 skip |= val.LogMsg(kBothIgnoreOrBothValid, src_queue_family, dst_queue_family); in Validate()