Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/sapi/cli/
H A Dphp_cli_server.c1674 size_t new_length = client->current_header_name_len + length; in php_cli_server_client_read_request_on_header_field() local
1675 client->current_header_name = perealloc(client->current_header_name, new_length + 1, 1); in php_cli_server_client_read_request_on_header_field()
1677 client->current_header_name[new_length] = '\0'; in php_cli_server_client_read_request_on_header_field()
1678 client->current_header_name_len = new_length; in php_cli_server_client_read_request_on_header_field()
1680 size_t new_length = client->current_header_name_len + length; in php_cli_server_client_read_request_on_header_field() local
1681 char* field = pemalloc(new_length + 1, 1); in php_cli_server_client_read_request_on_header_field()
1684 field[new_length] = '\0'; in php_cli_server_client_read_request_on_header_field()
1686 client->current_header_name_len = new_length; in php_cli_server_client_read_request_on_header_field()
1706 size_t new_length = client->current_header_value_len + length; in php_cli_server_client_read_request_on_header_value() local
1709 client->current_header_value[new_length] = '\0'; in php_cli_server_client_read_request_on_header_value()
[all …]
/PHP-8.1/ext/date/lib/
H A Dparse_tz.c397 size_t new_length = old_length + strlen(abbr) + 1; in add_abbr() local
398 tz->timezone_abbr = (char*) timelib_realloc(tz->timezone_abbr, new_length); in add_abbr()
400 tz->bit64.charcnt = new_length; in add_abbr()
401 tz->timezone_abbr[new_length - 1] = '\0'; in add_abbr()

Completed in 15 milliseconds