/PHP-8.0/ext/xmlreader/tests/ |
H A D | libxml_global_state_entity_loader_bypass.phpt | 22 file_put_contents("libxml_global_state_entity_loader_bypass.tmp", $xml); 23 $reader = XMLReader::open("libxml_global_state_entity_loader_bypass.tmp"); 31 @unlink("libxml_global_state_entity_loader_bypass.tmp");
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | libxml_global_state_entity_loader_bypass.phpt | 23 file_put_contents("libxml_global_state_entity_loader_bypass.tmp", $xml); 24 simplexml_load_file("libxml_global_state_entity_loader_bypass.tmp"); 31 @unlink("libxml_global_state_entity_loader_bypass.tmp");
|
/PHP-8.0/ext/xsl/ |
H A D | xsltprocessor.c | 691 zval tmp; in PHP_METHOD() local 702 ZVAL_STR(&tmp, str); in PHP_METHOD() 703 zend_hash_update(intern->parameter, string_key, &tmp); in PHP_METHOD()
|
/PHP-8.0/ext/simplexml/ |
H A D | simplexml.c | 666 if (!Z_ISUNDEF(sxe->tmp)) { in sxe_property_get_adr() 667 zval_ptr_dtor(&sxe->tmp); in sxe_property_get_adr() 670 ZVAL_COPY_VALUE(&sxe->tmp, &ret); in sxe_property_get_adr() 672 return &sxe->tmp; in sxe_property_get_adr() 925 xmlChar *tmp = xmlNodeListGetString(doc, list, inLine); in sxe_xmlNodeListGetString() local 928 if (tmp) { in sxe_xmlNodeListGetString() 929 res = zend_string_init((char*)tmp, strlen((char *)tmp), 0); in sxe_xmlNodeListGetString() 930 xmlFree(tmp); in sxe_xmlNodeListGetString() 2172 if (!Z_ISUNDEF(sxe->tmp)) { in sxe_object_dtor() 2173 zval_ptr_dtor(&sxe->tmp); in sxe_object_dtor() [all …]
|
/PHP-8.0/ext/soap/ |
H A D | php_xml.c | 261 xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns); in get_node_recurisve_ex() local 262 if (tmp) { in get_node_recurisve_ex() 263 return tmp; in get_node_recurisve_ex() 302 …xmlNodePtr tmp = get_node_with_attribute_recursive_ex(node->children, name, name_ns, attribute, va… in get_node_with_attribute_recursive_ex() local 303 if (tmp) { in get_node_with_attribute_recursive_ex() 304 return tmp; in get_node_with_attribute_recursive_ex()
|
H A D | php_http.c | 97 zval *tmp; in http_context_headers() local 101 Z_TYPE_P(tmp) == IS_STRING && Z_STRLEN_P(tmp)) { in http_context_headers() 185 Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) > 0) { in http_connect() 588 (Z_TYPE_P(tmp) == IS_FALSE || (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) == 0)))) { in make_http_soap_request() 935 char *tmp; in make_http_soap_request() local 943 tmp++; in make_http_soap_request() 946 tmp = strstr(tmp," "); in make_http_soap_request() 948 tmp++; in make_http_soap_request() 1379 while (*tmp == ' ' || *tmp == '\t') { in get_http_header_value_nodup() 1380 tmp++; in get_http_header_value_nodup() [all …]
|
H A D | soap.c | 148 zval *tmp; \ 733 zval *tmp; in soap_create_typemap() local 860 zval *tmp; in PHP_METHOD() local 2282 zval *tmp; local 2489 zval *tmp; local 2514 zval *tmp; local 2682 zval *tmp; local 2700 zval *tmp; local 2718 zval *tmp; local 2736 zval *tmp; local [all …]
|
/PHP-8.0/ext/xml/ |
H A D | compat.c | 451 XML_Char tmp[2]; in XML_ParserCreateNS() local 452 tmp[0] = sep; in XML_ParserCreateNS() 453 tmp[1] = '\0'; in XML_ParserCreateNS() 454 return XML_ParserCreate_MM(encoding, NULL, tmp); in XML_ParserCreateNS()
|
/PHP-8.0/ext/phar/ |
H A D | dirstream.c | 363 return php_stream_opendir(entry->tmp, options, context); in phar_wrapper_open_dir()
|
/PHP-8.0/main/ |
H A D | rfc1867.c | 787 char *cd = NULL, *param = NULL, *filename = NULL, *tmp = NULL; local 948 tmp = param; 950 while (*tmp) { 951 if (*tmp == '[') { 953 } else if (*tmp == ']') { 955 if (tmp[1] && tmp[1] != '[') { 964 tmp++;
|
H A D | main.c | 825 char *tmp; in php_log_err_with_severity() local 839 len = spprintf(&tmp, 0, "[%s] %s%s", ZSTR_VAL(error_time_str), log_message, PHP_EOL); in php_log_err_with_severity() 843 php_ignore_value(write(fd, tmp, (unsigned)len)); in php_log_err_with_severity() 846 php_ignore_value(write(fd, tmp, len)); in php_log_err_with_severity() 848 efree(tmp); in php_log_err_with_severity()
|
H A D | fopen_wrappers.c | 337 char *tmp = expand_filepath_with_mode(path, NULL, NULL, 0, CWD_EXPAND); local 338 if (tmp) { 339 *opened_path = zend_string_init(tmp, strlen(tmp), 0); 340 efree(tmp);
|
/PHP-8.0/ext/standard/ |
H A D | crypt_blowfish.c | 375 tmp = BF_atoi64[tmp]; \ 377 (dst) = tmp; \ 440 BF_word tmp; in BF_swap() local 444 tmp = *x; in BF_swap() 445 tmp = (tmp << 16) | (tmp >> 16); in BF_swap() 446 *x++ = ((tmp & 0x00FF00FF) << 8) | ((tmp >> 8) & 0x00FF00FF); in BF_swap() 581 tmp[0] = tmp[1] = 0; in BF_set_key() 583 tmp[0] <<= 8; in BF_set_key() 585 tmp[1] <<= 8; in BF_set_key() 600 diff |= tmp[0] ^ tmp[1]; /* Non-zero on any differences */ in BF_set_key() [all …]
|
/PHP-8.0/ext/openssl/ |
H A D | openssl.c | 624 zval subitem, tmp; in php_openssl_add_assoc_name_entry() local 669 array_init(&tmp); in php_openssl_add_assoc_name_entry() 3619 zval tmp; in php_openssl_pkey_from_zval() local 3621 ZVAL_NULL(&tmp); in php_openssl_pkey_from_zval() 3624 if (Z_TYPE(tmp) == IS_STRING) {\ in php_openssl_pkey_from_zval() 3625 zval_ptr_dtor_str(&tmp); \ in php_openssl_pkey_from_zval() 3643 ZVAL_COPY(&tmp, zphrase); in php_openssl_pkey_from_zval() 3648 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval() 3676 zval_ptr_dtor_str(&tmp); in php_openssl_pkey_from_zval() 3764 if (Z_TYPE(tmp) == IS_STRING) { in php_openssl_pkey_from_zval() [all …]
|
/PHP-8.0/Zend/ |
H A D | zend_execute.c | 927 zval tmp; in zend_assign_to_typed_prop() local 1585 zend_string *tmp; in zend_assign_to_string_offset() local 1597 if (tmp) { in zend_assign_to_string_offset() 1723 zval tmp; in zend_incdec_typed_ref() local 1727 copy = &tmp; in zend_incdec_typed_ref() 1755 zval tmp; in zend_incdec_typed_prop() local 1758 copy = &tmp; in zend_incdec_typed_prop() 3246 zval tmp; in zend_verify_ref_assignable_zval() local 3339 zval tmp; in zend_verify_prop_assignable_by_ref() local 4184 znode_op tmp; in zend_swap_operands() local [all …]
|
H A D | zend_exceptions.c | 231 zval tmp; in zend_default_exception_new_ex() local 256 zval_ptr_dtor(&tmp); in zend_default_exception_new_ex() 386 ZVAL_LONG(&tmp, 0); in ZEND_METHOD() 544 zval *file, *tmp; in _build_trace_string() local 558 if (tmp) { in _build_trace_string() 578 if (tmp) { in _build_trace_string() 660 zval rv, tmp; in ZEND_METHOD() local 740 ZVAL_STR(&tmp, str); in ZEND_METHOD() 847 zval ex, tmp; in zend_throw_exception_zstr() local 901 zval tmp; in zend_throw_error_exception() local [all …]
|
H A D | zend_vm_execute.h | 4502 zval tmp; in ZEND_CATCH_SPEC_CONST_HANDLER() local 5321 zval tmp; in ZEND_STRLEN_SPEC_CONST_HANDLER() local 14464 zval tmp; in ZEND_STRLEN_SPEC_TMPVAR_HANDLER() local 22792 value = &tmp; in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_CONST_HANDLER() 22926 value = &tmp; in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_TMP_HANDLER() 23060 value = &tmp; in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_VAR_HANDLER() 23194 value = &tmp; in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_CV_HANDLER() 25412 value = &tmp; in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_CONST_HANDLER() 38881 zval tmp; in ZEND_STRLEN_SPEC_CV_HANDLER() local 63214 zval tmp; local [all …]
|
H A D | zend_vm_def.h | 2360 zval *object, *property, *value, tmp; variable 2433 ZVAL_COPY_VALUE(&tmp, Z_REFVAL_P(value)); 2435 value = &tmp; 4607 zval tmp; variable 4608 ZVAL_OBJ(&tmp, exception); 4609 zend_assign_to_variable(EX_VAR(opline->result.var), &tmp, IS_TMP_VAR, /* strict */ 1); 8370 zval tmp; variable 8372 ZVAL_COPY(&tmp, value); 8373 if (zend_parse_arg_str_weak(&tmp, &str)) { 8375 zval_ptr_dtor(&tmp); [all …]
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 623 while (tmp) { in fpm_worker_pool_config_alloc() 625 tmp->next = wp; in fpm_worker_pool_config_alloc() 628 tmp = tmp->next; in fpm_worker_pool_config_alloc() 758 char *tmp; in fpm_evaluate_full_path() local 770 *path = tmp; in fpm_evaluate_full_path() 1598 int tmp; in fpm_conf_load_ini_file() local 1640 free(tmp); in fpm_conf_load_ini_file() 1646 free(tmp); in fpm_conf_load_ini_file() 1777 char *tmp; in fpm_conf_init_main() local 1785 if (!tmp) { in fpm_conf_init_main() [all …]
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli.c | 1093 char tmp[22]; in php_mysqli_fetch_into_hash_aux() local 1109 …snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LL… in php_mysqli_fetch_into_hash_aux() 1110 ZVAL_STRING(&res, tmp); in php_mysqli_fetch_into_hash_aux()
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 1006 zend_uchar *tmp, *p; in php_mysqlnd_cmd_write() local 1007 tmp = (tmp_len > pfc->cmd_buffer.length)? mnd_emalloc(tmp_len):pfc->cmd_buffer.buffer; in php_mysqlnd_cmd_write() 1008 if (!tmp) { in php_mysqlnd_cmd_write() 1011 p = tmp + MYSQLND_HEADER_SIZE; /* skip the header */ in php_mysqlnd_cmd_write() 1018 sent = pfc->data->m.send(pfc, vio, tmp, tmp_len - MYSQLND_HEADER_SIZE, stats, error_info); in php_mysqlnd_cmd_write() 1019 if (tmp != pfc->cmd_buffer.buffer) { in php_mysqlnd_cmd_write() 1021 mnd_efree(tmp); in php_mysqlnd_cmd_write() 1623 char tmp[22]; in php_mysqlnd_rowp_read_text_protocol_aux() local 1624 const size_t tmp_len = sprintf((char *)&tmp, ZEND_ULONG_FMT, Z_LVAL_P(current_field)); in php_mysqlnd_rowp_read_text_protocol_aux() 1625 ZVAL_STRINGL(current_field, tmp, tmp_len); in php_mysqlnd_rowp_read_text_protocol_aux()
|
/PHP-8.0/ext/gd/ |
H A D | gd.c | 503 char tmp[256]; in PHP_MINFO_FUNCTION() local 510 snprintf(tmp, sizeof(tmp), "1.x"); in PHP_MINFO_FUNCTION() 540 char tmp[12]; in PHP_MINFO_FUNCTION() local 541 snprintf(tmp, sizeof(tmp), "%d", XpmLibraryVersion()); in PHP_MINFO_FUNCTION() 1854 FILE *tmp; in _php_image_output() local 1883 fclose(tmp); in _php_image_output() 3439 zval *tmp; in PHP_FUNCTION() local 3585 zval *tmp; in PHP_FUNCTION() local 3741 zval *tmp; in PHP_FUNCTION() local 3825 zval *tmp; in PHP_FUNCTION() local [all …]
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_server.c | 390 zval tmp; in PHP_FUNCTION() local 402 ZVAL_STRING(&tmp, value); in PHP_FUNCTION() 642 char *tmp; in sapi_cli_server_register_variables() local 660 char *tmp; in sapi_cli_server_register_variables() local 663 efree(tmp); in sapi_cli_server_register_variables() 666 char *tmp; in sapi_cli_server_register_variables() local 669 efree(tmp); in sapi_cli_server_register_variables() 673 char *tmp; in sapi_cli_server_register_variables() local 676 efree(tmp); in sapi_cli_server_register_variables() 691 char *tmp; in sapi_cli_server_register_variables() local [all …]
|
/PHP-8.0/ext/date/ |
H A D | php_date.c | 1480 zend_class_entry *tmp = start_ce; in get_base_date_class() local 1482 while (tmp != date_ce_date && tmp != date_ce_immutable && tmp->parent) { in get_base_date_class() 1483 tmp = tmp->parent; in get_base_date_class() 1486 return tmp; in get_base_date_class() 2570 char *tmp = emalloc(Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2); in php_date_initialize_from_hash() local 2572 …snprintf(tmp, Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2, "%s %s", Z_STRVAL_P(z_date), Z_STRV… in php_date_initialize_from_hash() 2573 …ret = php_date_initialize(*dateobj, tmp, Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 1, NULL, NU… in php_date_initialize_from_hash() 2574 efree(tmp); in php_date_initialize_from_hash()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 1097 int tmp = src; in zend_jit_add_hint() local 1099 dst = tmp; in zend_jit_add_hint() 1103 int tmp = src; in zend_jit_add_hint() local 1105 dst = tmp; in zend_jit_add_hint()
|