Searched refs:trunc (Results 1 - 25 of 227) sorted by relevance
12345678910
/external/v8/test/mjsunit/es6/ |
H A D | math-trunc.js | 28 assertEquals("Infinity", String(1/Math.trunc(0))); 29 assertEquals("-Infinity", String(1/Math.trunc(-0))); 30 assertEquals("Infinity", String(1/Math.trunc(Math.PI/4))); 31 assertEquals("-Infinity", String(1/Math.trunc(-Math.sqrt(2)/2))); 32 assertEquals(100, Math.trunc(100)); 33 assertEquals(-199, Math.trunc(-199)); 34 assertEquals(100, Math.trunc(100.1)); 35 assertTrue(isNaN(Math.trunc("abc"))); 36 assertTrue(isNaN(Math.trunc({}))); 37 assertEquals(0, Math.trunc([])); [all...] |
/external/llvm/unittests/ADT/ |
H A D | APSIntTest.cpp | 108 EXPECT_TRUE(APSInt::compareValues(S(7).trunc(32), S(8)) < 0); 109 EXPECT_TRUE(APSInt::compareValues(S(8).trunc(32), S(7)) > 0); 110 EXPECT_TRUE(APSInt::compareValues(S(7).trunc(32), S(7)) == 0); 111 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(8)) < 0); 112 EXPECT_TRUE(APSInt::compareValues(S(8).trunc(32), S(-7)) > 0); 113 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-7)) == 0); 114 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-8)) > 0); 115 EXPECT_TRUE(APSInt::compareValues(S(-8).trunc(32), S(-7)) < 0); 116 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-7)) == 0); 117 EXPECT_TRUE(APSInt::compareValues(S(7), S(8).trunc(3 [all...] |
/external/tcpdump/ |
H A D | print-ip6opts.c | 86 goto trunc; 89 goto trunc; 97 printf(", padn: trunc"); 98 goto trunc; 104 printf(", ui: trunc"); 105 goto trunc; 111 printf(", altcoa: trunc"); 112 goto trunc; 118 printf(", auth: trunc"); 119 goto trunc; [all...] |
H A D | print-mpcp.c | 155 goto trunc; 174 goto trunc; 185 goto trunc; 195 goto trunc; 202 goto trunc; 209 goto trunc; 220 goto trunc; 234 goto trunc; 243 goto trunc; 255 goto trunc; [all...] |
H A D | print-cdp.c | 102 goto trunc; 111 goto trunc; 118 goto trunc; 140 goto trunc; 168 goto trunc; 211 goto trunc; 234 trunc: 267 goto trunc; 274 goto trunc; 287 goto trunc; [all...] |
H A D | print-dtp.c | 55 goto trunc; 60 goto trunc; 78 goto trunc; 114 trunc:
|
H A D | print-rt6.c | 82 goto trunc; 87 goto trunc; 97 goto trunc; 101 trunc:
|
H A D | print-dvmrp.c | 98 goto trunc; 106 goto trunc; 117 goto trunc; 136 goto trunc; 142 goto trunc; 148 goto trunc; 154 goto trunc; 163 trunc: 221 trunc: 254 trunc [all...] |
H A D | print-gre.c | 133 goto trunc; 140 goto trunc; 147 goto trunc; 155 goto trunc; 163 goto trunc; 176 goto trunc; 189 goto trunc; 236 trunc: 255 goto trunc; 265 goto trunc; [all...] |
H A D | print-ripng.c | 69 int trunc; local 93 trunc = ((i / sizeof(*ni)) * sizeof(*ni) != i); 109 trunc = ((i / sizeof(*ni)) * sizeof(*ni) != i); 118 if (trunc)
|
H A D | print-udld.c | 92 goto trunc; 97 goto trunc; 123 goto trunc; 164 trunc:
|
H A D | print-msdp.c | 48 goto trunc; /* not really truncated, but still not decodable */ 57 goto trunc; 99 trunc:
|
H A D | print-lwres.c | 204 goto trunc; 213 trunc: 224 goto trunc; 228 goto trunc; 231 trunc: 244 goto trunc; 247 goto trunc; 253 trunc: 293 trunc: 393 goto trunc; [all...] |
H A D | print-mobility.c | 104 goto trunc; 107 goto trunc; 115 printf("(padn: trunc)"); 116 goto trunc; 122 printf("(refresh: trunc)"); 123 goto trunc; 131 printf("(altcoa: trunc)"); 132 goto trunc; 138 printf("(ni: trunc)"); 139 goto trunc; [all...] |
H A D | print-domain.c | 119 trunc: 615 goto trunc; 618 goto trunc; 625 goto trunc; 629 goto trunc; 633 goto trunc; 639 goto trunc; 643 goto trunc; 647 goto trunc; 651 goto trunc; [all...] |
H A D | print-bgp.c | 513 trunc: 566 trunc: 602 trunc: 661 trunc: 742 trunc: 780 trunc: 828 trunc: 933 trunc: 1042 goto trunc; 1045 trunc [all...] |
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_openmode/ |
H A D | openmode.pass.cpp | 19 // static const openmode trunc; 31 assert(std::ios_base::trunc); 40 & std::ios_base::trunc) == 0
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/ |
H A D | move_assign.pass.cpp | 27 | std::ios_base::trunc); 39 | std::ios_base::trunc);
|
H A D | member_swap.pass.cpp | 27 | std::ios_base::trunc); 29 | std::ios_base::trunc); 50 | std::ios_base::trunc); 52 | std::ios_base::trunc);
|
H A D | nonmember_swap.pass.cpp | 28 | std::ios_base::trunc); 30 | std::ios_base::trunc); 51 | std::ios_base::trunc); 53 | std::ios_base::trunc);
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/ |
H A D | move.pass.cpp | 27 | std::ios_base::trunc); 38 | std::ios_base::trunc);
|
H A D | pointer.pass.cpp | 26 | std::ios_base::trunc); 36 | std::ios_base::trunc);
|
H A D | string.pass.cpp | 27 | std::ios_base::trunc); 38 | std::ios_base::trunc);
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/ |
H A D | open_pointer.pass.cpp | 28 | std::ios_base::trunc); 41 | std::ios_base::trunc);
|
H A D | open_string.pass.cpp | 28 | std::ios_base::trunc); 41 | std::ios_base::trunc);
|
Completed in 353 milliseconds
12345678910