Lines Matching refs:count
212 $stack_count = count( $stack );
314 …while ( $stack->count > 0 && ( $o2 = $stack->last() ) && in_array( $o2, $ops, true ) && ( $ops_r[ …
362 if ( count( $this->functions[ $function_name ]['args'] ) !== $arg_count ) {
363 …$error_data = array( 'expected' => count( $this->functions[ $function_name ]['args'] ), 'given' =>…
511 $count = $token['arg_count'];
533 for ( $i = $count - 1; $i >= 0; $i-- ) {
565 for ( $i = count( $this->functions[ $function_name ]['args'] ) - 1; $i >= 0; $i-- ) {
636 if ( 1 !== $stack->count ) {
699 if ( count( $value ) > 1 ) {
747 public $count = 0; variable in EvalMath_Stack
757 $this->stack[ $this->count ] = $value;
758 ++$this->count;
769 if ( $this->count > 0 ) {
770 --$this->count;
771 return $this->stack[ $this->count ];
785 if ( ( $this->count - $n ) >= 0 ) {
786 return $this->stack[ $this->count - $n ];
910 return count( array_filter( $args ) );
935 if ( 0 === count( $args ) ) {
938 return array_sum( $args ) / count( $args );
953 $middle = floor( count( $args ) / 2 ); // Upper median for even counts.