Searched refs:new_length (Results 1 – 2 of 2) sorted by relevance
1674 size_t new_length = client->current_header_name_len + length; in php_cli_server_client_read_request_on_header_field() local1675 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() local1681 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() local1709 client->current_header_value[new_length] = '\0'; in php_cli_server_client_read_request_on_header_value()[all …]
397 size_t new_length = old_length + strlen(abbr) + 1; in add_abbr() local398 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