PageRenderTime 1189ms queryFilters 0ms Sphinxql 218ms GetByIds 698ms meta 0ms repositoryFilters 9ms languageFilters 2ms sourceFilters 67ms

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

Source

Language

Repository

qrcode.php https://bitbucket.org/designbyheart/original.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/organicdevelopment/joomla-2.5.git | PHP | 5,742 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
5397
5398	// In restore.php mode, require restoration.php or fail
5399	if(!defined('KICKSTART'))
5465	{
5466		$password = AKFactory::get('kickstart.security.password', null);
5467		if(!empty($password))
5669	// Do I have to encrypt?
5670	$password = AKFactory::get('kickstart.security.password', null);
5671	if(!empty($password))
utils.php https://bitbucket.org/kolbyjAFK/phpvirtualbox.git | PHP | 263 lines
1<?php
2/**
22	
23	$settings = new phpVBoxConfigClass();
24
93 * Mimmics PHP's json_encode
94 * @link http://au.php.net/manual/en/function.json-encode.php#82904
95 * @param mixed $a variable to JSON encode
144        for($i = 0; $i < $strlen_var; $i++) {
145            $ord_var_c = ord($value[$i]);
146
147            switch (true) {
148                case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
149                    // characters U-00000000 - U-0000007F (same as ASCII)
155                    // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
156                    $char = pack('C*', $ord_var_c, ord($value[$i + 1]));
157                    $i += 1;
DictionaryLoader.php https://bitbucket.org/bigstylee/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;
restore.php https://bitbucket.org/eternaware/joomus.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/ksekar/campus.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/ksekar/campus.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;
restore.php https://bitbucket.org/kraymitchell/saiu.git | PHP | 5,865 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')) {
627	                        $substr_chrs_c_2 = substr($chrs, $c, 2);
628	                        $ord_chrs_c = ord($chrs{$c});
629
5520
5521	// In restore.php mode, require restoration.php or fail
5522	if(!defined('KICKSTART'))
5588	{
5589		$password = AKFactory::get('kickstart.security.password', null);
5590		if(!empty($password))
5792	// Do I have to encrypt?
5793	$password = AKFactory::get('kickstart.security.password', null);
5794	if(!empty($password))
qrcode.php https://bitbucket.org/dipendrapkrl/excelapi.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;
DictionaryLoader.php https://bitbucket.org/hieronim1981/tunethemusic.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/netglue/zf-1.12-release.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/netglue/zf-1.12-release.git | PHP | 447 lines
1<?php
2/**
23/** Zend_Pdf_Cmap */
24require_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/machaven/limesurvey.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;
1491			} else {
1492				if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1493					$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1749		for ($i=0; $i<$size; ++$i) {
1750			if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1751				return false;
qrcode.php https://bitbucket.org/marcor/gazie.git | PHP | 2,869 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;
1491			} else {
1492				if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1493					$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1749		for ($i=0; $i<$size; ++$i) {
1750			if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1751				return false;
OpenId.php https://bitbucket.org/hamidrezas/melobit.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/hamidrezas/melobit.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/mengqing/magento-mirror.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;
securimage.php https://bitbucket.org/FearMediocrity/so-agape-cottage.git | PHP | 1,477 lines
25 *
26 * @link http://www.phpcaptcha.org Securimage PHP CAPTCHA
27 * @link http://www.phpcaptcha.org/latest.zip Download Latest Version
441		$this->charset       = 'ABCDEFGHKLMNPRSTUVWYZabcdefghklmnprstuvwyz23456789';
442		$this->wordlist_file = getcwd() . '/words/words.txt';
443		$this->use_wordlist  = false;
915
916		if ($this->use_wordlist && is_readable($this->wordlist_file)) {
917			$this->code = $this->readCodeFromFile();
1200			if ($i == 0) { // output header
1201				$out_data .= pack('C4VC8', ord('R'), ord('I'), ord('F'), ord('F'), $data_len + 36, ord('W'), ord('A'), ord('V'), ord('E'), ord('f'), ord('m'), ord('t'), ord(' '));
1202
1211
1212				$out_data .= pack('C4', ord('d'), ord('a'), ord('t'), ord('a'));
1213
DictionaryLoader.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.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/thomashii/vtigercrm-6-for-postgresql.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;
1491			} else {
1492				if ((ord($this->dataStr[$p]) >= ord('a')) AND (ord($this->dataStr[$p]) <= ord('z'))) {
1493					$this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
1749		for ($i=0; $i<$size; ++$i) {
1750			if ((ord($data[$i]) < ord('0')) OR (ord($data[$i]) > ord('9'))){
1751				return false;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21