Home
last modified time | relevance | path

Searched refs:estrndup (Results 1 – 25 of 113) sorted by relevance

12345

/PHP-7.0/main/
H A Dphp_open_temporary_file.c190 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 Dphpdbg_utils.c138 *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 Dphpdbg_bp.c295 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 Ddba_ndbm.c86 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 Ddba_flatfile.c75 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 Ddba_qdbm.c89 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 Ddba_dbm.c106 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 Ddba_tcadb.c100 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 Ddba_db1.c106 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 Ddba_gdbm.c92 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 Ddba_db2.c110 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC()
180 return estrndup(gkey.data, gkey.size);
H A Ddba_db3.c141 new = estrndup(gval.data, gval.size);
212 nkey = estrndup(gkey.data, gkey.size);
H A Ddba_db4.c173 new = estrndup(gval.data, gval.size);
259 nkey = estrndup(gkey.data, gkey.size);
/PHP-7.0/main/streams/
H A Dglob_wrapper.c59 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 Durl.c127 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 Dsendmail.c268 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 Dphp_wddx_api.h65 #define php_wddx_gather(packet) estrndup(packet->c, packet->len)
/PHP-7.0/ext/phar/
H A Dutil.c189 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 Dfunc_interceptors.c63 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 Dbz2_filter.c142 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 Dzlib_filter.c116 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 Dmsgformat_attr.c103 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
H A Dmsgformat.c78 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
/PHP-7.0/ext/intl/grapheme/
H A Dgrapheme_string.c205 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 Dspl_directory.c239 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 …]

Completed in 62 milliseconds

12345