Searched refs:ans (Results 1 – 6 of 6) sorted by relevance
/tools/testing/ktest/ |
D | config-bisect.pl | 113 my $ans; 121 $ans = <STDIN>; 122 chomp $ans; 123 if ($ans =~ /^\s*$/) { 125 $ans = "c"; 127 $ans = "n"; 130 last if ($ans =~ /^y$/i || $ans =~ /^n$/i); 132 last if ($ans =~ /^c$/i); 138 if ($ans =~ /^c/i) { 141 if ($ans !~ /^y$/i) {
|
D | ktest.pl | 602 my $ans; 610 $ans = <STDIN>; 611 chomp $ans; 612 if ($ans =~ /^\s*$/) { 614 $ans = "c"; 616 $ans = "y"; 619 last if ($ans =~ /^y$/i || $ans =~ /^n$/i); 621 last if ($ans =~ /^c$/i); 627 if ($ans =~ /^c/i) { 630 if ($ans !~ /^y$/i) { [all …]
|
/tools/testing/selftests/nci/ |
D | nci_dev.c | 182 } ans; in get_family_id() local 194 resp_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 196 if (ans.n.nlmsg_type == NLMSG_ERROR || resp_len < 0 || in get_family_id() 197 !NLMSG_OK(&ans.n, resp_len)) in get_family_id() 201 resp_len = GENLMSG_PAYLOAD(&ans.n); in get_family_id() 202 na = (struct nlattr *)GENLMSG_DATA(&ans); in get_family_id() 235 na = (struct nlattr *)(GENLMSG_DATA(&ans) + len); in get_family_id() 644 } ans; in get_taginfo() local 663 resp_len = recv(sd, &ans, sizeof(ans), 0); in get_taginfo() 664 if (ans.n.nlmsg_type == NLMSG_ERROR || resp_len < 0 || in get_taginfo() [all …]
|
/tools/accounting/ |
D | procacct.c | 175 } ans; in get_family_id() local 188 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 189 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id() 190 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 193 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id()
|
D | getdelays.c | 168 } ans; in get_family_id() local 181 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id() 182 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id() 183 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 186 na = (struct nlattr *) GENLMSG_DATA(&ans); in get_family_id()
|
/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 73 int ans = -1; in is_sioctatmark() local 75 if (ioctl(fd, SIOCATMARK, &ans, sizeof(ans)) < 0) { in is_sioctatmark() 80 return ans; in is_sioctatmark()
|