Home
last modified time | relevance | path

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

12345678910>>...34

/netbsd-src/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-jac.c80 try_base (mp_limb_t a, mp_limb_t b, int answer) in try_base() argument
88 if (got != answer) in try_base()
92 a, b, got, answer); in try_base()
99 try_zi_ui (mpz_srcptr a, unsigned long b, int answer) in try_zi_ui() argument
104 if (got != answer) in try_zi_ui()
108 printf (", %lu) is %d should be %d\n", b, got, answer); in try_zi_ui()
115 try_zi_si (mpz_srcptr a, long b, int answer) in try_zi_si() argument
120 if (got != answer) in try_zi_si()
124 printf (", %ld) is %d should be %d\n", b, got, answer); in try_zi_si()
131 try_ui_zi (unsigned long a, mpz_srcptr b, int answer) in try_ui_zi() argument
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Danswer.c19 answer_init(answer_type *answer) in answer_init() argument
21 answer->rrset_count = 0; in answer_init()
25 answer_add_rrset(answer_type *answer, rr_section_type section, in answer_add_rrset() argument
35 for (i = 0; i < answer->rrset_count; ++i) { in answer_add_rrset()
36 if (answer->rrsets[i] == rrset && in answer_add_rrset()
37 answer->domains[i]->number == domain->number) { in answer_add_rrset()
38 if (section < answer->section[i]) { in answer_add_rrset()
39 answer->section[i] = section; in answer_add_rrset()
47 if (answer->rrset_count >= MAXRRSPP) { in answer_add_rrset()
52 answer->section[answer->rrset_count] = section; in answer_add_rrset()
[all …]
H A Dquery.c49 answer_type *answer,
56 answer_type *answer,
64 answer_type *answer, size_t domain_number,
679 add_additional_rrsets(struct query *query, answer_type *answer, in add_additional_rrsets() argument
686 assert(answer); in add_additional_rrsets()
730 answer_add_rrset(answer, types[j].rr_section, in add_additional_rrsets()
749 answer_type *answer, in add_rrset() argument
757 assert(answer); in add_rrset()
762 result = answer_add_rrset(answer, section, owner, rrset); in add_rrset()
770 add_additional_rrsets(query, answer, rrset, 0, 1, in add_rrset()
[all …]
H A Dnsec3.h20 struct answer;
47 void nsec3_answer_wildcard(struct query* query, struct answer* answer,
54 void nsec3_answer_nodata(struct query *query, struct answer *answer,
60 void nsec3_answer_delegation(struct query *query, struct answer *answer);
67 struct answer *answer, struct domain* closest_encloser,
/netbsd-src/external/mpl/bind/dist/bin/tests/system/wildcard/
H A Dtests_wildcard.py116 """Any label with maching rdtype must result in wildcard data in answer."""
136 assert response_msg.answer == expected_answer, str(response_msg)
195 assert response_msg.answer == expected_answer, str(response_msg)
87 check_answer_nodata(querymsg, answer) global() argument
99 check_answer_noerror(querymsg, answer) global() argument
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/targets/
H A DSECONDARY39 $answer = "cp foo.f foo.e\ncp foo.e foo.d\n";
40 &compare_output($answer, &get_logfile(1));
47 $answer = "$make_name: `foo.d' is up to date.\n";
48 &compare_output($answer, &get_logfile(1));
56 $answer = "cp foo.f foo.e\ncp foo.e foo.d\n";
57 &compare_output($answer, &get_logfile(1));
62 $answer = "cp foo.e foo.c\n";
63 &compare_output($answer, &get_logfile(1));
70 $answer = "$make_name: `foo.c' is up to date.\n";
71 &compare_output($answer, &get_logfile(1));
[all …]
H A DINTERMEDIATE39 $answer = "cp foo.f foo.e\ncp foo.e foo.d\nrm foo.e\n";
40 &compare_output($answer, &get_logfile(1));
45 $answer = "$make_name: `foo.d' is up to date.\n";
46 &compare_output($answer, &get_logfile(1));
54 $answer = "cp foo.f foo.e\ncp foo.e foo.d\nrm foo.e\n";
55 &compare_output($answer, &get_logfile(1));
60 $answer = "cp foo.f foo.e\ncp bar.f bar.e\ncat foo.e bar.e > foo.c\nrm bar.e foo.e\n";
61 &compare_output($answer, &get_logfile(1));
66 $answer = "$make_name: `foo.c' is up to date.\n";
67 &compare_output($answer, &get_logfile(1));
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/fast_float/
H A Dfast_float.h273 value128 answer; in full_multiplication() local
276 answer.high = __umulh(a, b); in full_multiplication()
277 answer.low = a * b; in full_multiplication()
279 answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64 in full_multiplication()
282 answer.low = uint64_t(r); in full_multiplication()
283 answer.high = uint64_t(r >> 64); in full_multiplication()
287 return answer; in full_multiplication()
596 parsed_number_string answer; in parse_number_string() local
597 answer.valid = false; in parse_number_string()
598 answer.too_many_digits = false; in parse_number_string()
[all …]
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/features/
H A Dtargetvars64 $answer = "one bar\nfoo two\nBAR=1000\nfoo bar\n";
65 &compare_output($answer,&get_logfile(1));
70 $answer = "one 2\n1 2\n";
71 &compare_output($answer,&get_logfile(1));
76 $answer = "x ok ok\n";
77 &compare_output($answer,&get_logfile(1));
82 $answer = "eight: seven eight\nseven: seven seven\n";
83 &compare_output($answer,&get_logfile(1));
88 $answer = "wallace bar wallace bar\n";
89 &compare_output($answer,&get_logfile(1));
[all …]
H A Ddouble_colon49 $answer = "aaa\nbbb\n";
50 &compare_output($answer, &get_logfile(1));
56 $answer = "aaa\nbbb\n";
57 &compare_output($answer, &get_logfile(1));
63 $answer = "aaa\naaa done\nbbb\n";
64 &compare_output($answer, &get_logfile(1));
70 $answer = "aaa\naaa done\nbbb\n";
71 &compare_output($answer, &get_logfile(1));
80 $answer = "f1.h\nfoo FIRST\n";
81 &compare_output($answer, &get_logfile(1));
[all …]
H A Dexport52 $answer = "FOO=foo BAR=bar BAZ=baz BOZ=boz BITZ=bitz BOTZ=botz
55 &compare_output($answer,&get_logfile(1));
63 $answer = "FOO=foo BAR=bar BAZ=baz BOZ=boz BITZ=bitz BOTZ=botz
66 &compare_output($answer,&get_logfile(1));
72 $answer = "FOO=foo BAR=bar BAZ=baz BOZ=boz BITZ=bitz BOTZ=botz
75 &compare_output($answer,&get_logfile(1));
81 $answer = "FOO=foo BAR=bar BAZ=baz BOZ=boz BITZ=bitz BOTZ=botz
84 &compare_output($answer,&get_logfile(1));
90 $answer = "FOO=foo BAR=bar BAZ=baz BOZ=boz BITZ=bitz BOTZ=botz
93 &compare_output($answer,&get_logfile(1));
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Duser-email.sh.in364 read answer < /dev/tty
365 case "$answer" in
371 if test "$i" = "$answer"; then
377 case "$answer" in
378 "<"*">") answer=`echo "$answer" | sed -e 's/^<//' -e 's/>$//'` ;;
380 case "$answer" in
386 addr=`echo "$answer" | sed -n -e "$lowercase_sed"`
396 read answer < /dev/tty
397 if test -z "$answer"; then
401 case "$answer" in
[all …]
/netbsd-src/usr.bin/make/unit-tests/
H A Dternary.exp1 The answer is unknown
2 The answer is unknown
3 The answer is empty
4 The answer is known
5 The answer is
6 The answer is empty
7 The answer is known
8 The answer is 42
9 The answer is 42
/netbsd-src/libexec/talkd/
H A Dprocess.c82 rp->answer = BADVERSION; in process_request()
88 rp->answer = BADADDR; in process_request()
94 rp->answer = BADCTLADDR; in process_request()
109 rp->answer = SUCCESS; in process_request()
120 rp->answer = SUCCESS; in process_request()
122 rp->answer = NOT_HERE; in process_request()
126 rp->answer = delete_invite(mp->id_num); in process_request()
130 rp->answer = UNKNOWN_REQUEST; in process_request()
150 rp->answer = result; in do_announce()
155 rp->answer = MACHINE_UNKNOWN; in do_announce()
[all …]
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/functions/
H A Derror39 $answer = "$makefile:4: *** error is yes. Stop.\n";
40 &compare_output($answer,&get_logfile(1));
45 $answer = "$makefile:8: *** error is no. Stop.\n";
46 &compare_output($answer,&get_logfile(1));
51 $answer = "Some stuff\n$makefile:12: *** error is maybe. Stop.\n";
52 &compare_output($answer,&get_logfile(1));
57 $answer = "Some stuff\n$makefile:16: *** error is definitely. Stop.\n";
58 &compare_output($answer,&get_logfile(1));
63 $answer = "$makefile:22: *** Error found!. Stop.\n";
64 &compare_output($answer,&get_logfile(1));
H A Deval29 # Create the answer to what should be produced by this Makefile
30 $answer = "AA\nBA\n";
32 &compare_output($answer,&get_logfile(1));
55 # Create the answer to what should be produced by this Makefile
56 $answer = "A = A B = B\n";
58 &compare_output($answer,&get_logfile(1));
84 $answer = "it\n";
85 &compare_output($answer,&get_logfile(1));
88 $answer = "it\nworked\n";
89 &compare_output($answer,&get_logfile(1));
[all …]
H A Dwarning37 $answer = "$makefile:2: warning is yes\nSome stuff\n";
38 &compare_output($answer,&get_logfile(1));
43 $answer = "$makefile:6: warning is no\nSome stuff\n";
44 &compare_output($answer,&get_logfile(1));
49 $answer = "Some stuff\n$makefile:10: warning is maybe\nhi\n";
50 &compare_output($answer,&get_logfile(1));
55 $answer = "Some stuff\n$makefile:14: warning is definitely\nhi\nthere\n";
56 &compare_output($answer,&get_logfile(1));
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dgetrrsetbyname.c170 struct dns_rr *answer; member
201 u_char answer[ANSWER_BUFFER_SIZE]; in getrrsetbyname() local
245 (signed int) rdtype, answer, sizeof(answer)); in getrrsetbyname()
261 response = parse_dns_response(answer, length); in getrrsetbyname()
280 rrset->rri_ttl = response->answer->ttl; in getrrsetbyname()
290 rrset->rri_name = strdup(response->answer->name); in getrrsetbyname()
297 rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass, in getrrsetbyname()
299 rrset->rri_nsigs = count_dns_rr(response->answer, rrset->rri_rdclass, in getrrsetbyname()
318 for (rr = response->answer, index_ans = 0, index_sig = 0; in getrrsetbyname()
398 parse_dns_response(const u_char *answer, int size) in parse_dns_response() argument
[all …]
/netbsd-src/usr.sbin/timed/timed/
H A Dacksend.c44 struct tsp *answer; variable
105 answer = 0; in acksend()
107 if (!answer) { in acksend()
117 answer = readmsg(ack, name, &twait, net); in acksend()
118 if (answer != 0) { in acksend()
119 if (answer->tsp_seq != sequence) { in acksend()
122 answer->tsp_seq, sequence); in acksend()
132 return(answer); in acksend()
H A Dtimed.c448 struct tsp resp, conflict, *answer; in lookformaster()
459 answer = acksend(&resp, &ntp->dest_addr, ANYADDR, in lookformaster()
461 if (answer != 0 && !good_host_name(answer->tsp_name)) { in lookformaster()
462 suppress(&from, answer->tsp_name, ntp); in lookformaster()
464 answer = 0; in lookformaster()
466 if (answer == 0) { in lookformaster()
476 answer = readmsg(TSP_MASTERREQ, ANYADDR, &ntime, ntp); in lookformaster()
477 if (answer != 0) { in lookformaster()
478 if (!good_host_name(answer in lookformaster()
450 struct tsp resp, conflict, *answer; lookformaster() local
[all...]
/netbsd-src/external/bsd/unbound/dist/testdata/
H A Dtest_packets.511 ; answer: example.com type class ttl rdatalen 10.x address.
15 ; 0b. correct compression from answer to query.
21 ; 1. Compression from query to answer.
27 ; 2. Compression loop answer 1 to answer 2.
34 ; 2b. Compression loop answer 2 to answer 1.
41 ; 3. Compression loop to self (in answer section).
64 ; answer: example.com type class ttl rdatalen 10.x address.
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/options/
H A Ddash-f38 # Create the answer to what should be produced by this Makefile
39 $answer = "This is the output from the original makefile\n";
44 &compare_output($answer,&get_logfile(1));
48 $answer = "This is the output from makefile 2\n";
52 &compare_output($answer,&get_logfile(1));
57 $answer = "This is the output from makefile 3\n";
62 &compare_output($answer,&get_logfile(1));
68 $answer = "This is the output from makefile 2\n";
69 $answer .= "This is the output from the original makefile\n";
70 $answer .= "This is the output from makefile 3\n";
[all …]
H A Ddash-n24 $answer = "echo >> intermediate\necho >> final\n";
25 &compare_output($answer, &get_logfile(1));
30 $answer = "echo >> intermediate\necho >> final\n";
31 &compare_output($answer, &get_logfile(1));
59 $answer = "$make_name: `a' is up to date.\n";
60 &compare_output($answer, &get_logfile(1));
65 $answer = "$make_name: `a' is up to date.\n";
66 &compare_output($answer, &get_logfile(1));
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Dguess.d26 answer = (rand() % 100) + 1;
27 answer = answer > 0 ? answer : - answer;
78 /self->doneguess && guess == answer/
88 /self->doneguess && guess != answer/
92 printf("%s...\n", guess < answer ? "Higher" : "Lower");
/netbsd-src/external/cddl/dtracetoolkit/dist/Misc/
H A Dguess.d26 answer = (rand() % 100) + 1;
27 answer = answer > 0 ? answer : - answer;
78 /self->doneguess && guess == answer/
88 /self->doneguess && guess != answer/
92 printf("%s...\n", guess < answer ? "Higher" : "Lower");

12345678910>>...34