Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 150) sorted by relevance

123456

/template/twigstarter/vendor/twig/twig/src/
DExpressionParser.php106 if ($stream->look(1)->test(/* Token::ARROW_TYPE */ 12)) {
117 if (!$stream->look($i)->test(/* Token::PUNCTUATION_TYPE */ 9, '(')) {
124 if (!$stream->look($i)->test(/* Token::PUNCTUATION_TYPE */ 9, ',')) {
129 if (!$stream->look($i)->test(/* Token::PUNCTUATION_TYPE */ 9, ')')) {
133 if (!$stream->look($i)->test(/* Token::ARROW_TYPE */ 12)) {
167 } elseif ($token->test(/* Token::PUNCTUATION_TYPE */ 9, '(')) {
201 …return $token->test(/* Token::OPERATOR_TYPE */ 8) && isset($this->unaryOperators[$token->getValue(…
206 …return $token->test(/* Token::OPERATOR_TYPE */ 8) && isset($this->binaryOperators[$token->getValue…
278 if ($token->test(/* Token::PUNCTUATION_TYPE */ 9, '[')) {
280 } elseif ($token->test(/* Token::PUNCTUATION_TYPE */ 9, '{')) {
[all …]
DParser.php62 public function parse(TokenStream $stream, $test = null, $dropNeedle = false) argument
97 $body = $this->subparse($test, $dropNeedle);
128 public function subparse($test, $dropNeedle = false) argument
154 if (null !== $test && $test($token)) {
167 if (null !== $test) {
170 … if (\is_array($test) && isset($test[0]) && $test[0] instanceof TokenParserInterface) {
171 …rintf(' (expecting closing tag for the "%s" tag defined near line %s).', $test[0]->getTag(), $line…
DExtensionSet.php344 public function addTest(TwigTest $test) argument
347 …sprintf('Unable to add test "%s" as extensions have already been initialized.', $test->getName()));
350 $this->staging->addTest($test);
378 foreach ($this->tests as $pattern => $test) {
384 $test->setArguments($matches);
386 return $test;
443 foreach ($extension->getTests() as $test) {
444 $this->tests[$test->getName()] = $test;
DTokenStream.php63 if ($this->tokens[$this->current]->test($primary, $secondary)) {
74 if (!$token->test($type, $value)) {
105 public function test($primary, $secondary = null): bool function in Twig\\TokenStream
107 return $this->tokens[$this->current]->test($primary, $secondary);
/template/twigstarter/vendor/twig/twig/src/Extension/
DStagingExtension.php87 public function addTest(TwigTest $test) argument
89 if (isset($this->tests[$test->getName()])) {
90 … throw new \LogicException(sprintf('Test "%s" is already registered.', $test->getName()));
93 $this->tests[$test->getName()] = $test;
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DTestExpression.php32 $test = $compiler->getEnvironment()->getTest($name);
36 $this->setAttribute('arguments', $test->getArguments());
37 $this->setAttribute('callable', $test->getCallable());
38 $this->setAttribute('is_variadic', $test->isVariadic());
DNullCoalesceExpression.php25 $test = new DefinedTest(clone $left, 'defined', new Node(), $left->getTemplateLine());
28 $test = new AndBinary(
29 $test,
35 parent::__construct($test, $left, $right, $lineno);
/template/comicslate/
Dscript.js22 if ( /:/ . test ( lpath ) ) window . location . pathname = lpath . replace ( /:/g, '/' );
67 …if ( /do=[^e]/ . test ( e . href ) ) e . className = e . className . replace ( 'wikilink2', 'wikil…
123 return /interrobang/ . test ( col_ul [ i ] . querySelector ( 'a' ) . title )
125 if ( /(\/menu[\?|#]?|do=admin)/ . test ( lhref ) ) {
146 if ( /\/(sci-fi|tlk|wolves|mlp|furry|gamer|other|interrobang)\// . test ( lhref ) ) {
149 !( /(\/[adh]\d+|[\?&](do=pre|rev=))/ . test ( lhref ) )
196 if ( /\/(d|h)\d+/ . test ( lhref ) ) {
216 if ( /do=export/ . test ( lhref ) ) {
220 if ( /hide=1/ . test ( lhref ) ) {
/template/twigstarter/vendor/twig/twig/src/Test/
DIntegrationTestCase.php108 $test = file_get_contents($file->getRealpath());
110 …MPLATE(?:\(.*?\))?--(?:.*?))+)\s*(?:--DATA--\s*(.*))?\s*--EXCEPTION--\s*(.*)/sx', $test, $match)) {
117 …N--\s*(.*?))?\s*((?:--TEMPLATE(?:\(.*?\))?--(?:.*?))+)--DATA--.*?--EXPECT--.*/s', $test, $match)) {
123 …'/--DATA--(.*?)(?:--CONFIG--(.*?))?--EXPECT--(.*?)(?=\-\-DATA\-\-|$)/s', $test, $outputs, \PREG_SE…
178 foreach ($this->getTwigTests() as $test) {
179 $twig->addTest($test);
255 protected static function parseTemplates($test) argument
258 …preg_match_all('/--TEMPLATE(?:\((.*?)\))?--(.*?)(?=\-\-TEMPLATE|$)/s', $test, $matches, \PREG_SET_…
/template/prsnl10/js/iepngfix/
Diepngfix.htc35 src && !(/IMG|INPUT/.test(elm.nodeName) && (t != 2)) &&
75 !/MSIE (5\.5|6)/.test(navigator.userAgent) ||
87 isSrc = /src/.test(evt.propertyName),
88 isBg = /backgroundImage/.test(evt.propertyName),
89 isPos = /width|height|background(Pos|Rep)/.test(evt.propertyName),
112 if ((/\.png/i).test(elm.src)) {
176 if (t && (/relative|absolute/i).test(elm.currentStyle.position)) {
181 if (!(/relative|absolute/i).test(tFix[t].currentStyle.position)) {
/template/mnml-blog/js/iepngfix/
Diepngfix.htc35 src && !(/IMG|INPUT/.test(elm.nodeName) && (t != 2)) &&
75 !/MSIE (5\.5|6)/.test(navigator.userAgent) ||
87 isSrc = /src/.test(evt.propertyName),
88 isBg = /backgroundImage/.test(evt.propertyName),
89 isPos = /width|height|background(Pos|Rep)/.test(evt.propertyName),
112 if ((/\.png/i).test(elm.src)) {
176 if (t && (/relative|absolute/i).test(elm.currentStyle.position)) {
181 if (!(/relative|absolute/i).test(tFix[t].currentStyle.position)) {
/template/twigstarter/vendor/twig/twig/src/TokenParser/
DWithTokenParser.php30 if (!$stream->test(/* Token::BLOCK_END_TYPE */ 3)) {
46 return $token->test('endwith');
DAutoEscapeTokenParser.php29 if ($stream->test(/* Token::BLOCK_END_TYPE */ 3)) {
48 return $token->test('endautoescape');
DIfTokenParser.php75 return $token->test(['elseif', 'else', 'endif']);
80 return $token->test(['endif']);
/template/ospyramid/js/libs/
Dmodernizr-1.7.min.js2test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.ge…
Djquery-1.6.1.js499 return obj == null || !rdigit.test( obj ) || isNaN( obj );
558 if ( rvalidchars.test( data.replace( rvalidescape, "@" )
596 if ( data && rnotwhite.test( data ) ) {
889 if ( rnotwhite.test( "\xA0" ) ) {
1188 style: /top/.test( a.getAttribute("style") ),
1197 opacity: /^0.55$/.test( a.style.opacity ),
1238 delete div.test;
1675 rbrace.test( data ) ? jQuery.parseJSON( data ) :
2195 if ( rboolean.test( name ) &&
2201 } else if ( formHook && (jQuery.nodeName( elem, "form" ) || rinvalidChar.test( name )) ) {
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Filter/
DDefaultFilter.php37 $test = new DefinedTest(clone $node, 'defined', new Node(), $node->getTemplateLine());
40 $node = new ConditionalExpression($test, $default, $false, $node->getTemplateLine());
/template/incognitek/
Diepngfix.htc30 if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
31 (event && !/(background|src)/.test(event.propertyName))) return;
37 if ((/\.png$/i).test(src))
/template/quickjump/
Djquery-1.4.2.min.js19 …1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test
22 …;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a…
28 …(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\…
29 a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){…
32 …version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*…
34 …("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")===…
35 …a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.…
46test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value…
47 …==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.
48 …eturn(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeNa…
[all …]
/template/dynamic_template/custom_code/
Dcustom_functions.php18 $test = trim("./".$img);
19 if (is_file($test)) {
/template/breeze/bower_components/gumby/js/libs/
Djquery-1.10.1.min.js4test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);re…
5test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)…
6test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.widt…
/template/strap/resources/theme/default/components/css/
H A Dtest.css1 /*test internal stylesheet*/
/template/templar/js/
Dbootstrap-dropdown.js71 if (!/(38|40|27)/.test(e.keyCode)) return
118 …selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
/template/strap/resources/library/bootstrap/4.5.0/
H A Djquery-3.5.1.min.js2test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){…
/template/strap/resources/library/bootstrap/4.4.1/
H A Djquery-3.4.1.min.js2test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttri…

123456