Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 107) sorted by relevance

12345

/webtrees/tests/app/Encodings/
H A DUTF16BETest.php42 foreach (range(0, 0x7F) as $code) {
43 $char = chr(intdiv($code, 256)) . chr($code % 256);
47 static::assertSame($expected, $actual, 'U+' . dechex($code));
50 foreach (range(0x80, 0xFF) as $code) {
51 $char = chr(intdiv($code, 256)) . chr($code % 256);
54 static::assertSame(UTF8::REPLACEMENT_CHARACTER, $actual, 'U+' . dechex($code));
57 foreach (range(0x100, 0xD7FF) as $code) {
58 $char = chr(intdiv($code, 256)) . chr($code % 256);
62 static::assertSame($expected, $actual, 'U+' . dechex($code));
65 foreach (range(0xD800, 0xDFFF) as $code) {
[all …]
H A DUTF16LETest.php42 foreach (range(0, 0x7F) as $code) {
43 $char = chr($code % 256) . chr(intdiv($code, 256));
47 static::assertSame($expected, $actual, 'U+' . dechex($code));
50 foreach (range(0x80, 0xFF) as $code) {
51 $char = chr($code % 256) . chr(intdiv($code, 256));
54 static::assertSame(UTF8::REPLACEMENT_CHARACTER, $actual, 'U+' . dechex($code));
57 foreach (range(0x100, 0xD7FF) as $code) {
58 $char = chr($code % 256) . chr(intdiv($code, 256));
62 static::assertSame($expected, $actual, 'U+' . dechex($code));
65 foreach (range(0xD800, 0xDFFF) as $code) {
[all …]
H A DAnselTest.php142 foreach ($codes as $code) {
143 $utf8 = UTF8::chr($code);
158 … static::assertSame($utf8, $encoding->toUtf8($encoding->fromUtf8($utf8)), 'U+' . dechex($code));
/webtrees/resources/views/help/
H A Ddate.phtml42 <?php foreach ($date_dates as $code => $date) : ?>
48 <kbd dir="ltr" lang="en"><?= $code ?></kbd>
51 <?php foreach ($date_shortcuts[$code] as $shortcut) : ?>
80 <?php foreach ($date_range_dates as $code => $date) : ?>
86 <kbd dir="ltr" lang="en"><?= $code ?></kbd>
89 <?php foreach ($date_range_shortcuts[$code] as $shortcut) : ?>
118 <?php foreach ($date_period_dates as $code => $date) : ?>
124 <kbd dir="ltr" lang="en"><?= $code ?></kbd>
127 <?php foreach ($date_period_shortcuts[$code] as $shortcut) : ?>
158 <?php foreach ($julian_dates as $code => $date) : ?>
[all …]
/webtrees/app/Encodings/
H A DUTF8.php839 * @param int $code
843 public static function chr(int $code): string argument
845 if ($code < 0 || $code > 0x1FFFFF) {
846 throw new InvalidArgumentException((string)$code);
849 if ($code <= 0x7F) {
850 return chr($code);
853 if ($code <= 0x7FF) {
855 chr(($code >> 6) + 0xC0) .
856 chr(($code & 0x3F) + 0x80);
859 if ($code <= 0xFFFF) {
[all …]
/webtrees/app/Factories/
H A DResponseFactory.php83 * @param int $code
87 …public function redirectUrl(UriInterface|string $url, int $code = StatusCodeInterface::STATUS_FOUN… argument
90 ->createResponse($code)
96 * @param int $code
101 …public function response(string|array|object $content = '', int $code = StatusCodeInterface::STATU… argument
103 if ($content === '' && $code === StatusCodeInterface::STATUS_OK) {
104 $code = StatusCodeInterface::STATUS_NO_CONTENT;
117 ->createResponse($code)
H A DTimestampFactory.php50 $locale = I18N::locale()->code();
H A DImageFactory.php275 return response(content: $svg, code: StatusCodeInterface::STATUS_OK, headers: [
/webtrees/app/
H A DI18N.php269 * @param string $code
274 public static function init(string $code, bool $setup = false): void argument
276 self::$locale = Locale::create($code);
304 … ->first(fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === $code);
318 if (str_contains(self::$locale->code(), '@')) {
319 self::$collator = new Collator(self::$locale->code() . ';collation=phonebook');
321 self::$collator = new Collator(self::$locale->code() . '@collation=phonebook');
567 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
583 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
H A DGedcomRecord.php390 $language_script ??= I18N::locale()->script()->code();
/webtrees/app/Helpers/
H A Dfunctions.php76 * @param int $code
80 function redirect(string $url, int $code = StatusCodeInterface::STATUS_FOUND): ResponseInterface argument
85 ->createResponse($code)
93 * @param int $code
98 function response(array|object|string $content = '', int $code = StatusCodeInterface::STATUS_OK, ar… argument
100 return Registry::responseFactory()->response($content, $code, $headers);
/webtrees/
H A DLICENSE.md28 them if you wish), that you receive source code or can get it if you
40 or can get the source code. And you must show them these terms so they
117 The “source code” for a work means the preferred form of the work
118 for making modifications to it. “Object code” means any non-source
131 implementation is available to the public in source code form. A
135 produce the work, or an object code interpreter used to run it.
137 The “Corresponding Source” for a work in object code form means all
138 the source code needed to generate, install, and (for an executable
139 work) run the object code and to modify the work, including scripts to
145 the work, and the source code for shared libraries and dynamically
[all …]
H A DCONTRIBUTING.md16 Before submitting a pull request make sure you have [tested the code](#how-to-test)
35 * `git` - to fetch the latest development code, merge changes, create pull requests, etc.
48 If you are only interested in the latest version of the code, you can use a
60 * You can use a "pre-commit hook" to run checks on your code before you commit them to your local r…
71 accustomed to downloading the latest source code and running it without any build step.
100 Your code should follow the [PSR-12](https://www.php-fig.org/psr/psr-12/) Extended coding style gui…
H A Dcomposer.lock308 "email": "roman@code-factory.org"
398 "email": "roman@code-factory.org"
5287 …: "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme…
5533 "description": "Allows exporting any serializable PHP data structure to plain PHP code",
6080 "name": "phpunit/php-code-coverage",
6084 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
6089 …"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f7f08030e8811582c…
6101 "sebastian/code-unit-reverse-lookup": "^4.0.1",
6104 "sebastian/lines-of-code": "^3.0.1",
6137 …that provides collection, processing, and rendering functionality for PHP code coverage informatio…
[all …]
/webtrees/app/Contracts/
H A DResponseFactoryInterface.php52 * @param int $code
56 …public function redirectUrl(UriInterface|string $url, int $code = StatusCodeInterface::STATUS_FOUN… argument
60 * @param int $code
65 …public function response(string|array|object $content = '', int $code = StatusCodeInterface::STATU… argument
/webtrees/public/ckeditor-4.15.1-custom/
H A DLICENSE.md45 Parts of code taken from the following libraries are included in CKEditor under the MIT license (se…
95 this service if you wish), that you receive source code or can get it
107 source code. And you must show them these terms so they know their
151 source code as you receive it, in any medium, provided that you
206 under Section 2) in object code or executable form under the terms of
210 source code, which must be distributed under the terms of Sections
216 machine-readable copy of the corresponding source code, to be
221 to distribute corresponding source code. (This alternative is
223 received the program in object code or executable form with such
226 The source code for a work means the preferred form of the work for
[all …]
H A Dcontents.css138 .code-featured
H A DCHANGES.md10 …nside CKEditor 4 by persuading a victim to paste a specially crafted HTML code into the [Color But…
86code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WY…
90 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at…
222 …ml#cfg-colorButton_colors) configuration option in the form of a label or code do not work correct…
279 * Fixed: Quotes with code `U+2019` (Right single quotation mark) are considered separators.
333 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at…
687 * [#13381](https://dev.ckeditor.com/ticket/13381): Dynamic code evaluation call in [`CKEDITOR.templ…
1204 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at…
1260 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at…
1303code snippet](https://ckeditor.com/cke4/addon/codesnippet) should be presented in the [elements pa…
[all …]
/webtrees/app/Date/
H A DJewishDate.php87 if (I18N::locale()->script()->code() === 'Hebr') {
104 if (I18N::locale()->script()->code() === 'Hebr') {
118 if (I18N::locale()->script()->code() === 'Hebr') {
/webtrees/resources/css/
H A D_markdown.css23 .markdown p code {
24 /* Bootstrap makes code text red */
/webtrees/app/Http/Middleware/
H A DErrorHandler.php49 …throw new ErrorException(message: $errstr, code: 0, severity: $errno, filename: $errfile, line: $e…
/webtrees/app/Cli/
H A DConsole.php56 I18N::init(code: 'en-US', setup: true);
/webtrees/resources/lang/zh-Hans/
H A Dmessages.po1491 msgid "Add content to the end of the <code>&lt;body&gt;</code> element."
1492 msgstr "添加内容到 <code>&lt;body&gt;</code> 元素后面。"
1495 msgid "Add content to the end of the <code>&lt;head&gt;</code> element."
1496 msgstr "添加内容到 <code>&lt;head&gt;</code> 后面。"
8367 msgid "Include the <code>&lt;script&gt;&lt;/script&gt;</code> tags."
8368 msgstr "含有 <code>&lt;script&gt;&lt;/script&gt;</code> 标签."
8371 msgid "Include the <code>&lt;style&gt;&lt;/style&gt;</code> tags."
8372 msgstr "含有 <code>&lt;style&gt;&lt;/style&gt;</code> 标签."
9540 msgid "Maidenhead location code"
12334 msgid "Postal code"
[all …]
/webtrees/resources/lang/zh-Hant/
H A Dmessages.po1490 msgid "Add content to the end of the <code>&lt;body&gt;</code> element."
1491 msgstr "添加內容到 <code>&lt;body&gt;</code> 元素後面。"
1494 msgid "Add content to the end of the <code>&lt;head&gt;</code> element."
1495 msgstr "添加內容到 <code>&lt;head&gt;</code> 後面。"
8361 msgid "Include the <code>&lt;script&gt;&lt;/script&gt;</code> tags."
8362 msgstr "含有 <code>&lt;script&gt;&lt;/script&gt;</code> 標籤."
8365 msgid "Include the <code>&lt;style&gt;&lt;/style&gt;</code> tags."
8366 msgstr "含有 <code>&lt;style&gt;&lt;/style&gt;</code> 標籤."
9533 msgid "Maidenhead location code"
12321 msgid "Postal code"
[all …]
/webtrees/resources/lang/ko/
H A Dmessages.po1373 msgid "Add content to the end of the <code>&lt;body&gt;</code> element."
1374 msgstr "요소의 끝에 <code>&lt;body&gt;</code> 컨텐츠를 추가합니다."
1377 msgid "Add content to the end of the <code>&lt;head&gt;</code> element."
1378 msgstr "요소의 끝에 <code>&lt;head&gt;</code> 콘텐츠를 추가합니다."
7778 msgid "Include the <code>&lt;script&gt;&lt;/script&gt;</code> tags."
7779 msgstr "<code>&lt;script&gt;&lt;/script&gt;</code> 태그를 포함합니다."
7782 msgid "Include the <code>&lt;style&gt;&lt;/style&gt;</code> tags."
7783 msgstr "<code>&lt;style&gt;&lt;/style&gt;</code> 태그를 포함합니다."
8854 msgid "Maidenhead location code"
8855 msgstr "Maidenhead location code"
[all …]

12345