Lines Matching refs:n

55 void t_print64(sal_Int64 n)  in t_print64()  argument
57 if (n < 0) in t_print64()
61 n = -n; in t_print64()
63 if (n > 2147483647) in t_print64()
65 sal_Int64 n64 = n >> 32; in t_print64()
68 n32 = n & 0xffffffff; in t_print64()
73 sal_uInt32 n32 = n & 0xffffffff; in t_print64()
115 sal_Int64 n; in test1_0() local
116 n = 1073741824; in test1_0()
117 n <<= 9; in test1_0()
119 t_print64(n); in test1_0()
120 CPPUNIT_ASSERT_MESSAGE("n=2^30 << 9", t_abs64(n) > 0 ); in test1_0()
125 sal_Int64 n; in test1() local
126 n = 2147483648 << 8; in test1()
128 t_print64(n); in test1()
129 CPPUNIT_ASSERT_MESSAGE("n=2^31 << 8", t_abs64(n) > 0 ); in test1()
133 sal_Int64 n; in test1_1() local
134 n = sal_Int64(2147483648) << 8; in test1_1()
136 t_print64(n); in test1_1()
137 CPPUNIT_ASSERT_MESSAGE("n=2^31 << 8", t_abs64(n) > 0 ); in test1_1()
142 sal_Int64 n; in test2() local
143 n = 2147483648 << 1; in test2()
145 t_print64(n); in test2()
147 CPPUNIT_ASSERT_MESSAGE("(2147483648 << 1) is != 0", n != 0 ); in test2()
155 …IT_ASSERT_MESSAGE("n=2^31 << 1, n2 = 2^31 * 2, n3 = 2^32, all should equal!", n == n2 && n == n3 ); in test2()
161 sal_Int64 n = 0; in test3() local
162 CPPUNIT_ASSERT_MESSAGE("n=0", t_abs64(n) == 0 ); in test3()
164 n = 1; in test3()
165 CPPUNIT_ASSERT_MESSAGE("n=1", t_abs64(n) > 0 ); in test3()
167 n = 2147483647; in test3()
168 CPPUNIT_ASSERT_MESSAGE("n=2^31 - 1", t_abs64(n) > 0 ); in test3()
170 n = 2147483648; in test3()
171 CPPUNIT_ASSERT_MESSAGE("n=2^31", t_abs64(n) > 0 ); in test3()
176 sal_Int64 n = 0; in test4() local
177 n = -1; in test4()
179 t_print64(n); in test4()
180 CPPUNIT_ASSERT_MESSAGE("n=-1", t_abs64(n) > 0 ); in test4()
182 n = -2147483648; in test4()
184 t_print64(n); in test4()
185 CPPUNIT_ASSERT_MESSAGE("n=-2^31", t_abs64(n) > 0 ); in test4()
187 n = -8589934592LL; in test4()
189 t_print64(n); in test4()
190 CPPUNIT_ASSERT_MESSAGE("n=-2^33", t_abs64(n) > 0 ); in test4()