Home
last modified time | relevance | path

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

12345

/external/selinux/checkpolicy/
Dcheckpolicy.c393 char ans[80 + 1], *outfile = NULL, *path, *fstype; in main() local
718 FGETS(ans, sizeof(ans), stdin); in main()
719 switch (ans[0]) { in main()
722 FGETS(ans, sizeof(ans), stdin); in main()
723 ssid = atoi(ans); in main()
726 FGETS(ans, sizeof(ans), stdin); in main()
727 tsid = atoi(ans); in main()
730 FGETS(ans, sizeof(ans), stdin); in main()
731 if (isdigit(ans[0])) { in main()
732 tclass = atoi(ans); in main()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dclip_ops_test.py59 ans = clip_ops.clip_by_value(x, -clip_value, clip_value)
60 tf_ans = self.evaluate(ans)
75 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
76 tf_ans = self.evaluate(ans)
92 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
93 tf_ans = self.evaluate(ans)
109 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
110 tf_ans = self.evaluate(ans)
127 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
128 tf_ans = self.evaluate(ans)
[all …]
Dargmax_op_test.py39 ans = method(x, axis=axis)
41 tf_ans = self.evaluate(ans)
45 self.assertShapeEqual(expected_values, ans)
48 self.evaluate(ans)
82 ans = math_ops.argmax(x, axis=0, output_type=dtypes.int32)
83 tf_ans = self.evaluate(ans)
90 ans = math_ops.argmin(x, axis=0, output_type=dtypes.int32)
91 tf_ans = self.evaluate(ans)
118 ans = op([1]).eval()
119 self.assertAllEqual(ans, 0)
/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/python/cpython3/Lib/
D_pydecimal.py248 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
249 return ans._fix_nan(context)
889 ans = self._compare_check_nans(other, context)
890 if ans:
898 ans = self._compare_check_nans(other, context)
899 if ans:
907 ans = self._compare_check_nans(other, context)
908 if ans:
916 ans = self._compare_check_nans(other, context)
917 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 …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_editmenu.py40 for tag, ans in ('', 'onetwo\n'), ('sel', 'two\n'):
41 with self.subTest(tag=tag, ans=ans):
45 self.assertEqual(text.get('1.0', 'end'), ans)
52 for end, ans in (0, 'onetwo'), ('end', 'two'):
53 with self.subTest(entry=entry, end=end, ans=ans):
58 self.assertEqual(entry.get(), ans)
64 for end, ans in (0, 'onetwo'), ('end', 'two'):
65 with self.subTest(end=end, ans=ans):
70 self.assertEqual(spin.get(), ans)
/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/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/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/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/curl/tests/python_dependencies/impacket/
Dspnego.py60 ans = data[:len2]
65 ans = data[:len2]
70 ans = data[:len2 << 16 + len3]
75 ans = data[:len2]
79 ans = data[:len1]
80 return ans, len(ans)+pad+1
136 ans = pack('B',ASN1_AID)
137 ans += asn1encode(
141 return ans
251 ans = pack('B',SPNEGO_NegTokenResp.SPNEGO_NEG_TOKEN_RESP)
[all …]
Dsmb3.py433 ans = self.recvSMB(packetID)
434 if ans.isValidAnswer(STATUS_SUCCESS):
440 negResp = SMB2Negotiate_Response(ans['Data'])
608 ans = self.recvSMB(packetID)
609 if ans.isValidAnswer(STATUS_SUCCESS):
610 self._Session['SessionID'] = ans['SessionID']
696 ans = self.recvSMB(packetID)
697 if ans.isValidAnswer(STATUS_MORE_PROCESSING_REQUIRED):
698 self._Session['SessionID'] = ans['SessionID']
702 sessionSetupResponse = SMB2SessionSetup_Response(ans['Data'])
[all …]
/external/scapy/scapy/
Dsendrecv.py82 ans = []
131 ans.append((sentpkt, r))
158 return (hsent, ans, nbrecv, notans)
184 ans = []
210 ans.extend(newans)
226 debug.match=plist.SndRcvList(ans[:])
230 for snd, _ in ans:
235 …\nReceived %i packets, got %i answers, remaining %i packets" % (nbrecv+len(ans), len(ans), notans))
236 return plist.SndRcvList(ans), plist.PacketList(remain, "Unanswered")
383 ans, _ = sndrcv(s, x, *args, **kargs)
[all …]
/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/skqp/modules/pathkit/tests/
Dutil.spec.js46 let ans = PathKit.cubicPtFromT(0.1, 0.5, 0.5, 0.1, tc[0]);
47 expect(ans).toBeTruthy();
48 expect(ans.length).toBe(2);
49 expect(ans[0]).toBeCloseTo(tc[1][0]);
50 expect(ans[1]).toBeCloseTo(tc[1][1]);
/external/skia/modules/pathkit/tests/
Dutil.spec.js46 let ans = PathKit.cubicPtFromT(0.1, 0.5, 0.5, 0.1, tc[0]);
47 expect(ans).toBeTruthy();
48 expect(ans.length).toBe(2);
49 expect(ans[0]).toBeCloseTo(tc[1][0]);
50 expect(ans[1]).toBeCloseTo(tc[1][1]);
/external/tensorflow/tensorflow/core/ops/
Dmath_grad_test.cc421 auto ans = SymGrad("Abs", x); in TEST_F() local
422 test::ExpectClose(ans, dx); in TEST_F()
431 auto ans = SymGrad("Neg", x); in TEST_F() local
432 test::ExpectClose(ans, dx); in TEST_F()
441 auto ans = SymGrad("Reciprocal", x); in TEST_F() local
442 test::ExpectClose(ans, dx); in TEST_F()
451 auto ans = SymGrad("Square", x); in TEST_F() local
452 test::ExpectClose(ans, dx); in TEST_F()
461 auto ans = SymGrad("Sqrt", x); in TEST_F() local
462 test::ExpectClose(ans, dx); in TEST_F()
[all …]
/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/libaom/libaom/aom_dsp/
Dbuf_ans.c56 c->ans.state += c->buf[offset].val_start; in aom_buf_ans_flush()
58 c->ans.state += c->buf[offset].val_start ? c->buf[offset].prob : 0; in aom_buf_ans_flush()
62 rans_write(&c->ans, c->buf[offset].val_start, c->buf[offset].prob); in aom_buf_ans_flush()
64 rabs_write(&c->ans, (uint8_t)c->buf[offset].val_start, in aom_buf_ans_flush()
69 c->output_bytes += ans_write_end(&c->ans); in aom_buf_ans_flush()
/external/libevent/test/
Dregress_testutils.c173 int err = atoi(tab->ans); in regress_dns_server_cb()
177 int err = atoi(tab->ans); in regress_dns_server_cb()
195 if (!evutil_inet_pton(AF_INET, tab->ans, &in)) { in regress_dns_server_cb()
196 TT_DIE(("Bad A value %s in table", tab->ans)); in regress_dns_server_cb()
202 if (!evutil_inet_pton(AF_INET6, tab->ans, &in6)) { in regress_dns_server_cb()
203 TT_DIE(("Bad AAAA value %s in table", tab->ans)); in regress_dns_server_cb()
/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 …]

12345