Lines Matching refs:src
45 * @param int $src
48 protected static function decode6Bits(int $src): int argument
53 $ret += (((0x40 - $src) & ($src - 0x5b)) >> 8) & ($src - 64);
56 $ret += (((0x60 - $src) & ($src - 0x7b)) >> 8) & ($src - 70);
59 $ret += (((0x2f - $src) & ($src - 0x3a)) >> 8) & ($src + 5);
62 $ret += (((0x2c - $src) & ($src - 0x2e)) >> 8) & 63;
65 $ret += (((0x5e - $src) & ($src - 0x60)) >> 8) & 64;
74 * @param int $src
77 protected static function encode6Bits(int $src): string argument
82 $diff += ((25 - $src) >> 8) & 6;
85 $diff -= ((51 - $src) >> 8) & 75;
88 $diff -= ((61 - $src) >> 8) & 13;
91 $diff += ((62 - $src) >> 8) & 49;
93 return \pack('C', $src + $diff);