Home
last modified time | relevance | path

Searched refs:ans (Results 1 – 25 of 66) sorted by relevance

123

/external/selinux/checkpolicy/
Dcheckpolicy.c389 char ans[80 + 1], *outfile = NULL, *path, *fstype; in main() local
709 FGETS(ans, sizeof(ans), stdin); in main()
710 switch (ans[0]) { in main()
713 FGETS(ans, sizeof(ans), stdin); in main()
714 ssid = atoi(ans); in main()
717 FGETS(ans, sizeof(ans), stdin); in main()
718 tsid = atoi(ans); in main()
721 FGETS(ans, sizeof(ans), stdin); in main()
722 if (isdigit(ans[0])) { in main()
723 tclass = atoi(ans); in main()
[all …]
/external/python/cpython2/Lib/
Ddecimal.py220 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
221 return ans._fix_nan(context)
883 ans = self._compare_check_nans(other, context)
884 if ans:
892 ans = self._compare_check_nans(other, context)
893 if ans:
901 ans = self._compare_check_nans(other, context)
902 if ans:
910 ans = self._compare_check_nans(other, context)
911 if ans:
[all …]
/external/pdfium/third_party/bigint/
DBigUnsigned.hh254 BigUnsigned ans; in operator +() local
255 ans.add(*this, x); in operator +()
256 return ans; in operator +()
259 BigUnsigned ans; in operator -() local
260 ans.subtract(*this, x); in operator -()
261 return ans; in operator -()
264 BigUnsigned ans; in operator *() local
265 ans.multiply(*this, x); in operator *()
266 return ans; in operator *()
285 BigUnsigned ans; in operator &() local
[all …]
DBigInteger.hh151 BigInteger ans; in operator +() local
152 ans.add(*this, x); in operator +()
153 return ans; in operator +()
156 BigInteger ans; in operator -() local
157 ans.subtract(*this, x); in operator -()
158 return ans; in operator -()
161 BigInteger ans; in operator *() local
162 ans.multiply(*this, x); in operator *()
163 return ans; in operator *()
182 BigInteger ans; in operator -() local
[all …]
DBigUnsignedInABase.cc69 BigUnsigned ans(0), buBase(base), temp; in operator BigUnsigned() local
73 temp.multiply(ans, buBase); in operator BigUnsigned()
74 ans.add(temp, BigUnsigned(blk[digitNum])); in operator BigUnsigned()
76 return ans; in operator BigUnsigned()
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_editmenu.py41 tag, ans = '', 'onetwo\n'
45 self.assertEqual(text.get('1.0', 'end'), ans)
50 tag, ans = 'sel', 'two\n'
54 self.assertEqual(text.get('1.0', 'end'), ans)
61 end, ans = 0, 'onetwo'
66 self.assertEqual(entry.get(), ans)
71 end, ans = 'end', 'two'
76 self.assertEqual(entry.get(), ans)
82 end, ans = 0, 'onetwo'
87 self.assertEqual(spin.get(), ans)
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/
Dtestdata_fr.txt19 il y a 3 ans
20 il y a 2 ans
24 dans 2 ans
25 dans 3 ans
26 dans 5 ans
27 dans 10 ans
28 dans 11 ans
29 dans 12 ans
30 dans 20 ans
31 dans 21 ans
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/
Dtestdata_fr.txt19 il y a 3 ans
20 il y a 2 ans
24 dans 2 ans
25 dans 3 ans
26 dans 5 ans
27 dans 10 ans
28 dans 11 ans
29 dans 12 ans
30 dans 20 ans
31 dans 21 ans
[all …]
/external/libxml2/
Dxmlcatalog.c103 xmlChar *ans; in usershell() local
196 ans = xmlCatalogResolvePublic((const xmlChar *) argv[0]); in usershell()
197 if (ans == NULL) { in usershell()
200 printf("%s\n", (char *) ans); in usershell()
201 xmlFree(ans); in usershell()
208 ans = xmlCatalogResolveSystem((const xmlChar *) argv[0]); in usershell()
209 if (ans == NULL) { in usershell()
212 printf("%s\n", (char *) ans); in usershell()
213 xmlFree(ans); in usershell()
257 ans = xmlCatalogResolve(BAD_CAST argv[0], in usershell()
[all …]
/external/syslinux/com32/cmenu/libmenu/
Dmenu.c87 int ans; in find_shortcut() local
93 ans = index + 1; in find_shortcut()
95 while (ans < menu->numitems) { in find_shortcut()
96 mi = menu->items[ans]; in find_shortcut()
99 ans++; in find_shortcut()
101 return ans; in find_shortcut()
104 ans = 0; in find_shortcut()
105 while (ans < index) { in find_shortcut()
106 mi = menu->items[ans]; in find_shortcut()
109 ans++; in find_shortcut()
[all …]
Dhelp.c41 int ans; in countlines() local
45 ans = 1; in countlines()
48 ans++; in countlines()
50 return ans; in countlines()
/external/python/cpython2/Demo/classes/
DDates.py91 ans = Date(1,1,1) # arguments irrelevant; just getting a Date obj
92 del ans.ord, ans.month, ans.day, ans.year # un-initialize it
93 ans.ord = n
113 ans.month, ans.day, ans.year = month, n-dbm, year
114 return ans
/external/selinux/checkpolicy/test/
Ddispol.c393 char ans[81], OutfileName[121]; in main() local
447 if (fgets(ans, sizeof(ans), stdin) == NULL) { in main()
452 switch (ans[0]) { in main()
478 if (fgets(ans, sizeof(ans), stdin) == NULL) { in main()
483 ans[strlen(ans) - 1] = 0; in main()
485 name = malloc((strlen(ans) + 1) * sizeof(char)); in main()
490 strcpy(name, ans); in main()
493 if (fgets(ans, sizeof(ans), stdin) == NULL) { in main()
498 ans[strlen(ans) - 1] = 0; in main()
500 if (atoi(ans)) in main()
/external/ltp/testcases/network/stress/dns/
Ddns-stress01-rmt51 dig @$srv_ipaddr -p $port node${min_id}.${domain} $record > ans.log 2>&1 || \
53 dns_check_answer ans.log
67 dig @$srv_ipaddr -p $port node${id}.${domain} $record > ans.log 2>&1 || \
69 dns_check_answer ans.log
Ddns-stress02-rmt55 > ans.log 2>&1 || \
57 dns_check_answer ans.log
72 > ans.log 2>&1 || \
74 dns_check_answer ans.log
/external/eigen/unsupported/Eigen/src/SpecialFunctions/
DSpecialFunctionsImpl.h573 Scalar ans, ax, c, yc, r, t, y, z;
593 ans = pkm1 / qkm1;
604 t = numext::abs((ans - r) / r);
605 ans = r;
624 return (ans * ax);
758 Scalar ans, ax, c, r;
771 ans = one;
776 ans += c;
777 if (c/ans <= machep) {
782 return (ans * ax / a);
[all …]
/external/xmlrpcpp/test/
DFileClient.cpp63 std::string ans; in main() local
64 std::cin >> ans; in main()
65 if (ans != "" && ans != "y") break; in main()
/external/ppp/pppd/plugins/pppoatm/
Dans.c41 static int ans(const char *text,int wanted,void *result,int res_len) in ans() function
134 if (!ans(text,T_ATMA,addr,length)) return 0; in ans_byname()
135 return ans(text,T_NSAP,addr,length); in ans_byname()
253 if (!res && !ans(tmp,T_PTR,buffer,length)) return 0; in ans_byaddr()
256 return ans(tmp,T_PTR,buffer,length); in ans_byaddr()
260 return ans(tmp,T_PTR,buffer,length); in ans_byaddr()
/external/openssh/
Dbuildpkg.sh.in544 ans=\`ckyorn -d n \\
546 case \$ans in
555 ans=\`ckyorn -d n \\
557 case \$ans in
576 ans=\`ckyorn -d n \\
578 case \$ans in
585 ans=\`ckyorn -d n \\
587 case \$ans in
596 ans=\`ckyorn -d n \\
598 case \$ans in
/external/dnsmasq/src/
Drfc1035.c1139 int q, ans, anscount = 0, addncount = 0; in answer_request() local
1202 ans = 0; /* have we answered this question */ in answer_request()
1211 ans = 1; in answer_request()
1250 ans = 1; in answer_request()
1262 ans = 1; in answer_request()
1284 ans = 1; in answer_request()
1293 ans = 1; in answer_request()
1313 ans = 1; in answer_request()
1338 ans = 1; in answer_request()
1360 ans = 1; in answer_request()
[all …]
Dcache.c497 struct crec *ans; in cache_find_by_name() local
500 ans = crecp->next; in cache_find_by_name()
505 struct crec *next, **up, **insert = NULL, **chainp = &ans; in cache_find_by_name()
570 if (ans && in cache_find_by_name()
571 (ans->flags & F_FORWARD) && in cache_find_by_name()
572 (ans->flags & prot) && in cache_find_by_name()
573 hostname_isequal(cache_get_name(ans), name)) in cache_find_by_name()
574 return ans; in cache_find_by_name()
582 struct crec *ans; in cache_find_by_addr() local
590 ans = crecp->next; in cache_find_by_addr()
[all …]
/external/ltp/testcases/kernel/controllers/cgroup/
Dgetdelays.c174 } ans; in get_family_id() local
185 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id()
186 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
187 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
190 na = (struct nlattr *)GENLMSG_DATA(&ans); in get_family_id()
/external/syslinux/core/lwip/src/core/
Ddns.c743 struct dns_answer ans; in dns_recv() local
807 SMEMCPY(&ans, pHostname, SIZEOF_DNS_ANSWER); in dns_recv()
808 if((ans.type == PP_HTONS(DNS_RRTYPE_A)) && (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) && in dns_recv()
809 (ans.len == PP_HTONS(sizeof(ip_addr_t))) ) { in dns_recv()
811 pEntry->ttl = ntohl(ans.ttl); in dns_recv()
827 pHostname = pHostname + SIZEOF_DNS_ANSWER + htons(ans.len); in dns_recv()
/external/libpng/contrib/tools/
Dchkfmt50 read ans 0>&3
51 test -n "$ans" || return 1
/external/autotest/client/cros/netprotos/
Dzeroconf.py155 answers = [ans for ans in answers if not any(True
156 for known_ans in mdns.an if _RR_equals(known_ans, ans))]
260 ans = dpkt.dns.DNS.RR(
272 return [ans] + self._process_A(a_qry)

123