Lines Matching refs:unpack
2 64bit pack()/unpack() tests
11 print_r(unpack("Q", pack("Q", 0xfffffffffffe)));
12 print_r(unpack("Q", pack("Q", 0)));
13 print_r(unpack("Q", pack("Q", 0x8000000000000002)));
14 print_r(unpack("Q", pack("Q", -1)));
15 print_r(unpack("Q", pack("Q", 0x8000000000000000)));
17 print_r(unpack("J", pack("J", 0xfffffffffffe)));
18 print_r(unpack("J", pack("J", 0)));
19 print_r(unpack("J", pack("J", 0x8000000000000002)));
20 print_r(unpack("J", pack("J", -1)));
21 print_r(unpack("J", pack("J", 0x8000000000000000)));
23 print_r(unpack("P", pack("P", 0xfffffffffffe)));
24 print_r(unpack("P", pack("P", 0)));
25 print_r(unpack("P", pack("P", 0x8000000000000002)));
26 print_r(unpack("P", pack("P", -1)));
27 print_r(unpack("P", pack("P", 0x8000000000000000)));
29 print_r(unpack("q", pack("q", 0xfffffffffffe)));
30 print_r(unpack("q", pack("q", 0)));
31 print_r(unpack("q", pack("q", 0x8000000000000002)));
32 print_r(unpack("q", pack("q", -1)));
33 print_r(unpack("q", pack("q", 0x8000000000000000)));