/PHP-7.0/main/ |
H A D | php_open_temporary_file.c | 190 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len - 1); in php_get_temporary_directory() 193 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len); in php_get_temporary_directory() 210 PG(php_sys_temp_dir) = estrndup(sTemp, len - 1); in php_get_temporary_directory() 212 PG(php_sys_temp_dir) = estrndup(sTemp, len); in php_get_temporary_directory() 224 PG(php_sys_temp_dir) = estrndup(s, len - 1); in php_get_temporary_directory() 226 PG(php_sys_temp_dir) = estrndup(s, len); in php_get_temporary_directory()
|
/PHP-7.0/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 …]
|
H A D | phpdbg_bp.c | 295 new_break.filename = estrndup(path, path_len); in phpdbg_set_breakpoint_file_ex() 356 new_brake.filename = estrndup(file, filelen); in phpdbg_resolve_pending_file_break_ex() 410 new_break.symbol = estrndup(name, name_len); in phpdbg_set_breakpoint_symbol() 450 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method() 452 new_break.func_name = estrndup(func_name, func_len); in phpdbg_set_breakpoint_method() 636 new_break.func_name = estrndup(method, new_break.func_len); in phpdbg_set_breakpoint_method_opline() 638 new_break.class_name = estrndup(class, new_break.class_len); in phpdbg_set_breakpoint_method_opline() 688 new_break.func_name = estrndup(function, new_break.func_len); in phpdbg_set_breakpoint_function_opline() 736 new_break.class_name = estrndup(file, new_break.class_len); in phpdbg_set_breakpoint_file_opline() 785 new_break.name = estrndup(name, name_len); in phpdbg_set_breakpoint_opcode() [all …]
|
/PHP-7.0/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_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.0/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.0/ext/standard/ |
H A D | url.c | 127 ret->scheme = estrndup(s, (e - s)); in php_url_parse_ex() 149 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex() 155 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex() 231 ret->user = estrndup(s, (pp-s)); in php_url_parse_ex() 235 ret->pass = estrndup(pp, (p-pp)); in php_url_parse_ex() 238 ret->user = estrndup(s, (p-s)); in php_url_parse_ex() 294 ret->host = estrndup(s, (p-s)); in php_url_parse_ex() 310 ret->fragment = estrndup(p, (e - p)); in php_url_parse_ex() 320 ret->query = estrndup(p, (e - p)); in php_url_parse_ex() 327 ret->path = estrndup(s, (e - s)); in php_url_parse_ex()
|
/PHP-7.0/win32/ |
H A D | sendmail.c | 268 RPath = estrndup(pos1, strlen(pos1)); in TSendMail() 270 RPath = estrndup(pos1, pos2 - pos1); in TSendMail() 489 tempMailTo = estrndup(pos1, strlen(pos1)); in SendText() 491 tempMailTo = estrndup(pos1, pos2 - pos1); in SendText() 544 tempMailTo = estrndup(pos1, strlen(pos1)); in SendText() 549 tempMailTo = estrndup(pos1, pos2 - pos1); in SendText() 594 if (NULL == (stripped_header = estrndup(headers, strlen(headers)))) { in SendText() 949 *server_response = estrndup(buf, Received - dec); in Ack()
|
/PHP-7.0/ext/wddx/ |
H A D | php_wddx_api.h | 65 #define php_wddx_gather(packet) estrndup(packet->c, packet->len)
|
/PHP-7.0/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() 591 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data() 1294 entry->filename = (char *) estrndup(path, path_len + 1); in phar_get_entry_info_dir() 1812 *signature = estrndup((char *) digest, 64); in phar_create_signature() 1827 *signature = estrndup((char *) digest, 32); in phar_create_signature() 1929 *signature = estrndup((char *) digest, 20); in phar_create_signature() 1944 *signature = estrndup((char *) digest, 16); in phar_create_signature() 2020 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() 631 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_file_stat() 633 entry = estrndup(filename, filename_length); in phar_file_stat() 642 entry = estrndup(filename, filename_length); in phar_file_stat() 691 entry = estrndup(filename, filename_length); in phar_file_stat() 931 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PharFileFunction() 998 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC()
|
/PHP-7.0/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.0/ext/zlib/ |
H A D | zlib_filter.c | 116 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_inflate_filter() 141 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_inflate_filter() 232 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_deflate_filter() 252 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_deflate_filter()
|
/PHP-7.0/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.0/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.0/ext/spl/ |
H A D | spl_directory.c | 239 intern->_path = estrndup(path, --intern->_path_len); in spl_filesystem_dir_open() 241 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_dir_open() 299 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open() 342 intern->_path = estrndup(source->_path, source->_path_len); in spl_filesystem_object_clone() 385 intern->file_name = use_copy ? estrndup(path, len) : path; in spl_filesystem_info_set_filename() 408 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_info_set_filename() 495 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type() 521 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type() 1384 char *dpath = estrndup(path, path_len); in SPL_METHOD() 2127 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv() [all …]
|