Searched refs:answer (Results 1 - 25 of 201) sorted by relevance

123456789

/macosx-10.9.5/autofs-234/automountlib/
H A Dwe_are_a_server.c35 static int answer; local
45 answer = 1;
47 answer = 0;
50 return (answer);
/macosx-10.9.5/remote_cmds-41.90.1/timed.tproj/timed.tproj/
H A Dcksum.c63 register u_short answer; local
86 answer = ~sum; /* truncate to 16 bits */
87 return (answer);
H A Dacksend.c45 struct tsp *answer; variable in typeref:struct:tsp
101 answer = 0;
103 if (!answer) {
117 answer = readmsg(ack, name, &twait, net);
118 if (answer != 0) {
119 if (answer->tsp_seq != sequence) {
122 answer->tsp_seq, sequence);
132 return(answer);
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/ident/
H A Dident.tcl41 set answer [list resp-type USERID opsys $opsys \
46 set answer [list resp-type ERROR error $addinfo]
50 if {![info exists answer]} {
51 set answer [list resp-type FATAL \
54 return $answer
58 gets $sock answer
60 lappend command [parse $answer]
83 gets $sock answer
85 return [parse $answer]
/macosx-10.9.5/emacs-92/emacs/lisp/
H A Duserlock.el50 (let (answer short-opponent short-file)
62 (while (null answer)
71 (setq answer (assoc tem '((?s . t)
76 (cond ((null answer)
80 ((eq (cdr answer) 'help)
82 (setq answer nil))
83 ((eq (cdr answer) 'yield)
85 (cdr answer))))
114 (let (answer)
115 (while (null answer)
[all...]
/macosx-10.9.5/ruby-104/ruby/test/rubygems/
H A Dinsure_session.rb33 answer = gets
34 if(answer =~ /^y/i || answer =~ /^[^a-zA-Z0-9]$/) then
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_addrinfo.c51 ADDRINFO *answer;
128 if ((ret = __os_calloc(env, 1, sizeof(ADDRINFO), &answer)) != 0)
130 if ((ret = __os_malloc(env, sizeof(sin), &answer->ai_addr)) != 0) {
131 __os_free(env, answer);
135 answer->ai_family = AF_INET;
136 answer->ai_protocol = IPPROTO_TCP;
137 answer->ai_socktype = SOCK_STREAM;
138 answer->ai_addrlen = sizeof(sin);
139 memcpy(answer->ai_addr, &sin, sizeof(sin));
140 *res = answer;
[all...]
/macosx-10.9.5/nano-11/src/
H A Dprompt.c33 /* The cursor position in answer. */
35 /* The place we want in answer. */
37 /* The old cursor position in answer, if any. */
39 /* The old place we want in answer, if any. */
298 statusbar_x = actual_x(answer,
305 update_statusbar_line(answer, statusbar_x);
325 assert(answer != NULL);
327 answer_len = strlen(answer);
361 answer = charealloc(answer, answer_le
[all...]
/macosx-10.9.5/Libinfo-449.1.3/dns.subproj/
H A Dres_query.c54 // Perform a DNS query. Returned DNS response is placed in the answer buffer.
55 // A preliminary check of the answer is performed and success is returned only
56 // if no error is indicated in the answer and the answer count is nonzero.
59 _mdns_query(int call, const char *name, int class, int type, u_char *answer, int anslen) argument
81 memcpy(answer, p->dns_packet, MIN(res, anslen));
90 HEADER *hp = (HEADER *)answer;
121 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument
123 return _mdns_query(SI_CALL_DNS_QUERY, name, class, type, answer, anslen);
127 res_search(const char *name, int class, int type, u_char *answer, in argument
[all...]
/macosx-10.9.5/libtelnet-13/
H A Dgetent.c76 char *answer, *tempid; local
79 retval = cgetstr(area, tempid, &answer);
81 return((retval > 0) ? answer : NULL);
/macosx-10.9.5/CPANInternal-140/Net-DNS/contrib/
H A Dloclist.pl36 foreach $ans ($query->answer) {
49 if (defined ($query)) { # then we got an answer of some sort
50 foreach $ans ($query->answer) {
61 foreach $ans ($query->answer) {
89 foreach $ans ($query->answer) {
97 foreach $ans ($query->answer) {
110 foreach $ans ($query->answer) {
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_app_answer.rb15 answer = the_answer_to_life_the_universe_and_everything
/macosx-10.9.5/tcl-102/tcl_ext/quicktimetcl/quicktimetcl/
H A DMovieUtils.c558 int answer = 0; local
571 answer = compressFlags | codecInfoDoes1;
575 answer = compressFlags | codecInfoDoes2;
579 answer = compressFlags | codecInfoDoes4;
583 answer = compressFlags | codecInfoDoes8;
587 answer = compressFlags | codecInfoDoes16;
591 answer = compressFlags | codecInfoDoes32;
605 answer = formatFlags | codecInfoDepth1;
609 answer = formatFlags | codecInfoDepth2;
613 answer
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dgetrrsetbyname.c181 struct dns_rr *answer; member in struct:dns_response
211 u_char answer[ANSWER_BUFFER_SIZE]; local
249 answer, sizeof(answer));
265 response = parse_dns_response(answer, length);
284 rrset->rri_ttl = response->answer->ttl;
293 /* copy name from answer section */
294 rrset->rri_name = strdup(response->answer->name);
301 rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass,
303 rrset->rri_nsigs = count_dns_rr(response->answer, rrse
396 parse_dns_response(const u_char *answer, int size) argument
461 parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count) argument
507 parse_dns_rrsection(const u_char *answer, int size, const u_char **cp, int count) argument
[all...]
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSPosix/
H A DIdentify.c55 static volatile int StopNow; // 0 means running, 1 means stop because we got an answer, 2 means stop because of Ctrl-C
95 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument
101 if (answer->rrtype == kDNSType_PTR || answer->rrtype == kDNSType_CNAME)
103 ConvertDomainNameToCString(&answer->rdata->u.name, hostname);
105 mprintf("%##s %s %##s\n", answer->name->c, DNSTypeName(answer->rrtype), answer->rdata->u.name.c);
109 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument
114 if (answer
151 ServicesCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument
[all...]
/macosx-10.9.5/remote_cmds-41.90.1/talkd.tproj/
H A Dprocess.c80 rp->answer = BADVERSION;
88 rp->answer = BADADDR;
95 rp->answer = BADCTLADDR;
101 rp->answer = FAILED;
117 rp->answer = SUCCESS;
128 rp->answer = SUCCESS;
130 rp->answer = NOT_HERE;
134 rp->answer = delete_invite(mp->id_num);
138 rp->answer = UNKNOWN_REQUEST;
155 rp->answer
[all...]
H A Dprint.c89 if (rp->answer > NANSWERS) {
90 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
93 ap = answers[rp->answer];
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/
H A Dtest_hmac.c56 char answer[20] = "\x2c\xfa\x32\xb7\x2b\x8a\xf6\xdf\xcf\xda" local
70 if (ct_memcmp(hmac, answer, hmaclen) != 0) {
71 printf("wrong answer\n");
/macosx-10.9.5/Libc-997.90.3/include/protocols/
H A Dtalkd.h94 unsigned char answer; /* not used */ member in struct:__anon2879
121 unsigned char answer; /* respose to request message, see below */ member in struct:__anon2880
139 /* answer values */
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/
H A Dguess.d26 answer = (rand() % 100) + 1;
77 /self->doneguess && guess == answer/
87 /self->doneguess && guess != answer/
91 printf("%s...\n", guess < answer ? "Higher" : "Lower");
/macosx-10.9.5/dtrace-118.1/DTTk/Extra/
H A Dguess.d26 answer = (rand() % 100) + 1;
77 /self->doneguess && guess == answer/
87 /self->doneguess && guess != answer/
91 printf("%s...\n", guess < answer ? "Higher" : "Lower");
/macosx-10.9.5/CPANInternal-140/HTTP-Proxy/t/
H A DUtils.pm36 my $answer = shift;
42 # compute some answer
44 if ( ref $answer eq 'CODE' ) {
45 $rep = $answer->( $req, @_ );
/macosx-10.9.5/CPANInternal-140/HTTP-Proxy-0.25/t/
H A DUtils.pm36 my $answer = shift;
42 # compute some answer
44 if ( ref $answer eq 'CODE' ) {
45 $rep = $answer->( $req, @_ );
/macosx-10.9.5/CPANInternal-140/Net-DNS/demo/
H A Dcheck_soa17 answer authoritatively.
68 foreach my $nsrr (grep {$_->type eq "NS" } $ns_req->answer) {
89 foreach my $ip (map { $_->address } grep { $_->type eq 'A' } $a_req->answer) {
118 # We should have received exactly one answer.
122 warn "expected 1 answer, got ", $soa_req->header->ancount, "\n";
130 unless (($soa_req->answer)[0]->type eq "SOA") {
131 warn "expected SOA, got ", ($soa_req->answer)[0]->type, "\n";
139 print "has serial number ", ($soa_req->answer)[0]->serial, "\n";
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOS9/
H A DMac OS Test Searcher.c100 mDNS_StopResolveService(m, query); // For this test code, one answer is sufficient
109 static void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument
115 debugf("FoundInstance %##s PTR %##s", answer->name->c, answer->rdata->u.name.c);
117 if (answer->rrtype != kDNSType_PTR) return;
123 info->i.name = answer->rdata->u.name;
124 info->i.InterfaceID = answer->InterfaceID;
141 static void FoundDomain(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) argument
148 debugf("FoundDomain %##s PTR %##s", answer->name->c, answer
[all...]

Completed in 171 milliseconds

123456789