Home
last modified time | relevance | path

Searched refs:code (Results 26 – 50 of 802) sorted by relevance

12345678910>>...33

/PHP-8.3/ext/readline/
H A Dreadline_cli.c183 char *code; in cli_get_prompt() local
193 efree(code); in cli_get_prompt()
227 switch(code[i]) { in cli_is_valid_code()
294 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code()
307 if (code[i] == '\\') { in cli_is_valid_code()
336 if (code[i-1] == '*' && code[i] == '/') { in cli_is_valid_code()
342 switch(code[i]) { in cli_is_valid_code()
672 code = erealloc(code, size); in readline_shell_run()
676 code[pos] = '\n'; in readline_shell_run()
677 code[++pos] = '\0'; in readline_shell_run()
[all …]
/PHP-8.3/ext/standard/tests/streams/
H A Dbug64433.phpt20 foreach($codes as $code) {
21 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1");
30 foreach($codes as $code) {
31 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
40 foreach($codes as $code) {
41 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
H A Dgh14780.phpt9 $code = null;
12 pfsockopen('udp://127.0.0.1', '63844', $code, $err, (PHP_INT_MAX/100000)+1);
17 pfsockopen('udp://127.0.0.1', '63844', $code, $err, (PHP_INT_MIN/100000)-1);
21 var_dump(pfsockopen('udp://127.0.0.1', '63844', $code, $err, -1));
23 pfsockopen('udp://127.0.0.1', '63844', $code, $err, NAN);
28 pfsockopen('udp://127.0.0.1', '63844', $code, $err, INF);
/PHP-8.3/ext/xml/tests/
H A Dbug81351.phpt2 Bug #81351 (xml_parse may fail, but has no error code)
16 $code = xml_get_error_code($parser);
17 $error = xml_error_string($code);
18 echo "xml_parse returned $success, xml_get_error_code = $code, xml_error_string = $error\r\n";
20 $code = xml_get_error_code($parser);
21 $error = xml_error_string($code);
22 echo "xml_parse returned $success, xml_get_error_code = $code, xml_error_string = $error\r\n";
/PHP-8.3/ext/standard/
H A Dhtml.c470 *res = code; in map_from_unicode()
474 if (code <= 0xA0 || code == 0xAD /* soft hyphen */) { in map_from_unicode()
480 } else if (code >= 0x0401 && code <= 0x045F) { in map_from_unicode()
481 if (code == 0x040D || code == 0x0450 || code == 0x045D) in map_from_unicode()
490 if (code < 0xA4 || (code > 0xBE && code <= 0xFF)) { in map_from_unicode()
503 if (code <= 0x7F || (code >= 0xA0 && code <= 0xFF)) { in map_from_unicode()
552 if (code >= 0x20 && code <= 0x7D) { in map_from_unicode()
564 if (code >= 0x20 && code <= 0x7D) { in map_from_unicode()
774 *buf = code; in write_octet_sequence()
790 *buf = code; in write_octet_sequence()
[all …]
/PHP-8.3/ext/exif/tests/
H A Dbug76557.phpt11 Warning: exif_read_data(bug76557.jpg): Process tag(x010F=Make): Illegal format code 0x3030, suppose…
13 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
15 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
17 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
19 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
21 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
23 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
25 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
27 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
29 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
H A Dbug72094.phpt14 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
16 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
18 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
20 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
22 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
24 Warning: exif_read_data(bug72094_1.jpg): Process tag(x8298=Copyright): Illegal format code 0x3030, …
38 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
40 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
42 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
44 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
[all …]
/PHP-8.3/ext/soap/tests/
H A Dfault_warning.phpt2 SoapFault class: Invalid Fault code warning given? Can't be an empty string, an array of not 2 elem…
42 SoapFault::__construct(): Argument #1 ($code) is not a valid fault code
43 SoapFault::__construct(): Argument #1 ($code) must be of type array|string|null, stdClass given
46 SoapFault::__construct(): Argument #1 ($code) is not a valid fault code
47 SoapFault::__construct(): Argument #1 ($code) is not a valid fault code
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1289 code->memctl.free(code, code->memctl.memory_data); in pcre2_code_free()
4859 do code += GET(code, 1); while (*code == OP_ALT); in first_significant_code()
4860 code += PRIV(OP_lengths)[*code]; in first_significant_code()
4899 code += code[1] + PRIV(OP_lengths)[*code]; in first_significant_code()
5693 code += PUTCHAR(c, code); in compile_branch()
8467 code += GET(code, 1); in is_anchored()
8600 code += GET(code, 1); in is_startline()
8657 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in find_recurse()
8673 code += code[1]; in find_recurse()
8744 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in find_recurse()
[all …]
H A Dpcre2_dfa_match.c748 PCRE2_SPTR code; in internal_dfa_match() local
908 do { code += GET(code, 1); } while (*code == OP_ALT); in internal_dfa_match()
918 code += GET(code, 1); in internal_dfa_match()
927 code += GET(code, 1); in internal_dfa_match()
931 code += GET(code, 1); in internal_dfa_match()
939 code += 1 + GET(code, 2); in internal_dfa_match()
940 while (*code == OP_ALT) code += GET(code, 1); in internal_dfa_match()
946 code += 1 + GET(code, 2); in internal_dfa_match()
947 while (*code == OP_ALT) code += GET(code, 1); in internal_dfa_match()
2644 ecode = code + GET(code, 1); in internal_dfa_match()
[all …]
H A Dpcre2_substitute.c133 code->overall_options, code->extra_options, FALSE, NULL); in find_text_end()
238 BOOL utf = (code->overall_options & PCRE2_UTF) != 0; in pcre2_substitute()
294 (pcre2_general_context *)code : in pcre2_substitute()
304 (pcre2_general_context *)code : in pcre2_substitute()
307 code->top_bracket + 1 : match_data->oveccount; in pcre2_substitute()
586 if (group > code->top_bracket) in pcre2_substitute()
694 group = code->top_bracket + 1; in pcre2_substitute()
794 if (((code->tables + cbits_offset + in pcre2_substitute()
854 code->overall_options, code->extra_options, FALSE, NULL); in pcre2_substitute()
896 if (((code->tables + cbits_offset + in pcre2_substitute()
[all …]
/PHP-8.3/ext/mbstring/
H A Dphp_unicode.h77 MBSTRING_API bool php_unicode_is_prop(unsigned long code, ...);
78 MBSTRING_API bool php_unicode_is_prop1(unsigned long code, int prop);
98 static inline int php_unicode_is_lower(unsigned long code) { in php_unicode_is_lower() argument
99 if (code < 0x80) { in php_unicode_is_lower()
100 return code >= 0x61 && code <= 0x7A; in php_unicode_is_lower()
102 return php_unicode_is_prop1(code, UC_LL); in php_unicode_is_lower()
106 static inline int php_unicode_is_upper(unsigned long code) { in php_unicode_is_upper() argument
107 if (code < 0x80) { in php_unicode_is_upper()
108 return code >= 0x41 && code <= 0x5A; in php_unicode_is_upper()
110 return php_unicode_is_prop1(code, UC_LU); in php_unicode_is_upper()
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_errorcode.phpt19 $code = $obj->errorCode();
20 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
21 printf("[%03d] Expecting error code '%s' got code '%s'\n",
22 $offset, $expected, $code);
33 PDOStatement->errorCode() to return the error code for an
36 $code = $db->errorCode();
66 // lets hope this is an invalid attribute code
H A Dpdo_mysql_errorinfo.phpt19 $code = $info[0];
21 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
22 printf("[%03d] Expecting error code '%s' got code '%s'\n",
23 $offset, $expected, $code);
28 printf("[%03d] Driver-specific error code not set\n", $offset);
43 PDOStatement->errorCode() to return the error code for an
46 $code = $db->errorCode();
76 // lets hope this is an invalid attribute code
107 [015] Driver-specific error code not set
109 [016] Driver-specific error code not set
/PHP-8.3/ext/pdo/tests/
H A Dbug_34687.phpt22 $code = $db->errorCode();
23 if ($code !== '00000' && strlen($code)) {
24 echo "OK: $code\n";
26 echo "ERR: $code\n";
/PHP-8.3/ext/standard/tests/general_functions/
H A Dhttp_response_code.phpt9 * that only affects the CLI repeat option, where the response code is not meaningful in the
10 * first place. Other SAPIs will properly reset the response code for each request. */
17 // Get the current default response code
19 // Set a response code
21 // Get the new response code
36 Warning: http_response_code(): Cannot set response code - headers already sent (output started at %…
/PHP-8.3/sapi/cli/tests/
H A D012-2.phpt33 string(57) "Either execute direct code, process stdin or use a file.
35 string(57) "Either execute direct code, process stdin or use a file.
38 string(57) "Either execute direct code, process stdin or use a file.
40 string(57) "Either execute direct code, process stdin or use a file.
42 string(57) "Either execute direct code, process stdin or use a file.
44 string(57) "Either execute direct code, process stdin or use a file.
46 string(57) "Either execute direct code, process stdin or use a file.
52 string(57) "Either execute direct code, process stdin or use a file.
H A Dgh14189.phpt19 $code = <<<EOT
29 $code = escapeshellarg($code);
30 echo `echo $code | "$php" -a`, "\n";
/PHP-8.3/ext/intl/
H A Dintl_error.h24 #define INTL_ERROR_CODE(e) (e).code
27 UErrorCode code; member
37 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
45 void intl_errors_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
H A Dintl_error.c71 err->code = U_ZERO_ERROR; in intl_error_init()
83 err->code = U_ZERO_ERROR; in intl_error_reset()
124 uErrorName = u_errorName( err->code ); in intl_error_get_message()
146 err->code = err_code; in intl_error_set_code()
156 return err->code; in intl_error_get_code()
161 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_error_set() argument
163 intl_error_set_code( err, code ); in intl_error_set()
169 void intl_errors_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_errors_set() argument
171 intl_errors_set_code( err, code ); in intl_errors_set()
/PHP-8.3/ext/simplexml/tests/
H A Dbug38354.phpt9 '<code>
11 </code>'
22 <code>
24 </code>
/PHP-8.3/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp95 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
117 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
136 if (U_FAILURE(err.code)) { in umsg_parse_format()
272 if (U_FAILURE(err.code)) { in umsg_parse_format()
355 if (U_SUCCESS(err.code)) { in umsg_set_timezone()
376 if (U_FAILURE(err.code)) { in umsg_format_helper()
400 if (!U_SUCCESS(err.code)) { in umsg_format_helper()
420 if (U_FAILURE(err.code)) { in umsg_format_helper()
592 if (U_FAILURE(err.code)) { in umsg_format_helper()
603 if (U_FAILURE(err.code)) { in umsg_format_helper()
[all …]
/PHP-8.3/Zend/tests/
H A Dnowdoc_014.phpt11 $code = <<<'EOF'
18 highlight_string($code);
21 <pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
25 </span><span style="color: #0000BB">?&gt;</span></code></pre>
/PHP-8.3/build/
H A Dgen_stub.php2085 $code = "";
4016 $code = '';
4146 $code = "";
4163 return $code;
4251 return $code;
4258 $code = "";
4264 return $code;
4292 return $code;
4375 $code = "";
4387 return $code;
[all …]
/PHP-8.3/Zend/
H A Dzend_exceptions.stub.php37 protected $code = 0; // TODO add proper type (i.e. int|string) variable in Exception
45 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {} argument
74 int $code = 0, argument
96 protected $code = 0; // TODO add proper type (i.e. int|string) variable in Error
106 public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) {} argument

Completed in 89 milliseconds

12345678910>>...33