Lines Matching refs:x
49 public static long and_not_64( long x, long y) { in and_not_64() argument
53 x = x & ~i; in and_not_64()
56 return x & ~y; in and_not_64()
80 public static int and_not_32( int x, int y) { in and_not_32() argument
84 x = x & ~i; in and_not_32()
87 return x & ~y; in and_not_32()
124 public static int reset_lowest_set_bit_32(int x) { in reset_lowest_set_bit_32() argument
125 int y = x; in reset_lowest_set_bit_32()
163 public static long reset_lowest_set_bit_64(long x) { in reset_lowest_set_bit_64() argument
164 long y = x; in reset_lowest_set_bit_64()
192 public static int get_mask_lowest_set_bit_32(int x) { in get_mask_lowest_set_bit_32() argument
193 return (x-1) ^ x; in get_mask_lowest_set_bit_32()
208 public static long get_mask_lowest_set_bit_64(long x) { in get_mask_lowest_set_bit_64() argument
209 return (x-1) ^ x; in get_mask_lowest_set_bit_64()
213 int x = 50; in main() local
214 int y = x/2; in main()
217 assertIntEquals(0,and_not_32(x,y)); in main()
219 assertIntEquals(-20502606, reset_lowest_set_bit_32(x)); in main()