Home
last modified time | relevance | path

Searched refs:char (Results 1 – 25 of 178) sorted by relevance

12345678

/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/
DPH5P.php73 private $char; variable in HTML5
464 $this->char = -1;
481 private function char() function in HTML5
483 return ($this->char < $this->EOF)
484 ? $this->data[$this->char]
507 $this->char++;
508 $char = $this->char();
510 …if ($char === '&' && ($this->content_model === self::PCDATA || $this->content_model === self::RCDA…
517 } elseif ($char === '-') {
526 $this->char >= 3 && $this->character($this->char - 4, 4) === '<!--'
[all …]
/plugin/sqlite/
DTools.php27 $char = $sql[$i];
32 if ($char == "\n") {
40 if ($char == "'") {
43 $statement .= $char . $next;
48 $statement .= $char;
54 $statement .= $char;
59 if ($char == '-' && $next == '-' && $prev == "\n") {
65 if ($char == "'") {
67 $statement .= $char;
72 if ($char == ';') {
[all …]
/plugin/quickstats/GEOIP/
Dgeoipcity.inc75 $char = ord(substr($record_buf, $record_buf_pos, 1));
76 $record->country_code = $gi->GEOIP_COUNTRY_CODES[$char];
77 $record->country_code3 = $gi->GEOIP_COUNTRY_CODES3[$char];
78 $record->country_name = $gi->GEOIP_COUNTRY_NAMES[$char];
79 $record->continent_code = $gi->GEOIP_CONTINENT_CODES[$char];
84 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
85 while ($char != 0) {
87 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
95 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
96 while ($char != 0) {
[all …]
/plugin/hyphenation/phpHyphenation/
Dhyphenation.php89 $char = $pattern[$i];
90 if(isset($numb3rs[$char])) {
92 …sset($hyphenated_word[$zero]) || $hyphenated_word[$zero] != $char) $hyphenated_word[$zero] = $char;
118 $char = mb_substr($text, $i, 1);
119 if(mb_strpos($word_boundaries, $char) === false && $tag == "") {
120 $word .= $char;
123 if($tag != "" || $char == "<") $tag .= $char;
124 if($tag != "" && $char == ">") {
130 if($tag == "" && $char != "<" && $char != ">") $output[] = $char;
DphpHyphenation.class.php165 $char = mb_substr($text, $i, 1);
166 if (mb_strpos($word_boundaries, $char)===false && $tag=='') {
167 $word .= $char;
174 if ($tag != '' || $char == '<') {
175 $tag .= $char;
177 if ($tag != '' && $char == '>') {
196 if ($tag == '' && $char != '<' && $char != '>') {
197 $result[] = $char;
232 $char = $pattern[$i];
233 if (isset($numb3rs[$char])) {
[all …]
/plugin/findologicxmlexport/vendor/hoa/ustring/
DUstring.php781 * @param string $char Character.
784 public static function getCharDirection($char) argument
786 $c = static::toCode($char);
882 * @param string $char Character.
885 public static function getCharWidth($char) argument
887 $char = (string) $char;
888 $c = static::toCode($char);
901 0 !== preg_match('#^[\p{Mn}\p{Me}\p{Cf}\x{1160}-\x{11ff}\x{200b}]#u', $char)) {
925 * @param string $char Character.
928 public static function isCharPrintable($char) argument
[all …]
/plugin/bibtex4dw/lib/
Dbibtexparser.php278 $char = '';
285 $char = substr($this->content, $i, 1);
286 if ((0 != $open) && ('@' == $char) && (!$inField)) {
290 $char = '}';
294 if ((0 == $open) && ('@' == $char)) { //The beginning of an entry
296 …} elseif ($entry && ('{' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
303 …} elseif ($entry && ('}' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
326 $buffer .= $char;
328 $lastchar = $char;
329 if ($char != ' ' && $char != '\t' && $char != '\n' && $char != '\r') {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/
DComment.php56 $char = ($numChars - strlen(ltrim($string, '/*')));
57 $openTag = substr($string, 0, $char);
105 $char = 0;
109 $space = $this->_collectWhitespace($string, $char, $numChars);
118 $char += strlen($space['content']);
119 if ($char === $numChars) {
128 if ($string[$char] === '*') {
130 $char++;
145 $lineTokens = $this->_processLine($string, $eolChar, $char, $numChars);
DJS.php303 $char = $chars[$i];
306 $content = PHP_CodeSniffer::prepareForOutput($char);
323 if (trim($char) !== '' && trim($buffer) === '') {
342 && trim($char) === ''
361 if ($inComment === '' && isset($this->stringTokens[$char]) === true) {
362 if ($inString === $char) {
380 'content' => str_replace("\n", $eolChar, $buffer).$char,
385 $content = PHP_CodeSniffer::prepareForOutput($buffer.$char);
396 $inString = $char;
406 if ($inString !== '' && $char === "\n") {
[all …]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DBinaryReader.php79 $char = fread($this->buffer, 1);
80 return $char !== '' ? current(unpack("c", $char)) : null;
89 $char = fread($this->buffer, 1);
90 return $char !== '' ? current(unpack("C", $char)) : null;
/plugin/html2pdf/html2pdf/html2ps/
Dmanager.encoding.php51 * @param char[2] $char UCS-2 character (represented as 2-octet
54 * @return char index of this character in custom encoding vector
56 function add_custom_char($char) { argument
71 $this->_encodings[$vector_name][chr($index)] = $char;
74 $this->_utf8_mapping[code_to_utf8($char)][$vector_name] = chr($index);
174 function get_mapping($char) { argument
179 if (!isset($this->_utf8_mapping[$char])) {
182 return $this->_utf8_mapping[$char];
196 $char = substr($raw_content,$ptr,$charlen);
199 return $char;
/plugin/nspages/printers/
DrendererXhtmlHelper.php27 function printHeaderChar($char, $continued = false){ argument
28 $text = $char;
34 . $this->fullAnchor($char, $continued)
42 private function fullAnchor($char, $continued){ argument
47 return 'id="nspages_' . $this->anchorName . '_' . $char . '" ';
/plugin/publistf/bib2tpl/lib/
DBibTex.php280 $char = '';
284 $char = substr($this->content, $i, 1);
285 if ((0 != $open) && ('@' == $char)) {
289 $char = '}';
293 if ((0 == $open) && ('@' == $char)) { //The beginning of an entry
295 …} elseif ($entry && ('{' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
297 …} elseif ($entry && ('}' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
319 $buffer .= $char;
321 $lastchar = $char;
499 $char = substr($entry, $i, 1);
[all …]
/plugin/publist/bib2tpl/lib/
DBibTex.php280 $char = '';
284 $char = substr($this->content, $i, 1);
285 if ((0 != $open) && ('@' == $char)) {
289 $char = '}';
293 if ((0 == $open) && ('@' == $char)) { //The beginning of an entry
295 …} elseif ($entry && ('{' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
297 …} elseif ($entry && ('}' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
319 $buffer .= $char;
321 $lastchar = $char;
499 $char = substr($entry, $i, 1);
[all …]
/plugin/publistx/bib2tpl/lib/
DBibTex.php280 $char = '';
284 $char = substr($this->content, $i, 1);
285 if ((0 != $open) && ('@' == $char)) {
289 $char = '}';
293 if ((0 == $open) && ('@' == $char)) { //The beginning of an entry
295 …} elseif ($entry && ('{' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
297 …} elseif ($entry && ('}' == $char) && ('\\' != $lastchar)) { //Inside an entry and non quoted brac…
319 $buffer .= $char;
321 $lastchar = $char;
499 $char = substr($entry, $i, 1);
[all …]
/plugin/a2s/
DASCIIToSVG.php2982 foreach ($line as $col => $char) {
2983 if ($this->isCorner($char)) {
2986 if ($char == '.' || $char == "'") {
3114 $char = $this->getChar($r, $c);
3115 switch ($char) {
3276 (($char != '.' && $char != "'") ||
3277 ($char == '.' && $s != '.') ||
3278 ($char == "'" && $s != "'"))) {
3282 (($char != '.' && $char != "'") ||
3283 ($char == '.' && $s != '.') ||
[all …]
/plugin/character/
Dsyntax.php63 $char = urldecode($raw);
64 $data['codepoint'] = mb_ord($char);
65 if (mb_strlen($char)!=1) $data['type'] = 'error';
94 $char = mb_chr($codepoint);
105 $urlencoding = urlencode($char);
113 $bytes = unpack('C*', mb_convert_encoding($char, 'UTF-8', 'UTF-8'));
149 .htmlentities($char)."</code> $charname</span>"
/plugin/sqlraw/
Dsimple_html_dom.php982 protected $char; variable in simple_html_dom
1165 if ($this->size>0) $this->char = $this->doc[0];
1260 if ($this->char!=='<')
1266 $this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
1269 if ($this->char==='/')
1271 $this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
1328 $this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
1349 if ($this->char==='>') $node->_[HDOM_INFO_TEXT].='>';
1351 $this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
1360 $this->char = $this->doc[--$this->pos]; // prev
[all …]
/plugin/codemirror/dist/modes/
Delm.min.js.map1char","next","test","eat","chompMultiComment","match","chompGlsl","chompChar","chompMultiString","…
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
DTokenizer.php118 $char = $text[$i];
120 … if ($char === $this->otagChar && substr($text, $i, $this->otagLen) === $this->otag) {
125 $this->buffer .= $char;
126 if ($char === "\n") {
135 $char = $text[$i + 1];
136 if (isset(self::$tagTypes[$char])) {
137 $tag = $char;
160 $char = $text[$i];
162 … if ($char === $this->ctagChar && substr($text, $i, $this->ctagLen) === $this->ctag) {
207 $this->buffer .= $char;
/plugin/elasticsearch/vendor/ruflin/elastica/src/
DUtil.php111 foreach ($escapableChars as $char) {
112 $result = \str_replace($char, '\\'.$char, $result);
119 foreach ($nonEscapableChars as $char) {
120 $result = \str_replace($char, '', $result);
/plugin/imapmarkers/syntax/
Dimapmarkers_simple_html_dom.php1418 protected $char; variable in imapmarkers\\simple_html_dom
1656 $this->char = $this->doc[0];
1819 if ($this->char !== '<') {
1825 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1828 if ($this->char === '/') {
1829 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1912 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1938 if ($this->char === '>') {
1943 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1953 $this->char = $this->doc[--$this->pos]; // prev
[all …]
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/py/
Dfckutil.py43 def removeFromStart(string, char): argument
44 return string.lstrip(char)
46 def removeFromEnd(string, char): argument
47 return string.rstrip(char)
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Util/
DXMLTest.php16 public function testPrepareString($char) argument
20 $escapedString = PHPUnit_Util_XML::prepareString($char);
31 ord($char)
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DEncoder.php158 $char = '';
163 $char .= $str[$i]; // append byte to char
174 $out .= $char;
177 $char = '';
224 $char = '';
267 $out .= $char;
273 $char = '';
282 $char ='';

12345678