Home
last modified time | relevance | path

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

/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dencodings.c61 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* … in convert() argument
106 if(new_len) { in convert()
107 *new_len = outbuf ? outlen : 0; in convert()
H A Dxml_element.c644 int new_len = 0; in _xmlrpc_charHandler() local
645 char* add_text = utf8_decode(s, len, &new_len, mydata->input_options->encoding); in _xmlrpc_charHandler()
647 len = new_len; in _xmlrpc_charHandler()
/PHP-7.1/Zend/
H A Dzend_smart_str.h84 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() local
85 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex()
86 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
90 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() local
92 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
/PHP-7.1/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.1/ext/filter/
H A Dsanitizing_filters.c186 size_t new_len; in php_filter_string() local
212 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1); in php_filter_string()
213 Z_STRLEN_P(value) = new_len; in php_filter_string()
215 if (new_len == 0) { in php_filter_string()
/PHP-7.1/win32/
H A Dioutil.c543 …_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
550 *new_len = 0; in php_win32_ioutil_normalize_path_w()
561 *new_len = len; in php_win32_ioutil_normalize_path_w()
571 *new_len = len; in php_win32_ioutil_normalize_path_w()
578 *new_len = ret_len; in php_win32_ioutil_normalize_path_w()
H A Dioutil.h149 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c1183 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local
1302 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1306 new_len++; in php_pcre_replace_impl()
1311 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1312 alloc_len = zend_safe_address_guarded(2, new_len, alloc_len); in php_pcre_replace_impl()
1355 new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result), new_len); in php_pcre_replace_impl()
1356 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1357 alloc_len = zend_safe_address_guarded(2, new_len, alloc_len); in php_pcre_replace_impl()
1397 new_len = result_len + subject_len - start_offset; in php_pcre_replace_impl()
1398 if (new_len >= alloc_len) { in php_pcre_replace_impl()
[all …]
/PHP-7.1/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.1/ext/pgsql/
H A Dpgsql.c824 size_t new_len; in php_pgsql_PQescapeInternal() local
832 strncpy(rp, tmp, new_len); in php_pgsql_PQescapeInternal()
834 rp += new_len; in php_pgsql_PQescapeInternal()
5535 size_t new_len; local
5578 if (new_len) {
5579 smart_str_appendl(&querystr, escaped, new_len);
5586 if (new_len) {
6645 size_t new_len; local
6650 smart_str_appendl(&querystr, tmp, new_len);
6815 size_t new_len; local
[all …]
/PHP-7.1/ext/standard/
H A Dfile.c2117 size_t new_len; in php_fgetcsv() local
2132 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv()
2144 temp_len += new_len; in php_fgetcsv()
2150 buf_len = new_len; in php_fgetcsv()
/PHP-7.1/ext/phar/
H A Dphar_internal.h552 char *phar_fix_filepath(char *path, int *new_len, int use_cwd);
H A Dphar.c2080 char *phar_fix_filepath(char *path, int *new_len, int use_cwd) /* {{{ */ argument
2086 int ptr_length, path_length = *new_len;
2115 *new_len = 1;
2123 *new_len = 1;
2176 *new_len = newpath_len;
H A Dphar_object.c2043 size_t new_len, oldname_len; in phar_rename_archive() local
2120 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2121 if (ZEND_SIZE_T_INT_OVFL(new_len)) { in phar_rename_archive()
2128 phar->fname_len = (int)new_len; in phar_rename_archive()
/PHP-7.1/ext/soap/
H A Dphp_encoding.c849 int new_len; in to_xml_string() local
857 new_len = Z_STRLEN_P(data); in to_xml_string()
861 new_len = ZSTR_LEN(tmp); in to_xml_string()
866 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string()
873 new_len = n; in to_xml_string()
880 char *err = emalloc(new_len + 8); in to_xml_string()
884 memcpy(err, str, new_len+1); in to_xml_string()
920 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
/PHP-7.1/ext/opcache/
H A Dzend_file_cache.c216 size_t new_len = info->str_size + len; in zend_file_cache_serialize_interned() local
219 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1), in zend_file_cache_serialize_interned()
/PHP-7.1/ext/mbstring/
H A Dmbstring.c3233 size_t str_len, new_len; in PHP_FUNCTION() local
3241 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_ol… in PHP_FUNCTION()

Completed in 153 milliseconds