/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | numconvert.t | 135 my @ans; 197 push @ans, $inpt; 199 if ($ans[0] ne $ans[1]) { 200 …my $diag = "'$ans[0]' ne '$ans[1]',\t$num\t=> @opnames[$first,@{$curops[0]},$last] vs @opnames[$fi… 203 if ((($ans[0] eq $max_uv_pp) and ($ans[1] eq $max_uv_p1)) 204 or (($ans[1] eq $max_uv_pp) and ($ans[0] eq $max_uv_p1))) { 209 and $ans[0] eq $max_uv_p1_as_iv) { 222 } elsif ($opnames[$last] eq 'U' and $ans[1] eq ~0 223 and $ans[0] eq $max_uv_p1_as_uv) { 227 and $ans[0] == $ans[1] and $ans[0] <= ~0 [all …]
|
H A D | inc.t | 113 my $ans = $up{$_}; 116 is($up, $ans, "key '$_' incremented correctly"); 123 my $ans = $down{$_}; 126 is($down, $ans, "key '$_' decremented correctly"); 133 my $ans = $postinc{$_}; 136 is($up, $ans, "assignment preceded postincrement"); 143 my $ans = $postdec{$_}; 146 is($down, $ans, "assignment preceded postdecrement");
|
/openbsd/gnu/usr.bin/perl/utils/ |
H A D | libnetcfg.PL | 188 my $ans = Prompt($prompt,$def); 190 $ans =~ s/(\A\s+|\s+\Z)//g; 192 @hosts = split(/\s+/, $ans); 211 my $ans = Prompt($prompt,$def); 212 $host = ($ans =~ /(\S*)/)[0]; 266 if($ans eq '*') { 271 if($ans eq '=') { 277 warn "Bad netmask '$ans'\n"; 283 warn "Bad netmask '$ans'\n"; 288 warn "Bad netmask '$ans'\n"; [all …]
|
/openbsd/regress/lib/libm/msun/ |
H A D | next_test.c | 46 #define test(exp, ans, ex) do { \ argument 47 double __ans = (ans); \ 51 #define testf(exp, ans, ex) do { \ argument 52 float __ans = (ans); \ 56 #define testl(exp, ans, ex) do { \ argument 57 long double __ans = (ans); \ 61 #define testboth(arg1, arg2, ans, ex, prec) do { \ argument 65 #define testall(arg1, arg2, ans, ex) do { \ argument 66 testboth((arg1), (arg2), (ans), (ex), ); \ 67 testboth((arg1), (arg2), (ans), (ex), f); \ [all …]
|
/openbsd/regress/sys/altivec_ast/ |
H A D | vecast.c | 143 vector float ans; in main() local 150 ans = VF(14, 0x15p-140, 0x1fp-130, -0x1p-134); in main() 151 ck_equal("vec_add", vec_add(in1, in2), ans); in main() 156 ans = VF( 0x2p-134, 6, 0xbp-140, -0x3dp-130); in main() 157 ck_equal("vec_sub", vec_sub(in1, in2), ans); in main() 163 ans = VF(0x2ap-140, 0x2ap-90, 43, 0xap-130); in main() 164 ck_equal("vec_madd", vec_madd(in1, in2, in3), ans); in main() 170 ans = VF( 0x4p-130, -0x21p-140, 0x21p-94, 2); in main() 171 ck_equal("vec_nmsub", vec_nmsub(in1, in2, in3), ans); in main() 193 ans = VF(0x1p-149, 0x1p-138, 0x1p-127, 1024); in main() [all …]
|
/openbsd/gnu/usr.bin/perl/ext/Hash-Util-FieldHash/t/ |
H A D | 03_class.t | 20 my $ans; 22 $ans = threads->create( sub { $p->greeting })->join; 23 is( $ans, "Hi, I'm Donald Duck", "thread: blank title"); 25 $ans = threads->create( sub { $p->greeting })->join; 26 is( $ans, "Hi, I'm Mr Donald Duck", "thread: changed title"); 27 $ans = threads->create( 33 is( $ans, "Hi, I'm Uncle Donald Duck", "thread: local change"); 37 $ans = threads->create( 42 is( $ans, "Hi, I'm Mr Donald Duck", "double thread: got greeting");
|
/openbsd/usr.sbin/adduser/ |
H A D | rmuser.perl | 124 $ans = &get_yn("Is this the entry you wish to remove? "); 126 if ($ans eq 'N') { 162 $ans = &get_yn("Remove user's home directory ($home_dir)? "); 163 if ($ans eq 'N') { 260 local($done, $ans); 264 $ans = <>; 265 chomp $ans; 266 $ans =~ tr/a-z/A-Z/; 267 if (!($ans =~ /^[YN]/)) { 274 return(substr($ans, 0, 1));
|
/openbsd/regress/sys/kern/syscall_segment/ |
H A D | gadgetsyscall.h | 4 pid_t ans = 0; in gadget_getpid() local 6 asm("ldr x8, #0x14; svc 0; dsb nsh; isb; mov %w0, w0" : "=r"(ans) :: "x0", "x8"); in gadget_getpid() 8 asm("mov $0x14, %%eax; syscall; mov %%eax, %0;" :"=r"(ans)::"%eax", "%ecx", "%r11"); in gadget_getpid() 10 return ans; in gadget_getpid()
|
/openbsd/lib/libc/asr/ |
H A D | res_query.c | 30 res_query(const char *name, int class, int type, u_char *ans, int anslen) in res_query() argument 38 if (ans == NULL || anslen <= 0) { in res_query() 65 memmove(ans, ar.ar_data, len); in res_query() 73 res_search(const char *name, int class, int type, u_char *ans, int anslen) in res_search() argument 81 if (ans == NULL || anslen <= 0) { in res_search() 108 memmove(ans, ar.ar_data, len); in res_search()
|
H A D | res_send.c | 30 res_send(const u_char *buf, int buflen, u_char *ans, int anslen) in res_send() argument 38 if (ans == NULL || anslen <= 0) { in res_send() 57 memmove(ans, ar.ar_data, len); in res_send()
|
/openbsd/gnu/usr.bin/cvs/contrib/ |
H A D | sccs2rcs.in | 131 if ((_$ans == _) || (_$ans == _y) || (_$ans == _Y)) then 148 if ((_$ans != _) && (_$ans != _n) && (_$ans != _N)) then
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
H A D | nofork.t | 36 my $ans = backticks( @perl, '-MNoFork', "-M$mod", '-e', $code ); 37 is( $ans, 2, 'says not to fork' ); 41 my $ans = backticks( @perl, "-M$mod", '-e', $code ); 42 is( $ans, 1, 'says to fork' );
|
H A D | proveversion.t | 21 my $ans = util::stdout_of( 33 $ans, qr/li class="yml"/,
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20020406-1.c | 33 DUPFF ans = (DUPFF)malloc(sizeof(struct DUPFFstruct)); in DUPFFnew() local 34 ans->coeffs = 0; in DUPFFnew() 35 if (maxdeg >= 0) ans->coeffs = (FFelem*)calloc(maxdeg+1,sizeof(FFelem)); in DUPFFnew() 36 ans->maxdeg = maxdeg; in DUPFFnew() 37 ans->deg = -1; in DUPFFnew() 38 return ans; in DUPFFnew()
|
/openbsd/gnu/usr.bin/perl/ext/Hash-Util-FieldHash/ |
H A D | FieldHash.xs | 244 int ans = 0; in HUF_func_2mode() local 246 ans = 1; in HUF_func_2mode() 248 ans = 2; in HUF_func_2mode() 249 return(ans); in HUF_func_2mode() 253 I32(* ans)(pTHX_ IV, SV*) = NULL; in HUF_mode_2func() local 256 ans = &HUF_watch_key_id; in HUF_mode_2func() 259 ans = &HUF_watch_key_safe; in HUF_mode_2func() 262 return(ans); in HUF_mode_2func() 268 int ans = 0; in HUF_get_status() local 276 ans = HUF_func_2mode(uf->uf_val); in HUF_get_status() [all …]
|
/openbsd/usr.sbin/unbound/testcode/ |
H A D | fake_event.c | 399 while(ans) { in answer_check_it() 405 &ans->repinfo.remote_addr, ans->repinfo.remote_addrlen) == 0) && in answer_check_it() 407 ans->pkt_len, tr)) { in answer_check_it() 416 if(!ans->next) in answer_check_it() 423 prev = ans; in answer_check_it() 424 ans = ans->next; in answer_check_it() 1002 log_assert(ans); in comm_point_send_reply() 1004 ans->next = NULL; in comm_point_send_reply() 1011 ans->pkt = memdup(sldns_buffer_begin(ans->repinfo.c->buffer), in comm_point_send_reply() 1013 ans->pkt_len = sldns_buffer_limit(ans->repinfo.c->buffer); in comm_point_send_reply() [all …]
|
/openbsd/regress/sys/netinet6/rip6cksum/ |
H A D | sendrecv.py | 62 ans=sr(req, iface="lo0", filter=filter, timeout=10) variable 63 print(ans) 64 res=ans[0][0][1]
|
/openbsd/usr.sbin/radiusd/ |
H A D | radiusd_module.c | 301 struct radiusd_module_radpkt_arg ans; in module_common_radpkt() local 304 ans.q_id = q_id; in module_common_radpkt() 305 ans.pktlen = pktlen; in module_common_radpkt() 306 ans.final = false; in module_common_radpkt() 308 while (!ans.final) { in module_common_radpkt() 309 siz = MAX_IMSGSIZE - sizeof(ans); in module_common_radpkt() 311 ans.final = true; in module_common_radpkt() 314 iov[0].iov_base = &ans; in module_common_radpkt() 315 iov[0].iov_len = sizeof(ans); in module_common_radpkt()
|
/openbsd/regress/sys/netinet/pmtu/ |
H A D | tcp_connect.py | 60 ans = sniffer.packet variable 62 if len(ans) == 0: 65 data=ans[0]
|
H A D | tcp_connect6.py | 60 ans = sniffer.packet variable 62 if len(ans) == 0: 65 data=ans[0]
|
/openbsd/regress/sys/netinet6/rh0/ |
H A D | rh0_empty.py | 24 ans=sniff(iface=LOCAL_IF, timeout=3, filter= variable 26 for a in ans:
|
H A D | rh0_none.py | 22 ans=sniff(iface=LOCAL_IF, timeout=3, filter= variable 24 for a in ans:
|
H A D | rh0_final.py | 25 ans=sniff(iface=LOCAL_IF, timeout=3, filter= variable 27 for a in ans:
|
H A D | rh0_route.py | 25 ans=sniff(iface=LOCAL_IF, timeout=3, filter= variable 27 for a in ans:
|
/openbsd/regress/sys/netinet6/nd6/ |
H A D | nd6_dad.py | 37 ans=sniff(iface=LOCAL_IF, timeout=3, filter= variable 39 for a in ans:
|