Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 25 of 98) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetlogin.c83 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
158 if (answer == NULL) in getlogint()
169 getloginx_r(char *answer, int namelen) in getloginx_r() argument
171 return (getl_r_common(answer, (size_t)namelen, NMAX)); in getloginx_r()
202 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX, NULL); in getloginx() local
204 if (answer == NULL) in getloginx()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprocess.c87 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 …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c198 if ((answer = reply_info->packet->answer) == 0) in smb_end_node_challenge()
263 answer = reply->packet->answer; in smb_name_get_reply()
320 answer = packet->answer; in smb_reply_ready()
321 if (answer) in smb_reply_ready()
343 answer = reply->packet->answer; in smb_netbios_process_response()
415 ttl = (answer && answer->ttl) ? answer->ttl : DEFAULT_TTL; in smb_netbios_process_response()
453 if (answer) in smb_netbios_process_response()
1147 packet.answer = &answer; in smb_send_name_registration_response()
1235 packet.answer = &answer; in smb_send_name_release_response()
1337 packet.answer = &answer; in smb_send_name_query_response()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_getalias.c120 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 …]
/illumos-gate/usr/src/lib/libresolv/
H A Dres_query.c71 res_query(name, class, type, answer, anslen) in res_query() argument
74 u_char *answer; /* buffer to put answer */
98 n = res_send(buf, n, (char *)answer, anslen);
108 hp = (HEADER *) answer;
148 res_search(name, class, type, answer, anslen) in res_search() argument
151 u_char *answer; /* buffer to put answer */
167 return (res_query(cp, class, type, answer, anslen));
179 answer, anslen);
213 answer, anslen)) > 0)
225 res_querydomain(name, domain, class, type, answer, anslen) in res_querydomain() argument
[all …]
H A Dres_send.c134 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 Dres_gethost.c83 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,
/illumos-gate/usr/src/cmd/refer/
H A Drefer2.c76 answer[0] = 0; in doref()
112 if (strlen(temp)+strlen(answer) > BUFSIZ) in doref()
115 strcat(answer, temp); in doref()
116 if (strlen(answer) > BUFSIZ) in doref()
118 strlen(answer)); in doref()
119 if (newline(answer) > 0) in doref()
124 assert(strlen(answer) < ANSLEN); in doref()
126 switch (newline(answer)) { in doref()
133 choices(answer); in doref()
142 if (nr = chkdup(answer)) { in doref()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c53 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 Dkdcmgr.sh63 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
743 master=$answer
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dlook_up.c121 switch (response->answer) {
141 char answer; member
158 rsp.answer = swaprsp.answer;
169 char answer; member
188 rsp.answer = swaprsp.answer;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddomain.c219 querybuf answer; local
275 sizeof(answer));
324 if (n > sizeof(answer))
325 n = sizeof(answer);
328 hp = (HEADER *)&answer;
330 eom = (unsigned char *)&answer + n;
796 querybuf answer; local
902 answer.qb2, sizeof(answer.qb2));
974 if (ret > sizeof(answer))
975 ret = sizeof(answer);
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_query.c109 u_char *answer, /*%< buffer to put answer */ in res_nquery() argument
113 HEADER *hp = (HEADER *) answer; in res_nquery()
149 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery()
210 u_char *answer, /*%< buffer to put answer */ in res_nsearch() argument
214 HEADER *hp = (HEADER *) answer; in res_nsearch()
233 return (res_nquery(statp, cp, class, type, answer, anslen)); in res_nsearch()
243 answer, anslen); in res_nsearch()
271 answer, anslen); in res_nsearch()
327 answer, anslen); in res_nsearch()
357 u_char *answer, /*%< buffer to put answer */ in res_nquerydomain() argument
[all …]
H A Dres_sendsigned.c30 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 Dres_update.c92 u_char answer[PACKETSZ]; in res_nupdate() local
168 answer, sizeof answer); in res_nupdate()
170 n = res_nsend(statp, packet, n, answer, sizeof answer); in res_nupdate()
176 if (((HEADER *)answer)->rcode == NOERROR) in res_nupdate()
H A Dres_data.c189 u_char *answer, /*!< buffer to put answer */ in res_query() argument
196 return (res_nquery(&_res, name, class, type, answer, anslen)); in res_query()
254 u_char *answer, /*!< buffer to put answer */ in res_search() argument
262 return (res_nsearch(&_res, name, class, type, answer, anslen)); in res_search()
269 u_char *answer, /*!< buffer to put answer */ in res_querydomain() argument
279 answer, anslen)); in res_querydomain()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c69 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()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd.x35 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){
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c628 char answer[BUFSIZ]; in again() local
637 if (!fgets(answer, sizeof (answer), stdin)) in again()
640 answer[strlen(answer) -1] = '\0'; in again()
643 STREQU(answer, "q") in again()
644 || STREQU(answer, "n") in again()
645 || STREQU(answer, "no") in again()
650 !*answer in again()
651 || STREQU(answer, "y") in again()
652 || STREQU(answer, "yes") in again()
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_auth.c825 answer = NULL; in alias2dn()
830 free(answer); in alias2dn()
831 answer = NULL; in alias2dn()
833 free(answer); in alias2dn()
840 return (answer); in alias2dn()
923 int answer; in dncmp() local
931 answer = 1; in dncmp()
940 answer = 1; in dncmp()
949 answer = 1; in dncmp()
957 answer = 1; in dncmp()
[all …]
H A Dslp_config.c175 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()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex.cc400 if (answer) { in extract_index_values_from_object()
410 return (answer); in extract_index_values_from_object()
460 *answer = new_entry(ptr); in first()
486 *answer = new_entry(ptr); in next()
559 *answer = NULL; in first()
568 *answer = new_entry(ptr); in first()
584 entry_object **answer) in next() argument
604 *answer = new_entry(ptr); in next()
699 if (answer == NULL) { in all()
713 answer[0] = NULL; in all()
[all …]
H A Ddb_table.cc210 if (answer == 0) { in stats()
219 answer[i] = current->where; in stats()
224 answer[liststart+1] = realcount; in stats()
226 return (answer); in stats()
748 long *answer; in stats() local
752 answer = freelist.stats(3); in stats()
757 if (answer) { in stats()
758 answer[0] = table_size; in stats()
759 answer[1] = last_used; in stats()
760 answer[2] = count; in stats()
[all …]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dsendmail_include.sh34 answer=$default
38 answer=$1
40 answer=$default
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c1270 uint64_t answer; in pci_alloc_resource() local
1403 HIADDR(answer), LOADDR(answer), alen); 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()
1443 HIADDR(answer), in pci_alloc_resource()
1444 LOADDR(answer), in pci_alloc_resource()
1455 phys_spec.pci_phys_low = LOADDR(answer); in pci_alloc_resource()
1494 HIADDR(answer), in pci_alloc_resource()
1495 LOADDR(answer), in pci_alloc_resource()
1533 HIADDR(answer), in pci_alloc_resource()
[all …]

1234