Home
last modified time | relevance | path

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

123456

/external/selinux/checkpolicy/
Dcheckpolicy.c393 char ans[80 + 1], *path, *fstype; in main() local
736 FGETS(ans, sizeof(ans), stdin); in main()
737 switch (ans[0]) { in main()
740 FGETS(ans, sizeof(ans), stdin); in main()
741 ssid = atoi(ans); in main()
744 FGETS(ans, sizeof(ans), stdin); in main()
745 tsid = atoi(ans); in main()
748 FGETS(ans, sizeof(ans), stdin); in main()
749 if (isdigit(ans[0])) { in main()
750 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)
81 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
82 tf_ans = self.evaluate(ans)
104 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
105 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)
151 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
152 tf_ans = self.evaluate(ans)
[all …]
Dargmax_op_test.py41 ans = method(x, axis=axis)
43 tf_ans = self.evaluate(ans)
47 self.assertShapeEqual(expected_values, ans)
50 self.evaluate(ans)
101 ans = math_ops.argmax(x, axis=0, output_type=dtypes.int32)
102 tf_ans = self.evaluate(ans)
109 ans = math_ops.argmin(x, axis=0, output_type=dtypes.int32)
110 tf_ans = self.evaluate(ans)
145 ans = op([1]).eval()
146 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.py252 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
253 return ans._fix_nan(context)
893 ans = self._compare_check_nans(other, context)
894 if ans:
902 ans = self._compare_check_nans(other, context)
903 if ans:
911 ans = self._compare_check_nans(other, context)
912 if ans:
920 ans = self._compare_check_nans(other, context)
921 if ans:
[all …]
/external/pdfium/third_party/bigint/
DBigUnsigned.hh255 BigUnsigned ans; in operator +() local
256 ans.add(*this, x); in operator +()
257 return ans; in operator +()
260 BigUnsigned ans; in operator -() local
261 ans.subtract(*this, x); in operator -()
262 return ans; in operator -()
265 BigUnsigned ans; in operator *() local
266 ans.multiply(*this, x); in operator *()
267 return ans; in operator *()
286 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/mtools/
Dexpand.c65 const char *expand(const char *input, char *ans) in expand() argument
72 ans[EXPAND_BUF-1]='\0'; in expand()
80 strncpy(ans, input, EXPAND_BUF-1); in expand()
81 return(ans); in expand()
91 last=safePopenOut(command, ans, EXPAND_BUF-1); in expand()
97 ans[last-1] = '\0'; in expand()
99 strncpy(ans, input, EXPAND_BUF-1); in expand()
100 return ans; in expand()
102 strncpy(ans, input, EXPAND_BUF-1); in expand()
103 ans[EXPAND_BUF-1]='\0'; in expand()
[all …]
Dmkmanifest.c68 static char ans[13]; in dos_name2() local
86 strcpy(ans, "x"); in dos_name2()
105 strncpy(ans, temp, 12); in dos_name2()
106 ans[12] = '\0'; in dos_name2()
109 strcat(ans, "."); in dos_name2()
110 strcat(ans, ext); in dos_name2()
112 return(ans); in dos_name2()
Dfile_name.c27 char *unix_normalize (doscp_t *cp, char *ans, dos_name_t *dn, size_t ans_size) in unix_normalize() argument
43 wchar_to_native(wbuffer, ans, 13, ans_size); in unix_normalize()
44 return ans; in unix_normalize()
157 char *s, tname[9], text[4], ans[13]; in unix_name() local
184 strcpy(ans, tname); in unix_name()
185 strcat(ans, "."); in unix_name()
186 strcat(ans, text); in unix_name()
188 strcpy(ans, tname); in unix_name()
191 dos_to_wchar(dosCp, ans, ret, 12); in unix_name()
Dtty.c200 char ans[10]; in ask_confirmation() local
213 ans[0] = fgetc(opentty(1)); in ask_confirmation()
216 if(fgets(ans,9, opentty(0)) == NULL) in ask_confirmation()
218 ans[0] = 'n'; in ask_confirmation()
220 if (ans[0] == 'y' || ans[0] == 'Y') in ask_confirmation()
222 if (ans[0] == 'n' || ans[0] == 'N') in ask_confirmation()
Dmk_direntry.c119 char ans[10]; in ask_namematch() local
184 ans[0] = 'q'; in ask_namematch()
186 ans[0] = rep; in ask_namematch()
188 if(fgets(ans, 9, opentty(0)) == NULL) in ask_namematch()
189 ans[0] = 'q'; in ask_namematch()
191 perm = isupper((unsigned char)ans[0]); in ask_namematch()
192 switch(tolower((unsigned char)ans[0])) { in ask_namematch()
317 static int is_reserved(char *ans, int islong) in is_reserved() argument
324 if (!strncasecmp(ans, dev3[i], 3) && in is_reserved()
325 ((islong && !ans[3]) || in is_reserved()
[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/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/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/libcap/libcap/
Dcap_test.c16 cap_value_t ans; in test_cap_bits() local
19 _binary_search(ans, cf, 0, __CAP_MAXBITS, 0); in test_cap_bits()
20 if (ans != top) { in test_cap_bits()
21 if (top > __CAP_MAXBITS && ans == __CAP_MAXBITS) { in test_cap_bits()
24 i, top, ans); in test_cap_bits()
/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/skia/modules/pathkit/tests/
Dutil.spec.js30 let ans = PathKit.cubicPtFromT(0.1, 0.5, 0.5, 0.1, tc[0]);
31 expect(ans).toBeTruthy();
32 expect(ans.length).toBe(2);
33 expect(ans[0]).toBeCloseTo(tc[1][0]);
34 expect(ans[1]).toBeCloseTo(tc[1][1]);
/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/selinux/checkpolicy/test/
Ddispol.c389 char ans[81], OutfileName[121]; in main() local
443 if (fgets(ans, sizeof(ans), stdin) == NULL) { in main()
448 switch (ans[0]) { in main()
474 if (fgets(ans, sizeof(ans), stdin) == NULL) { in main()
479 ans[strlen(ans) - 1] = 0; in main()
481 name = malloc((strlen(ans) + 1) * sizeof(char)); in main()
486 strcpy(name, ans); in main()
489 if (fgets(ans, sizeof(ans), stdin) == NULL) { in main()
494 ans[strlen(ans) - 1] = 0; in main()
496 if (atoi(ans)) in main()
/external/ltp/testcases/network/stress/dns/
Ddns-stress01-rmt.sh51 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-rmt.sh55 > ans.log 2>&1 || \
57 dns_check_answer ans.log
72 > ans.log 2>&1 || \
74 dns_check_answer ans.log

123456