/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 138 *class = estrndup(str, sep - str); in phpdbg_is_class_method() 143 *method = estrndup(sep+2, str + len - (sep + 2)); in phpdbg_is_class_method() 215 new = estrndup("", sizeof("")); in phpdbg_trim() 218 new = estrndup(p, len); in phpdbg_trim() 499 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 508 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 517 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 545 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 551 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() 560 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() [all …]
|
/PHP-7.2/main/ |
H A D | php_open_temporary_file.c | 221 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len - 1); in php_get_temporary_directory() 224 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len); in php_get_temporary_directory() 246 PG(php_sys_temp_dir) = estrndup(tmp, len - 1); in php_get_temporary_directory() 259 PG(php_sys_temp_dir) = estrndup(s, len - 1); in php_get_temporary_directory() 261 PG(php_sys_temp_dir) = estrndup(s, len); in php_get_temporary_directory()
|
/PHP-7.2/ext/dba/ |
H A D | dba_ndbm.c | 86 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 129 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 142 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_flatfile.c | 75 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 137 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_FIRSTKEY_FUNC() 158 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_qdbm.c | 89 new = estrndup(value, value_size); in DBA_FETCH_FUNC() 143 new = estrndup(value, value_size); in DBA_FIRSTKEY_FUNC() 159 new = estrndup(value, value_size); in DBA_NEXTKEY_FUNC()
|
H A D | dba_dbm.c | 106 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 157 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 175 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_tcadb.c | 100 new = estrndup(value, value_size); in DBA_FETCH_FUNC() 164 new = estrndup(value, value_size); in DBA_FIRSTKEY_FUNC() 182 new = estrndup(value, value_size); in DBA_NEXTKEY_FUNC()
|
H A D | dba_db1.c | 106 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC() 151 return estrndup(gkey.data, gkey.size); in DBA_FIRSTKEY_FUNC() 167 return estrndup(gkey.data, gkey.size); in DBA_NEXTKEY_FUNC()
|
H A D | dba_gdbm.c | 92 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 149 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 169 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_db2.c | 110 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC() 180 return estrndup(gkey.data, gkey.size);
|
H A D | dba_lmdb.c | 136 ret = estrndup(v.mv_data, v.mv_size); in DBA_FETCH_FUNC() 281 ret = estrndup(k.mv_data, k.mv_size); in DBA_FIRSTKEY_FUNC() 314 ret = estrndup(k.mv_data, k.mv_size); in DBA_NEXTKEY_FUNC()
|
H A D | dba_db3.c | 141 new = estrndup(gval.data, gval.size); 212 nkey = estrndup(gkey.data, gkey.size);
|
H A D | dba_db4.c | 173 new = estrndup(gval.data, gval.size); 259 nkey = estrndup(gkey.data, gkey.size);
|
/PHP-7.2/main/streams/ |
H A D | glob_wrapper.c | 59 return estrndup(pglob->path, pglob->path_len); in _php_glob_stream_get_path() 81 return estrndup(pglob->pattern, pglob->pattern_len); in _php_glob_stream_get_pattern() 135 pglob->path = estrndup(gpath, pglob->path_len); in php_glob_stream_path_split() 250 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()
|
/PHP-7.2/ext/standard/ |
H A D | url.c | 143 ret->scheme = estrndup(s, (e - s)); in php_url_parse_ex() 165 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex() 171 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex() 247 ret->user = estrndup(s, (pp-s)); in php_url_parse_ex() 251 ret->pass = estrndup(pp, (p-pp)); in php_url_parse_ex() 257 ret->user = estrndup(s, (p-s)); in php_url_parse_ex() 315 ret->host = estrndup(s, (p-s)); in php_url_parse_ex() 331 ret->fragment = estrndup(p, (e - p)); in php_url_parse_ex() 341 ret->query = estrndup(p, (e - p)); in php_url_parse_ex() 348 ret->path = estrndup(s, (e - s)); in php_url_parse_ex()
|
/PHP-7.2/win32/ |
H A D | sendmail.c | 255 RPath = estrndup(pos1, strlen(pos1)); in TSendMail() 257 RPath = estrndup(pos1, pos2 - pos1); in TSendMail() 475 tempMailTo = estrndup(pos1, strlen(pos1)); in SendText() 477 tempMailTo = estrndup(pos1, pos2 - pos1); in SendText() 530 tempMailTo = estrndup(pos1, strlen(pos1)); in SendText() 535 tempMailTo = estrndup(pos1, pos2 - pos1); in SendText() 578 stripped_header = estrndup(headers, strlen(headers)); in SendText() 926 *server_response = estrndup(buf, Received - dec); in Ack()
|
/PHP-7.2/ext/wddx/ |
H A D | php_wddx_api.h | 65 #define php_wddx_gather(packet) estrndup(packet->c, packet->len)
|
/PHP-7.2/ext/bz2/ |
H A D | bz2_filter.c | 142 out_bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_decompress_filter() 165 bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_decompress_filter() 256 out_bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_compress_filter() 274 bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_compress_filter()
|
/PHP-7.2/ext/phar/ |
H A D | util.c | 189 entry.filename = estrndup(path, path_len); in phar_mount_entry() 195 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry() 199 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry() 584 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data() 1287 entry->filename = (char *) estrndup(path, path_len + 1); in phar_get_entry_info_dir() 1805 *signature = estrndup((char *) digest, 64); in phar_create_signature() 1820 *signature = estrndup((char *) digest, 32); in phar_create_signature() 1922 *signature = estrndup((char *) digest, 20); in phar_create_signature() 1937 *signature = estrndup((char *) digest, 16); in phar_create_signature() 2013 phar->fname = estrndup(phar->fname, phar->fname_len); in phar_copy_cached_phar() [all …]
|
H A D | func_interceptors.c | 63 entry = estrndup(filename, filename_len); in PHAR_FUNC() 161 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC() 284 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC() 385 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC() 611 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_file_stat() 613 entry = estrndup(filename, filename_length); in phar_file_stat() 622 entry = estrndup(filename, filename_length); in phar_file_stat() 665 entry = estrndup(filename, filename_length); in phar_file_stat() 887 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PharFileFunction() 954 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC()
|
/PHP-7.2/ext/zlib/ |
H A D | zlib_filter.c | 112 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_inflate_filter() 133 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_inflate_filter() 224 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_deflate_filter() 244 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_deflate_filter()
|
/PHP-7.2/ext/intl/msgformat/ |
H A D | msgformat_attr.c | 103 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
|
H A D | msgformat.c | 78 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
|
/PHP-7.2/ext/intl/grapheme/ |
H A D | grapheme_string.c | 205 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 207 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION() 337 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 339 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
|
/PHP-7.2/ext/spl/ |
H A D | spl_directory.c | 263 intern->_path = estrndup(path, --intern->_path_len); in spl_filesystem_dir_open() 265 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_dir_open() 323 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open() 366 intern->_path = estrndup(source->_path, source->_path_len); in spl_filesystem_object_clone() 408 intern->file_name = use_copy ? estrndup(path, len) : path; in spl_filesystem_info_set_filename() 431 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_info_set_filename() 518 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type() 544 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type() 1411 char *dpath = estrndup(path, path_len); in SPL_METHOD() 2154 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv() [all …]
|