/PHP-7.4/ext/xml/tests/ |
H A D | bug70962.phpt | 19 $xml = "<a><b><d>\n <e></b><![CDATA[ ]]><c>\n \t</c></a>";
|
/PHP-7.4/ext/xml/ |
H A D | xml.c | 601 return (unsigned short)c; in xml_encode_iso_8859_1() 606 inline static char xml_decode_iso_8859_1(unsigned short c) in xml_decode_iso_8859_1() argument 608 return (char)(c > 0xff ? '?' : c); in xml_decode_iso_8859_1() 613 inline static unsigned short xml_encode_us_ascii(unsigned char c) in xml_encode_us_ascii() argument 615 return (unsigned short)c; in xml_encode_us_ascii() 620 inline static char xml_decode_us_ascii(unsigned short c) in xml_decode_us_ascii() argument 622 return (char)(c > 0x7f ? '?' : c); in xml_decode_us_ascii() 645 unsigned int c; in xml_utf8_decode() local 668 if (status == FAILURE || c > 0xFFU) { in xml_utf8_decode() 669 c = '?'; in xml_utf8_decode() [all …]
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.g | 5 | Copyright (c) The PHP Group | 20 To generate ffi_parser.c use llk <https://github.com/dstogov/llk>: 28 %output "ffi_parser.c" 29 %language "c" 37 | Copyright (c) The PHP Group |
|
/PHP-7.4/ext/curl/ |
H A D | interface.c | 1409 int i, c = CRYPTO_num_locks(); in PHP_MINIT_FUNCTION() local 1411 php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); in PHP_MINIT_FUNCTION() 1416 for (i = 0; i < c; ++i) { in PHP_MINIT_FUNCTION() 1442 int i, c = CRYPTO_num_locks(); in PHP_MSHUTDOWN_FUNCTION() local 1447 for (i = 0; i < c; ++i) { in PHP_MSHUTDOWN_FUNCTION()
|
/PHP-7.4/ext/phar/ |
H A D | phar_object.c | 1397 zend_class_entry *c; member 1418 zend_class_entry *ce = p_obj->c; in phar_build() 1807 pass.c = apply_reg ? Z_OBJCE(regexiter) : Z_OBJCE(iteriter); in PHP_METHOD() 1895 pass.c = Z_OBJCE_P(obj); in PHP_METHOD()
|
/PHP-7.4/Zend/ |
H A D | zend_vm_execute.h | 4626 zend_constant *c; in ZEND_DEFINED_SPEC_CONST_HANDLER() local 6080 zend_class_constant *c; in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER() local 6120 c = Z_PTR_P(zv); in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER() 6127 value = &c->value; in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER() 6465 zend_constant c; in ZEND_DECLARE_CONST_SPEC_CONST_CONST_HANDLER() local 23948 c = Z_PTR_P(zv); in ZEND_FETCH_CLASS_CONSTANT_SPEC_VAR_CONST_HANDLER() 23955 value = &c->value; in ZEND_FETCH_CLASS_CONSTANT_SPEC_VAR_CONST_HANDLER() 31934 zend_constant *c; in ZEND_FETCH_CONSTANT_SPEC_UNUSED_CONST_HANDLER() local 31937 if (EXPECTED(c != NULL) && EXPECTED(!IS_SPECIAL_CACHE_VAL(c))) { in ZEND_FETCH_CONSTANT_SPEC_UNUSED_CONST_HANDLER() 31990 c = Z_PTR_P(zv); in ZEND_FETCH_CLASS_CONSTANT_SPEC_UNUSED_CONST_HANDLER() [all …]
|
H A D | zend_vm_def.h | 5579 zend_constant *c; variable 5582 if (EXPECTED(c != NULL) && EXPECTED(!IS_SPECIAL_CACHE_VAL(c))) { 5595 zend_class_constant *c; variable 5635 c = Z_PTR_P(zv); 5642 value = &c->value; 7609 zend_constant c; variable 7615 ZVAL_COPY(&c.value, val); 7616 if (Z_OPT_CONSTANT(c.value)) { 7618 zval_ptr_dtor_nogc(&c.value); 8180 zend_constant *c; variable [all …]
|
H A D | zend_operators.c | 37 #define zend_tolower(c) _tolower_l(c, current_locale) argument 39 #define zend_tolower(c) tolower(c) argument 63 #define zend_tolower_ascii(c) (tolower_map[(unsigned char)(c)]) argument
|
H A D | zend_API.c | 601 char c = *spec_walk++; in zend_parse_arg_impl() local 621 switch (c) { in zend_parse_arg_impl() 843 ZEND_ASSERT(c != 'Z'); in zend_parse_arg_impl() 915 int c, i; in zend_parse_va_args() local 926 c = *spec_walk; in zend_parse_va_args() 927 switch (c) { in zend_parse_va_args() 959 if (c == '+') { in zend_parse_va_args() 1192 zend_class_constant *c; in zend_update_class_constants() local 1203 val = &c->value; in zend_update_class_constants() 4006 zend_class_constant *c; in zend_declare_class_constant_ex() local [all …]
|
H A D | zend_execute.c | 1560 zend_uchar c; in zend_assign_to_string_offset() local 1591 c = (zend_uchar)ZSTR_VAL(tmp)[0]; in zend_assign_to_string_offset() 1626 Z_STRVAL_P(str)[offset] = c; in zend_assign_to_string_offset() 2452 zend_uchar c; in zend_fetch_dimension_address_read() local 4418 zend_constant *c = NULL; in _zend_quick_get_constant() local 4422 c = (zend_constant*)Z_PTR_P(zv); in _zend_quick_get_constant() 4427 c = (zend_constant*)Z_PTR_P(zv); in _zend_quick_get_constant() 4433 c = (zend_constant*)Z_PTR_P(zv); in _zend_quick_get_constant() 4445 if (!c) { in _zend_quick_get_constant() 4491 ns_sep = zend_memrchr(ZSTR_VAL(c->name), '\\', ZSTR_LEN(c->name)); in _zend_quick_get_constant() [all …]
|
H A D | zend_compile.c | 1280 if (c && !(ZEND_CONSTANT_FLAGS(c) & CONST_CS) && (ZEND_CONSTANT_FLAGS(c) & CONST_CT_SUBST)) { in zend_lookup_reserved_const() 1281 return c; in zend_lookup_reserved_const() 1289 zend_constant *c; in zend_try_ct_eval_const() local 1293 if (c && ( in zend_try_ct_eval_const() 1313 if (c) { in zend_try_ct_eval_const() 1443 return c->ce == scope; in zend_verify_ct_const_access() 1471 zval *c; in zend_try_ct_eval_class_const() local 1494 c = &cc->value; in zend_try_ct_eval_class_const() 3315 zval c; in zend_compile_func_defined() local 3318 zend_add_literal(&c); in zend_compile_func_defined() [all …]
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 2808 #define SPECIAL(c) ((c) <= 0x1f || (c) >= 0x7f) argument 2811 #define B64CHAR(c) (isalnum(c) || (c) == '+' || (c) == ',') argument 2818 #define UNB64(c) ((c) == '+' ? 62 : (c) == ',' ? 63 : (c) >= 'a' ? \ argument 2819 (c) - 71 : (c) >= 'A' ? (c) - 65 : (c) + 4) 2830 unsigned char c; in PHP_FUNCTION() local 2928 *outp++ |= c; in PHP_FUNCTION() 2935 *outp++ |= c; in PHP_FUNCTION() 2970 unsigned char c; in PHP_FUNCTION() local 3037 *outp++ = c; in PHP_FUNCTION() 3051 *outp++ = c; in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 667 zend_constant *c; in accel_copy_permanent_strings() local 672 c = (zend_constant*)Z_PTR(p->val); in accel_copy_permanent_strings() 673 if (c->name) { in accel_copy_permanent_strings() 674 c->name = new_interned_string(c->name); in accel_copy_permanent_strings() 676 if (Z_TYPE(c->value) == IS_STRING) { in accel_copy_permanent_strings() 677 ZVAL_STR(&c->value, new_interned_string(Z_STR(c->value))); in accel_copy_permanent_strings() 3195 zend_constant *c = Z_PTR_P(zv); in preload_shutdown() 3408 zend_class_constant *c; in get_unresolved_initializer() local 3494 zend_class_constant *c; in preload_try_resolve_constants() local 3503 val = &c->value; in preload_try_resolve_constants() [all …]
|
/PHP-7.4/sapi/cli/ |
H A D | php_http_parser.c | 240 #define LOWER(c) (unsigned char)(c | 0x20) argument 241 #define TOKEN(c) tokens[(unsigned char)c] argument 262 signed char c; in php_http_parser_execute() local 599 c = LOWER(ch); in php_http_parser_execute() 601 if (c >= 'a' && c <= 'z') { in php_http_parser_execute() 612 c = LOWER(ch); in php_http_parser_execute() 614 if (c >= 'a' && c <= 'z') break; in php_http_parser_execute() 642 c = LOWER(ch); in php_http_parser_execute() 643 if (c >= 'a' && c <= 'z') break; in php_http_parser_execute() 988 switch (c) { in php_http_parser_execute() [all …]
|
H A D | php_cli.c | 618 int c; in do_cli() local 637 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli() 638 switch (c) { in do_cli() 647 exit_status = (c == '?' && argc > 1 && !strchr(argv[1], c)); in do_cli() 702 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli() 703 switch (c) { in do_cli() 1169 int c; in WinMain() local 1235 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain() 1236 switch (c) { in WinMain()
|
H A D | php_cli_server.c | 321 size_t c = MIN((e + s + 1) / 2, e - 1); in get_template_string() local 322 int d = template_map[c].code; in get_template_string() 324 e = c; in get_template_string() 326 s = c; in get_template_string() 328 return template_map[c].str; in get_template_string() 2669 int c; in do_cli_server() local 2680 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) { in do_cli_server() 2681 switch (c) { in do_cli_server()
|
/PHP-7.4/ext/json/ |
H A D | json_encoder.c | 72 static inline void php_json_pretty_print_char(smart_str *buf, int options, char c) /* {{{ */ in php_json_pretty_print_char() argument 75 smart_str_appendc(buf, c); in php_json_pretty_print_char()
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | bcmath.h | 68 #define CH_VAL(c) (c - '0') argument
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 1748 int cgi = 0, c, i; local 1844 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1… 1845 switch (c) { 2264 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1… 2265 switch (c) { 2300 if (c == PHP_GETOPT_INVALID_ARG) { 2323 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { 2324 switch (c) {
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1540 int cgi = 0, c, use_extended_info = 0; in main() local 1596 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in main() 1597 switch (c) { in main() 1707 exit_status = (c != PHP_GETOPT_INVALID_ARG) ? FPM_EXIT_OK : FPM_EXIT_USAGE; in main()
|
/PHP-7.4/main/ |
H A D | output.c | 68 static int php_output_stack_apply_op(void *h, void *c); 69 static int php_output_stack_apply_clean(void *h, void *c); 1090 static int php_output_stack_apply_op(void *h, void *c) in php_output_stack_apply_op() argument 1095 php_output_context *context = (php_output_context *) c; in php_output_stack_apply_op() 1138 static int php_output_stack_apply_clean(void *h, void *c) in php_output_stack_apply_clean() argument 1141 php_output_context *context = (php_output_context *) c; in php_output_stack_apply_clean()
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 736 memset(mask+c, 1, input[3] - c + 1); in php_charmask() 829 (c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == '\v' || c == '\0')) { in php_trim_int() 841 (c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == '\v' || c == '\0')) { in php_trim_int() 1401 *c = toupper(*c); in php_strtoupper() 1402 c++; in php_strtoupper() 1430 c++; in php_string_toupper() 1435 c++; in php_string_toupper() 1466 *c = tolower(*c); in php_strtolower() 1467 c++; in php_strtolower() 1500 c++; in php_string_tolower() [all …]
|
/PHP-7.4/ext/pdo_firebird/ |
H A D | firebird_driver.c | 248 char *c; in firebird_handle_quoter() local 262 *quoted = c = emalloc(*quotedlen+1); in firebird_handle_quoter() 263 *c++ = '\''; in firebird_handle_quoter() 267 strncpy(c, l, r-l+1); in firebird_handle_quoter() 268 c += (r-l+1); in firebird_handle_quoter() 270 *c++ = '\''; in firebird_handle_quoter() 274 strncpy(c, l, *quotedlen-(c-*quoted)-1); in firebird_handle_quoter() 366 char *c, *new_sql, in_quote, in_param, pname[64], *ppname; in firebird_alloc_prepare_stmt() local 393 new_sql = c = emalloc(sql_len+1); in firebird_alloc_prepare_stmt() 404 *c++ = '?'; in firebird_alloc_prepare_stmt() [all …]
|
/PHP-7.4/ext/openssl/tests/ |
H A D | check_default_conf_path.phpt | 28 string(%d) "c:\program files%r( \(x86\)|)%r\common files\ssl\openssl.cnf"
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | sccp.c | 801 zend_long c; in ct_eval_func_call() local 806 c = Z_LVAL_P(args[0]) & 0xff; in ct_eval_func_call() 807 ZVAL_INTERNED_STR(result, ZSTR_CHAR(c)); in ct_eval_func_call()
|