Lines Matching refs:ord

21 				$returnstring .= str_pad(dechex(ord($string{$i})), 2, '0', STR_PAD_LEFT);
242 $intvalue = $intvalue | (ord($byteword{$i}) & 0x7F) << (($bytewordlen - 1 - $i) * 7);
244 $intvalue += ord($byteword{$i}) * pow(256, ($bytewordlen - 1 - $i));
278 $binvalue .= str_pad(decbin(ord($byteword{$i})), 8, '0', STR_PAD_LEFT);
708 $charval = ord($string{$i});
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);
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);
766 } elseif ((ord($string{$offset}) | 0x1F) == 0xDF) {
768 $charval = ((ord($string{($offset + 0)}) & 0x1F) << 6) &
769 (ord($string{($offset + 1)}) & 0x3F);
771 } elseif ((ord($string{$offset}) | 0x7F) == 0x7F) {
773 $charval = ord($string{$offset});
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);
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);
809 } elseif ((ord($string{$offset}) | 0x1F) == 0xDF) {
811 $charval = ((ord($string{($offset + 0)}) & 0x1F) << 6) &
812 (ord($string{($offset + 1)}) & 0x3F);
814 } elseif ((ord($string{$offset}) | 0x7F) == 0x7F) {
816 $charval = ord($string{$offset});
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);
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);
852 } elseif ((ord($string{$offset}) | 0x1F) == 0xDF) {
854 $charval = ((ord($string{($offset + 0)}) & 0x1F) << 6) &
855 (ord($string{($offset + 1)}) & 0x3F);
857 } elseif ((ord($string{$offset}) | 0x7F) == 0x7F) {
859 $charval = ord($string{$offset});
1043 $char_ord_val = ord($string{$i});
1049 $charval += ((ord($string{++$i}) & 0x3F) << 12);
1050 $charval += ((ord($string{++$i}) & 0x3F) << 6);
1051 $charval += (ord($string{++$i}) & 0x3F);
1054 $charval += ((ord($string{++$i}) & 0x3F) << 6);
1055 $charval += (ord($string{++$i}) & 0x3F);
1058 $charval += (ord($string{++$i}) & 0x3F);