Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 18 of 18) sorted by relevance

/PHP-7.3/Zend/
H A Dzend_smart_str.h77 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex() local
79 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex()
114 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() local
115 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex()
116 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
120 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() local
122 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
H A Dzend_smart_string.h87 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex() local
89 dest->len = new_len; in smart_string_appendl_ex()
/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dencodings.c52 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* … in convert() argument
92 if(new_len) { in convert()
93 *new_len = outbuf ? outlen : 0; in convert()
H A Dxml_element.c641 int new_len = 0; in _xmlrpc_charHandler() local
642 char* add_text = utf8_decode(s, len, &new_len, mydata->input_options->encoding); in _xmlrpc_charHandler()
644 len = new_len; in _xmlrpc_charHandler()
/PHP-7.3/ext/zip/lib/
H A Dzip_extra_field_api.c233 int i, found, new_len; in zip_file_extra_field_set() local
288 new_len = ls > cs ? ls : cs; in zip_file_extra_field_set()
290 new_len -= ef->size + 4; in zip_file_extra_field_set()
291 new_len += len + 4; in zip_file_extra_field_set()
293 if (new_len > ZIP_UINT16_MAX) { in zip_file_extra_field_set()
/PHP-7.3/ext/filter/
H A Dsanitizing_filters.c183 size_t new_len; in php_filter_string() local
209 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1); in php_filter_string()
210 Z_STRLEN_P(value) = new_len; in php_filter_string()
212 if (new_len == 0) { in php_filter_string()
/PHP-7.3/win32/
H A Dioutil.c601 …_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len) in php_win32_ioutil_normalize_path_w() argument
608 *new_len = 0; in php_win32_ioutil_normalize_path_w()
624 *new_len = len; in php_win32_ioutil_normalize_path_w()
634 *new_len = len; in php_win32_ioutil_normalize_path_w()
641 *new_len = ret_len; in php_win32_ioutil_normalize_path_w()
H A Dioutil.h168 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c1572 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local
1669 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1673 new_len++; in php_pcre_replace_impl()
1678 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1765 new_len = result_len + subject_len - last_end_offset; in php_pcre_replace_impl()
1766 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1815 size_t new_len; /* Length of needed storage */ in php_pcre_replace_func_impl() local
1916 new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result), new_len); in php_pcre_replace_func_impl()
1917 if (new_len >= alloc_len) { in php_pcre_replace_func_impl()
1975 new_len = result_len + subject_len - last_end_offset; in php_pcre_replace_func_impl()
[all …]
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_utils.c200 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim() argument
216 *new_len = 0; in phpdbg_trim()
221 if (new_len) { in phpdbg_trim()
222 *new_len = len; in phpdbg_trim()
/PHP-7.3/ext/pgsql/
H A Dpgsql.c822 size_t new_len; in php_pgsql_PQescapeInternal() local
828 strncpy(rp, tmp, new_len); in php_pgsql_PQescapeInternal()
830 rp += new_len; in php_pgsql_PQescapeInternal()
5531 size_t new_len; local
5574 if (new_len) {
5575 smart_str_appendl(&querystr, escaped, new_len);
5582 if (new_len) {
5583 smart_str_appendl(&querystr, escaped, new_len);
6668 size_t new_len; local
6673 smart_str_appendl(&querystr, tmp, new_len);
[all …]
/PHP-7.3/ext/standard/
H A Dfile.c2168 size_t new_len; in php_fgetcsv() local
2183 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv()
2195 temp_len += new_len; in php_fgetcsv()
2201 buf_len = new_len; in php_fgetcsv()
/PHP-7.3/ext/soap/
H A Dphp_encoding.c835 int new_len; in to_xml_string() local
843 new_len = Z_STRLEN_P(data); in to_xml_string()
847 new_len = ZSTR_LEN(tmp); in to_xml_string()
852 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string()
859 new_len = n; in to_xml_string()
866 char *err = emalloc(new_len + 8); in to_xml_string()
870 memcpy(err, str, new_len+1); in to_xml_string()
906 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
/PHP-7.3/ext/phar/
H A Dphar_internal.h550 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd);
H A Dphar.c2099 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd) /* {{{ */ argument
2105 size_t ptr_length, path_length = *new_len;
2134 *new_len = 1;
2142 *new_len = 1;
2195 *new_len = newpath_len;
H A Dphar_object.c2008 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local
2132 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2133 phar->fname_len = new_len; in phar_rename_archive()
/PHP-7.3/ext/opcache/
H A Dzend_file_cache.c228 size_t new_len = info->str_size + len; local
231 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),
/PHP-7.3/ext/mbstring/
H A Dmbstring.c3212 size_t new_len; in PHP_FUNCTION() local
3220 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs|z", &input, &arg_new, &new_len, &arg_old) == FAILUR… in PHP_FUNCTION()

Completed in 134 milliseconds