Lines Matching refs:count
221 $block->parser->throwError("unknown block type: $block->type\n", $block->count);
250 if (count($this->scope->lines) > 0) {
390 if (count($parts) > 0) {
432 $count = 0;
435 $count += $c;
438 return $count;
473 $count = $this->expandParentSelectors($child, $parent);
476 if ($count > 0) {
586 return $numMatched >= count($orderedArgs);
616 if (count($path) == 1) {
636 return count($matches) > 0 ? $matches : null;
678 $rest = array_slice($orderedValues, count($args) - 1);
733 $block->parser->throwError("{$prop[1][0]} is undefined", $block->count);
824 $block->parser->throwError("unknown op: {$prop[0]}\n", $block->count);
881 if (count($value) == 5 && $value[4] != 1) { // rgba
1178 if ($args[0] != 'list' || count($args[2]) < 2) {
1282 if ($args[0] != "list" || count($args[2]) < 2)
1379 $numValues = count($values);
1395 $numValues = count($values);
1438 if (count($color) > 4) $out[] = $color[4]; // copy alpha
1480 if (count($color) > 4) $out[] = $color[4]; // copy alpha
1512 while (count($hsl) < 4) $hsl[] = 0;
1536 while (count($components) < 3) $components[] = 0;
1703 if ($value[0] == "list" && count($value[2]) == 1) {
1868 array_fill(1, count($lft) - 1, $rgt[1]));
1873 $max = count($left) > count($right) ? count($left) : count($right);
2028 while (count($scope_secondary)) {
2062 $parser->count = 0;
2563 public $count; variable in lessc_parser
2595 $this->count = 0;
2614 if ($this->count != strlen($this->buffer))
2681 $this->count--;
2848 if (count($values) == 0) return false;
2887 $whiteBefore = isset($this->buffer[$this->count - 1]) &&
2888 ctype_space($this->buffer[$this->count - 1]);
2905 $whiteAfter = isset($this->buffer[$this->count - 1]) &&
2906 ctype_space($this->buffer[$this->count - 1]);
2946 if (count($values) == 0) return false;
2956 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != "(") {
2981 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] == "-") {
3077 if (count($parts) == 0) {
3134 $this->count-= strlen($tok);
3158 $this->count+= strlen($tok);
3163 if (count($content) == 0) return false;
3167 $content[count($content) - 1] = rtrim(end($content));
3196 $this->count -= strlen($m[2]);
3200 $this->count += strlen($m[2]);
3209 $this->count -= strlen($delim);
3247 if (isset($this->buffer[$this->count])) {
3248 $char = $this->buffer[$this->count];
3384 if (count($tags) == 0) return false;
3398 if (count($tags) == 0) return false;
3406 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != "[") {
3419 $this->count--;
3500 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] == "@") {
3623 } elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {
3645 if (count($guards) == 0) {
3664 if (count($guardGroup) == 0) {
3693 if (!isset($what[1]) && isset($this->buffer[$this->count])) {
3694 if ($this->buffer[$this->count] == $what) {
3696 $this->count++;
3722 if (count($items) == 0) {
3727 if ($flatten && count($items) == 1) {
3747 if ($until) $this->count -= strlen($what); // give back $what
3757 if (preg_match($r, $this->buffer, $out, 0, $this->count)) {
3758 $this->count += strlen($out[0]);
3769 while (preg_match(self::$whitePattern, $this->buffer, $m, 0, $this->count)) {
3770 if (isset($m[1]) && empty($this->seenComments[$this->count])) {
3772 $this->seenComments[$this->count] = true;
3774 $this->count += strlen($m[0]);
3786 if (is_null($from)) $from = $this->count;
3795 if ($where === null) return $this->count;
3796 else $this->count = $where;
3802 public function throwError($msg = "parse error", $count = null) { argument
3803 $count = is_null($count) ? $this->count : $count;
3806 substr_count(substr($this->buffer, 0, $count), "\n");
3815 if ($this->peek("(.*?)(\n|$)", $m, $count)) {
3841 $b->count = $this->count;
3885 $count = $min[1];
3890 if (preg_match('/url\(.*?\)/', $text, $m, 0, $count))
3891 $count += strlen($m[0]) - strlen($min[0]);
3895 if (preg_match('/'.$min[0].'.*?(?<!\\\\)'.$min[0].'/', $text, $m, 0, $count))
3896 $count += strlen($m[0]) - 1;
3899 $skip = strpos($text, "\n", $count);
3900 if ($skip === false) $skip = strlen($text) - $count;
3901 else $skip -= $count;
3904 if (preg_match('/\/\*.*?\*\//s', $text, $m, 0, $count)) {
3911 if ($skip == 0) $count += strlen($min[0]);
3913 $out .= substr($text, 0, $count).str_repeat("\n", $newlines);
3914 $text = substr($text, $count + $skip);
3970 is_null($block->type) && count($block->lines) == 1;