Lines Matching refs:sprintf

94 &log(sprintf("Listening at address %d.%d.%d.%d port %d",
141 $name = sprintf("[[%d.%d.%d.%d]]",$1,$2,$3,$4);
166 &debug(sprintf("hostname(%d.%d.%d.%d) = \"%s\"",unpack("C4",$addr),$name))
169 &debug(sprintf("Failed to get name for %d.%d.%d.%d",unpack("C4",$addr)));
170 return sprintf("[%d.%d.%d.%d]",unpack("C4",$addr));
176 &debug(sprintf("%d request(s) scheduled",scalar(@Requests)));
199 &debug(sprintf("Request: %s: %s(%d)",&hostname($addr), &ntp'cntrlop_name($op), $assoc)); #';))
203 sprintf("&retry(\"%s\");",unpack("H*",$req)));
262 &debug(sprintf("%s uses auth_keyid %d",&hostname($from),$auth_keyid)) if defined($auth_keyid);
277 &log(sprintf("%50s: %s: %s",(gethostbyaddr($from,&AF_INET))[$[],$ret,$data));
302 &debug(sprintf("Schedule timeout \"%s\" for %s", $id, $date));
319 &debug(sprintf("Refreshing trap for %s", &hostname($addr)));
332 &debug(sprintf("Retry failed: %s assoc %5d op %d",
337 &debug(sprintf("Retrying: %s assoc %5d op %d",
350 $msg .= sprintf("%40s trap#%-5d",
352 &debug (sprintf("\nTrap %d associd %d:\n%s\n===============\n",$seq,$associd,$data));
369 $msg .= sprintf("%s %s ",
385 $msg .= sprintf("- %-32s",&ntp'clock_status($Cstatus)); #');
397 $msg .= sprintf("peer %5d ",$associd);
399 $msg .= sprintf("%-18s %40s ", "[$srcadr]",
411 $msg .= sprintf("- %-32s",&ntp'clock_status($Cstatus)); #');
432 sprintf("&refresh(\"%s\");",unpack("H*",$from)));
438 $msg .= sprintf(" %40s ", &hostname($from));
445 $msg .= sprintf("peer %5d clock",$associd);
447 $msg .= sprintf("%-32s",&ntp'clock_status($status)); #');
462 $msg .= sprintf(" status=%04x",$status);