Home
last modified time | relevance | path

Searched refs:array (Results 476 – 500 of 765) sorted by path

1...<<11121314151617181920>>...31

/plugin/findologicxmlexport/vendor/twig/twig/doc/tests/
H A Dempty.rst8 ``empty`` checks if a variable is an empty string, an empty array, an empty
H A Diterable.rst7 ``iterable`` checks if a variable is an array or a traversable object:
/plugin/findologicxmlexport/vendor/twig/twig/ext/twig/
H A Dtwig.c96 static int TWIG_ARRAY_KEY_EXISTS(zval *array, zval *key) in ZEND_GET_MODULE()
98 if (Z_TYPE_P(array) != IS_ARRAY) { in ZEND_GET_MODULE()
104 return zend_hash_exists(Z_ARRVAL_P(array), "", 1); in ZEND_GET_MODULE()
110 return zend_hash_index_exists(Z_ARRVAL_P(array), Z_LVAL_P(key)); in ZEND_GET_MODULE()
114 return zend_symtable_exists(Z_ARRVAL_P(array), Z_STRVAL_P(key), Z_STRLEN_P(key) + 1); in ZEND_GET_MODULE()
530 static char *TWIG_IMPLODE_ARRAY_KEYS(char *joiner, zval *array TSRMLS_DC) in TWIG_IMPLODE_ARRAY_KEYS()
535 …zend_hash_apply_with_arguments(HASH_OF(array) APPLY_TSRMLS_CC, twig_add_array_key_to_string, 2, &c… in TWIG_IMPLODE_ARRAY_KEYS()
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php831 * @param array $array An array
839 $array = $array->getIterator();
844 $array->rewind();
847 $array->next();
861 if (!\is_array($array)) {
865 return array_keys($array);
914 function twig_sort_filter($array) argument
917 $array = iterator_to_array($array);
918 } elseif (!\is_array($array)) {
922 asort($array);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/
H A DCoreTest.php216 $array = ['a' => 'a1', 'b' => 'b1', 'c' => 'c1'];
217 $keys = array_keys($array);
220 [$keys, $array],
221 [$keys, new CoreTestIterator($array, $keys)],
222 [$keys, new CoreTestIteratorAggregate($array, $keys)],
239 $array = [1, 2, 'a' => 3, 5, 6, 7];
240 $keys = array_keys($array);
243 [true, 1, $array],
244 [true, '3', $array],
249 [false, 4, $array],
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/
H A Dmultiline_array_with_undefined_variable.test2 Exception for multiline array with undefined variable
H A Dmultiline_array_with_undefined_variable_again.test2 Exception for multiline array with undefined variable
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/
H A Darray.test2 Twig supports array notation
4 {# empty array #}
20 {# works even if [] is used inside the array #}
H A Dfloats.test12 return array('val' => 0.0)
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dbatch_with_keys.test2 "batch" filter preserves array keys
H A Dlength.test4 {{ array|length }}
16 'array' => [1, 4],
H A Dreplace_invalid_arg.test8 Twig\Error\RuntimeError: The "replace" filter expects an array or "Traversable" as replace values, …
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
H A Dattribute.test5 {{ attribute(array, item) }}
11 return ['obj' => new TwigTestFoo(), 'method' => 'foo', 'array' => ['foo' => 'bar'], 'item' => 'foo'…
H A Ddump_array.test12 array(3) {
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/
H A Darray.test2 array index test
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DIntegrationTest.php63 public $array = [1, 2]; variable in TwigTestFoo
H A DTemplateTest.php237 $this->assertSame('Zero', $array[false]);
238 $this->assertSame('One', $array[true]);
239 $this->assertSame('One', $array[1.5]);
240 $this->assertSame('One', $array['1']);
241 $this->assertSame('MinusOne', $array[-1.5]);
242 $this->assertSame('FloatButString', $array['1.5']);
244 $this->assertSame('EmptyString', $array[null]);
319 $array = [
331 $arrayObject = new \ArrayObject($array);
332 $stdObject = (object) $array;
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/phar/
H A Dphar-sample.phar15 $mimes = array(
/plugin/findologicxmlexport/vendor/webmozart/assert/
H A DREADME.md105 `isArray($value, $message = '')` | Check that a value is an array
110 …isInstanceOfAny($value, array $classes, $message = '')` | Check that a value is an `instanceof` a …
191 `keyExists($array, $key, $message = '')` | Check that a key exists in an array
192 `keyNotExists($array, $key, $message = '')` | Check that a key does not exist in an array
193 `count($array, $number, $message = '')` | Check that an array contains a specific number…
194 `minCount($array, $min, $message = '')` | Check that an array contains at least a certai…
195 `maxCount($array, $max, $message = '')` | Check that an array contains at most a certain…
196 `countBetween($array, $min, $max, $message = '')` | Check that an array has a count in the given r…
197 `isList($array, $message = '')` | Check that an array is a non-associative list
198 `isMap($array, $message = '')` | Check that an array is associative and has str…
[all …]
/plugin/findologicxmlexport/vendor/webmozart/assert/src/
H A DAssert.php963 if (!(isset($array[$key]) || array_key_exists($key, $array))) {
973 if (isset($array[$key]) || array_key_exists($key, $array)) {
984 count($array),
992 if (count($array) < $min) {
995 count($array),
1006 count($array),
1014 $count = count($array);
1028 if (!is_array($array) || !$array || array_keys($array) !== range(0, count($array) - 1)) {
1038 !is_array($array) ||
1039 !$array ||
[all …]
/plugin/flowcharts/
H A Dmermaid.min.js24array=e}function y(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.leng…
/plugin/flowplay2/flowplayer/html/
H A Dflashembed.min.js_0.2618array':return'['+map(b,function(a){return asString(a)}).join(',')+']';case'object':var c=[];for(va…
/plugin/flowplayer/player/
H A DREADME.txt345 - the API method play() now accepts an array of clip objects as an argument, the playlist is replac…
/plugin/freechat/phpfreechat/data/public/js/
H A Dmyprototype.js3 function indexOf(array, object) argument
5 for (var i = 0; i < array.length; i++)
6 if (array[i] == object) return i;
10 function without(array,value) { argument
12 for( var i = 0 ; i < array.length; i++)
14 if (array[i] != value) res.push(array[i]);
H A Dprototype.js606 while ((index += number) < array.length)
858 return this.inject([], function(array, value) { argument
859 return array.concat(Object.isArray(value) ?
881 if (0 == index || (sorted ? array.last() != value : !array.include(value)))
882 array.push(value);
883 return array;
887 intersect: function(array) { argument
944 var array = [];
949 array.push(arguments[i][j]);
951 array.push(arguments[i]);
[all …]

1...<<11121314151617181920>>...31