Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 219) sorted by relevance

123456789

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
DUtilsTest.php8 use GuzzleHttp\Stream\Utils; alias
17 $this->assertEquals('foobaz', Utils::copyToString($s));
19 $this->assertEquals('foo', Utils::copyToString($s, 3));
20 $this->assertEquals('baz', Utils::copyToString($s, 3));
21 $this->assertEquals('', Utils::copyToString($s));
32 $result = Utils::copyToString($s1);
40 Utils::copyToStream($s1, $s2);
44 Utils::copyToStream($s1, $s2, 3);
46 Utils::copyToStream($s1, $s2, 3);
55 Utils::copyToStream($s1, $s2);
[all …]
DCachingStreamTest.php6 use GuzzleHttp\Stream\Utils; alias
100 $this->assertEquals("0000\n", Utils::readline($body));
101 $this->assertEquals("0001\n", Utils::readline($body));
106 $this->assertEquals("0003\n", Utils::readline($body));
108 $this->assertEquals("0004\n", Utils::readline($body));
109 $this->assertEquals("0005\n", Utils::readline($body));
115 $this->assertEquals("TEST\n", Utils::readline($body));
116 $this->assertEquals("0003\n", Utils::readline($body));
117 $this->assertEquals("0004\n", Utils::readline($body));
118 $this->assertEquals("0005\n", Utils::readline($body));
[all …]
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/
Dfunctions.php18 return Utils::describeType($input);
31 return Utils::headersFromLines($lines);
45 return Utils::debugResource($value);
61 return Utils::chooseHandler();
71 return Utils::defaultUserAgent();
91 return Utils::defaultCaBundle();
102 return Utils::normalizeHeaderKeys($headers);
128 return Utils::isHostInNoProxy($host, $noProxyArray);
149 return Utils::jsonDecode($json, $assoc, $depth, $options);
166 return Utils::jsonEncode($value, $options, $depth);
DClient.php67 $config['base_uri'] = Psr7\Utils::uriFor($config['base_uri']);
161 $uri = $this->buildUri(Psr7\Utils::uriFor($uri), $options);
215 $uri = Psr7\UriResolver::resolve(Psr7\Utils::uriFor($config['base_uri']), $uri);
220 $uri = Utils::idnUriConvert($uri, $idnOptions);
245 if (\PHP_SAPI === 'cli' && ($proxy = Utils::getenv('HTTP_PROXY'))) {
249 if ($proxy = Utils::getenv('HTTPS_PROXY')) {
253 if ($noProxy = Utils::getenv('NO_PROXY')) {
266 $this->config['headers'] = ['User-Agent' => Utils::defaultUserAgent()];
274 $this->config['headers']['User-Agent'] = Utils::defaultUserAgent();
367 … $options['_conditional'] = Psr7\Utils::caselessRemove(['Content-Type'], $options['_conditional']);
[all …]
/plugin/webdav/core/DAV/Collection/Pages/
DFile.php14 use dokuwiki\plugin\webdav\core\Utils; alias
20 Utils::log('debug', "Delete page");
21 Utils::saveWikiText($this->info['id'], null, 'delete');
26 Utils::log('debug', "Edit page");
27 Utils::saveWikiText($this->info['id'], Utils::streamReader($data), 'edit');
DDirectory.php14 use dokuwiki\plugin\webdav\core\Utils; alias
27 Utils::log('debug', "Create directory $name");
49 Utils::log('debug', "Delete directory");
69 Utils::log('debug', "Create page $id - $name");
71 Utils::saveWikiText($id, $data, 'create');
/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
Dfunctions.php26 return Utils::queue($assign);
41 return Utils::task($task);
119 return Utils::inspect($promise);
138 return Utils::inspectAll($promises);
159 return Utils::unwrap($promises);
179 return Utils::all($promises, $recursive);
202 return Utils::some($count, $promises);
217 return Utils::any($promises);
236 return Utils::settle($promises);
/plugin/webdav/core/Plugin/
DException.php13 use dokuwiki\plugin\webdav\core\Utils; alias
43 Utils::log('fatal', "[{class}] {message} in {file}({line})", [
50 Utils::log('debug', 'User-Agent: {agent}', ['agent' => @$_SERVER['HTTP_USER_AGENT']]);
51 Utils::log('debug', 'Remote-User: {user}', ['user' => @$_SERVER['REMOTE_USER']]);
52 Utils::log('debug', 'Request-URI: {uri}', ['uri' => @$_SERVER['REQUEST_URI']]);
53Utils::log('debug', 'Request-Method: {method}', ['method' => @$_SERVER['REQUEST_METHOD']]);
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
Dfunctions.php41 return Utils::uriFor($uri);
84 return Utils::streamFor($resource, $options);
143 return Utils::modifyRequest($request, $changes);
180 return Utils::tryFopen($filename, $mode);
199 return Utils::copyToString($stream, $maxLen);
217 return Utils::copyToStream($source, $dest, $maxLen);
238 return Utils::hash($stream, $algo, $rawOutput);
253 return Utils::readLine($stream, $maxLength);
421 return Utils::caselessRemove($keys, $data);
DMultipartStream.php77 $stream->addStream(Utils::streamFor("--{$this->boundary}--\r\n"));
90 $element['contents'] = Utils::streamFor($element['contents']);
106 $stream->addStream(Utils::streamFor($this->getHeaders($headers)));
108 $stream->addStream(Utils::streamFor("\r\n"));
/plugin/asciidocjs/node_modules/handlebars/lib/
Dhandlebars.runtime.js7 import * as Utils from './handlebars/utils';
16 Utils.extend(hb, base);
19 hb.Utils = Utils;
20 hb.escapeExpression = Utils.escapeExpression;
/plugin/asciidocjs/node_modules/handlebars/dist/cjs/
Dhandlebars.runtime.js29 var Utils = _interopRequireWildcard(_handlebarsUtils); variable
43 Utils.extend(hb, base);
46 hb.Utils = Utils;
47 hb.escapeExpression = Utils.escapeExpression;
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/Handler/
DCurlMultiHandler.php8 use GuzzleHttp\Utils; alias
74 } elseif ($selectTimeout = Utils::getenv('GUZZLE_CURL_SELECT_TIMEOUT')) {
150 $currentTime = Utils::currentTime();
163 P\Utils::queue()->run();
182 $queue = P\Utils::queue();
201 $this->delays[$id] = Utils::currentTime() + ($easy->options['delay'] / 1000);
257 $currentTime = Utils::currentTime();
DStreamHandler.php12 use GuzzleHttp\Utils; alias
43 $startTime = isset($options['on_stats']) ? Utils::currentTime() : null;
90 … $stats = new TransferStats($request, $response, Utils::currentTime() - $startTime, $error, []);
112 $stream = Psr7\Utils::streamFor($stream);
154 $sink = $options['sink'] ?? Psr7\Utils::tryFopen('php://temp', 'r+');
156 … return \is_string($sink) ? new Psr7\LazyOpenStream($sink, 'w+') : Psr7\Utils::streamFor($sink);
166 $normalizedKeys = Utils::normalizeHeaderKeys($headers);
170 $stream = new Psr7\InflateStream(Psr7\Utils::streamFor($stream));
207 Psr7\Utils::copyToStream(
419 …if (!isset($value['no']) || !Utils::isHostInNoProxy($request->getUri()->getHost(), $value['no'])) {
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
DStreamHandler.php15 use Monolog\Utils; alias
58 if (($phpMemoryLimit = Utils::expandIniShorthandBytes(ini_get('memory_limit'))) !== false) {
76 $this->url = Utils::canonicalizePath($stream);
133 … can not be opened. This may be caused by a premature call to close().' . Utils::getRecordMessageF…
146 …e "%s" could not be opened in append mode: '.$this->errorMessage, $url) . Utils::getRecordMessageF…
154 …throw new \LogicException('No stream was opened yet' . Utils::getRecordMessageForException($record…
DSqsHandler.php16 use Monolog\Utils; alias
49 …gumentException('SqsHandler accepts only formatted records as a string' . Utils::getRecordMessageF…
54 $messageBody = Utils::substr($messageBody, 0, static::HEAD_MESSAGE_SIZE);
DChromePHPHandler.php17 use Monolog\Utils; alias
151 … $json = Utils::jsonEncode(self::$json, Utils::DEFAULT_JSON_FLAGS & ~JSON_UNESCAPED_UNICODE, true);
166 $json = Utils::jsonEncode(self::$json, null, true);
/plugin/webdav/
Dserver.php51 use dokuwiki\plugin\webdav\core\Utils; alias
66 Utils::log('fatal', "[{class}] {message} in {file}({line})", [
74 Utils::log('debug', '====================');
/plugin/webdav/core/
DServer.php130 Utils::log('debug', 'User-Agent: {agent}', ['agent' => @$_SERVER['HTTP_USER_AGENT']]);
131 Utils::log('debug', 'Remote-User: {user}', ['user' => @$_SERVER['REMOTE_USER']]);
132 Utils::log('debug', 'Request-URI: {uri}', ['uri' => @$_SERVER['REQUEST_URI']]);
133 Utils::log('debug', 'Request-Method: {method}', ['method' => @$_SERVER['REQUEST_METHOD']]);
/plugin/webdav/core/DAV/Collection/Media/
DFile.php14 use dokuwiki\plugin\webdav\core\Utils; alias
22 Utils::log('debug', 'Delete media');
73 Utils::log('debug', "Allowed files $regex");
82 if (!Utils::streamWriter($stream, $this->info['path'])) {
/plugin/matrixnotifierwas/vendor/guzzlehttp/psr7/src/
DHttpFactory.php44 return Utils::streamFor($content);
50 $resource = Utils::tryFopen($file, $mode);
59 return Utils::streamFor($resource);
64 return Utils::streamFor($resource);
DMultipartStream.php81 $stream->addStream(Utils::streamFor("--{$this->boundary}--\r\n"));
94 $element['contents'] = Utils::streamFor($element['contents']);
110 $stream->addStream(Utils::streamFor($this->getHeaders($headers)));
112 $stream->addStream(Utils::streamFor("\r\n"));
/plugin/asciidocjs/node_modules/handlebars/lib/handlebars/
Druntime.js1 import * as Utils from './utils';
70 context = Utils.extend({}, context, options.hash);
77 let extendedOptions = Utils.extend({}, options, {
156 escapeExpression: Utils.escapeExpression,
195 obj = Utils.extend({}, common, param);
257 let mergedHelpers = Utils.extend({}, env.helpers, options.helpers);
269 container.decorators = Utils.extend(
394 options.partials = Utils.extend({}, options.partials, fn.partials);
433 Utils.extend(prog, props);
448 return Utils.extend({ lookupProperty }, options);
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/Cookie/
DFileCookieJar.php5 use GuzzleHttp\Utils; alias
67 $jsonStr = Utils::jsonEncode($json);
92 $data = Utils::jsonDecode($json, true);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
DPsrLogMessageProcessor.php14 use Monolog\Utils; alias
70 $replacements[$placeholder] = '[object '.Utils::getClass($val).']';
72 $replacements[$placeholder] = 'array'.Utils::jsonEncode($val, null, true);

123456789