/PHP-7.4/main/streams/ |
H A D | memory.c | 740 ilen = ZSTR_LEN(base64_comma); in php_stream_url_wrap_rfc2397()
|
H A D | plain_wrapper.c | 227 stream->orig_path = estrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path)); in _php_stream_fopen_temporary_file() 1608 size_t exec_fname_length = ZSTR_LEN(exec_filename); in _php_stream_fopen_with_path()
|
H A D | streams.c | 772 ZSTR_LEN(str) = read; in php_stream_read_to_str() 861 avail = ZSTR_LEN(buf); in php_stream_locate_eol() 1111 ZSTR_LEN(ret_buf) = php_stream_read(stream, ZSTR_VAL(ret_buf), tent_ret_len); in php_stream_get_record() 1117 ZSTR_VAL(ret_buf)[ZSTR_LEN(ret_buf)] = '\0'; in php_stream_get_record() 1486 ZSTR_LEN(result) = len; in _php_stream_copy_to_mem() 1796 if (php_stream_wrapper_scheme_validate(ZSTR_VAL(protocol), ZSTR_LEN(protocol)) == FAILURE) { in php_register_url_stream_wrapper_volatile()
|
H A D | userspace.c | 507 uwrap->protoname = estrndup(ZSTR_VAL(protocol), ZSTR_LEN(protocol)); in PHP_FUNCTION() 508 uwrap->classname = estrndup(ZSTR_VAL(classname), ZSTR_LEN(classname)); in PHP_FUNCTION()
|
/PHP-7.4/sapi/cli/ |
H A D | php_cli_server.c | 622 php_cli_server_client_send_through(client, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in sapi_cli_server_send_headers() 671 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb() 672 for(i=0; i<ZSTR_LEN(hash_key->key); i++) { in sapi_cli_server_register_entry_cb() 1954 client->addr_str = pestrndup(ZSTR_VAL(addr_str), ZSTR_LEN(addr_str), 1); in php_cli_server_client_ctor() 1955 client->addr_str_len = ZSTR_LEN(addr_str); in php_cli_server_client_ctor() 2037 …php_cli_server_chunk_heap_new_self_contained(strlen(content_template) + ZSTR_LEN(escaped_request_u… in php_cli_server_send_error_page() 2069 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_send_error_page() 2169 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_begin_send_static()
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_php.c | 284 if (str && !strncmp(ZSTR_VAL(str), key, ZSTR_LEN(str))) { in fpm_php_get_string_from_table()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg.c | 315 PHPDBG_G(exec) = zend_strndup(ZSTR_VAL(exec), ZSTR_LEN(exec)); in PHP_FUNCTION() 316 PHPDBG_G(exec_len) = ZSTR_LEN(exec); in PHP_FUNCTION() 588 …= strpprintf(ZSTR_LEN(name) + ZSTR_LEN(func->op_array.function_name) + 2, "%.*s::%.*s", (int) ZSTR… in PHP_FUNCTION() 684 …f(ZSTR_LEN(last_function) + ZSTR_LEN(last_scope->name) + 2, "%.*s::%.*s", (int) ZSTR_LEN(last_scop… in PHP_FUNCTION()
|
H A D | phpdbg_bp.c | 323 …if (!(pending = ((fileht = phpdbg_resolve_pending_file_break_ex(ZSTR_VAL(file), ZSTR_LEN(file), pa… in phpdbg_set_breakpoint_file() 348 …ZSTR_LEN(cur), filelen > ZSTR_LEN(cur) ? file[filelen - ZSTR_LEN(cur) - 1] : '?', filelen > ZSTR_L… in phpdbg_resolve_pending_file_break_ex() 351 # define WIN32_PATH_CHECK file[filelen - ZSTR_LEN(cur) - 1] == '\\' in phpdbg_resolve_pending_file_break_ex() 356 …ZSTR_LEN(cur) < filelen && (file[filelen - ZSTR_LEN(cur) - 1] == '/' || WIN32_PATH_CHECK)) || file… in phpdbg_resolve_pending_file_break_ex() 595 …tion_name == NULL && op_array->scope == NULL && new_break->class_len == ZSTR_LEN(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() 1048 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param() 1078 size_t lengths[2] = { strlen(param->method.class), ZSTR_LEN(ops->scope->name) }; in phpdbg_find_breakpoint_param() 1081 lengths[1] = ZSTR_LEN(ops->function_name); in phpdbg_find_breakpoint_param()
|
H A D | phpdbg_frame.c | 163 …=\"%d\" frameinfo=\"%.*s\"", "Switched to frame #%d: %.*s", frame, (int) ZSTR_LEN(s), ZSTR_VAL(s)); in phpdbg_switch_frame() 343 …", "Switched to generator with handle #%d: %.*s", gen->std.handle, (int) ZSTR_LEN(s), ZSTR_VAL(s)); in phpdbg_open_generator_frame()
|
H A D | phpdbg_info.c | 129 (int) ZSTR_LEN(data->name), ZSTR_VAL(data->name), ##__VA_ARGS__) in PHPDBG_INFO() 167 …*s\"", "Cannot show information about superglobal variable %.*s", (int) ZSTR_LEN(auto_global->name… in phpdbg_arm_auto_global() 236 …data) ? Z_REFCOUNT_P(data) : 1, zend_zval_type_name(data), isref, (int) ZSTR_LEN(var), ZSTR_VAL(va… in phpdbg_print_symbols() 381 …"%.*s\" methodcount=\"%d\"", "%s %s %.*s (%d)", visibility, type, (int) ZSTR_LEN(ce->name), ZSTR_V… in phpdbg_print_class_name()
|
H A D | phpdbg_opcode.c | 48 ZSTR_LEN(var) <= 19 ? (int) ZSTR_LEN(var) : 18, in phpdbg_decode_op() 49 ZSTR_VAL(var), ZSTR_LEN(var) <= 19 ? 0 : '+'); in phpdbg_decode_op()
|
H A D | phpdbg_out.c | 1014 buflen = ZSTR_LEN(encoded); in phpdbg_process_print()
|
H A D | phpdbg_print.c | 190 zend_str_tolower_copy(ZSTR_VAL(lcname), param->method.name, ZSTR_LEN(lcname)); in PHPDBG_PRINT() 239 zend_str_tolower_copy(ZSTR_VAL(lcname), func_name, ZSTR_LEN(lcname)); in PHPDBG_PRINT() 283 …phpdbg_out("function name: %.*s\n", (int) ZSTR_LEN(func->op_array.function_name), ZSTR_VAL(func->o… in phpdbg_print_opcodes_function() 395 phpdbg_print_opcodes_function(ZSTR_VAL(name), ZSTR_LEN(name)); in phpdbg_print_opcodes()
|
H A D | phpdbg_prompt.c | 1079 phpdbg_out("#%d: %.*s", i, (int) ZSTR_LEN(s), ZSTR_VAL(s)); in PHPDBG_COMMAND() 1753 ZSTR_LEN(msg) < 80 ? (int) ZSTR_LEN(msg) : 80, ZSTR_VAL(msg)); in phpdbg_execute_ex()
|
H A D | phpdbg_utils.c | 484 keylen = ZSTR_LEN(strkey); in phpdbg_parse_variable_with_arg() 599 phpdbg_xml(" name=\"%.*s\"", (int) ZSTR_LEN(key), ZSTR_VAL(key)); in phpdbg_xml_array_element_dump() 633 phpdbg_xml(" name=\"%.*s\" protection=\"public\"", (int) ZSTR_LEN(key), ZSTR_VAL(key)); in phpdbg_xml_object_property_dump() 705 …t refstatus=\"%s\" class=\"%.*s\" id=\"%d\" num=\"%d\">", COMMON, (int) ZSTR_LEN(class_name), ZSTR… in phpdbg_xml_var_dump() 823 for (i = 0; i < ZSTR_LEN(str); i++) { in phpdbg_short_zval_print() 829 ZSTR_LEN(str) <= maxlen - 2 ? (int) ZSTR_LEN(str) : (maxlen - 3), in phpdbg_short_zval_print() 830 ZSTR_VAL(str), ZSTR_LEN(str) <= maxlen - 2 ? 0 : '+'); in phpdbg_short_zval_print() 842 ZSTR_LEN(str) <= maxlen ? (int) ZSTR_LEN(str) : maxlen - 1, in phpdbg_short_zval_print() 843 ZSTR_VAL(str), ZSTR_LEN(str) <= maxlen ? 0 : '+'); in phpdbg_short_zval_print()
|
H A D | phpdbg_wait.c | 39 …if (ZSTR_LEN(auto_global->name) != sizeof("GLOBALS") - 1 || memcmp(ZSTR_VAL(auto_global->name), "G… in phpdbg_dearm_autoglobals()
|
H A D | phpdbg_watch.c | 157 …phpdbg_notice("watchhit", "variable=\"%s\"", "Breaking on watchpoint %.*s", (int) ZSTR_LEN(name), … in phpdbg_print_watch_diff() 525 … (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[%s]" : "%.*s->%s", (int) ZSTR_LEN(element->str) - 2… 527 …ATCH_ARRAY) ? "%.*s[" ZEND_LONG_FMT "]" : "%.*s->" ZEND_LONG_FMT, (int) ZSTR_LEN(element->str) - 2… 569 child->str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str)); 717 …ecursive=\"%s\"", "%.*s has been removed, removing watchpoint%s", (int) ZSTR_LEN(child->str), ZSTR… 986 … "element=\"%.*s\"", "Element %.*s has been added to watchpoint", (int) ZSTR_LEN(str), ZSTR_VAL(st… 1001 comparePtr = &ZSTR_LEN(watch->backup.str); 1183 …ble", "variable=\"%.*s\" on=\"%s\" type=\"%s\"", "%.*s (%s, %s)", (int) ZSTR_LEN(element->str), ZS… 1207 str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str)); 1257 … & PHPDBG_WATCH_RECURSIVE_ROOT) ? " recursive" : "", element->id, (int) ZSTR_LEN(element->str), ZS…
|
H A D | phpdbg_webdata_transfer.c | 171 *len = ZSTR_LEN(buf.s); in phpdbg_webdata_compress()
|
/PHP-7.4/win32/ |
H A D | sendmail.c | 155 result, ZSTR_VAL(result), ZSTR_LEN(result), in php_win32_mail_trim_header() 659 char c, *e2, *e = ZSTR_VAL(data_cln) + ZSTR_LEN(data_cln); in SendText()
|