Lines Matching refs:sprintf

57 			sprintf(buffer, "GET_REQ_MSG (0x%x)", type);  in pdu_type_string()
60 sprintf(buffer, "GETNEXT_REQ_MSG (0x%x)", type); in pdu_type_string()
63 sprintf(buffer, "GET_RSP_MSG (0x%x)", type); in pdu_type_string()
66 sprintf(buffer, "SET_REQ_MSG (0x%x)", type); in pdu_type_string()
69 sprintf(buffer, "TRP_MSG (0x%x)", type); in pdu_type_string()
72 sprintf(buffer, "UNKNOWN! (0x%x)", type); in pdu_type_string()
90 sprintf(buffer, "INTEGER (0x%x)", type); in asn1_type_string()
93 sprintf(buffer, "COUNTER (0x%x)", type); in asn1_type_string()
96 sprintf(buffer, "GAUGE (0x%x)", type); in asn1_type_string()
99 sprintf(buffer, "TIMETICKS (0x%x)", type); in asn1_type_string()
102 sprintf(buffer, "OCTET STRING (0x%x)", type); in asn1_type_string()
105 sprintf(buffer, "IP ADDRESS (0x%x)", type); in asn1_type_string()
108 sprintf(buffer, "OPAQUE (0x%x)", type); in asn1_type_string()
111 sprintf(buffer, "OBJECT IDENTIFIER (0x%x)", type); in asn1_type_string()
114 sprintf(buffer, "NULL (0x%x)", type); in asn1_type_string()
117 sprintf(buffer, "UNKNOWN! (0x%x)", type); in asn1_type_string()
135 sprintf(buffer, "noError(%d)", status); in error_status_string()
138 sprintf(buffer, "tooBig(%d)", status); in error_status_string()
141 sprintf(buffer, "noSuchName(%d)", status); in error_status_string()
144 sprintf(buffer, "badValue(%d)", status); in error_status_string()
147 sprintf(buffer, "readOnly(%d)", status); in error_status_string()
150 sprintf(buffer, "genErr(%d)", status); in error_status_string()
153 sprintf(buffer, "UNKNOWN! (%d)", status); in error_status_string()
171 sprintf(buffer, "coldStart(%d)", generic); in generic_trap_string()
174 sprintf(buffer, "warmStart(%d)", generic); in generic_trap_string()
177 sprintf(buffer, "linkDown(%d)", generic); in generic_trap_string()
180 sprintf(buffer, "linkUp(%d)", generic); in generic_trap_string()
183 sprintf(buffer, "authentificationFailure(%d)", generic); in generic_trap_string()
186 sprintf(buffer, "egpNeighborLoss(%d)", generic); in generic_trap_string()
189 sprintf(buffer, "enterpriseSpecific(%d)", generic); in generic_trap_string()
192 sprintf(buffer, "UNKNOWN! (%d)", generic); in generic_trap_string()
213 sprintf(buffer, "oid is NULL!"); in SSAOidString()
217 sprintf(buffer, ""); in SSAOidString()
227 sprintf(&(buffer[len]), "%lu.", oid->subids[i]); in SSAOidString()
231 sprintf(&(buffer[len]), "%lu", oid->subids[oid->len - 1]); in SSAOidString()
246 sprintf(buffer, "tv is NULL!"); in timeval_string()
250 sprintf(buffer, "%ld sec %ld usec", tv->tv_sec, tv->tv_usec); in timeval_string()
265 sprintf(buffer, "BUG: ip_address_string(): ip_address is NULL"); in ip_address_string()
272 sprintf(buffer, "%s", hp->h_name); in ip_address_string()
276 sprintf(buffer, "%s", inet_ntoa(*ip_address)); in ip_address_string()
293 sprintf(buffer, "BUG: address_string(): address is NULL"); in address_string()
300 sprintf(buffer, "%s.%d", hp->h_name, address->sin_port); in address_string()
304 sprintf(buffer, "%s.%d", inet_ntoa(address->sin_addr), address->sin_port); in address_string()
319 sprintf(error_label, "BUG: SSAStringCpy(): string1 is NULL"); in SSAStringCpy()
325 sprintf(error_label, "BUG: SSAStringCpy(): string2 is NULL"); in SSAStringCpy()
331 sprintf(error_label, "BUG: SSAStringCpy(): string1->chars is not NULL"); in SSAStringCpy()
337 sprintf(error_label, "BUG: SSAStringCpy(): string1->len is not 0"); in SSAStringCpy()
349 sprintf(error_label, ERR_MSG_ALLOC); in SSAStringCpy()
391 sprintf(error_label, "BUG: SSAStringInit(): string is NULL"); in SSAStringInit()
397 sprintf(error_label, "BUG: SSAStringInit(): string->chars is not NULL"); in SSAStringInit()
403 sprintf(error_label, "BUG: SSAStringInit(): string->len is not 0"); in SSAStringInit()
412 sprintf(error_label, ERR_MSG_ALLOC); in SSAStringInit()
490 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid1 is NULL"); in SSAOidCpy()
495 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid2 is NULL"); in SSAOidCpy()
504 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid1->subids is not NULL"); in SSAOidCpy()
509 (void)sprintf(error_label, "BUG: SSAOidCpy(): oid1->len is not 0"); in SSAOidCpy()
516 (void)sprintf(error_label, ERR_MSG_ALLOC); in SSAOidCpy()
538 sprintf(error_label, "BUG: SSAOidDup(): oid is NULL"); in SSAOidDup()
545 sprintf(error_label, ERR_MSG_ALLOC); in SSAOidDup()
611 sprintf(error_label, "BUG: SSAOidInit(): oid is NULL"); in SSAOidInit()
617 sprintf(error_label, "BUG: SSAOidInit(): oid->subids is not NULL"); in SSAOidInit()
623 sprintf(error_label, "BUG: SSAOidInit(): oid->len is not 0"); in SSAOidInit()
632 sprintf(error_label, ERR_MSG_ALLOC); in SSAOidInit()
656 sprintf(error_label, ERR_MSG_UNAME, in get_my_ip_address()
663 sprintf(error_label, ERR_MSG_GETHOSTBYNAME, in get_my_ip_address()
670 sprintf(error_label, ERR_MSG_HOSTENT_BAD_IP_LENGTH, in get_my_ip_address()
677 sprintf(error_label, ERR_MSG_HOSTENT_MISSING_IP_ADDRESS); in get_my_ip_address()
697 sprintf(error_label, "BUG: name_to_ip_address(): name is NULL"); in name_to_ip_address()
703 sprintf(error_label, "BUG: name_to_ip_address(): ip_address is NULL"); in name_to_ip_address()
712 sprintf(error_label, ERR_MSG_BAD_IP_ADDRESS, name); in name_to_ip_address()
724 sprintf(error_label, ERR_MSG_BAD_HOSTNAME, name); in name_to_ip_address()
730 sprintf(error_label, ERR_MSG_HOSTENT_BAD_IP_LENGTH, in name_to_ip_address()
737 sprintf(error_label, ERR_MSG_HOSTENT_MISSING_IP_ADDRESS); in name_to_ip_address()