/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | getlogin.c | 83 getl_r_common(char *answer, size_t namelen, size_t maxlen) in getl_r_common() argument 117 (void) strncpy(answer, ubuf.ut_user, ulen); in getl_r_common() 118 answer[ulen] = '\0'; in getl_r_common() 119 return (answer); in getl_r_common() 127 getlogint_r(char *answer, int namelen) in getlogint_r() argument 129 return (getl_r_common(answer, (size_t)namelen, LOGNAME_MAX_TRAD)); in getlogint_r() 156 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX_TRAD, NULL); in getlogint() local 158 if (answer == NULL) in getlogint() 160 return (getl_r_common(answer, LOGIN_NAME_MAX_TRAD, LOGNAME_MAX_TRAD)); in getlogint() 169 getloginx_r(char *answer, int namelen) in getloginx_r() argument [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | process.c | 87 response->answer = FAILED; in process_request() 106 response->answer = SUCCESS; in process_request() 118 response->answer = SUCCESS; in process_request() 120 response->answer = NOT_HERE; in process_request() 126 response->answer = delete_invite(request->id_num); in process_request() 131 response->answer = UNKNOWN_REQUEST; in process_request() 148 response->answer = result; in do_announce() 155 response->answer = MACHINE_UNKNOWN; in do_announce() 162 response->answer = announce(request, hp->h_name); in do_announce() 169 response->answer = announce(request, hp->h_name); in do_announce() [all …]
|
/titanic_50/usr/src/lib/libsldap/common/ |
H A D | ns_getalias.c | 120 char *answer, *new_answer; in __getldapaliasbyname() local 129 answer = malloc(ans_size); in __getldapaliasbyname() 130 if (answer == NULL) { in __getldapaliasbyname() 135 answer[0] = '\0'; in __getldapaliasbyname() 182 answer[0] = '\0'; in __getldapaliasbyname() 208 new_answer = realloc(answer, ans_size); in __getldapaliasbyname() 213 free(answer); in __getldapaliasbyname() 216 answer = new_answer; in __getldapaliasbyname() 219 (void) strcat(answer, ","); in __getldapaliasbyname() 222 (void) strcat(answer, newhead); in __getldapaliasbyname() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 183 struct resource_record *answer; in smb_end_node_challenge() local 197 if ((answer = reply_info->packet->answer) == 0) in smb_end_node_challenge() 200 destination = answer->name; in smb_end_node_challenge() 201 question.name = answer->name; in smb_end_node_challenge() 207 packet.answer = NULL; in smb_end_node_challenge() 234 struct resource_record *answer; in smb_name_get_reply() local 262 answer = reply->packet->answer; in smb_name_get_reply() 263 wait_time = (answer) ? in smb_name_get_reply() 264 TO_MILLISECONDS(answer->ttl) : in smb_name_get_reply() 298 struct resource_record *answer; in smb_reply_ready() local [all …]
|
/titanic_50/usr/src/lib/libresolv/ |
H A D | res_query.c | 73 res_query(name, class, type, answer, anslen) in res_query() argument 76 u_char *answer; /* buffer to put answer */ 100 n = res_send(buf, n, (char *)answer, anslen); 110 hp = (HEADER *) answer; 150 res_search(name, class, type, answer, anslen) in res_search() argument 153 u_char *answer; /* buffer to put answer */ 169 return (res_query(cp, class, type, answer, anslen)); 181 answer, anslen); 215 answer, anslen)) > 0) 227 res_querydomain(name, domain, class, type, answer, anslen) in res_querydomain() argument [all …]
|
H A D | res_send.c | 134 res_send(buf, buflen, answer, anslen) in res_send() argument 137 char *answer; 152 HEADER *anhp = (HEADER *) answer; 239 cp = answer; 270 cp = answer; 442 if ((resplen = recv(s, answer, anslen, 0)) 458 p_query(answer); 481 p_query(answer);
|
H A D | res_gethost.c | 83 getanswer(answer, anslen, iquery) in getanswer() argument 84 querybuf *answer; in getanswer() 97 eom = answer->buf + anslen; 101 hp = &answer->hdr; 106 cp = answer->buf + sizeof (HEADER); 109 if ((n = dn_expand(answer->buf, eom, 138 if ((n = dn_expand(answer->buf, eom, 159 if ((n = dn_expand(answer->buf, eom,
|
/titanic_50/usr/src/cmd/refer/ |
H A D | refer2.c | 47 char answer[ANSLEN], temp[TLEN], line[BUFSIZ]; in doref() local 78 answer[0] = 0; in doref() 114 if (strlen(temp)+strlen(answer) > BUFSIZ) in doref() 117 strcat(answer, temp); in doref() 118 if (strlen(answer) > BUFSIZ) in doref() 120 strlen(answer)); in doref() 121 if (newline(answer) > 0) in doref() 126 assert(strlen(answer) < ANSLEN); in doref() 128 switch (newline(answer)) { in doref() 135 choices(answer); in doref() [all …]
|
/titanic_50/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 53 unsigned char answer[NS_MAXMSG], *ansp = NULL, *end, a, b, c, d; in main() local 105 anslen = sizeof (answer); in main() 106 len = res_nsearch(&stat, name, C_IN, rr_type, answer, anslen); in main() 113 ansp = answer; in main() 117 h = (HEADER *)answer; in main() 128 len = dn_expand(answer, end, ansp, name, hostlen); in main() 143 len = dn_expand(answer, end, ansp, name, hostlen); in main() 161 len = dn_expand(answer, end, ansp, name, hostlen); in main() 176 len = dn_expand(answer, end, ansp, name, hostlen); in main()
|
H A D | kdcmgr.sh | 63 read answer 64 [ -z "$answer" ] && answer="$default_answer" 71 answer= 78 while [[ -z $answer ]]; do 80 case $answer in 81 $y|$yes) answer=yes;; 82 $n|$no) answer=no;; 83 *) answer=;; 91 if [[ $answer = no ]]; then 140 if [[ $answer = no ]]; then [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | look_up.c | 121 switch (response->answer) { 141 char answer; member 158 rsp.answer = swaprsp.answer; 169 char answer; member 188 rsp.answer = swaprsp.answer;
|
/titanic_50/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_query.c | 114 u_char *answer, /*%< buffer to put answer */ in res_nquery() argument 118 HEADER *hp = (HEADER *) answer; in res_nquery() 154 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery() 215 u_char *answer, /*%< buffer to put answer */ in res_nsearch() argument 219 HEADER *hp = (HEADER *) answer; in res_nsearch() 238 return (res_nquery(statp, cp, class, type, answer, anslen)); in res_nsearch() 248 answer, anslen); in res_nsearch() 276 answer, anslen); in res_nsearch() 332 answer, anslen); in res_nsearch() 362 u_char *answer, /*%< buffer to put answer */ in res_nquerydomain() argument [all …]
|
H A D | res_sendsigned.c | 30 ns_tsig_key *key, u_char *answer, int anslen) in res_nsendsigned() argument 105 len = res_nsend(nstatp, newmsg, newmsglen, answer, anslen); in res_nsendsigned() 113 ret = ns_verify(answer, &len, dstkey, sig, siglen, in res_nsendsigned() 124 answer, (anslen > len) ? len : anslen); in res_nsendsigned() 146 hp = (HEADER *) answer; in res_nsendsigned() 160 answer, (anslen > len) ? len : anslen); in res_nsendsigned()
|
H A D | res_update.c | 96 u_char answer[PACKETSZ]; in res_nupdate() local 172 answer, sizeof answer); in res_nupdate() 174 n = res_nsend(statp, packet, n, answer, sizeof answer); in res_nupdate() 180 if (((HEADER *)answer)->rcode == NOERROR) in res_nupdate()
|
H A D | res_data.c | 193 u_char *answer, /*!< buffer to put answer */ in res_query() argument 200 return (res_nquery(&_res, name, class, type, answer, anslen)); in res_query() 258 u_char *answer, /*!< buffer to put answer */ in res_search() argument 266 return (res_nsearch(&_res, name, class, type, answer, anslen)); in res_search() 273 u_char *answer, /*!< buffer to put answer */ in res_querydomain() argument 283 answer, anslen)); in res_querydomain()
|
/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 221 querybuf answer; local 276 n = (*resfunc)(host, C_IN, T_MX, (unsigned char *) &answer, 277 sizeof(answer)); 326 if (n > sizeof(answer)) 327 n = sizeof(answer); 330 hp = (HEADER *)&answer; 331 cp = (unsigned char *)&answer + HFIXEDSZ; 332 eom = (unsigned char *)&answer + n; 351 if ((n = dn_expand((unsigned char *)&answer, eom, cp, 368 if ((n = dn_expand((unsigned char *)&answer, eom, cp, [all …]
|
/titanic_50/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 ) in decode_answer() argument 133 hp = (HEADER *)answer; in decode_answer() 134 eom = answer + len; in decode_answer() 150 p = answer + HFIXEDSZ; in decode_answer() 151 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) { in decode_answer() 162 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) { in decode_answer()
|
/titanic_50/usr/src/cmd/ypcmd/ |
H A D | ypxfrd.x | 35 enum answer {OK,GETDBM_EOF,GETDBM_ERROR}; enum 58 union pag switch (answer status){ 71 union dir switch (answer status){ 89 union dbmfyl switch (answer status){
|
/titanic_50/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_align.c | 627 char answer[BUFSIZ]; in again() local 636 if (!fgets(answer, sizeof (answer), stdin)) in again() 639 answer[strlen(answer) -1] = '\0'; in again() 642 STREQU(answer, "q") in again() 643 || STREQU(answer, "n") in again() 644 || STREQU(answer, "no") in again() 649 !*answer in again() 650 || STREQU(answer, "y") in again() 651 || STREQU(answer, "yes") in again()
|
/titanic_50/usr/src/lib/libslp/clib/ |
H A D | slp_auth.c | 804 char *answer = NULL; in alias2dn() local 820 if ((status = dld_ami_dn2str(amih, certs[0].info.subject, &answer)) in alias2dn() 825 answer = NULL; in alias2dn() 829 if (SLPEscape(answer, &esc_answer, SLP_FALSE) != SLP_OK) { in alias2dn() 830 free(answer); in alias2dn() 831 answer = NULL; in alias2dn() 833 free(answer); in alias2dn() 834 answer = esc_answer; in alias2dn() 840 return (answer); in alias2dn() 923 int answer; in dncmp() local [all …]
|
H A D | slp_config.c | 175 int answer; in slp_get_next_onlist() local 193 answer = atoi(buf); in slp_get_next_onlist() 195 return (answer != 0 ? answer : 2000); in slp_get_next_onlist()
|
/titanic_50/usr/src/lib/libnisdb/ |
H A D | db_mindex.cc | 399 db_query* answer = new db_query(scheme, obj); in extract_index_values_from_object() local 400 if (answer) { in extract_index_values_from_object() 410 return (answer); in extract_index_values_from_object() 427 db_mindex::first(entryp *where, entry_object ** answer) in first() argument 460 *answer = new_entry(ptr); in first() 473 db_mindex::next(entryp previous, entryp *where, entry_object **answer) in next() argument 486 *answer = new_entry(ptr); in next() 547 db_next_index_desc **where, entry_object ** answer) in first() argument 559 *answer = NULL; in first() 568 *answer = new_entry(ptr); in first() [all …]
|
H A D | db_table.cc | 208 long *answer = (long *)malloc((int)(listend)*sizeof (long)); in stats() local 209 if (answer == 0) { in stats() 215 answer[liststart] = count; /* size of freelist */ in stats() 218 answer[i] = current->where; in stats() 223 answer[liststart+1] = realcount; in stats() 224 READUNLOCK(this, answer, "ru db_free_list::stats"); in stats() 225 return (answer); in stats() 747 long *answer; in stats() local 751 answer = freelist.stats(3); in stats() 753 answer = (long *)malloc(3*sizeof (long)); in stats() [all …]
|
/titanic_50/usr/src/cmd/svc/shell/ |
H A D | sendmail_include.sh | 34 answer=$default 38 answer=$1 40 answer=$default
|
/titanic_50/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 1270 uint64_t answer; in pci_alloc_resource() local 1397 &request, &answer, &alen, NDI_RA_TYPE_MEM, in pci_alloc_resource() 1403 HIADDR(answer), LOADDR(answer), alen); in pci_alloc_resource() 1407 ddi_put32(h, (uint32_t *)v, LOADDR(answer)); in pci_alloc_resource() 1409 phys_spec.pci_phys_low = LOADDR(answer); in pci_alloc_resource() 1410 phys_spec.pci_phys_mid = HIADDR(answer); in pci_alloc_resource() 1432 &request, &answer, &alen, NDI_RA_TYPE_MEM, in pci_alloc_resource() 1443 HIADDR(answer), in pci_alloc_resource() 1444 LOADDR(answer), in pci_alloc_resource() 1449 ddi_put32(h, (uint32_t *)v, LOADDR(answer)); in pci_alloc_resource() [all …]
|