PageRenderTime 1360ms queryFilters 0ms Sphinxql 291ms GetByIds 801ms meta 0ms repositoryFilters 7ms languageFilters 3ms sourceFilters 75ms

20,915 results for 'php ord' (1360 ms)

Source

Language

Repository

DictionaryLoader.php https://bitbucket.org/kdms/sh-magento.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                #require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
Zend_Search_Lucene_Index_DictionaryLoader.php https://bitbucket.org/kdms/sh-magento.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                #require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
DictionaryLoader.php https://bitbucket.org/kdms/sh-magento.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                #require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
OpenId.php https://bitbucket.org/efdac/e-forest_platform.git | PHP | 753 lines
232                if ($id[$i] >= '0' && $id[$i] <= '9') {
233                    $c = ord($id[$i]) - ord('0');
234                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
236                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
237                    $c = ord($id[$i]) - ord('a') + 10;
238                } else {
242                if ($id[$i] >= '0' && $id[$i] <= '9') {
243                    $c = ($c << 4) | (ord($id[$i]) - ord('0'));
244                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
244                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
245                    $c = ($c << 4) | (ord($id[$i]) - ord('A') + 10);
246                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
246                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
247                    $c = ($c << 4) | (ord($id[$i]) - ord('a') + 10);
248                } else {
DictionaryLoader.php https://bitbucket.org/sunil_nextbits/magento2.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                #require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
DictionaryLoader.php https://bitbucket.org/gkawka/zend-framework.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
DictionaryLoader.php https://bitbucket.org/hjain/loudmusic.git | PHP | 269 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
restore.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip.git | PHP | 5,746 lines
38// fnmatch not available on non-POSIX systems
39// Thanks to soywiz@php.net for this usefull alternative function [http://gr2.php.net/fnmatch]
40if (!function_exists('fnmatch')) {
618	                        $substr_chrs_c_2 = substr($chrs, $c, 2);
619	                        $ord_chrs_c = ord($chrs{$c});
620
5401
5402	// In restore.php mode, require restoration.php or fail
5403	if(!defined('KICKSTART'))
5469	{
5470		$password = AKFactory::get('kickstart.security.password', null);
5471		if(!empty($password))
5673	// Do I have to encrypt?
5674	$password = AKFactory::get('kickstart.security.password', null);
5675	if(!empty($password))
restore.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip-alpes.git | PHP | 5,746 lines
38// fnmatch not available on non-POSIX systems
39// Thanks to soywiz@php.net for this usefull alternative function [http://gr2.php.net/fnmatch]
40if (!function_exists('fnmatch')) {
618	                        $substr_chrs_c_2 = substr($chrs, $c, 2);
619	                        $ord_chrs_c = ord($chrs{$c});
620
5401
5402	// In restore.php mode, require restoration.php or fail
5403	if(!defined('KICKSTART'))
5469	{
5470		$password = AKFactory::get('kickstart.security.password', null);
5471		if(!empty($password))
5673	// Do I have to encrypt?
5674	$password = AKFactory::get('kickstart.security.password', null);
5675	if(!empty($password))
OpenId.php https://bitbucket.org/mkrasuski/magento-ce.git | PHP | 758 lines
236                if ($id[$i] >= '0' && $id[$i] <= '9') {
237                    $c = ord($id[$i]) - ord('0');
238                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
240                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
241                    $c = ord($id[$i]) - ord('a') + 10;
242                } else {
246                if ($id[$i] >= '0' && $id[$i] <= '9') {
247                    $c = ($c << 4) | (ord($id[$i]) - ord('0'));
248                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
248                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
249                    $c = ($c << 4) | (ord($id[$i]) - ord('A') + 10);
250                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
250                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
251                    $c = ($c << 4) | (ord($id[$i]) - ord('a') + 10);
252                } else {
ByteEncoding.php https://bitbucket.org/mkrasuski/magento-ce.git | PHP | 447 lines
1<?php
2/**
23/** Zend_Pdf_Cmap */
24#require_once 'Zend/Pdf/Cmap.php';
25
152        if ($actualLength != 262) {
153            #require_once 'Zend/Pdf/Exception.php';
154            throw new Zend_Pdf_Exception('Insufficient table data',
161        if ($type != Zend_Pdf_Cmap::TYPE_BYTE_ENCODING) {
162            #require_once 'Zend/Pdf/Exception.php';
163            throw new Zend_Pdf_Exception('Wrong cmap table type',
168        if ($length != $actualLength) {
169            #require_once 'Zend/Pdf/Exception.php';
170            throw new Zend_Pdf_Exception("Table length ($length) does not match actual length ($actualLength)",
175         * as expected if they are not. Unfortunately, many font files in the
176         * wild incorrectly record a language ID in this field, so we can't
177         * call this a failure.
qrcode.php https://bitbucket.org/Jon_Ward6/giam6386.git | PHP | 2,879 lines
1178						$b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]);
1179						$w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]);
1180						if (($b22 | ($w22 ^ 1)) & 1) {
1273			}
1274			return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1275		}
1307					$word = (ord($c) << 8) | ord($d);
1308					if (($word >= 0x8140 && $word <= 0x9ffc) OR ($word >= 0xe040 && $word <= 0xebbf)) {
1309						return QR_MODE_KJ;
1500				} else {
1501					if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1502						$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1755			for ($i=0; $i<$size; ++$i) {
1756				if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1757					return false;
qrcode.php https://bitbucket.org/Jon_Ward6/giam6386.git | PHP | 2,879 lines
1178						$b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]);
1179						$w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]);
1180						if (($b22 | ($w22 ^ 1)) & 1) {
1273			}
1274			return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1275		}
1307					$word = (ord($c) << 8) | ord($d);
1308					if (($word >= 0x8140 && $word <= 0x9ffc) OR ($word >= 0xe040 && $word <= 0xebbf)) {
1309						return QR_MODE_KJ;
1500				} else {
1501					if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1502						$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1755			for ($i=0; $i<$size; ++$i) {
1756				if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1757					return false;
OpenId.php https://bitbucket.org/jfrubiom/zendframework-1.x.git | PHP | 754 lines
232                if ($id[$i] >= '0' && $id[$i] <= '9') {
233                    $c = ord($id[$i]) - ord('0');
234                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
236                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
237                    $c = ord($id[$i]) - ord('a') + 10;
238                } else {
242                if ($id[$i] >= '0' && $id[$i] <= '9') {
243                    $c = ($c << 4) | (ord($id[$i]) - ord('0'));
244                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
244                } else if ($id[$i] >= 'A' && $id[$i] <= 'F') {
245                    $c = ($c << 4) | (ord($id[$i]) - ord('A') + 10);
246                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
246                } else if ($id[$i] >= 'a' && $id[$i] <= 'f') {
247                    $c = ($c << 4) | (ord($id[$i]) - ord('a') + 10);
248                } else {
DictionaryLoader.php https://bitbucket.org/jfrubiom/zendframework-1.x.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
qrcode.php https://bitbucket.org/speedealing/speedealing.git | PHP | 2,866 lines
1169					$b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]);
1170					$w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]);
1171					if (($b22 | ($w22 ^ 1)) & 1) {
1264		}
1265		return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1266	}
1298				$word = (ord($c) << 8) | ord($d);
1299				if (($word >= 0x8140 && $word <= 0x9ffc) OR ($word >= 0xe040 && $word <= 0xebbf)) {
1300					return QR_MODE_KJ;
1490			} else {
1491				if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1492					$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1748		for ($i=0; $i<$size; ++$i) {
1749			if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1750				return false;
qrcode.php https://bitbucket.org/speedealing/speedealing.git | PHP | 2,879 lines
1178						$b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]);
1179						$w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]);
1180						if (($b22 | ($w22 ^ 1)) & 1) {
1273			}
1274			return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1275		}
1307					$word = (ord($c) << 8) | ord($d);
1308					if (($word >= 0x8140 && $word <= 0x9ffc) OR ($word >= 0xe040 && $word <= 0xebbf)) {
1309						return QR_MODE_KJ;
1500				} else {
1501					if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1502						$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1755			for ($i=0; $i<$size; ++$i) {
1756				if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1757					return false;
restore.php https://bitbucket.org/biojazzard/joomla-eboracast.git | PHP | 5,746 lines
38// fnmatch not available on non-POSIX systems
39// Thanks to soywiz@php.net for this usefull alternative function [http://gr2.php.net/fnmatch]
40if (!function_exists('fnmatch')) {
618	                        $substr_chrs_c_2 = substr($chrs, $c, 2);
619	                        $ord_chrs_c = ord($chrs{$c});
620
5401
5402	// In restore.php mode, require restoration.php or fail
5403	if(!defined('KICKSTART'))
5469	{
5470		$password = AKFactory::get('kickstart.security.password', null);
5471		if(!empty($password))
5673	// Do I have to encrypt?
5674	$password = AKFactory::get('kickstart.security.password', null);
5675	if(!empty($password))
DictionaryLoader.php https://bitbucket.org/newicon/nii-modules-wiki.git | PHP | 268 lines
1<?php
2/**
57        // $tiVersion = $tiiFile->readInt();
58        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
59        $pos += 4;
61            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
62                require_once 'Zend/Search/Lucene/Exception.php';
63                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
66        // $indexTermCount = $tiiFile->readLong();
67        if (PHP_INT_SIZE > 4) {
68            $indexTermCount = ord($data[$pos]) << 56  |
68            $indexTermCount = ord($data[$pos]) << 56  |
69                              ord($data[$pos+1]) << 48  |
70                              ord($data[$pos+2]) << 40  |
96        // $skipInterval   = $tiiFile->readInt();
97        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
98        $pos += 4;
qrcode.php https://bitbucket.org/Seldszar/html2pdf-plugin-for-cakephp.git | PHP | 2,875 lines
1183						$b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]);
1184						$w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]);
1185						if (($b22 | ($w22 ^ 1)) & 1) {
1278			}
1279			return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
1280		}
1312					$word = (ord($c) << 8) | ord($d);
1313					if (($word >= 0x8140 && $word <= 0x9ffc) OR ($word >= 0xe040 && $word <= 0xebbf)) {
1314						return QR_MODE_KJ;
1505				} else {
1506					if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1507						$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1760			for ($i=0; $i<$size; ++$i) {
1761				if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1762					return false;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21