Home
last modified time | relevance | path

Searched refs:ZSTR_VAL (Results 126 – 150 of 258) sorted by relevance

1234567891011

/PHP-7.4/ext/xmlrpc/
H A Dxmlrpc-epi-php.c517 xReturn = XMLRPC_CreateValueBase64(key, ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_to_XMLRPC_worker()
586 XMLRPC_AddValueToVector(xReturn, PHP_to_XMLRPC_worker(ZSTR_VAL(my_key), pIter, depth++)); in PHP_to_XMLRPC_worker()
941 …add introspection data returned from %s(), improper element structure", ZSTR_VAL(php_function_name… in php_xmlrpc_introspection_callback()
948 …error.column, err.xml_elem_error.line, err.xml_elem_error.parser_error, ZSTR_VAL(php_function_name… in php_xmlrpc_introspection_callback()
950 …NULL, E_WARNING, "Unable to add introspection data returned from %s()", ZSTR_VAL(php_function_name… in php_xmlrpc_introspection_callback()
956 …php_error_docref(NULL, E_WARNING, "Error calling user introspection callback: %s()", ZSTR_VAL(php_… in php_xmlrpc_introspection_callback()
959 php_error_docref(NULL, E_WARNING, "Invalid callback '%s' passed", ZSTR_VAL(php_function_name)); in php_xmlrpc_introspection_callback()
/PHP-7.4/ext/mysqli/
H A Dmysqli_prop.c45 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); \
58 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); \
71 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name)); \
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_watch.c157 …watchhit", "variable=\"%s\"", "Breaking on watchpoint %.*s", (int) ZSTR_LEN(name), ZSTR_VAL(name)); in phpdbg_print_watch_diff()
525 …: "%.*s->%s", (int) ZSTR_LEN(element->str) - 2, ZSTR_VAL(element->str), phpdbg_get_property_key(ZS…
527 …ONG_FMT "]" : "%.*s->" ZEND_LONG_FMT, (int) ZSTR_LEN(element->str) - 2, ZSTR_VAL(element->str), id…
569 child->str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str));
717 …s has been removed, removing watchpoint%s", (int) ZSTR_LEN(child->str), ZSTR_VAL(child->str), (chi…
986 …lement=\"%.*s\"", "Element %.*s has been added to watchpoint", (int) ZSTR_LEN(str), ZSTR_VAL(str));
1183 … on=\"%s\" type=\"%s\"", "%.*s (%s, %s)", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str), (e…
1207 str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str));
1257 …SIVE_ROOT) ? " recursive" : "", element->id, (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str));
H A Dphpdbg_bp.c143 ZSTR_VAL(filename), in phpdbg_export_breakpoints_to_string()
180 ZSTR_VAL(filename), in phpdbg_export_breakpoints_to_string()
230 ZSTR_VAL(filename), conditional->param.file.line, in phpdbg_export_breakpoints_to_string()
323 …if (!(pending = ((fileht = phpdbg_resolve_pending_file_break_ex(ZSTR_VAL(file), ZSTR_LEN(file), pa… in phpdbg_set_breakpoint_file()
348ZSTR_VAL(cur), ZSTR_LEN(cur), filelen > ZSTR_LEN(cur) ? file[filelen - ZSTR_LEN(cur) - 1] : '?', f… in phpdbg_resolve_pending_file_break_ex()
356 …|| filelen == ZSTR_LEN(cur)) && !memcmp(file + filelen - ZSTR_LEN(cur), ZSTR_VAL(cur), ZSTR_LEN(cu… in phpdbg_resolve_pending_file_break_ex()
595 …NULL && new_break->class_len == ZSTR_LEN(op_array->filename) && !memcmp(ZSTR_VAL(op_array->filenam… in phpdbg_resolve_opline_break()
947 …phpdbg_debug("Op at: %.*s %d\n", ZSTR_LEN(op_array->filename), ZSTR_VAL(op_array->filename), (*EG(… in phpdbg_find_breakpoint_file()
1047 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param()
H A Dphpdbg.c69 return phpdbg_eol_global_update(ZSTR_VAL(new_value)); in PHP_INI_MH()
307 if (VCWD_STAT(ZSTR_VAL(exec), &sb) != FAILURE) { in PHP_FUNCTION()
315 PHPDBG_G(exec) = zend_strndup(ZSTR_VAL(exec), ZSTR_LEN(exec)); in PHP_FUNCTION()
322 …(E_WARNING, "Failed to set execution context (%s), not a regular file or symlink", ZSTR_VAL(exec)); in PHP_FUNCTION()
326 …zend_error(E_WARNING, "Failed to set execution context (%s) the file does not exist", ZSTR_VAL(exe… in PHP_FUNCTION()
588 …+ 2, "%.*s::%.*s", (int) ZSTR_LEN(name), ZSTR_VAL(name), (int) ZSTR_LEN(func->op_array.function_na… in PHP_FUNCTION()
684 …::%.*s", (int) ZSTR_LEN(last_scope->name), ZSTR_VAL(last_scope->name), (int) ZSTR_LEN(last_functio… in PHP_FUNCTION()
2108 sprintf(ZSTR_VAL(backup_phpdbg_compile), "?>%.*s", (int) data->len, data->buf); in main()
/PHP-7.4/ext/spl/
H A Dspl_iterators.c1036 smart_str_appendl(&str, ZSTR_VAL(object->prefix[0].s), ZSTR_LEN(object->prefix[0].s)); in spl_recursive_tree_iterator_get_prefix()
1042 smart_str_appendl(&str, ZSTR_VAL(object->prefix[1].s), ZSTR_LEN(object->prefix[1].s)); in spl_recursive_tree_iterator_get_prefix()
1044 smart_str_appendl(&str, ZSTR_VAL(object->prefix[2].s), ZSTR_LEN(object->prefix[2].s)); in spl_recursive_tree_iterator_get_prefix()
1052 smart_str_appendl(&str, ZSTR_VAL(object->prefix[3].s), ZSTR_LEN(object->prefix[3].s)); in spl_recursive_tree_iterator_get_prefix()
1054 smart_str_appendl(&str, ZSTR_VAL(object->prefix[4].s), ZSTR_LEN(object->prefix[4].s)); in spl_recursive_tree_iterator_get_prefix()
1059 smart_str_appendl(&str, ZSTR_VAL(object->prefix[5].s), ZSTR_LEN(object->prefix[5].s)); in spl_recursive_tree_iterator_get_prefix()
1236 ptr = ZSTR_VAL(str); in SPL_METHOD()
1290 ptr = ZSTR_VAL(str); in SPL_METHOD()
1410 ZSTR_VAL((spl_ce_##classname)->name), ZSTR_VAL((spl_ce_##classname)->name)); \
2042 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(subject), ZSTR_LEN(subject), 0, 0, match_data, php_pcre_… in SPL_METHOD()
[all …]
H A Dspl_functions.c142 return zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), prop_name, prop_len, 0); in spl_gen_private_prop_name()
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/sockets/
H A Dsockets.c1282 retval = php_read(php_sock, ZSTR_VAL(tmpbuf), length, 0);
1284 retval = recv(php_sock->bsd_socket, ZSTR_VAL(tmpbuf), length, 0);
1310 ZSTR_VAL(tmpbuf)[ZSTR_LEN(tmpbuf)] = '\0' ;
1725 if ((retval = recv(php_sock->bsd_socket, ZSTR_VAL(recv_buf), len, flags)) < 1) {
1730 ZSTR_VAL(recv_buf)[ZSTR_LEN(recv_buf)] = '\0';
1824 ZSTR_VAL(recv_buf)[ZSTR_LEN(recv_buf)] = '\0';
1848 ZSTR_VAL(recv_buf)[ZSTR_LEN(recv_buf)] = '\0';
1875 ZSTR_VAL(recv_buf)[ZSTR_LEN(recv_buf)] = '\0';
2600 php_error_docref(NULL, E_NOTICE, "Unknown hint %s", ZSTR_VAL(key));
2606 if (getaddrinfo(ZSTR_VAL(hostname), service, &hints, &result) != 0) {
[all …]
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c141 if (strncmp(name, ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1)) {
208 char *s = ZSTR_VAL(stmt->columns[col].name); in pdo_stmt_describe_columns()
337 … strncmp(ZSTR_VAL(stmt->columns[i].name), ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1) == 0) { in really_register_bound_param()
354 if (is_param && ZSTR_VAL(param->name)[0] != ':') { in really_register_bound_param()
356 ZSTR_VAL(temp)[0] = ':'; in really_register_bound_param()
357 memmove(ZSTR_VAL(temp) + 1, ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1); in really_register_bound_param()
360 param->name = zend_string_init(ZSTR_VAL(param->name), ZSTR_LEN(param->name), 0); in really_register_bound_param()
2131 ZSTR_LEN(key), (int) ZSTR_LEN(key), ZSTR_VAL(key)); in PHP_METHOD()
2142 param->name ? ZSTR_VAL(param->name) : "", in PHP_METHOD()
2472 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_read()
[all …]
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c165 params[i++] = estrndup(ZSTR_VAL(string_key), ZSTR_LEN(string_key)); in php_xsl_xslt_make_params()
329 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", ZSTR_VAL(callable)); in xsl_ext_function_php()
332 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'", ZSTR_VAL(callable)); in xsl_ext_function_php()
654 … "Expecting class compatible with %s, '%s' given", ZSTR_VAL(curclass_name), ZSTR_VAL(ret_class)); in PHP_FUNCTION()
/PHP-7.4/main/
H A Dphp_variables.c353 vars->ptr = ZSTR_VAL(vars->str.s); in add_post_vars()
354 vars->end = ZSTR_VAL(vars->str.s) + ZSTR_LEN(vars->str.s); in add_post_vars()
365 if (!eof && ZSTR_VAL(vars->str.s) != vars->ptr) { in add_post_vars()
366 memmove(ZSTR_VAL(vars->str.s), vars->ptr, ZSTR_LEN(vars->str.s) = vars->end - vars->ptr); in add_post_vars()
743 || memcmp(ZSTR_VAL(string_key), "GLOBALS", sizeof("GLOBALS") - 1)) { in php_autoglobal_merge()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c1929 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern()
1934 ZSTR_VAL(t)[j++] = '\\'; in convert_libmagic_pattern()
1935 ZSTR_VAL(t)[j] = '~'; in convert_libmagic_pattern()
1938 ZSTR_VAL(t)[j++] = '\\'; in convert_libmagic_pattern()
1939 ZSTR_VAL(t)[j++] = 'x'; in convert_libmagic_pattern()
1940 ZSTR_VAL(t)[j++] = '0'; in convert_libmagic_pattern()
1941 ZSTR_VAL(t)[j] = '0'; in convert_libmagic_pattern()
1948 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern()
1951 ZSTR_VAL(t)[j++] = 'i'; in convert_libmagic_pattern()
1954 ZSTR_VAL(t)[j++] = 'm'; in convert_libmagic_pattern()
[all …]
/PHP-7.4/ext/soap/
H A Dsoap.c478 *p = (char)atoi(ZSTR_VAL(new_value)); in ZEND_GET_MODULE()
489 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
494 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
501 p = ZSTR_VAL(new_value); in PHP_INI_MH()
946 ZSTR_VAL(faultcode_val), ZSTR_VAL(faultstring_val), ZSTR_VAL(file_val), line_val, in PHP_METHOD()
1030 strncmp(ZSTR_VAL(name), "type_ns", sizeof("type_ns")-1) == 0) { in soap_create_typemap()
1036 strncmp(ZSTR_VAL(name), "to_xml", sizeof("to_xml")-1) == 0) { in soap_create_typemap()
2716 add_soap_fault(this_ptr, "Client", ZSTR_VAL(error.s), NULL, NULL);
4683 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4806 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
[all …]
/PHP-7.4/ext/opcache/Optimizer/
H A Dssa_integrity.c96 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", \
97 op_array->function_name ? ZSTR_VAL(op_array->function_name) : "{main}", extra); \
106 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "")
/PHP-7.4/ext/standard/
H A Dproc_open.c131 memcpy(p, ZSTR_VAL(key), ZSTR_LEN(key)); in _php_array_to_envp()
136 memcpy(p, ZSTR_VAL(str), ZSTR_LEN(str)); in _php_array_to_envp()
405 if (strlen(ZSTR_VAL(str)) != ZSTR_LEN(str)) { in get_valid_arg_string()
463 append_win_escaped_arg(&str, ZSTR_VAL(arg_str)); in create_win_command_from_args()
556 command = pestrdup(ZSTR_VAL(arg_str), is_persistent); in PHP_FUNCTION()
559 argv[i++] = estrdup(ZSTR_VAL(arg_str)); in PHP_FUNCTION()
H A Dfile.c676 bytes_written = php_stream_write(stream, ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
765 s = ZSTR_VAL(target_buf); in PHP_FUNCTION()
766 e = ZSTR_VAL(target_buf) + ZSTR_LEN(target_buf); in PHP_FUNCTION()
789 if (p != ZSTR_VAL(target_buf) && eol_marker == '\n' && *(p - 1) == '\r') { in PHP_FUNCTION()
832 ZSTR_VAL(p)[63] = '\0'; in PHP_FUNCTION()
837 …if ((fd = php_open_temporary_fd_ex(dir, ZSTR_VAL(p), &opened_path, PHP_TMP_FILE_OPEN_BASEDIR_CHECK… in PHP_FUNCTION()
1044 if (php_stream_get_line(stream, ZSTR_VAL(str), len, &line_len) == NULL) { in PHP_FUNCTION()
1850 #define FPUTCSV_FLD_CHK(c) memchr(ZSTR_VAL(field_str), c, ZSTR_LEN(field_str))
1943 char *ch = ZSTR_VAL(field_str); in php_fputcsv()
1973 ret = php_stream_write(stream, ZSTR_VAL(csvline.s), ZSTR_LEN(csvline.s)); in php_fputcsv()
/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/ext/dom/
H A Dattr.c172 xmlNodeSetContentLen((xmlNodePtr) attrp, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_attr_value_write()
H A Dxpath.c195 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", ZSTR_VAL(callable)); in dom_xpath_ext_function_php()
197 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'.", ZSTR_VAL(callable)); in dom_xpath_ext_function_php()
221 valuePush(ctxt, xmlXPathNewString((xmlChar *) ZSTR_VAL(str))); in dom_xpath_ext_function_php()
H A Dphp_dom.h139 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\
/PHP-7.4/ext/intl/transliterator/
H A Dtransliterator_methods.c188 …"create ICU transliterator from rules (%s)", parse_error_str.s? ZSTR_VAL(parse_error_str.s) : "" ); in PHP_FUNCTION()
343 "transliterator with ID \"%s\" (%s)", Z_STRVAL_P( arg1 ), ZSTR_VAL(message) ); in PHP_FUNCTION()
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_driver.c545 php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname)); in PHP_METHOD()
617 php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname)); in PHP_METHOD()
624 php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname)); in PHP_METHOD()
677 php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname)); in PHP_METHOD()
/PHP-7.4/ext/pdo_oci/
H A Doci_driver.c469 (dvoid *) ZSTR_VAL(action), (ub4) ZSTR_LEN(action), in oci_handle_set_attribute()
490 (dvoid *) ZSTR_VAL(client_info), (ub4) ZSTR_LEN(client_info), in oci_handle_set_attribute()
511 (dvoid *) ZSTR_VAL(identifier), (ub4) ZSTR_LEN(identifier), in oci_handle_set_attribute()
532 (dvoid *) ZSTR_VAL(module), (ub4) ZSTR_LEN(module), in oci_handle_set_attribute()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_create.cpp216 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()

Completed in 158 milliseconds

1234567891011