Home
last modified time | relevance | path

Searched refs:inf (Results 1 – 25 of 200) sorted by relevance

12345678

/external/v8/test/cctest/compiler/
Dcodegen-tester.cc146 double inf = V8_INFINITY; in TEST() local
149 CHECK_EQ(false, wFloat64Equal.Float64Compare(nan, inf)); in TEST()
150 CHECK_EQ(false, wFloat64Equal.Float64Compare(nan, -inf)); in TEST()
155 CHECK_EQ(false, wFloat64Equal.Float64Compare(inf, nan)); in TEST()
156 CHECK_EQ(false, wFloat64Equal.Float64Compare(-inf, nan)); in TEST()
161 CHECK_EQ(false, wFloat64LessThan.Float64Compare(nan, inf)); in TEST()
162 CHECK_EQ(false, wFloat64LessThan.Float64Compare(nan, -inf)); in TEST()
167 CHECK_EQ(false, wFloat64LessThan.Float64Compare(inf, nan)); in TEST()
168 CHECK_EQ(false, wFloat64LessThan.Float64Compare(-inf, nan)); in TEST()
173 CHECK_EQ(false, wFloat64LessThanOrEqual.Float64Compare(nan, inf)); in TEST()
[all …]
/external/valgrind/coregrind/m_gdbserver/
Dinferiors.c39 #define get_thread(inf) ((struct thread_info *)(inf)) argument
119 struct inferior_list_entry *inf = all_threads.head; in thread_id_to_gdb_id() local
121 while (inf != NULL) { in thread_id_to_gdb_id()
122 struct thread_info *thread = get_thread (inf); in thread_id_to_gdb_id()
123 if (inf->id == thread_id) in thread_id_to_gdb_id()
125 inf = inf->next; in thread_id_to_gdb_id()
138 struct inferior_list_entry *inf = all_threads.head; in gdb_id_to_thread() local
140 while (inf != NULL) { in gdb_id_to_thread()
141 struct thread_info *thread = get_thread (inf); in gdb_id_to_thread()
144 inf = inf->next; in gdb_id_to_thread()
[all …]
/external/valgrind/none/tests/ppc32/
Dpower5+_round.c44 double inf, neg0, nan; in main() local
52 inf = strtod("inf", NULL); in main()
59 double set[] = { inf, 1.5, 0, neg0, -1.5, -inf, nan }; in main()
84 double set[] = { inf, 1.9, 1.1, 0, neg0, -1.1, -1.9, -inf, nan }; in main()
85 double frin[] = { inf, 2.0, 1.0, 0, neg0, -1.0, -2.0, -inf, nan }; in main()
86 double friz[] = { inf, 1.0, 1.0, 0, neg0, -1.0, -1.0, -inf, nan }; in main()
87 double frip[] = { inf, 2.0, 2.0, 0, neg0, -1.0, -1.0, -inf, nan }; in main()
88 double frim[] = { inf, 1.0, 1.0, 0, neg0, -2.0, -2.0, -inf, nan }; in main()
122 double set1[] = { inf, 0.9, 0.1, 0, neg0, -0.1, -0.9, -inf, nan }; in main()
124 { inf, 0.9f, 0.1f, 0, neg0, -0.1f, -0.9f, -inf, nan }; in main()
Dpower5+_round.stdout.exp1 frin inf inf 0 PASS
8 frin -inf -inf 0 PASS
16 friz inf inf 0 PASS
23 friz -inf -inf 0 PASS
31 frip inf inf 0 PASS
38 frip -inf -inf 0 PASS
46 frim inf inf 0 PASS
53 frim -inf -inf 0 PASS
Dtest_gx.stdout.exp_Minus_nan2 fre 0.000000e+00 -> inf
3 fre inf -> 0.0e+00
4 fre -inf -> -0.0e+00
22 fres 0.000000e+00 -> inf
23 fres inf -> 0.0e+00
24 fres -inf -> -0.0e+00
33 fres -2.000000e-200 -> -inf
34 fres 2.000000e-200 -> inf
42 frsqrte 0.000000e+00 -> inf
43 frsqrte inf -> 0.0e+00
[all …]
Dtest_gx.stdout.exp2 fre 0.000000e+00 -> inf
3 fre inf -> 0.0e+00
4 fre -inf -> -0.0e+00
22 fres 0.000000e+00 -> inf
23 fres inf -> 0.0e+00
24 fres -inf -> -0.0e+00
33 fres -2.000000e-200 -> -inf
34 fres 2.000000e-200 -> inf
42 frsqrte 0.000000e+00 -> inf
43 frsqrte inf -> 0.0e+00
[all …]
/external/valgrind/none/tests/s390x/
Drounding-6.stdout.exp4 cfebr 1.250000 -> 1 cc = 2 [-> -inf]
8 cfebr 1.500000 -> 1 cc = 2 [-> -inf]
12 cfebr 2.500000 -> 2 cc = 2 [-> -inf]
16 cfebr 1.750000 -> 1 cc = 2 [-> -inf]
20 cfebr -1.250000 -> -2 cc = 1 [-> -inf]
24 cfebr -1.500000 -> -2 cc = 1 [-> -inf]
28 cfebr -2.500000 -> -3 cc = 1 [-> -inf]
32 cfebr -1.750000 -> -2 cc = 1 [-> -inf]
36 cfebr 0.000000 -> 0 cc = 0 [-> -inf]
40 cgebr 1.250000 -> 1 cc = 2 [-> -inf]
[all …]
/external/zlib/src/examples/
Dfitblk.c96 local int recompress(z_streamp inf, z_streamp def) in recompress() argument
104 inf->avail_out = RAWLEN; in recompress()
105 inf->next_out = raw; in recompress()
106 ret = inflate(inf, Z_NO_FLUSH); in recompress()
113 def->avail_in = RAWLEN - inf->avail_out; in recompress()
115 if (inf->avail_out != 0) in recompress()
134 z_stream def, inf; /* zlib deflate and inflate states */ in main() local
180 inf.zalloc = Z_NULL; in main()
181 inf.zfree = Z_NULL; in main()
182 inf.opaque = Z_NULL; in main()
[all …]
/external/zlib/src/contrib/iostream3/
Dtest.cc14 gzifstream inf; in main() local
26 inf.open("test1.txt.gz"); in main()
27 while (inf.getline(buf,80,'\n')) { in main()
28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; in main()
30 inf.close(); in main()
41 inf.rdbuf()->pubsetbuf(0,0); in main()
42 inf.open("test2.txt.gz"); in main()
43 while (inf.getline(buf,80,'\n')) { in main()
44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; in main()
46 inf.close(); in main()
/external/valgrind/none/tests/x86/
Dfxtract.stdout.exp-older-glibc41 0.0000000000e+00 -> 0.0000000000 -inf
42 inf -> inf inf
64 0.0000000000e+00 -> 0.0000000000 -inf
65 0.0000000000e+00 -> 0.0000000000 -inf
107 -0.0000000000e+00 -> -0.0000000000 -inf
108 -inf -> -inf inf
130 -0.0000000000e+00 -> -0.0000000000 -inf
131 -0.0000000000e+00 -> -0.0000000000 -inf
Dfxtract.stdout.exp41 0.0000000000e+00 -> 0.0000000000 -inf
42 inf -> inf inf
64 0.0000000000e+00 -> 0.0000000000 -inf
65 0.0000000000e+00 -> 0.0000000000 -inf
107 -0.0000000000e+00 -> -0.0000000000 -inf
108 -inf -> -inf inf
130 -0.0000000000e+00 -> -0.0000000000 -inf
131 -0.0000000000e+00 -> -0.0000000000 -inf
/external/valgrind/none/tests/amd64/
Dfxtract.stdout.exp-older-glibc41 0.0000000000e+00 -> 0.0000000000 -inf
42 inf -> inf inf
64 0.0000000000e+00 -> 0.0000000000 -inf
65 0.0000000000e+00 -> 0.0000000000 -inf
107 -0.0000000000e+00 -> -0.0000000000 -inf
108 -inf -> -inf inf
130 -0.0000000000e+00 -> -0.0000000000 -inf
131 -0.0000000000e+00 -> -0.0000000000 -inf
Dfxtract.stdout.exp41 0.0000000000e+00 -> 0.0000000000 -inf
42 inf -> inf inf
64 0.0000000000e+00 -> 0.0000000000 -inf
65 0.0000000000e+00 -> 0.0000000000 -inf
107 -0.0000000000e+00 -> -0.0000000000 -inf
108 -inf -> -inf inf
130 -0.0000000000e+00 -> -0.0000000000 -inf
131 -0.0000000000e+00 -> -0.0000000000 -inf
/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/
Distream.pass.cpp23 std::istringstream inf; in main() local
24 std::istreambuf_iterator<char> i(inf); in main()
28 std::istringstream inf("a"); in main() local
29 std::istreambuf_iterator<char> i(inf); in main()
33 std::wistringstream inf; in main() local
34 std::istreambuf_iterator<wchar_t> i(inf); in main()
38 std::wistringstream inf(L"a"); in main() local
39 std::istreambuf_iterator<wchar_t> i(inf); in main()
Dstreambuf.pass.cpp27 std::istringstream inf; in main() local
28 std::istreambuf_iterator<char> i(inf.rdbuf()); in main()
32 std::istringstream inf("a"); in main() local
33 std::istreambuf_iterator<char> i(inf.rdbuf()); in main()
41 std::wistringstream inf; in main() local
42 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()
46 std::wistringstream inf(L"a"); in main() local
47 std::istreambuf_iterator<wchar_t> i(inf.rdbuf()); in main()
/external/libcxx/test/std/numerics/complex.number/complex.ops/
Dcomplex_times_complex.pass.cpp59 case inf: in test_edges()
79 case inf: in test_edges()
80 assert(classify(r) == inf); in test_edges()
90 case inf: in test_edges()
97 assert(classify(r) == inf); in test_edges()
99 case inf: in test_edges()
100 assert(classify(r) == inf); in test_edges()
106 assert(classify(r) == inf); in test_edges()
119 case inf: in test_edges()
139 case inf: in test_edges()
[all …]
/external/compiler-rt/test/builtins/Unit/
Dmulxc3_test.c26 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
34 return inf; in classify()
78 case inf: in test__mulxc3()
105 case inf: in test__mulxc3()
106 if (classify(r) != inf) in test__mulxc3()
119 case inf: in test__mulxc3()
127 if (classify(r) != inf) in test__mulxc3()
130 case inf: in test__mulxc3()
131 if (classify(r) != inf) in test__mulxc3()
139 if (classify(r) != inf) in test__mulxc3()
[all …]
Dmultc3_test.c27 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
35 return inf; in classify()
79 case inf: in test__multc3()
106 case inf: in test__multc3()
107 if (classify(r) != inf) in test__multc3()
120 case inf: in test__multc3()
128 if (classify(r) != inf) in test__multc3()
131 case inf: in test__multc3()
132 if (classify(r) != inf) in test__multc3()
140 if (classify(r) != inf) in test__multc3()
[all …]
Dmuldc3_test.c23 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
31 return inf; in classify()
75 case inf: in test__muldc3()
102 case inf: in test__muldc3()
103 if (classify(r) != inf) in test__muldc3()
116 case inf: in test__muldc3()
124 if (classify(r) != inf) in test__muldc3()
127 case inf: in test__muldc3()
128 if (classify(r) != inf) in test__muldc3()
136 if (classify(r) != inf) in test__muldc3()
[all …]
Dmulsc3_test.c23 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
31 return inf; in classify()
75 case inf: in test__mulsc3()
106 case inf: in test__mulsc3()
107 if (classify(r) != inf) in test__mulsc3()
120 case inf: in test__mulsc3()
128 if (classify(r) != inf) in test__mulsc3()
131 case inf: in test__mulsc3()
132 if (classify(r) != inf) in test__mulsc3()
140 if (classify(r) != inf) in test__mulsc3()
[all …]
Ddivxc3_test.c26 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
34 return inf; in classify()
78 case inf: in test__divxc3()
96 if (classify(r) != inf) in test__divxc3()
109 case inf: in test__divxc3()
123 case inf: in test__divxc3()
127 if (classify(r) != inf) in test__divxc3()
131 if (classify(r) != inf) in test__divxc3()
134 case inf: in test__divxc3()
159 case inf: in test__divxc3()
[all …]
Ddivdc3_test.c23 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
31 return inf; in classify()
75 case inf: in test__divdc3()
93 if (classify(r) != inf) in test__divdc3()
106 case inf: in test__divdc3()
120 case inf: in test__divdc3()
124 if (classify(r) != inf) in test__divdc3()
128 if (classify(r) != inf) in test__divdc3()
131 case inf: in test__divdc3()
156 case inf: in test__divdc3()
[all …]
Ddivtc3_test.c27 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
35 return inf; in classify()
80 case inf: in test__divtc3()
98 if (classify(r) != inf) in test__divtc3()
111 case inf: in test__divtc3()
125 case inf: in test__divtc3()
129 if (classify(r) != inf) in test__divtc3()
133 if (classify(r) != inf) in test__divtc3()
136 case inf: in test__divtc3()
161 case inf: in test__divtc3()
[all …]
Ddivsc3_test.c23 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
31 return inf; in classify()
75 case inf: in test__divsc3()
93 if (classify(r) != inf) in test__divsc3()
106 case inf: in test__divsc3()
120 case inf: in test__divsc3()
124 if (classify(r) != inf) in test__divsc3()
128 if (classify(r) != inf) in test__divsc3()
131 case inf: in test__divsc3()
156 case inf: in test__divsc3()
[all …]
/external/v8/src/
Dicu_util.cc64 FILE* inf = fopen(icu_data_file, "rb"); in InitializeICU()
65 if (!inf) return false; in InitializeICU()
67 fseek(inf, 0, SEEK_END); in InitializeICU()
68 size_t size = ftell(inf); in InitializeICU()
69 rewind(inf); in InitializeICU()
72 if (fread(g_icu_data_ptr, 1, size, inf) != size) { in InitializeICU()
75 fclose(inf); in InitializeICU()
78 fclose(inf); in InitializeICU()

12345678