Lines Matching refs:arg
35 public static int and254(int arg) { in and254() argument
36 return arg & 254; in and254()
43 public static int and255(int arg) { in and255() argument
44 return arg & 255; in and255()
50 public static int and511(int arg) { in and511() argument
51 return arg & 511; in and511()
58 public static int andF00D(int arg) { in andF00D() argument
59 return arg & 0xF00D; in andF00D()
66 public static int andNot15(int arg) { in andNot15() argument
67 return arg & ~15; in andNot15()
74 public static int or255(int arg) { in or255() argument
75 return arg | 255; in or255()
82 public static int or511(int arg) { in or511() argument
83 return arg | 511; in or511()
90 public static int orNot15(int arg) { in orNot15() argument
91 return arg | ~15; in orNot15()
98 public static int xor255(int arg) { in xor255() argument
99 return arg ^ 255; in xor255()
106 public static int xor511(int arg) { in xor511() argument
107 return arg ^ 511; in xor511()
114 public static int xorNot15(int arg) { in xorNot15() argument
115 return arg ^ ~15; in xorNot15()
127 public static long and255(long arg) { in and255() argument
128 return arg & 255L; in and255()
137 public static long and511(long arg) { in and511() argument
138 return arg & 511L; in and511()
153 public static long andF00D(long arg) { in andF00D() argument
154 return arg & 0xF00DL; in andF00D()
165 public static long andNot15(long arg) { in andNot15() argument
166 return arg & ~15L; in andNot15()
179 public static long and0xfffffff00000000f(long arg) { in and0xfffffff00000000f() argument
180 return arg & 0xfffffff00000000fL; in and0xfffffff00000000f()
191 public static long or255(long arg) { in or255() argument
192 return arg | 255L; in or255()
205 public static long or511(long arg) { in or511() argument
206 return arg | 511L; in or511()
218 public static long orNot15(long arg) { in orNot15() argument
219 return arg | ~15L; in orNot15()
232 public static long or0xfffffff00000000f(long arg) { in or0xfffffff00000000f() argument
233 return arg | 0xfffffff00000000fL; in or0xfffffff00000000f()
242 public static long xor255(long arg) { in xor255() argument
243 return arg ^ 255L; in xor255()
254 public static long xor511(long arg) { in xor511() argument
255 return arg ^ 511L; in xor511()
266 public static long xorNot15(long arg) { in xorNot15() argument
267 return arg ^ ~15L; in xorNot15()
279 public static long xor0xfffffff00000000f(long arg) { in xor0xfffffff00000000f() argument
280 return arg ^ 0xfffffff00000000fL; in xor0xfffffff00000000f()
291 public static long xor0xf00000000000000f(long arg) { in xor0xf00000000000000f() argument
292 return arg ^ 0xf00000000000000fL; in xor0xf00000000000000f()
309 public static long shl1(long arg) { in shl1() argument
310 return arg << 1; in shl1()
321 public static long shl2(long arg) { in shl2() argument
322 return arg << 2; in shl2()
333 public static long shl31(long arg) { in shl31() argument
334 return arg << 31; in shl31()
344 public static long shl32(long arg) { in shl32() argument
345 return arg << 32; in shl32()
355 public static long shl33(long arg) { in shl33() argument
356 return arg << 33; in shl33()
366 public static long shl63(long arg) { in shl63() argument
367 return arg << 63; in shl63()
377 public static long shr1(long arg) { in shr1() argument
378 return arg >> 1; in shr1()
389 public static long shr2(long arg) { in shr2() argument
390 return arg >> 2; in shr2()
401 public static long shr31(long arg) { in shr31() argument
402 return arg >> 31; in shr31()
413 public static long shr32(long arg) { in shr32() argument
414 return arg >> 32; in shr32()
424 public static long shr33(long arg) { in shr33() argument
425 return arg >> 33; in shr33()
435 public static long shr63(long arg) { in shr63() argument
436 return arg >> 63; in shr63()
446 public static long ushr1(long arg) { in ushr1() argument
447 return arg >>> 1; in ushr1()
458 public static long ushr2(long arg) { in ushr2() argument
459 return arg >>> 2; in ushr2()
470 public static long ushr31(long arg) { in ushr31() argument
471 return arg >>> 31; in ushr31()
481 public static long ushr32(long arg) { in ushr32() argument
482 return arg >>> 32; in ushr32()
492 public static long ushr33(long arg) { in ushr33() argument
493 return arg >>> 33; in ushr33()
503 public static long ushr63(long arg) { in ushr63() argument
504 return arg >>> 63; in ushr63()
543 public static long addM1(long arg) { in addM1() argument
544 return (arg + (-1)) | (arg - (-1)); in addM1()
583 public static long addLongConstants(long arg) { in addLongConstants() argument
586 (arg + 0x000ff00011111111L) ^ // 4486007727657233 in addLongConstants()
588 (arg + 0x000ff000fff01000L) ^ // 4486011735248896 in addLongConstants()
590 (arg + 0xf11fffffff010000L) ^ // -1071856711330889728 in addLongConstants()
592 (arg + 0x00000fff00000000L) ^ // 17587891077120 in addLongConstants()
594 (arg + 0xfffff7fd00000000L) ^ // -8808977924096 in addLongConstants()
596 (arg + 0x00000fff00000001L) ^ // 17587891077121 in addLongConstants()
598 (arg + 0x0000000000000fffL) ^ // 4095 in addLongConstants()
599 arg; in addLongConstants()
638 public static long subLongConstants(long arg) { in subLongConstants() argument
641 (arg - 0x000ff00011111111L) ^ // 4486007727657233 in subLongConstants()
643 (arg - 0x000ff000fff01000L) ^ // 4486011735248896 in subLongConstants()
645 (arg - 0xf11fffffff010000L) ^ // -1071856711330889728 in subLongConstants()
647 (arg - 0x00000fff00000000L) ^ // 17587891077120 in subLongConstants()
649 (arg - 0xfffff7fd00000000L) ^ // -8808977924096 in subLongConstants()
651 (arg - 0x00000fff00000001L) ^ // 17587891077121 in subLongConstants()
653 (arg - 0x0000000000000fffL) ^ // 4095 in subLongConstants()
654 arg; in subLongConstants()
658 int arg = 0x87654321; in main() local
659 assertIntEquals(and254(arg), 0x20); in main()
660 assertIntEquals(and255(arg), 0x21); in main()
661 assertIntEquals(and511(arg), 0x121); in main()
662 assertIntEquals(andF00D(arg), 0x4001); in main()
663 assertIntEquals(andNot15(arg), 0x87654320); in main()
664 assertIntEquals(or255(arg), 0x876543ff); in main()
665 assertIntEquals(or511(arg), 0x876543ff); in main()
666 assertIntEquals(orNot15(arg), 0xfffffff1); in main()
667 assertIntEquals(xor255(arg), 0x876543de); in main()
668 assertIntEquals(xor511(arg), 0x876542de); in main()
669 assertIntEquals(xorNot15(arg), 0x789abcd1); in main()