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

12

/barrelfish-master/lib/libc/resolv/
H A Dres_query.c101 * 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
406 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_data.c166 u_char *answer, /*!< buffer to put answer */
167 int anslen) /*!< size of answer buffer */
174 return (res_nquery(statp, name, class, type, answer, anslen));
239 u_char *answer, /*!< buffer to put answer */
240 int anslen) /*!< size of answer */
248 return (res_nsearch(statp, name, class, type, answer, anslen));
255 u_char *answer, /*!< buffer to put answer */
164 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument
237 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument
252 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_update.c60 * nameservers for that zone, and await answer.
99 u_char answer[PACKETSZ]; local
180 answer, sizeof answer);
183 n = res_nsend(statp, packet, n, answer, sizeof answer);
189 if (((HEADER *)answer)->rcode == NOERROR)
/barrelfish-master/usr/eclipseclp/lib_tcl/
H A Dtkeclipse.tcl571 foreach t {.tkecl.pane.stdio.tout .tkecl.pane.answer.tout} {
628 # Make the existing outputs in stdio and answer windows non-current
637 .tkecl.pane.answer.tout tag remove highlight 1.0 end
638 .tkecl.pane.answer.tout tag remove errorcolour 1.0 end
639 .tkecl.pane.answer.tout tag remove successcolour 1.0 end
642 .tkecl.pane.answer.tout mark set q$tkecl(nquery) "end -1 chars"
643 .tkecl.pane.answer.tout mark gravity q$tkecl(nquery) left
951 frame .tkecl.pane.answer -relief groove -bd 3
952 scrollbar .tkecl.pane.answer.vscroll -command ".tkecl.pane.answer
[all...]
/barrelfish-master/lib/libc/net/
H A Dgethostbydns.c140 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument
157 eom = answer->buf + anslen;
171 * find first satisfactory answer
173 hp = &answer->hdr;
178 cp = answer->buf;
184 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
215 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
241 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
271 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
309 n = dn_expand(answer
433 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) argument
[all...]
H A Dgetnetbydns.c156 getnetanswer(querybuf *answer, int anslen, int net_i, struct netent *ne, argument
170 * find first satisfactory answer
172 * answer --> +------------+ ( MESSAGE )
183 eom = answer->buf + anslen;
184 hp = &answer->hdr;
185 ancount = ntohs(hp->ancount); /* #/records in the answer section */
189 cp = answer->buf + HFIXEDSZ;
204 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
216 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
H A Dgetaddrinfo.c240 u_char *answer; /* buffer to put answer */ member in struct:res_target
241 int anslen; /* size of answer buffer */
1983 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument
2005 eom = answer->buf + anslen;
2016 * find first satisfactory answer
2018 hp = &answer->hdr;
2023 cp = answer->buf + HFIXEDSZ;
2028 n = dn_expand(answer->buf, eom, cp, bp, ep - bp);
2052 n = dn_expand(answer
2721 u_char *answer; local
[all...]
/barrelfish-master/usr/eclipseclp/JavaInterface/src/com/parctechnologies/eclipse/
H A DEclipseConnectionImpl.java383 CompoundTerm answer = (CompoundTerm) receiveGoal();
386 if(answer.functor().equals("fail") &&
387 answer.arity() == 0)
393 if(answer.functor().equals("throw") &&
394 answer.arity() == 0)
399 return answer;
/barrelfish-master/usr/eclipseclp/
H A DRUNME87 eval answer=\$$2
91 echo "$1 [$answer]? "
99 answer="$new"
104 answer="$new"
108 if test "$new" != "$answer"; then
112 answer="$new"
116 eval $2=\"$answer\"
/barrelfish-master/usr/eclipseclp/Kernel/lib/
H A Dtoplevel.pl752 answer(Vars, Before, After, AnswerCode),
786 :- mode answer(++,++,++,-).
787 answer([], Cut, Cut, last_yes ) :- !.
788 answer([], _, _, yes ) :- !.
789 answer(_, Cut, Cut, last_answer ) :- !.
790 answer(_, _, _, more_answers).
/barrelfish-master/usr/eclipseclp/ecrc_solvers/
H A Dpropia.pl66 answer, the goal is delayed until one of its variables is
240 % ground, or when the Goal has only one answer left.
307 % The suspended goal mysusp, checks each answer to Goal and fails if
308 % the answer is an instance of the current msg. This is "merely" an
369 % A Goal has only one answer left, either when it is instantiated, or,
521 printf(error, "The answer %w should be ground%n", [Term]),
/barrelfish-master/usr/eclipseclp/Contrib/
H A Dflat.pl41 enables you to make your own versions. Note that the answer is
H A Dmap.pl354 % the answer. It fails if Arg is not in the domain of Map, or if the
/barrelfish-master/lib/openssl-1.0.0d/engines/
H A De_chil.c1290 char answer; local
1307 "\r\n", "Cc", UI_INPUT_FLAG_ECHO, &answer);
1315 if (ok == -2 || (ok >= 0 && answer == 'C'))
/barrelfish-master/usr/eclipseclp/documents/libman/
H A Dextpropia.tex396 is one that searches for the unique answer to
434 answer and if not it fails.
435 If there is an answer it checks to see if the constraint is already
H A Dic.tex157 from looking at an answer how much error has crept into the computation; it
160 significant. This means it can be hard to know whether or not the answer
171 interval contains the true answer. This is the principle behind the bounded
179 only possible answer is ``don't know''. This is reflected in the behaviour
/barrelfish-master/usr/eclipseclp/documents/tutorial/
H A Dprolog.tex324 actually give a separate {\bf Yes} answer for every way in which the
333 The second answer will only be given after the user has explicitely
335 Sometimes the system cannot decide whether an answer is the last one.
337 {\bf No} answer, like in the following example:
343 Of course, as long as there was at least one {\bf Yes} answer, the query
1094 \item Predicate returns the correct answer when first called.
H A Dreal.tex509 this program to find the answer. Note that other, larger solutions are
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Dtypes.h775 answer, member in struct:__anon1659
H A Ddict.c1213 d_.answer = in_dict("answer",0);
/barrelfish-master/usr/eclipseclp/documents/megalog/
H A Ddatabase-sec.tex509 % Giving: answer isr Rel1 where ( Cond1 or Cond2 )
515 answer isr X1 :+: X2.
519 ?- answer isr Rel1 where Cond1,
520 answer <++ Rel1 where Cond2,
/barrelfish-master/usr/eclipseclp/documents/applications/
H A Dtutorial.tex1776 \subsection{Failure} Probably the most common error symptom is a failure\index{failure} of the application. Instead of producing an answer, the system returns 'no'\index{no}. This is caused by:
1784 \subsection{Wrong answer}
1785 More rare is the situation where a ``wrong'' answer \index{wrong answer}is returned. This means that the program computes a result, which we do not accept as an answer. The cause of the problem typically lies in a mismatch of the intended behaviour of the program (what we think it is doing) and the actual behaviour.
1787 In a constraint problem we then have to identify which constraint(s) should eliminate this answer and why that didn't happen. There are two typical scenarios.
1793 We can often distinguish these problems by re-stating the constraint a second time after the wrong answer has been found.
1795 If the constraint still accepts the solution, then we can assume that it simply does not exclude this solution. We will have to reconsider the declarative definition of the constraint to reject this wrong answer.
1799 \subsection{Missing answer} Probably the most complex problem is a missing answer\inde
[all...]
/barrelfish-master/usr/eclipseclp/documents/userman/
H A Dumserrors.tex240 156 & An atom stating the answer to the query that was just executed.
H A Dextsuspend.tex595 variables, occur check or propagating from the answer variable
/barrelfish-master/usr/eclipseclp/documents/intro_paper/
H A Declipse.tex1059 second answer.
1448 The answer is not incorrect, as $ria$ only guarantees that any
1450 guarantee the existence of an answer in that interval.
1522 The answer returned by \ECL is

Completed in 207 milliseconds

12