Home
last modified time | relevance | path

Searched refs:ZSTR_VAL (Results 51 – 75 of 258) sorted by last modified time

1234567891011

/PHP-7.4/ext/standard/
H A Dvar.c47 PHPWRITE(ZSTR_VAL(key), ZSTR_LEN(key)); in php_array_element_dump()
72 PHPWRITE(ZSTR_VAL(key), ZSTR_LEN(key)); in php_object_property_dump()
239 PHPWRITE(ZSTR_VAL(key), ZSTR_LEN(key)); in zval_array_element_dump()
623 PHPWRITE(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); in php_var_export()
648 PHPWRITE(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); in PHP_FUNCTION()
808 "\"%s\" is returned from __sleep multiple times", ZSTR_VAL(error_name)); in php_var_serialize_try_add_sleep_prop()
850 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in php_var_serialize_get_sleep_props()
851 ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props()
901 if (incomplete_class && strcmp(ZSTR_VAL(key), MAGIC_MEMBER) == 0) { in php_var_serialize_nested_data()
908 php_var_serialize_string(buf, ZSTR_VAL(key), ZSTR_LEN(key)); in php_var_serialize_nested_data()
[all …]
H A Dinfo.c63 written = php_output_write(ZSTR_VAL(new_str), ZSTR_LEN(new_str)); in php_info_print_html_esc()
113 php_info_print_html_esc(ZSTR_VAL(key), ZSTR_LEN(key)); in php_info_print_stream_hash()
115 php_info_print(ZSTR_VAL(key)); in php_info_print_stream_hash()
140 php_strtolower(ZSTR_VAL(url_name), ZSTR_LEN(url_name)); in php_info_print_module()
141 … php_info_printf("<h2><a name=\"module_%s\">%s</a></h2>\n", ZSTR_VAL(url_name), zend_module->name); in php_info_print_module()
192 php_info_print_html_esc(ZSTR_VAL(string_key), ZSTR_LEN(string_key)); in php_print_gpcse_array()
194 php_info_print(ZSTR_VAL(string_key)); in php_print_gpcse_array()
210 php_info_print_html_esc(ZSTR_VAL(str), ZSTR_LEN(str)); in php_print_gpcse_array()
224 php_info_print_html_esc(ZSTR_VAL(str), ZSTR_LEN(str)); in php_print_gpcse_array()
227 php_info_print(ZSTR_VAL(str)); in php_print_gpcse_array()
[all …]
H A Dhttp_fopen_wrapper.c253 smart_str_appends(&header, ZSTR_VAL(resource->host)); in php_stream_url_wrap_http_ex()
464 php_strtolower(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_stream_url_wrap_http_ex()
465 t = ZSTR_VAL(tmp); in php_stream_url_wrap_http_ex()
532 strcpy(scratch, ZSTR_VAL(resource->user)); in php_stream_url_wrap_http_ex()
538 strcat(scratch, ZSTR_VAL(resource->pass)); in php_stream_url_wrap_http_ex()
544 smart_str_appends(&req_buf, ZSTR_VAL(stmp)); in php_stream_url_wrap_http_ex()
854 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex()
858 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex()
865 ZSTR_VAL(resource->path)[0] == '/' && in php_stream_url_wrap_http_ex()
866 ZSTR_VAL(resource->path)[1] == '\0') { in php_stream_url_wrap_http_ex()
[all …]
/PHP-7.4/main/streams/
H A Dplain_wrapper.c227 stream->orig_path = estrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path)); in _php_stream_fopen_temporary_file()
497 php_win32_ioutil_unlink(ZSTR_VAL(data->temp_name)); in php_stdiop_close()
499 unlink(ZSTR_VAL(data->temp_name)); in php_stdiop_close()
1607 const char *exec_fname = ZSTR_VAL(exec_filename); in _php_stream_fopen_with_path()
/PHP-7.4/ext/opcache/Optimizer/
H A Dsccp.c605 memcpy(ZSTR_VAL(new_str), Z_STRVAL_P(result), Z_STRLEN_P(result)); in ct_eval_assign_dim()
606 memset(ZSTR_VAL(new_str) + Z_STRLEN_P(result), ' ', index - Z_STRLEN_P(result)); in ct_eval_assign_dim()
607 ZSTR_VAL(new_str)[index + 1] = 0; in ct_eval_assign_dim()
614 Z_STRVAL_P(result)[index] = ZSTR_VAL(value_str)[0]; in ct_eval_assign_dim()
H A Dzend_inference.c872 ZSTR_VAL(op_array->function_name), in zend_inference_calc_range()
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c280 ebuf.s ? ZSTR_VAL(ebuf.s) : ""); in php_openssl_handle_ssl_error()
338 result = strcasecmp(expected, ZSTR_VAL(fingerprint)); in php_openssl_x509_fingerprint_cmp()
375 if (php_openssl_x509_fingerprint_cmp(peer, ZSTR_VAL(key), Z_STRVAL_P(current)) != 0) { in php_openssl_x509_fingerprint_match()
1453 if (!VCWD_REALPATH(ZSTR_VAL(local_cert_str), resolved_cert_path_buff)) { in php_openssl_enable_server_sni()
1456 ZSTR_VAL(local_cert_str) in php_openssl_enable_server_sni()
1475 if (!VCWD_REALPATH(ZSTR_VAL(local_pk_str), resolved_pk_path_buff)) { in php_openssl_enable_server_sni()
1478 ZSTR_VAL(local_pk_str) in php_openssl_enable_server_sni()
1501 sslsock->sni_certs[i].name = pestrdup(ZSTR_VAL(key), php_stream_is_persistent(stream)); in php_openssl_enable_server_sni()
2635 const char * host = ZSTR_VAL(url->host); in php_openssl_get_url_name()
/PHP-7.4/main/
H A Dfopen_wrappers.c89 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
96 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
101 if (!new_value || !*ZSTR_VAL(new_value)) { in ZEND_INI_MH()
106 ptr = pathbuf = estrdup(ZSTR_VAL(new_value)); in ZEND_INI_MH()
128 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
589 const char *exec_fname = ZSTR_VAL(exec_filename);
671 const char *exec_fname = ZSTR_VAL(exec_filename);
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c719 if (mysql_options(H->server, MYSQL_INIT_COMMAND, (const char *)ZSTR_VAL(init_cmd))) {
729 if (mysql_options(H->server, MYSQL_READ_DEFAULT_FILE, (const char *)ZSTR_VAL(default_file))) {
739 if (mysql_options(H->server, MYSQL_READ_DEFAULT_GROUP, (const char *)ZSTR_VAL(default_group))) {
763 ssl_key? ZSTR_VAL(ssl_key) : NULL,
764 ssl_cert? ZSTR_VAL(ssl_cert) : NULL,
765 ssl_ca? ZSTR_VAL(ssl_ca) : NULL,
766 ssl_capath? ZSTR_VAL(ssl_capath) : NULL,
767 ssl_cipher? ZSTR_VAL(ssl_cipher) : NULL);
789 if (mysql_options(H->server, MYSQL_SERVER_PUBLIC_KEY, ZSTR_VAL(public_key))) {
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_statement.c276 if (ZSTR_VAL(param->name)[0] == '$') { in pgsql_stmt_param_hook()
277 ZEND_ATOL(param->paramno, ZSTR_VAL(param->name) + 1); in pgsql_stmt_param_hook()
287 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", ZSTR_VAL(param->name)); in pgsql_stmt_param_hook()
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c532 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
534 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
556 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
558 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
586 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
588 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
616 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
618 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
641 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
643 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
[all …]
/PHP-7.4/ext/spl/
H A Dspl_directory.c963 p = zend_memrchr(ZSTR_VAL(ret), '.', ZSTR_LEN(ret)); in SPL_METHOD()
965 idx = p - ZSTR_VAL(ret); in SPL_METHOD()
966 RETVAL_STRINGL(ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1); in SPL_METHOD()
991 p = zend_memrchr(ZSTR_VAL(fname), '.', ZSTR_LEN(fname)); in SPL_METHOD()
993 idx = p - ZSTR_VAL(fname); in SPL_METHOD()
994 RETVAL_STRINGL(ZSTR_VAL(fname) + idx + 1, ZSTR_LEN(fname) - idx - 1); in SPL_METHOD()
H A Dspl_array.c321 zend_error(E_NOTICE, "Undefined index: %s", ZSTR_VAL(offset_key)); in spl_array_get_dimension_ptr()
327 zend_error(E_NOTICE,"Undefined index: %s", ZSTR_VAL(offset_key)); in spl_array_get_dimension_ptr()
337 zend_error(E_NOTICE, "Undefined index: %s", ZSTR_VAL(offset_key)); in spl_array_get_dimension_ptr()
343 zend_error(E_NOTICE,"Undefined index: %s", ZSTR_VAL(offset_key)); in spl_array_get_dimension_ptr()
745 …LL, "Cannot append properties to objects, use %s::offsetSet() instead", ZSTR_VAL(Z_OBJCE_P(object)… in spl_array_iterator_append()
966 } else if (!ZSTR_LEN(string_key) || ZSTR_VAL(string_key)[0]) { in spl_array_skip_protected()
1125 ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array()
1383 if (key && ZSTR_VAL(key)[0] == '\0') continue; in spl_array_object_count_elements_helper()
1900 ZSTR_VAL(Z_STR_P(iterator_class_zv))); in SPL_METHOD()
1905 ZSTR_VAL(Z_STR_P(iterator_class_zv))); in SPL_METHOD()
/PHP-7.4/ext/pcntl/
H A Dpcntl.c1021 strlcpy(*pair, ZSTR_VAL(key), ZSTR_LEN(key) + 1); in PHP_FUNCTION()
1111 …php_error_docref(NULL, E_WARNING, "Specified handler \"%s\" is not callable (%s)", ZSTR_VAL(func_n… in PHP_FUNCTION()
/PHP-7.4/ext/posix/
H A Dposix.c923 if (php_check_open_basedir_ex(ZSTR_VAL(path), 0)) { in PHP_FUNCTION()
927 result = mkfifo(ZSTR_VAL(path), mode); in PHP_FUNCTION()
957 if (php_check_open_basedir_ex(ZSTR_VAL(path), 0)) { in PHP_FUNCTION()
979 result = mknod(ZSTR_VAL(path), mode, php_dev); in PHP_FUNCTION()
/PHP-7.4/ext/soap/
H A Dphp_encoding.c312 id = ZSTR_VAL(prefix.s); in soap_check_zval_ref()
318 id = ZSTR_VAL(prefix.s); in soap_check_zval_ref()
329 id = ZSTR_VAL(prefix.s); in soap_check_zval_ref()
335 id = ZSTR_VAL(prefix.s); in soap_check_zval_ref()
804 ZSTR_VAL(str)[i] = (c - '0') << 4; in to_zval_hexbin()
814 ZSTR_VAL(str)[i] |= c - '0'; in to_zval_hexbin()
816 ZSTR_VAL(str)[i] |= c - 'a' + 10; in to_zval_hexbin()
818 ZSTR_VAL(str)[i] |= c - 'A' + 10; in to_zval_hexbin()
823 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in to_zval_hexbin()
1953 prop_name = ZSTR_VAL(str_key); in to_xml_object()
[all …]
/PHP-7.4/ext/session/
H A Dsession.c322 ZSTR_VAL(outid), ZSTR_LEN(outid), in php_session_create_id()
405 if (!PS(id) || !ZSTR_VAL(PS(id))[0]) { in php_session_initialize()
479 && !memcmp(ZSTR_VAL(val), ZSTR_VAL(PS(session_vars)), ZSTR_LEN(val)) in php_session_save_current_state()
539 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH()
631 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
638 p = ZSTR_VAL(new_value); in PHP_INI_MH()
682 if (atol(ZSTR_VAL(new_value)) < 0) { in PHP_INI_MH()
1452 smart_str_appends(&var, ZSTR_VAL(PS(id))); in php_session_reset_id()
1721 if(!strcasecmp("lifetime", ZSTR_VAL(key))) { in PHP_FUNCTION()
1908 if (!_php_find_ps_module(ZSTR_VAL(name))) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/dom/
H A Dphp_dom.c339 php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", ZSTR_VAL(obj->std.ce->name)); in dom_read_property()
/PHP-7.4/ext/dba/
H A Ddba.c498 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
501 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH()
563 php_info_print_table_row(2, "Supported handlers", ZSTR_VAL(handlers.s)); in PHP_MINFO_FUNCTION()
909 info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
920 info->path = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
923 info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
/PHP-7.4/win32/
H A Dsendmail.c155 result, ZSTR_VAL(result), ZSTR_LEN(result), in php_win32_mail_trim_header()
219 char *lookup = ZSTR_VAL(headers_lc); in TSendMail()
226 } else if (pos1 != ZSTR_VAL(headers_lc) && *(pos1-1) != '\n') { in TSendMail()
278 …, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : NULL, headers ? ZSTR_… in TSendMail()
659 char c, *e2, *e = ZSTR_VAL(data_cln) + ZSTR_LEN(data_cln); in SendText()
660 p = ZSTR_VAL(data_cln); in SendText()
737 snprintf(header_buffer, MAIL_BUFFER_SIZE, "Date: %s\r\n", ZSTR_VAL(dt)); in PostHeader()
/PHP-7.4/Zend/
H A Dzend_hash.c673 && !memcmp(ZSTR_VAL(p->key), str, len)) { in zend_hash_str_find_bucket()
1436 && !memcmp(ZSTR_VAL(p->key), str, len)) { in zend_hash_str_del_ind()
1480 && !memcmp(ZSTR_VAL(p->key), str, len)) { in zend_hash_str_del()
2569 result = memcmp(ZSTR_VAL(p1->key), ZSTR_VAL(p2->key), ZSTR_LEN(p1->key)); in zend_hash_compare_impl()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c374 _class_const_string(str, ZSTR_VAL(key), c, ZSTR_VAL(sub_indent)); in _class_string()
470 _property_string(&prop_str, NULL, ZSTR_VAL(prop_name), ZSTR_VAL(sub_indent), 0); in _class_string()
623 ZSTR_VAL(arg_info->name)); in _parameter_string()
1521 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(fname) + 1, ZSTR_LEN(fname) - 1); in ZEND_METHOD()
2319 "Method %s::%s() does not exist", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in ZEND_METHOD()
3089 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
3097 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name), in reflection_method_invoke()
3134 ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); in reflection_method_invoke()
4290 str_name = ZSTR_VAL(name); in ZEND_METHOD()
4294 zend_str_tolower_copy(ZSTR_VAL(classname), ZSTR_VAL(name), classname_len); in ZEND_METHOD()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c744 …_LONG_FMT "\"", "Uncaught %s in %s on line " ZEND_LONG_FMT, ZSTR_VAL(ex->ce->name), ZSTR_VAL(file)… in phpdbg_handle_exception()
746 phpdbg_writeln("exceptionmsg", "msg=\"%s\"", "%s", ZSTR_VAL(msg)); in phpdbg_handle_exception()
1079 phpdbg_out("#%d: %.*s", i, (int) ZSTR_LEN(s), ZSTR_VAL(s)); in PHPDBG_COMMAND()
1752 ZSTR_VAL(exception->ce->name), ZSTR_VAL(file), line, in phpdbg_execute_ex()
1753 ZSTR_LEN(msg) < 80 ? (int) ZSTR_LEN(msg) : 80, ZSTR_VAL(msg)); in phpdbg_execute_ex()
/PHP-7.4/ext/intl/common/
H A Dcommon_date.cpp142 "initialized", func, ZSTR_VAL(Z_OBJCE_P(z)->name)); in intl_datetime_decompose()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_auth.c894 ret = mysqlnd_sha256_get_rsa_from_pem(ZSTR_VAL(key_str), ZSTR_LEN(key_str)); in mysqlnd_sha256_get_rsa_key()
896 DBG_INF_FMT("Public key:%*.s", ZSTR_LEN(key_str), ZSTR_VAL(key_str)); in mysqlnd_sha256_get_rsa_key()
1177 ret = mysqlnd_sha256_get_rsa_from_pem(ZSTR_VAL(key_str), ZSTR_LEN(key_str)); in mysqlnd_caching_sha2_get_key()
1179 DBG_INF_FMT("Public key:%*.s", ZSTR_LEN(key_str), ZSTR_VAL(key_str)); in mysqlnd_caching_sha2_get_key()

Completed in 221 milliseconds

1234567891011