/PHP-7.2/ext/xmlrpc/libxmlrpc/ |
H A D | encodings.c | 52 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* … in convert() argument 97 if(new_len) { in convert() 98 *new_len = outbuf ? outlen : 0; in convert()
|
H A D | xml_element.c | 641 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.2/Zend/ |
H A D | zend_smart_str.h | 103 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() local 104 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex() 105 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex() 109 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() local 111 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
|
H A D | zend_smart_string.h | 115 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex() local 117 dest->len = new_len; in smart_string_appendl_ex()
|
/PHP-7.2/ext/zip/lib/ |
H A D | zip_extra_field_api.c | 233 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.2/ext/filter/ |
H A D | sanitizing_filters.c | 186 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.2/win32/ |
H A D | ioutil.c | 563 …_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 570 *new_len = 0; in php_win32_ioutil_normalize_path_w() 586 *new_len = len; in php_win32_ioutil_normalize_path_w() 596 *new_len = len; in php_win32_ioutil_normalize_path_w() 603 *new_len = ret_len; in php_win32_ioutil_normalize_path_w()
|
H A D | ioutil.h | 151 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
|
/PHP-7.2/ext/pcre/ |
H A D | php_pcre.c | 1290 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local 1415 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl() 1419 new_len++; in php_pcre_replace_impl() 1424 if (new_len >= alloc_len) { in php_pcre_replace_impl() 1503 new_len = result_len + subject_len - start_offset; in php_pcre_replace_impl() 1504 if (new_len >= alloc_len) { in php_pcre_replace_impl() 1553 size_t new_len; /* Length of needed storage */ in php_pcre_replace_func_impl() local 1662 new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result), new_len); in php_pcre_replace_func_impl() 1663 if (new_len >= alloc_len) { in php_pcre_replace_func_impl() 1718 new_len = result_len + subject_len - start_offset; in php_pcre_replace_func_impl() [all …]
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 200 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.2/ext/pgsql/ |
H A D | pgsql.c | 824 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() 5541 size_t new_len; local 5584 if (new_len) { 5585 smart_str_appendl(&querystr, escaped, new_len); 5592 if (new_len) { 6651 size_t new_len; local 6656 smart_str_appendl(&querystr, tmp, new_len); 6821 size_t new_len; local [all …]
|
/PHP-7.2/ext/standard/ |
H A D | file.c | 2164 size_t new_len; in php_fgetcsv() local 2179 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv() 2191 temp_len += new_len; in php_fgetcsv() 2197 buf_len = new_len; in php_fgetcsv()
|
/PHP-7.2/ext/phar/ |
H A D | phar_internal.h | 552 char *phar_fix_filepath(char *path, int *new_len, int use_cwd);
|
H A D | phar.c | 2081 char *phar_fix_filepath(char *path, int *new_len, int use_cwd) /* {{{ */ argument 2087 int ptr_length, path_length = *new_len; 2116 *new_len = 1; 2124 *new_len = 1; 2177 *new_len = newpath_len;
|
H A D | phar_object.c | 2054 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local 2178 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive() 2179 if (ZEND_SIZE_T_INT_OVFL(new_len)) { in phar_rename_archive() 2186 phar->fname_len = (int)new_len; in phar_rename_archive()
|
/PHP-7.2/ext/soap/ |
H A D | php_encoding.c | 837 int new_len; in to_xml_string() local 845 new_len = Z_STRLEN_P(data); in to_xml_string() 849 new_len = ZSTR_LEN(tmp); in to_xml_string() 854 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string() 861 new_len = n; in to_xml_string() 868 char *err = emalloc(new_len + 8); in to_xml_string() 872 memcpy(err, str, new_len+1); in to_xml_string() 908 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
|
/PHP-7.2/ext/opcache/ |
H A D | zend_file_cache.c | 220 size_t new_len = info->str_size + len; local 223 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),
|
/PHP-7.2/ext/mbstring/ |
H A D | mbstring.c | 3347 size_t new_len; in PHP_FUNCTION() local 3355 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs|z", &input, &arg_new, &new_len, &arg_old) == FAILUR… in PHP_FUNCTION()
|