Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 25 of 214) sorted by relevance

123456789

/plugin/asciidocjs/node_modules/constantinople/src/
Dindex.ts17 ): {constant: true; result: any} | {constant: false; result?: void} {
18 let constant = true; variable
20 if (!constant) return;
23 for (let i = 0; constant && i < expression.elements.length; i++) {
27 if (!(isSpreadable(spread) && constant)) {
28 constant = false;
41 return constant && binaryOperation(expression.operator, left, right);
48 for (let i = 0; constant && i < expression.arguments.length; i++) {
52 if (!(isSpreadable(spread) && constant)) {
53 constant = false;
[all …]
/plugin/asciidocjs/node_modules/constantinople/lib/
Dindex.js8 var constant = true;
10 if (!constant)
14 for (var i = 0; constant && i < expression.elements.length; i++) {
18 if (!(isSpreadable(spread) && constant)) {
19 constant = false;
34 return constant && binaryOperation_1["default"](expression.operator, left, right);
41 for (var i = 0; constant && i < expression.arguments.length; i++) {
45 if (!(isSpreadable(spread) && constant)) {
46 constant = false;
56 if (!constant)
[all …]
Dindex.d.ts11 constant: true;
14 constant: false;
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
Dconstant.rst1 ``constant``
5 constant now accepts object instances as the second argument.
8 Using ``constant`` with the ``defined`` test was added in Twig 1.28.
10 ``constant`` returns the constant value for a given string:
14 {{ some_date|date(constant('DATE_W3C')) }}
15 {{ constant('Namespace\\Classname::CONSTANT_NAME') }}
21 {{ constant('RSS', date) }}
23 Use the ``defined`` test to check if a constant is defined:
27 {% if constant('SOME_CONST') is defined %}
/plugin/html2pdf/html2pdf/html2ps/
Dheight.php16 if (!is_null($hc1->constant)) { return $hc1; };
20 if (!is_null($hc2->constant)) { return $hc2; };
47 var $constant; variable in HCConstraint
52 if (!is_null($this->constant)) {
53 return $this->applicable_value($this->constant, $box);
113 is_null($box->parent->_height_constraint->constant) &&
141 $constant = null;
143 $constant = array($value->getPercentage(), true);
145 $constant = array($value->getPoints(), false);
168 $constraint =& new HCConstraint($constant, $min, $max);
[all …]
Dfilter.pre.height-constraint.class.php23 if (is_null($parent_hc->constant) &&
24 $hc->constant[1]) {
25 $hc->constant = null;
Dbox.button.php83 if (!is_null($hc->constant)) {
84 $hc->constant[0] -= $this->get_padding_top() + $this->get_padding_bottom();
/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/
Dconstant.rst1 ``constant``
5 constant now accepts object instances as the second argument.
7 ``constant`` checks if a variable has the exact same value as a constant. You
12 {% if post.status is constant('Post::PUBLISHED') %}
20 {% if post.status is constant('PUBLISHED', post) %}
Dindex.rst7 constant
/plugin/findologicxmlexport/vendor/hoa/protocol/Test/Unit/Node/
DLibrary.php56 $this->constant->WITH_COMPOSER = false,
69 $this->constant->WITH_COMPOSER = false,
82 $this->constant->WITH_COMPOSER = true,
95 $this->constant->WITH_COMPOSER = true,
115 $this->constant->WITH_COMPOSER = true,
131 $this->constant->WITH_COMPOSER = true,
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/
Dconstant.test4 {{ 8 is constant('E_NOTICE') ? 'ok' : 'no' }}
5 {{ 'bar' is constant('TwigTestFoo::BAR_NAME') ? 'ok' : 'no' }}
6 {{ value is constant('TwigTestFoo::BAR_NAME') ? 'ok' : 'no' }}
7 {{ 2 is constant('ARRAY_AS_PROPS', object) ? 'ok' : 'no' }}
Ddefined_for_constants.test4 {{ constant('DATE_W3C') is defined ? 'ok' : 'ko' }}
5 {{ constant('ARRAY_AS_PROPS', object) is defined ? 'ok' : 'ko' }}
6 {{ constant('FOOBAR') is not defined ? 'ok' : 'ko' }}
7 {{ constant('FOOBAR', object) is not defined ? 'ok' : 'ko' }}
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
Dconstant.test2 "constant" function
4 {{ constant('DATE_W3C') == expect ? 'true' : 'false' }}
5 {{ constant('ARRAY_AS_PROPS', object) }}
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
Djson_encode.rst18 data|json_encode(constant('JSON_PRETTY_PRINT')) }}``.
20 ``{{ data|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_HEX_QUOT') }}``
/plugin/asciidocjs/node_modules/lodash/
Dconstant.js20 function constant(value) { function
26 module.exports = constant;
D_baseSetToString.js1 var constant = require('./constant'), variable
17 'value': constant(string),
Dinvert.js1 var constant = require('./constant'), variable
40 }, constant(identity));
/plugin/asciidocjs/node_modules/async/
Dretry.js16 function constant(value) { function
113 intervalFunc: constant(DEFAULT_INTERVAL)
150 …acc.intervalFunc = typeof t.interval === 'function' ? t.interval : constant(+t.interval || DEFAULT…
/plugin/asciidocjs/node_modules/constantinople/
DREADME.md3 …Script expression evaluates to a constant (using Babylon). Here it is assumed to be safe to under…
30 Returns `true` if `src` evaluates to a constant, `false` otherwise. It will also return `false` if…
38 …evaluating `src`. This method throws an error if the expression is not constant. e.g. `toConstan…
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DSalsa20.php218 $constant = 'expand 16-byte k';
221 $constant = 'expand 32-byte k';
224 $this->p1 = substr($constant, 0, 4) .
226 substr($constant, 4, 4) .
229 $this->p2 = substr($constant, 8, 4) .
231 substr($constant, 12, 4);
/plugin/findologicxmlexport/vendor/hoa/math/
DArithmetic.pp52 %token constant [A-Z_]+[A-Z0-9_]*
70 | constant()
78 constant:
79 <constant>
/plugin/authgooglesheets/vendor/symfony/polyfill-php72/
DREADME.md19 - [`PHP_FLOAT_*`](https://php.net/reserved.constants#constant.php-float-dig)
20 - [`PHP_OS_FAMILY`](https://php.net/reserved.constants#constant.php-os-family)
/plugin/combo/ComboStrap/
H A DIso8601Date.php193 public static function getInternationalFormatter($constant): int argument
195 $constantNormalized = trim(strtolower($constant));
218 … throw new ExceptionNotFound("The constant ($constant) is not a valid constant", self::CANONICAL);
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
DCoreExtension.php1610 * @param string $constant The name of the constant
1615 function twig_constant($constant, $object = null) argument
1618 $constant = \get_class($object).'::'.$constant;
1621 return \constant($constant);
1627 * @param string $constant The name of the constant
1632 function twig_constant_is_defined($constant, $object = null) argument
1635 $constant = \get_class($object).'::'.$constant;
1638 return \defined($constant);
/plugin/asciidocjs/node_modules/neo-async/
Dconstant.js3 module.exports = require('./async').constant;

123456789