/PHP-7.4/Zend/ |
H A D | zend_vm_trace_map.h | 70 …fprintf(f, ADDR_FMT" "ADDR_FMT" t %s\n", prev_addr, Z_LVAL_P(val) - prev_addr, ZSTR_VAL(prev_key)); in zend_vm_trace_init() 76 fprintf(f, ADDR_FMT" "ADDR_FMT" t %s\n", prev_addr, 0, ZSTR_VAL(prev_key)); in zend_vm_trace_init()
|
H A D | zend_compile.c | 5385 ZSTR_VAL(name)); in zend_compile_params() 5734 "%s::%s() must be omitted", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_begin_method_decl() 5753 ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_begin_method_decl() 5764 ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_begin_method_decl() 5768 if (ZSTR_VAL(lcname)[0] != '_' || ZSTR_VAL(lcname)[1] != '_') { in zend_begin_method_decl() 6132 ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_compile_prop_decl() 6137 ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_compile_prop_decl() 6312 "%s is used in %s", ZSTR_VAL(name), ZSTR_VAL(ce->name)); in zend_compile_use_trait() 6516 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl() 6520 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl() [all …]
|
H A D | zend_objects.c | 115 ZSTR_VAL(object->ce->name), in zend_objects_destroy_object() 116 scope ? ZSTR_VAL(scope->name) : ""); in zend_objects_destroy_object() 122 ZSTR_VAL(object->ce->name)); in zend_objects_destroy_object() 134 ZSTR_VAL(object->ce->name), in zend_objects_destroy_object() 135 scope ? ZSTR_VAL(scope->name) : ""); in zend_objects_destroy_object() 141 ZSTR_VAL(object->ce->name)); in zend_objects_destroy_object()
|
H A D | zend_execute.c | 639 ZSTR_VAL(prop->ce->name), in zend_throw_access_uninit_prop_by_ref_error() 906 ZSTR_VAL(info->ce->name), in zend_verify_property_type_error() 913 ZSTR_VAL(info->ce->name), in zend_verify_property_type_error() 1555 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_abstract_method() 1673 ZSTR_VAL(prop->ce->name), in zend_throw_incdec_prop_error() 1679 ZSTR_VAL(prop->ce->name), in zend_throw_incdec_prop_error() 2033 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_non_static_method_call() 2038 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_non_static_method_call() 3116 ZSTR_VAL(prop1->ce->name), in zend_throw_ref_type_error_type() 3130 ZSTR_VAL(prop->ce->name), in zend_throw_ref_type_error_zval() [all …]
|
H A D | zend_builtin_functions.c | 608 RETURN_LONG(zend_binary_strcmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2))); in ZEND_FUNCTION() 630 RETURN_LONG(zend_binary_strncmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2), len)); in ZEND_FUNCTION() 645 RETURN_LONG(zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2))); in ZEND_FUNCTION() 667 RETURN_LONG(zend_binary_strncasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2), len)); in ZEND_FUNCTION() 868 if (zend_memnstr(ZSTR_VAL(name), "::", sizeof("::") - 1, ZSTR_VAL(name) + ZSTR_LEN(name))) { in ZEND_FUNCTION() 1287 ret = memcmp(ZSTR_VAL(lcname), ZSTR_VAL(key), ZSTR_LEN(key)) == 0; in same_name() 1462 if (ZSTR_VAL(name)[0] == '\\') { in class_exists_impl() 1465 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 1); in class_exists_impl() 1520 if (ZSTR_VAL(name)[0] == '\\') { in ZEND_FUNCTION() 1523 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 1); in ZEND_FUNCTION() [all …]
|
H A D | zend_operators.c | 1622 ZSTR_VAL(str)[i] = 0; in bitwise_and_function() 1700 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function() 1929 ret = zend_binary_strcasecmp_l(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str1)); in string_compare_function_ex() 1931 ret = zend_binary_strcmp(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2)); in string_compare_function_ex() 1953 int ret = zend_binary_strcmp(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2)); in string_compare_function() 1989 int ret = strcoll(ZSTR_VAL(str1), ZSTR_VAL(str2)); in string_locale_compare_function() 2440 ZSTR_VAL(t)[0] = '1'; in increment_string() 2443 ZSTR_VAL(t)[0] = 'A'; in increment_string() 2446 ZSTR_VAL(t)[0] = 'a'; in increment_string() 2704 memcpy(ZSTR_VAL(res), ZSTR_VAL(str), p - (unsigned char*)ZSTR_VAL(str)); in zend_string_tolower_ex() [all …]
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 1247 if (ZSTR_VAL(mailbox)[0] != '{' && php_check_open_basedir(ZSTR_VAL(mailbox))) { in php_imap_do_open() 1324 if (ZSTR_VAL(mailbox)[0] != '{' && php_check_open_basedir(ZSTR_VAL(mailbox))) { in PHP_FUNCTION() 1546 …RETURN_BOOL(imap_setacl(imap_le_struct->imap_stream, ZSTR_VAL(mailbox), ZSTR_VAL(id), ZSTR_VAL(rig… in PHP_FUNCTION() 1915 mail_list(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION() 1955 mail_list(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION() 2001 mail_scan(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat), ZSTR_VAL(content)); in PHP_FUNCTION() 2237 mail_lsub(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION() 2278 mail_lsub(imap_le_struct->imap_stream, ZSTR_VAL(ref), ZSTR_VAL(pat)); in PHP_FUNCTION() 4232 …if (_php_imap_mail(ZSTR_VAL(to), ZSTR_VAL(subject), ZSTR_VAL(message), headers?ZSTR_VAL(headers):N… in PHP_FUNCTION() 4233 bcc?ZSTR_VAL(bcc):NULL, rpath?ZSTR_VAL(rpath):NULL)) { in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/intl/ |
H A D | intl_convert.c | 141 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8() 151 ZSTR_VAL(dst)[dst_len] = 0; in intl_convert_utf16_to_utf8()
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_olechar.c | 114 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr() 120 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr() 143 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
|
/PHP-7.4/ext/reflection/ |
H A D | php_reflection.c | 374 _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/ext/pcre/ |
H A D | php_pcre.c | 605 memcpy(ZSTR_VAL(key), ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)) + 1); in pcre_get_compiled_regex_cache_ex() 606 memcpy(ZSTR_VAL(key) + ZSTR_LEN(BG(locale_string)), ZSTR_VAL(regex), ZSTR_LEN(regex) + 1); in pcre_get_compiled_regex_cache_ex() 621 p = ZSTR_VAL(regex); in pcre_get_compiled_regex_cache_ex() 1704 walk = ZSTR_VAL(replace_str); in php_pcre_replace_impl() 1744 memcpy(&ZSTR_VAL(result)[result_len], ZSTR_VAL(replace_str), ZSTR_LEN(replace_str)+1); in php_pcre_replace_impl() 1750 walk = ZSTR_VAL(replace_str); in php_pcre_replace_impl() 1981 memcpy(ZSTR_VAL(result) + result_len, ZSTR_VAL(eval_result), ZSTR_LEN(eval_result)); in php_pcre_replace_func_impl() 2129 ZSTR_VAL(subject_str), in php_pcre_replace_array() 2185 ZSTR_VAL(subject_str), in php_replace_in_subject() 2754 in_str = ZSTR_VAL(str); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/spl/ |
H A D | spl_engine.h | 36 …zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.f… in spl_instantiate_arg_ex1() 47 …zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.f… in spl_instantiate_arg_ex2()
|
/PHP-7.4/ext/standard/ |
H A D | var.c | 47 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 D | html.c | 907 for (p = old, q = ZSTR_VAL(ret); p < lim;) { in traverse_for_entities() 996 ZSTR_LEN(ret) = (size_t)(q - ZSTR_VAL(ret)); in traverse_for_entities() 1058 if (!memchr(ZSTR_VAL(str), '&', ZSTR_LEN(str))) { in php_unescape_html_entities() 1283 ZSTR_VAL(replaced)[len++] = '&'; in php_escape_html_entities_ex() 1284 memcpy(&ZSTR_VAL(replaced)[len], rep, rep_len); in php_escape_html_entities_ex() 1286 ZSTR_VAL(replaced)[len++] = ';'; in php_escape_html_entities_ex() 1320 memcpy(ZSTR_VAL(replaced) + len, mbsequence, mbseqlen); in php_escape_html_entities_ex() 1323 ZSTR_VAL(replaced)[len++] = mbsequence[0]; in php_escape_html_entities_ex() 1372 ZSTR_VAL(replaced)[len++] = '&'; in php_escape_html_entities_ex() 1375 ZSTR_VAL(replaced)[len++] = ';'; in php_escape_html_entities_ex() [all …]
|
H A D | assert.c | 69 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH() 188 zend_throw_error(NULL, "Failure evaluating code: %s%s:\"%s\"", PHP_EOL, ZSTR_VAL(str), myeval); in PHP_FUNCTION() 253 zend_throw_exception(assertion_error_ce, ZSTR_VAL(str), E_ERROR); in PHP_FUNCTION() 266 php_error_docref(NULL, E_WARNING, "%s: \"%s\" failed", ZSTR_VAL(str), myeval); in PHP_FUNCTION() 268 php_error_docref(NULL, E_WARNING, "%s failed", ZSTR_VAL(str)); in PHP_FUNCTION()
|
H A D | base64.c | 616 o = (unsigned char *)ZSTR_VAL(result); in php_base64_encode() 644 ZSTR_LEN(result) = (o - (unsigned char *)ZSTR_VAL(result)); in php_base64_encode() 657 o = (unsigned char *)ZSTR_VAL(result); in php_base64_encode_ssse3() 663 ZSTR_LEN(result) = (o - (unsigned char *)ZSTR_VAL(result)); in php_base64_encode_ssse3() 790 o = (unsigned char *)ZSTR_VAL(result); in php_base64_decode_ex() 847 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex() 866 o = (unsigned char *)ZSTR_VAL(result); in php_base64_decode_ex_ssse3() 870 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3() 893 p = (unsigned char *)ZSTR_VAL(result); in php_base64_encode_default() 897 ZSTR_LEN(result) = (p - (unsigned char *)ZSTR_VAL(result)); in php_base64_encode_default() [all …]
|
H A D | metaphone.c | 42 if (metaphone((unsigned char *)ZSTR_VAL(str), ZSTR_LEN(str), phones, &result, 1) == 0) { in PHP_FUNCTION() 148 ZSTR_VAL(*phoned_word)[p_idx++] = c; \ 157 ZSTR_VAL(*phoned_word)[p_idx] = '\0'; \
|
/PHP-7.4/ext/intl/breakiterator/ |
H A D | rulebasedbreakiterator_methods.cpp | 72 "RuleBasedBreakIterator from rules (%s)", parse_error_str.s? ZSTR_VAL(parse_error_str.s) : ""); in _php_intlrbbi_constructor_body() 209 memcpy(ZSTR_VAL(ret_rules), rules, rules_len); in PHP_FUNCTION() 210 ZSTR_VAL(ret_rules)[rules_len] = '\0'; in PHP_FUNCTION()
|
H A D | breakiterator_iterators.cpp | 177 memcpy(ZSTR_VAL(res), &s[cur], ZSTR_LEN(res)); in _breakiterator_parts_move_forward() 178 ZSTR_VAL(res)[ZSTR_LEN(res)] = '\0'; in _breakiterator_parts_move_forward() 250 zend_str_tolower_copy(ZSTR_VAL(lc_method_name), ZSTR_VAL(method), ZSTR_LEN(method)); in IntlPartsIterator_get_method() 256 && memcmp("getrulestatus", ZSTR_VAL(lc_method_name), ZSTR_LEN(lc_method_name)) == 0) { in IntlPartsIterator_get_method()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_list.c | 120 …rce\" class=\"%s\"", "The source of the requested class (%s) cannot be found", ZSTR_VAL(ce->name)); in PHPDBG_LIST() 123 …internalclass\" class=\"%s\"", "The class requested (%s) is not user defined", ZSTR_VAL(ce->name)); in PHPDBG_LIST() 153 phpdbg_xml("<list %r file=\"%s\">", ZSTR_VAL(filename)); in phpdbg_list_file() 183 …\" function=\"%s\"", "The function requested (%s) is not user defined", ZSTR_VAL(fbc->common.funct… in phpdbg_list_function() 279 phpdbg_resolve_pending_file_break(ZSTR_VAL(ret->filename)); in phpdbg_compile_file() 285 char *filename = (char *)(file->opened_path ? ZSTR_VAL(file->opened_path) : file->filename); in phpdbg_init_compile_file()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 424 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_function_hash_copy() 454 ZSTR_VAL(function1->common.function_name), in zend_accel_function_hash_copy() 455 ZSTR_VAL(function2->op_array.filename), in zend_accel_function_hash_copy() 458 zend_error(E_ERROR, "Cannot redeclare %s()", ZSTR_VAL(function1->common.function_name)); in zend_accel_function_hash_copy() 476 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_function_hash_copy_from_shm() 498 ZSTR_VAL(function1->common.function_name), in zend_accel_function_hash_copy_from_shm() 499 ZSTR_VAL(function2->op_array.filename), in zend_accel_function_hash_copy_from_shm() 519 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_class_hash_copy() 530 zend_get_object_type(ce1), ZSTR_VAL(ce1->name)); in zend_accel_class_hash_copy() 556 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_class_hash_copy_from_shm() [all …]
|
H A D | zend_accelerator_module.c | 115 memsize = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 155 size = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 199 percentage = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 235 if ((ZSTR_LEN(new_value) == 2 && strcasecmp("on", ZSTR_VAL(new_value)) == 0) || in ZEND_INI_MH() 236 (ZSTR_LEN(new_value) == 3 && strcasecmp("yes", ZSTR_VAL(new_value)) == 0) || in ZEND_INI_MH() 238 atoi(ZSTR_VAL(new_value)) != 0) { in ZEND_INI_MH() 257 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) || 258 zend_stat(ZSTR_VAL(new_value), &buf) != 0 || 261 access(ZSTR_VAL(new_value), R_OK | W_OK | X_OK) != 0) { 263 _access(ZSTR_VAL(new_value), 06) != 0) { [all …]
|
/PHP-7.4/ext/zlib/ |
H A D | zlib.c | 350 Z.next_out = (Bytef *) ZSTR_VAL(out); in php_zlib_encode() 360 ZSTR_VAL(out)[ZSTR_LEN(out)] = '\0'; in php_zlib_encode() 763 memcpy(*dict, ZSTR_VAL(str), ZSTR_LEN(str)); in zlib_create_dictionary_string() 794 if (ZSTR_VAL(*ptr)[i] == 0) { in zlib_create_dictionary_string() 811 memcpy(dictptr, ZSTR_VAL(*ptr), ZSTR_LEN(*ptr)); in zlib_create_dictionary_string() 953 ctx->next_out = (Bytef *) ZSTR_VAL(out); in PHP_FUNCTION() 1017 ZSTR_VAL(out)[buffer_used] = 0; in PHP_FUNCTION() 1210 ctx->next_out = (Bytef *) ZSTR_VAL(out); in PHP_FUNCTION() 1222 ctx->next_out = (Bytef *) ZSTR_VAL(out) + buffer_used; in PHP_FUNCTION() 1231 ZSTR_VAL(out)[ZSTR_LEN(out)] = 0; in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 48 php_info_print_table_row(2, ZSTR_VAL(string_key), Z_STRVAL_P(values_entry)); in mysqlnd_minfo_print_hash() 131 php_info_print_table_row(2, "Loaded plugins", tmp_str.s? ZSTR_VAL(tmp_str.s) : ""); in PHP_MINFO_FUNCTION() 136 php_info_print_table_row(2, "API Extensions", tmp_str.s? ZSTR_VAL(tmp_str.s) : ""); in PHP_MINFO_FUNCTION() 184 ZEND_ATOL(long_value, ZSTR_VAL(new_value)); in PHP_INI_MH()
|
/PHP-7.4/win32/ |
H A D | signal.c | 123 …php_error_docref(NULL, E_WARNING, "%s is not a callable function name error", ZSTR_VAL(func_name)); in PHP_FUNCTION() 130 php_error_docref(NULL, E_WARNING, "Unable to attach %s as a CTRL handler", ZSTR_VAL(func_name)); in PHP_FUNCTION()
|