/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getlogin.c | 61 getlogin_r(char *answer, int namelen) argument 84 (void) strncpy(&answer[0], &ubuf.ut_user[0], 86 answer[_POSIX_LOGIN_NAME_MAX - 1] = '\0'; 87 return (&answer[0]); 114 char *answer = tsdalloc(_T_LOGIN, _POSIX_LOGIN_NAME_MAX, NULL); local 116 if (answer == NULL) 118 return (getlogin_r(answer, _POSIX_LOGIN_NAME_MAX));
|
H A D | getut.c | 303 struct utmp *answer; local 363 answer = NULL; 371 answer = &ubuf; 382 return (answer);
|
H A D | getutx.c | 613 struct utmpx *answer; local 675 answer = (struct utmpx *)NULL; 684 answer = &ubuf; 690 if (answer != NULL && (tmpxbuf.ut_type == USER_PROCESS || 694 return (answer);
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_sendsigned.c | 30 ns_tsig_key *key, u_char *answer, int anslen) 98 * Stop res_send printing the answer. 105 len = res_nsend(nstatp, newmsg, newmsglen, answer, anslen); 113 ret = ns_verify(answer, &len, dstkey, sig, siglen, 119 (stdout, ";; got answer:\n")); 124 answer, (anslen > len) ? len : anslen); 146 hp = (HEADER *) answer; 155 (stdout, ";; got answer:\n")); 160 answer, (anslen > len) ? len : anslen); 29 res_nsendsigned(res_state statp, const u_char *msg, int msglen, ns_tsig_key *key, u_char *answer, int anslen) argument
|
H A D | res_update.c | 57 * nameservers for that zone, and await answer. 96 u_char answer[PACKETSZ]; local 172 answer, sizeof answer); 174 n = res_nsend(statp, packet, n, answer, sizeof answer); 180 if (((HEADER *)answer)->rcode == NOERROR)
|
H A D | res_data.c | 193 u_char *answer, /*!< buffer to put answer */ 194 int anslen) /*!< size of answer buffer */ 200 return (res_nquery(&_res, name, class, type, answer, anslen)); 258 u_char *answer, /*!< buffer to put answer */ 259 int anslen) /*!< size of answer */ 266 return (res_nsearch(&_res, name, class, type, answer, anslen)); 273 u_char *answer, /*!< buffer to put answer */ 191 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument 256 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument 270 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument [all...] |
H A D | res_query.c | 101 * Formulate a normal query, send, and await answer. 102 * Returned answer is placed in supplied buffer "answer". 103 * Perform preliminary check of answer, returning success only 104 * if no error is indicated and the answer count is nonzero. 108 * Caller must parse answer and determine whether it answers the question. 114 u_char *answer, /*%< buffer to put answer */ 115 int anslen) /*%< size of answer buffer */ 118 HEADER *hp = (HEADER *) answer; 111 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 212 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 358 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument [all...] |
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 175 int answer; local 193 answer = atoi(buf); 195 return (answer != 0 ? answer : 2000);
|
H A D | SLPFindAttrs.c | 543 char *answer = NULL; local 548 slp_twalk(collator, collect_attrs, 0, &answer); 549 return (answer); 555 char *attr, *p, **answer = (char **)cookie; local 583 slp_add2list(attr, answer, SLP_FALSE);
|
H A D | slp_utils.c | 335 unsigned short answer = 0; local 336 (void) slp_get_sht(header, SLP_HDRLEN, &off, &answer); 337 return (answer);
|
H A D | slp_auth.c | 801 char *answer = NULL; local 817 if ((status = dld_ami_dn2str(amih, certs[0].info.subject, &answer)) 822 answer = NULL; 826 if (SLPEscape(answer, &esc_answer, SLP_FALSE) != SLP_OK) { 827 free(answer); 828 answer = NULL; 830 free(answer); 831 answer = esc_answer; 837 return (answer); 920 int answer; local [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getdxbyname.c | 45 static char ** decode_answer( unsigned char *answer, int len ); 93 decode_answer( unsigned char *answer, int len ) argument 104 /* __p_query( answer ); */ 109 hp = (HEADER *)answer; 110 eom = answer + len; 126 p = answer + HFIXEDSZ; 127 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) { 138 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdxbyname.c | 69 static char ** decode_answer( unsigned char *answer, int len ); 118 decode_answer( unsigned char *answer, int len ) argument 128 /* __p_query( answer ); */ 133 hp = (HEADER *)answer; 134 eom = answer + len; 150 p = answer + HFIXEDSZ; 151 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) { 162 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_getalias.c | 42 * -1 = other failure. Contents in answer are undefined. 113 char *answer, *new_answer; local 122 answer = malloc(ans_size); 123 if (answer == NULL) { 128 answer[0] = '\0'; 134 free(answer); 143 free(answer); 159 free(answer); 174 free(answer); 179 answer[ [all...] |
H A D | ns_common.c | 842 int answer = 0; local 863 answer++; 869 return (answer);
|
/osnet-11/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 311 * TXT record. Thus, if the TXT record exists, the answer section of 363 * Decode any answer received from the DNS server. This interface is 393 ans_t answer = {0}; local 398 * and extract the answer counts for later. 401 answer = s_ans; 405 buf = (uchar_t *)&answer.buf; 406 hp = (HEADER *)&answer.hdr; 454 * Process actual answer(s). 485 * Advance to next answer record for any
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db.cc | 778 db_log_list * answer = new db_log_list; local 780 if (answer == NULL) 784 answer->list.list_len = count; 791 entries = answer->list.list_val = new db_log_entry_p[count]; 793 delete answer; 808 answer->list.list_val = NULL; 810 return (answer);
|
H A D | db_mindex.cc | 397 db_query* answer = new db_query(scheme, obj); local 398 if (answer) { 401 * we leak 'answer'. On the other hand, if we 402 * return 'answer', the object may remain locked, 408 return (answer); 420 * Returns the first entry found in the table by setting 'answer' to 425 db_mindex::first(entryp *where, entry_object ** answer) argument 458 *answer = new_entry(ptr); 465 * Returns the next entry in the table after 'previous' by setting 'answer' to 471 db_mindex::next(entryp previous, entryp *where, entry_object **answer) argument 544 first(db_query *q, db_next_index_desc **where, entry_object ** answer) argument 581 next(db_next_index_desc *previous, db_next_index_desc **where, entry_object **answer) argument 696 entry_object_p * answer = new entry_object_p[how_many]; local [all...] |
H A D | db_table.cc | 203 long *answer = (long *)malloc((int)(listend)*sizeof (long)); local 204 if (answer == 0) { 210 answer[liststart] = count; /* size of freelist */ 213 answer[i] = current->where; 218 answer[liststart+1] = realcount; 219 READUNLOCK(this, answer, "ru db_free_list::stats"); 220 return (answer); 742 long *answer; local 746 answer = freelist.stats(3); 748 answer [all...] |
H A D | nis_db.cc | 1762 db_table_names * answer = InUseDictionary->get_table_names(); local 1764 if (answer != NULL) { 1765 for (i = 0; i < answer->db_table_names_len; i++) { 1766 printf("%s\n", answer->db_table_names_val[i]); 1767 delete answer->db_table_names_val[i]; 1769 delete answer->db_table_names_val; 1770 delete answer;
|
H A D | db_dictionary.cc | 146 db_table_desc** answer) 180 if (answer) 181 *answer = newtab; 145 create_table_desc(char *tab, table_obj* zdesc, db_table_desc** answer) argument
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 200 querybuf answer; local 255 n = (*resfunc)(host, C_IN, T_MX, (unsigned char *) &answer, 256 sizeof(answer)); 305 if (n > sizeof(answer)) 306 n = sizeof(answer); 308 /* find first satisfactory answer */ 309 hp = (HEADER *)&answer; 310 cp = (unsigned char *)&answer + HFIXEDSZ; 311 eom = (unsigned char *)&answer + n; 330 if ((n = dn_expand((unsigned char *)&answer, eo 777 querybuf answer; local [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 113 u_char *answer; /*%< buffer to put answer */ member in struct:dns_res_target 114 int anslen; /*%< size of answer buffer */ 267 q->answer = q->qbuf.buf; 275 q->answer = q->qbuf.buf; 308 p->answer, p->anslen)) < 0) { 315 if ((hp = gethostans(this, p->answer, n, name, p->qtype, 369 q->answer = q->qbuf.buf; 377 q->answer = q->qbuf.buf; 383 q2->answer [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netbios.h | 208 unsigned ancount; /* answer recs */ 213 struct resource_record *answer; member in struct:name_packet
|
H A D | smbns_netbios_name.c | 185 struct resource_record *answer; local 199 if ((answer = reply_info->packet->answer) == 0) 202 destination = answer->name; 203 question.name = answer->name; 208 packet.ancount = 0; /* answer recs */ 209 packet.answer = NULL; 236 struct resource_record *answer; local 263 answer = reply->packet->answer; 295 struct resource_record *answer; local 329 struct resource_record *answer; local 1136 struct resource_record answer; local 1225 struct resource_record answer; local 1326 struct resource_record answer; local 1386 struct resource_record answer; local [all...] |