Home
last modified time | relevance | path

Searched refs:generator (Results 1 – 25 of 228) sorted by relevance

12345678910

/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
DBirthdayCalendarGeneratorTest.php11 $generator = new BirthdayCalendarGenerator();
37 $generator->setObjects($input);
38 $output = $generator->getResult();
49 $generator = new BirthdayCalendarGenerator();
96 $generator->setObjects($input);
97 $output = $generator->getResult();
130 $generator = new BirthdayCalendarGenerator($input);
156 $generator->setObjects($input);
157 $output = $generator->getResult();
168 $generator = new BirthdayCalendarGenerator();
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/Constraint/
DCountTest.php67 $generator = $generatorMaker->create([1, 2, 3]);
68 $this->assertEquals(1, $generator->current());
69 $countConstraint->evaluate($generator, '', true);
70 $this->assertEquals(null, $generator->current());
74 $generator = $generatorMaker->create([1, 2, 3]);
75 $this->assertEquals(1, $generator->current());
76 $generator->next();
77 $this->assertEquals(2, $generator->current());
78 $countConstraint->evaluate($generator, '', true);
79 $this->assertEquals(null, $generator->current());
[all …]
/plugin/combo/vendor/hidehalo/nanoid-php/src/
H A DClient.php28 protected $generator; variable in Hidehalo\\Nanoid\\Client
35 * @param GeneratorInterface $generator
37 public function __construct($size = 21, GeneratorInterface $generator = null) argument
40 $this->generator = $generator?:new Generator();
57 return $this->core->random($this->generator, $size, $this->alphbet);
68 * @param GeneratorInterface $generator
73 public function formattedId($alphabet, $size = 0, GeneratorInterface $generator = null) argument
77 $generator = $generator?:$this->generator;
79 return $this->core->random($generator, $size, $alphabet);
87 * @param GeneratorInterface $generator
[all …]
H A DCoreInterface.php14 * @param GeneratorInterface $generator
18 …public function random(GeneratorInterface $generator, $size, $alphabet = CoreInterface::SAFE_SYMBO… argument
H A DCore.php10 …public function random(GeneratorInterface $generator, $size, $alphabet = CoreInterface::SAFE_SYMBO… argument
17 $bytes = $generator->random($step);
/plugin/webdav/vendor/sabre/event/lib/
Dcoroutine.php49 $generator = $gen();
50 if (!$generator instanceof Generator) {
63 … $advanceGenerator = function() use (&$advanceGenerator, $generator, $promise, &$lastYieldResult) {
65 while ($generator->valid()) {
67 $yieldedValue = $generator->current();
70 function($value) use ($generator, &$advanceGenerator, &$lastYieldResult) {
72 $generator->send($value);
75 function($reason) use ($generator, $advanceGenerator) {
77 $generator->throw($reason);
79 $generator->throw(new Exception($reason));
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
DGeneratorTest.php20 private $generator; variable in Framework_MockObject_GeneratorTest
24 $this->generator = new PHPUnit_Framework_MockObject_Generator;
32 $this->generator->getMock(stdClass::class, [0]);
37 $mock = $this->generator->getMock(stdClass::class, ['testFunction']);
48 $this->generator->getMock(stdClass::class, ['foo', 'bar', 'foo']);
56 $mock = $this->generator->getMock(InterfaceWithSemiReservedMethodName::class);
64 $mock = $this->generator->getMockForAbstractClass(Countable::class);
71 $mock = $this->generator->getMockForAbstractClass(AbstractMockTestClass::class);
78 $mock = $this->generator->getMockForAbstractClass(
94 $mock = $this->generator->getMockForAbstractClass(AbstractMockTestClass::class);
[all …]
/plugin/authfacebook/lib/PseudoRandomString/
DPseudoRandomStringGeneratorFactory.php39 * @param PseudoRandomStringGeneratorInterface|string|null $generator
45 public static function createPseudoRandomStringGenerator($generator) argument
47 if (!$generator) {
51 if ($generator instanceof PseudoRandomStringGeneratorInterface) {
52 return $generator;
55 if ('random_bytes' === $generator) {
58 if ('mcrypt' === $generator) {
61 if ('openssl' === $generator) {
64 if ('urandom' === $generator) {
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/
DClassCreator.php24 private $generator; variable in Prophecy\\Doubler\\Generator\\ClassCreator
29 * @param ClassCodeGenerator $generator
31 public function __construct(ClassCodeGenerator $generator = null) argument
33 $this->generator = $generator ?: new ClassCodeGenerator;
48 $code = $this->generator->generate($classname, $class);
/plugin/elasticsearch/vendor/ruflin/elastica/src/Suggest/
DPhrase.php143 public function addDirectGenerator(DirectGenerator $generator): self argument
145 return $this->addParam('candidate_generator', $generator);
153 public function addCandidateGenerator(AbstractCandidateGenerator $generator): self argument
157 return $this->addParam('candidate_generator', $generator);
172 foreach ($generators as $generator) {
173 $key = \array_key_first($generator);
174 $array[$baseName][$key][] = $generator[$key];
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Fixtures/
DObjectWithGenerator.php17 public $generator; variable in JMS\\Serializer\\Tests\\Fixtures\\ObjectWithGenerator
19 public function __construct(\Generator $generator) argument
21 $this->generator = $generator;
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/
DFacade.php30 private $generator; variable in SebastianBergmann\\CodeCoverage\\Report\\Html\\Facade
47 * @param string $generator
49 public function __construct($lowUpperBound = 50, $highLowerBound = 90, $generator = '') argument
51 $this->generator = $generator;
75 $this->generator,
83 $this->generator,
91 $this->generator,
DRenderer.php32 protected $generator; variable in SebastianBergmann\\CodeCoverage\\Report\\Html\\Renderer
58 * @param string $generator
63 public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound) argument
68 $this->generator = $generator;
171 'generator' => $this->generator,
/plugin/matrixnotifierwas/vendor/guzzlehttp/promises/src/
DCoroutine.php56 private $generator; variable in GuzzleHttp\\Promise\\Coroutine
65 $this->generator = $generatorFn();
72 $this->nextCoroutine($this->generator->current());
137 $next = $this->generator->send($value);
138 if ($this->generator->valid()) {
155 $nextYield = $this->generator->throw(Create::exceptionFor($reason));
/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
DCoroutine.php55 private $generator; variable in GuzzleHttp\\Promise\\Coroutine
64 $this->generator = $generatorFn();
71 $this->nextCoroutine($this->generator->current());
140 $next = $this->generator->send($value);
141 if ($this->generator->valid()) {
160 $nextYield = $this->generator->throw(Create::exceptionFor($reason));
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/lib/
Dsourcemap.js56 var generator = new MOZ_SourceMap.SourceMapGenerator({
66 generator.setSourceContent(source, sourceContent);
85 generator.addMapping({
94 get : function() { return generator },
95 toString : function() { return JSON.stringify(generator.toJSON()); }
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DPrinter.php13 protected $generator; variable in HTMLPurifier_Printer
36 $this->generator = new HTMLPurifier_Generator($config, $context);
53 return $this->generator->generateFromToken(
65 return $this->generator->generateFromToken(
92 return $this->generator->generateFromToken(
103 return $this->generator->generateFromToken(
DLanguage.php158 $generator = false;
163 if (!$generator) {
164 $generator = $this->context->get('Generator');
173 $subst['$'.$i.'.Serialized'] = $generator->generateFromToken($value);
180 $subst['$'.$i.'.Compact'] = $generator->generateFromToken($stripped_token);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
DCount.php80 * @param Generator $generator
84 protected function getCountOfGenerator(Generator $generator) argument
86 for ($count = 0; $generator->valid(); $generator->next()) {
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/
DMockBuilder.php86 private $generator; variable in PHPUnit_Framework_MockObject_MockBuilder
96 $this->generator = new PHPUnit_Framework_MockObject_Generator;
106 $object = $this->generator->getMock(
132 $object = $this->generator->getMockForAbstractClass(
155 $object = $this->generator->getMockForTrait(
198 $this->generator->getClassMethods($this->type),
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/
DStatic.php143 $generator = function () { yield; };
145 return $generator();
152 $generator = new PHPUnit_Framework_MockObject_Generator;
154 return $generator->getMock($this->returnType, [], [], '', false);
/plugin/ckgdoku/ckeditor/images/fileicons/
DREADME1 For the generator of these files see
2 https://github.com/splitbrain/file-icon-generator/blob/master/example-dokuwiki.php
/plugin/ckgedit/ckeditor/images/fileicons/
DREADME1 For the generator of these files see
2 https://github.com/splitbrain/file-icon-generator/blob/master/example-dokuwiki.php
/plugin/sketchcanvas/
Dsyntax.php29 var $generator = 1; variable in syntax_plugin_sketchcanvas
37 … return array($state, array(true, $this->generator, 'bytepos_start' => $pos + strlen($match)));
40 …case DOKU_LEXER_EXIT : return array($state, array(false, $this->generator++, 'bytepos_end' =…
/plugin/scrape/vendor/ezyang/htmlpurifier/library/
DHTMLPurifier.php95 protected $generator; variable in HTMLPurifier
158 $this->generator = new HTMLPurifier_Generator($config, $context);
159 $context->register('Generator', $this->generator);
207 $this->generator->generateFromTokens(

12345678910