Home
last modified time | relevance | path

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

12345678910>>...94

/PHP-7.4/ext/xml/tests/
H A Dbug81351.phpt2 Bug #81351 (xml_parse may fail, but has no error code)
18 $code = xml_get_error_code($parser);
19 $error = xml_error_string($code);
20 echo "xml_parse returned $success, xml_get_error_code = $code, xml_error_string = $error\r\n";
22 $code = xml_get_error_code($parser);
23 $error = xml_error_string($code);
24 echo "xml_parse returned $success, xml_get_error_code = $code, xml_error_string = $error\r\n";
/PHP-7.4/ext/readline/
H A Dreadline_cli.c184 char *code; in cli_get_prompt() local
194 efree(code); in cli_get_prompt()
219 switch(code[i]) { in cli_is_valid_code()
282 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code()
295 if (code[i] == '\\') { in cli_is_valid_code()
324 if (code[i-1] == '*' && code[i] == '/') { in cli_is_valid_code()
330 switch(code[i]) { in cli_is_valid_code()
648 code = erealloc(code, size); in readline_shell_run()
652 code[pos] = '\n'; in readline_shell_run()
653 code[++pos] = '\0'; in readline_shell_run()
[all …]
/PHP-7.4/ext/standard/
H A Dhtml.c541 *res = code; in map_from_unicode()
545 if (code <= 0xA0 || code == 0xAD /* soft hyphen */) { in map_from_unicode()
551 } else if (code >= 0x0401 && code <= 0x044F) { in map_from_unicode()
552 if (code == 0x040D || code == 0x0450 || code == 0x045D) in map_from_unicode()
561 if (code < 0xA4 || (code > 0xBE && code <= 0xFF)) { in map_from_unicode()
574 if (code <= 0x7F || (code >= 0xA0 && code <= 0xFF)) { in map_from_unicode()
623 if (code >= 0x20 && code <= 0x7D) { in map_from_unicode()
635 if (code >= 0x20 && code <= 0x7D) { in map_from_unicode()
845 *buf = code; in write_octet_sequence()
861 *buf = code; in write_octet_sequence()
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1282 code->memctl.free(code, code->memctl.memory_data); in pcre2_code_free()
4750 do code += GET(code, 1); while (*code == OP_ALT); in first_significant_code()
4751 code += PRIV(OP_lengths)[*code]; in first_significant_code()
4790 code += code[1] + PRIV(OP_lengths)[*code]; in first_significant_code()
5585 code += PUTCHAR(c, code); in compile_branch()
8340 code += GET(code, 1); in is_anchored()
8473 code += GET(code, 1); in is_startline()
8530 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in find_recurse()
8546 code += code[1]; in find_recurse()
8617 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in find_recurse()
[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()
281 (pcre2_general_context *)code : in pcre2_substitute()
291 (pcre2_general_context *)code : in pcre2_substitute()
294 code->top_bracket + 1 : match_data->oveccount; in pcre2_substitute()
564 if (group > code->top_bracket) in pcre2_substitute()
672 group = code->top_bracket + 1; in pcre2_substitute()
772 if (((code->tables + cbits_offset + in pcre2_substitute()
832 code->overall_options, code->extra_options, FALSE, NULL); in pcre2_substitute()
874 if (((code->tables + cbits_offset + in pcre2_substitute()
[all …]
/PHP-7.4/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-7.4/ext/pdo/tests/
H A Dbug_34687.phpt21 $code = $db->errorCode();
22 if ($code !== '00000' && strlen($code)) {
23 echo "OK: $code\n";
25 echo "ERR: $code\n";
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_errorcode.phpt18 $code = $obj->errorCode();
19 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
20 printf("[%03d] Expecting error code '%s' got code '%s'\n",
21 $offset, $expected, $code);
32 PDOStatement->errorCode() to return the error code for an
35 $code = $db->errorCode();
65 // lets hope this is an invalid attribute code
H A Dpdo_mysql_errorinfo.phpt18 $code = $info[0];
20 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
21 printf("[%03d] Expecting error code '%s' got code '%s'\n",
22 $offset, $expected, $code);
27 printf("[%03d] Driver-specific error code not set\n", $offset);
42 PDOStatement->errorCode() to return the error code for an
45 $code = $db->errorCode();
75 // lets hope this is an invalid attribute code
106 [015] Driver-specific error code not set
108 [016] Driver-specific error code not set
/PHP-7.4/sapi/cli/tests/
H A D012-2.phpt31 string(57) "Either execute direct code, process stdin or use a file.
33 string(57) "Either execute direct code, process stdin or use a file.
36 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.
50 string(57) "Either execute direct code, process stdin or use a file.
H A D011.phpt12 $code = '
26 file_put_contents($filename, $code);
31 $code = '
41 file_put_contents($filename, $code);
/PHP-7.4/ext/pdo_mysql/
H A Dget_error_codes.php21 foreach ($codes as $code => $state) {
22 echo "#ifdef $code\n";
23 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
/PHP-7.4/ext/intl/
H A Dintl_error.h26 #define INTL_ERROR_CODE(e) (e).code
29 UErrorCode code; member
39 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
47 void intl_errors_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg );
H A Dintl_error.c81 err->code = U_ZERO_ERROR; in intl_error_init()
95 err->code = U_ZERO_ERROR; in intl_error_reset()
140 uErrorName = u_errorName( err->code ); in intl_error_get_message()
164 err->code = err_code; in intl_error_set_code()
176 return err->code; in intl_error_get_code()
183 void intl_error_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_error_set() argument
185 intl_error_set_code( err, code ); in intl_error_set()
193 void intl_errors_set( intl_error* err, UErrorCode code, const char* msg, int copyMsg ) in intl_errors_set() argument
195 intl_errors_set_code( err, code ); in intl_errors_set()
/PHP-7.4/ext/mbstring/
H A Dphp_unicode.h86 MBSTRING_API int php_unicode_is_prop(unsigned long code, ...);
87 MBSTRING_API int php_unicode_is_prop1(unsigned long code, int prop);
105 static inline int php_unicode_is_lower(unsigned long code) { in php_unicode_is_lower() argument
106 if (code < 0x80) { in php_unicode_is_lower()
107 return code >= 0x61 && code <= 0x7A; in php_unicode_is_lower()
109 return php_unicode_is_prop1(code, UC_LL); in php_unicode_is_lower()
113 static inline int php_unicode_is_upper(unsigned long code) { in php_unicode_is_upper() argument
114 if (code < 0x80) { in php_unicode_is_upper()
115 return code >= 0x41 && code <= 0x5A; in php_unicode_is_upper()
117 return php_unicode_is_prop1(code, UC_LU); in php_unicode_is_upper()
/PHP-7.4/ext/simplexml/tests/
H A Dbug38354.phpt9 '<code>
11 </code>'
22 <code>
24 </code>
/PHP-7.4/ext/openssl/tests/
H A DServerClientTestCase.inc63 private function spawnWorkerProcess($worker, $code)
90 fwrite($this->workerStdIn[$worker], $code . "\n---\n");
100 private function stripPhpTagsFromCode($code)
102 return preg_replace('/^\s*<\?(?:php)?|\?>\s*$/i', '', $code);
107 $code = '';
116 $code .= $line;
119 eval($code);
127 foreach ($workerCode as $worker => $code) {
128 $this->spawnWorkerProcess($worker, $this->stripPhpTagsFromCode($code));
131 foreach ($workerCode as $worker => $code) {
/PHP-7.4/ext/standard/tests/general_functions/
H A Dhttp_response_code.phpt8 // Get the current default response code
10 // Set a response code
12 // Get the new response code
/PHP-7.4/ext/standard/tests/ini_info/
H A Dphp_ini_loaded_file.phpt7 $code = '"var_dump(php_ini_loaded_file());"';
10 passthru($php.' -n -r '.$code);
13 passthru($php.' -c "'.$inifile.'" -r '.$code);
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp98 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
120 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
139 if (U_FAILURE(err.code)) { in umsg_parse_format()
275 if (U_FAILURE(err.code)) { in umsg_parse_format()
358 if (U_SUCCESS(err.code)) { in umsg_set_timezone()
379 if (U_FAILURE(err.code)) { in umsg_format_helper()
402 if (!U_SUCCESS(err.code)) { in umsg_format_helper()
422 if (U_FAILURE(err.code)) { in umsg_format_helper()
594 if (U_FAILURE(err.code)) { in umsg_format_helper()
605 if (U_FAILURE(err.code)) { in umsg_format_helper()
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dbug69442.phpt6 $code = <<< 'EOC'
14 file_put_contents($tmpFile, $code);
25 $cmd = '(echo "foo" ; exit 42;) 3>/dev/null; code=$?; echo $code >&3; exit $code';
/PHP-7.4/Zend/tests/
H A Dnowdoc_014.phpt11 $code = <<<'EOF'
18 highlight_string($code);
21 <code><span style="color: #000000">
24 </code>
H A Dbug75252.phpt6 $code = <<<'CODE'
14 eval($code);
20 eval($code);
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_createAttribute_error.phpt13 $code = $e->getCode();
14 if(DOM_INVALID_CHARACTER_ERR === $code) {
18 echo 'Wrong exception code';

Completed in 89 milliseconds

12345678910>>...94