Lines Matching refs:offset

398 			$offset = 0;
400 $offset = strpos($reversedfilename, '.', $offset + 1);
401 if ($offset === false) {
405 return strrev(substr($reversedfilename, 0, $offset));
587 function hash_data($file, $offset, $end, $algorithm) { argument
608 $size = $end - $offset;
657 fseek($fp, $offset, SEEK_SET);
658 $byteslefttowrite = $end - $offset;
750 $offset = 0;
752 while ($offset < $stringlength) {
753 if ((ord($string{$offset}) | 0x07) == 0xF7) {
755 $charval = ((ord($string{($offset + 0)}) & 0x07) << 18) &
756 ((ord($string{($offset + 1)}) & 0x3F) << 12) &
757 ((ord($string{($offset + 2)}) & 0x3F) << 6) &
758 (ord($string{($offset + 3)}) & 0x3F);
759 $offset += 4;
760 } elseif ((ord($string{$offset}) | 0x0F) == 0xEF) {
762 $charval = ((ord($string{($offset + 0)}) & 0x0F) << 12) &
763 ((ord($string{($offset + 1)}) & 0x3F) << 6) &
764 (ord($string{($offset + 2)}) & 0x3F);
765 $offset += 3;
766 } elseif ((ord($string{$offset}) | 0x1F) == 0xDF) {
768 $charval = ((ord($string{($offset + 0)}) & 0x1F) << 6) &
769 (ord($string{($offset + 1)}) & 0x3F);
770 $offset += 2;
771 } elseif ((ord($string{$offset}) | 0x7F) == 0x7F) {
773 $charval = ord($string{$offset});
774 $offset += 1;
778 $offset += 1;
793 $offset = 0;
795 while ($offset < $stringlength) {
796 if ((ord($string{$offset}) | 0x07) == 0xF7) {
798 $charval = ((ord($string{($offset + 0)}) & 0x07) << 18) &
799 ((ord($string{($offset + 1)}) & 0x3F) << 12) &
800 ((ord($string{($offset + 2)}) & 0x3F) << 6) &
801 (ord($string{($offset + 3)}) & 0x3F);
802 $offset += 4;
803 } elseif ((ord($string{$offset}) | 0x0F) == 0xEF) {
805 $charval = ((ord($string{($offset + 0)}) & 0x0F) << 12) &
806 ((ord($string{($offset + 1)}) & 0x3F) << 6) &
807 (ord($string{($offset + 2)}) & 0x3F);
808 $offset += 3;
809 } elseif ((ord($string{$offset}) | 0x1F) == 0xDF) {
811 $charval = ((ord($string{($offset + 0)}) & 0x1F) << 6) &
812 (ord($string{($offset + 1)}) & 0x3F);
813 $offset += 2;
814 } elseif ((ord($string{$offset}) | 0x7F) == 0x7F) {
816 $charval = ord($string{$offset});
817 $offset += 1;
821 $offset += 1;
836 $offset = 0;
838 while ($offset < $stringlength) {
839 if ((ord($string{$offset}) | 0x07) == 0xF7) {
841 $charval = ((ord($string{($offset + 0)}) & 0x07) << 18) &
842 ((ord($string{($offset + 1)}) & 0x3F) << 12) &
843 ((ord($string{($offset + 2)}) & 0x3F) << 6) &
844 (ord($string{($offset + 3)}) & 0x3F);
845 $offset += 4;
846 } elseif ((ord($string{$offset}) | 0x0F) == 0xEF) {
848 $charval = ((ord($string{($offset + 0)}) & 0x0F) << 12) &
849 ((ord($string{($offset + 1)}) & 0x3F) << 6) &
850 (ord($string{($offset + 2)}) & 0x3F);
851 $offset += 3;
852 } elseif ((ord($string{$offset}) | 0x1F) == 0xDF) {
854 $charval = ((ord($string{($offset + 0)}) & 0x1F) << 6) &
855 (ord($string{($offset + 1)}) & 0x3F);
856 $offset += 2;
857 } elseif ((ord($string{$offset}) | 0x7F) == 0x7F) {
859 $charval = ord($string{$offset});
860 $offset += 1;
864 $offset += 1;