Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 148) sorted by relevance

123456

/dokuwiki/vendor/paragonie/constant_time_encoding/src/
H A DEncoding.php48 string $str
49 ): string {
62 string $str
63 ): string {
76 string $str
77 ): string {
90 string $str
91 ): string {
104 string $str
105 ): string {
[all …]
H A DRFC4648.php53 string $str
54 ): string {
70 string $str
71 ): string {
87 string $str
88 ): string {
104 string $str
105 ): string {
121 string $str
122 ): string {
[all …]
H A DEncoderInterface.php45 string $binString
46 ): string;
58 string $encodedString,
60 ): string;
H A DBinary.php53 string $str
73 string $str,
76 ): string {
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DResponse.php44 public function get_permanent_uri(): string;
68 public function get_final_requested_uri(): string;
112 public function has_header(string $name): bool;
128 public function get_header(string $name): array;
142 public function with_header(string $name, $value);
163 public function get_header_line(string $name): string;
170 public function get_body_content(): string;
H A DRawTextResponse.php40 public function __construct(string $raw_text, string $filepath)
47 public function get_permanent_uri(): string
52 public function get_final_requested_uri(): string
67 public function has_header(string $name): bool
72 public function get_header(string $name): array
77 public function with_header(string $name, $value)
89 public function get_header_line(string $name): string
94 public function get_body_content(): string
H A DPsr7Response.php37 …public function __construct(ResponseInterface $response, string $permanent_url, string $requested_…
44 public function get_permanent_uri(): string
49 public function get_final_requested_uri(): string
67 public function has_header(string $name): bool
72 public function with_header(string $name, $value)
77 public function get_header(string $name): array
82 public function get_header_line(string $name): string
87 public function get_body_content(): string
H A DClient.php27 public function request(string $method, string $url, array $headers = []): Response;
/dokuwiki/inc/Utf8/
H A DConversion.php164 public static function fromLatin1($string) argument
167 return mb_convert_encoding($string, 'UTF-8', 'ISO-8859-1');
170 return iconv('ISO-8859-1', 'UTF-8', $string);
173 return \UConverter::transcode($string, 'UTF8', 'ISO-8859-1');
177 return utf8_encode($string);
181 $string .= $string;
182 $len = strlen($string);
185 case $string[$i] < "\x80":
186 $string[$j] = $string[$i];
188 case $string[$i] < "\xC0":
[all …]
H A DClean.php83 * @param string $string The UTF8 string to strip of special chars
88 public static function stripspecials($string, $repl = '', $additional = '') argument
95 return preg_replace('/[' . $additional . '\x00-\x19' . $specials . ']/u', $repl, $string);
147 * @param string $string
151 public static function deaccent($string, $case = 0) argument
154 $string = strtr($string, Table::lowerAccents());
157 $string = strtr($string, Table::upperAccents());
159 return $string;
167 * @param string $string
170 public static function romanize($string) argument
[all …]
H A DPhpString.php44 * @param string $string
51 public static function strlen($string) argument
54 return mb_strlen($string, 'UTF-8');
58 return iconv_strlen($string, 'UTF-8');
63 return strlen(utf8_decode($string));
66 return strlen($string);
170 * @param string $string input string
181 public static function substr_replace($string, $replacement, $start, $length = 0) argument
184 if ($start > 0) $ret .= self::substr($string, 0, $start);
186 $ret .= self::substr($string, $start + $length);
[all …]
H A DTable.php84 static $string = null;
85 if ($string === null) {
88 $string = Unicode::toUtf8($table);
90 return $string;
/dokuwiki/vendor/splitbrain/lesserphp/src/
H A DParserException.php10 protected string $error = '';
11 protected string $culprit = '';
12 protected string $sourceFile = '';
16 string $message = '',
17 ?string $culprit = '',
18 ?string $sourceFile = '',
44 public function getError(): string
54 public function getCulprit(): string
65 public function getSourceFile(): string
/dokuwiki/inc/TreeBuilder/Node/
H A DWikiStartpage.php10 protected string $originalNamespace;
19 public function __construct(string $id, ?string $title, string $originalNamespace)
33 public function getNs(): string
H A DAbstractNode.php13 protected string $id = '';
15 protected ?string $title = null;
28 public function __construct(string $id, ?string $title)
37 public function getId(): string
47 public function getNs(): string
55 public function getTitle(): ?string
63 public function setTitle(?string $title): void
167 public function setProperty(string $name, $value): void
179 public function getProperty(string $name, $default = null)
209 public function __toString(): string
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php94 * @param string $string A string to be truncated.
98 public static function iTrunc($string, $length) argument
100 if (strlen($string) <= $length) {
101 return $string;
104 $pos = strrpos($string, ".");
106 $string = substr($string, 0, $length - 4);
107 $pos = strrpos($string, ".");
110 return substr($string, 0, $pos + 1)." ...";
113 $pos = strrpos($string, " ");
115 $string = substr($string, 0, $length - 4);
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php51 public static function absolutize_url(string $relative, string $base)
63 public static function is_remote_uri(string $uri): bool
73 * @param string $string HTML document
76 public static function get_element(string $realname, string $string) argument
82 …mplePie\SimplePie::PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SE…
136 public static function error(string $message, int $level, string $file, int $line)
175 public static function fix_protocol(string $url, int $http = 1)
220 public static function parse_url(string $url)
235 …ic function compress_parse_url(string $scheme = '', string $authority = '', string $path = '', str…
249 public static function normalize_url(string $url)
[all …]
H A DCache.php52 public static function get_handler(string $location, string $filename, $extension)
73 public function create(string $location, string $filename, $extension)
87 public static function register(string $type, $class)
98 public static function parse_URL(string $url)
H A DCaption.php66 ?string $type = null,
67 ?string $lang = null,
68 ?string $startTime = null,
69 ?string $endTime = null,
70 ?string $text = null
H A DIRI.php120 public function __set(string $name, $value)
143 public function __get(string $name)
186 public function __isset(string $name)
197 public function __unset(string $name)
210 public function __construct(?string $iri = null)
305 protected function parse_iri(string $iri)
325 protected function remove_dot_segments(string $input)
368 * @param string $string Input string
374 …protected function replace_invalid_with_pct_encoding(string $string, string $extra_chars, bool $ip… argument
377 …$string = preg_replace_callback('/(?:%[A-Fa-f0-9]{2})+/', [$this, 'remove_iunreserved_percent_enco…
[all …]
/dokuwiki/inc/
H A DIp32.php20 public static function bitmask64On32(string $u64, int $pow): string
53 private static function makeBitmaskOn32(int $pow): string
76 public static function ipv6UpperLowerOn32(string $binary)
85 private static function partsTo64(string $high, string $low): string
101 private static function decimalToBinary32(string $decimal): string
/dokuwiki/_test/tests/inc/
H A Dutf8_stripspecials.test.php27 * @param string $string
33 function testGivens($string, $replacement, $additional, $expected) argument
35 …$this->assertEquals($expected, \dokuwiki\Utf8\Clean::stripspecials($string, $replacement, $additio…
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DDataCache.php41 public function get_data(string $key, $default = null);
62 public function set_data(string $key, array $value, ?int $ttl = null): bool;
79 public function delete_data(string $key): bool;
H A DNameFilter.php36 public function filter(string $name): string;
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php234 * @param string $string
238 protected function pad($string, $len) argument
240 $strlen = $this->strlen($string);
241 if ($strlen > $len) return $string;
244 return $string . str_pad('', $pad, ' ');
253 protected function strlen($string) argument
256 $string = preg_replace("/\33\\[\\d+(;\\d+)?m/", '', $string);
259 return mb_strlen($string, 'utf-8');
262 return strlen($string);
266 * @param string $string
[all …]

123456