Home
last modified time | relevance | path

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

1234

/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c135 *class = estrndup(str, sep - str); in phpdbg_is_class_method()
140 *method = estrndup(sep+2, str + len - (sep + 2)); in phpdbg_is_class_method()
212 new = estrndup("", sizeof("")); in phpdbg_trim()
215 new = estrndup(p, len); in phpdbg_trim()
515 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
524 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
533 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
561 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
567 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
576 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg()
[all …]
H A Dphpdbg_bp.c306 new_break.filename = estrndup(path, path_len); in phpdbg_set_breakpoint_file()
367 new_brake.filename = estrndup(file, filelen); in phpdbg_resolve_pending_file_break_ex()
421 new_break.symbol = estrndup(name, name_len); in phpdbg_set_breakpoint_symbol()
461 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method()
463 new_break.func_name = estrndup(func_name, func_len); in phpdbg_set_breakpoint_method()
647 new_break.func_name = estrndup(method, new_break.func_len); in phpdbg_set_breakpoint_method_opline()
649 new_break.class_name = estrndup(class, new_break.class_len); in phpdbg_set_breakpoint_method_opline()
699 new_break.func_name = estrndup(function, new_break.func_len); in phpdbg_set_breakpoint_function_opline()
747 new_break.class_name = estrndup(file, new_break.class_len); in phpdbg_set_breakpoint_file_opline()
796 new_break.name = estrndup(name, name_len); in phpdbg_set_breakpoint_opcode()
[all …]
H A Dphpdbg_list.c247 data.buf = estrndup(bufptr, len); in phpdbg_compile_file()
324 dataptr->buf = estrndup(ZSTR_VAL(source_string), ZSTR_LEN(source_string)); in phpdbg_compile_string()
H A Dphpdbg_cmd.c142 dest->str = estrndup(src->str, src->len); in phpdbg_copy_param()
147 dest->str = estrndup(src->str, src->len); in phpdbg_copy_param()
173 dest->str = estrndup(src->str, src->len); in phpdbg_copy_param()
/php-src/main/
H A Dphp_open_temporary_file.c217 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len - 1); in php_get_temporary_directory()
220 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len); in php_get_temporary_directory()
245 PG(php_sys_temp_dir) = estrndup(tmp, len - 1); in php_get_temporary_directory()
258 PG(php_sys_temp_dir) = estrndup(s, len - 1); in php_get_temporary_directory()
260 PG(php_sys_temp_dir) = estrndup(s, len); in php_get_temporary_directory()
H A Dphp_ini.c204 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
207 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
686 p = estrndup(ini_file, l); in php_init_config()
/php-src/win32/
H A Dsendmail.c241 RPath = estrndup(pos1, strlen(pos1)); in TSendMail()
243 RPath = estrndup(pos1, pos2 - pos1); in TSendMail()
490 tempMailTo = estrndup(pos1, strlen(pos1)); in SendText()
502 tempMailTo = estrndup(pos1, pos2 - pos1); in SendText()
555 tempMailTo = estrndup(pos1, strlen(pos1)); in SendText()
570 tempMailTo = estrndup(pos1, pos2 - pos1); in SendText()
618 stripped_header = estrndup(headers, strlen(headers)); in SendText()
966 *server_response = estrndup(buf, Received - dec); in Ack()
1050 return estrndup(p1, p2 - p1); in get_angle_addr()
/php-src/sapi/fuzzer/
H A Dfuzzer-mbstring.c58 char *ToEncodingName = estrndup((char *) Data, ToEncodingNameLen); in LLVMFuzzerTestOneInput()
69 char *FromEncodingName = estrndup((char *) Data, FromEncodingNameLen); in LLVMFuzzerTestOneInput()
/php-src/ext/zlib/
H A Dzlib_filter.c109 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_inflate_filter()
130 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_inflate_filter()
225 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_deflate_filter()
246 stream, estrndup((char *) data->outbuf, bucketlen), bucketlen, 1, 0); in php_zlib_deflate_filter()
/php-src/ext/bz2/
H A Dbz2_filter.c140 out_bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_decompress_filter()
163 bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_decompress_filter()
258 out_bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_compress_filter()
276 bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_compress_filter()
/php-src/ext/date/
H A Dconfig.w3218 tl_config.WriteLine("#define timelib_strndup estrndup");
H A Dconfig0.m435 #define timelib_strndup estrndup
/php-src/ext/phar/
H A Dutil.c185 entry.filename = estrndup(path, path_len); in phar_mount_entry()
191 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry()
195 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry()
584 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
1284 entry->filename = (char *) estrndup(path, path_len + 1); in phar_get_entry_info_dir()
1823 *signature = estrndup((char *) digest, 64); in phar_create_signature()
1841 *signature = estrndup((char *) digest, 32); in phar_create_signature()
1955 *signature = estrndup((char *) digest, 20); in phar_create_signature()
1970 *signature = estrndup((char *) digest, 16); in phar_create_signature()
2048 phar->fname = estrndup(phar->fname, phar->fname_len); in phar_copy_cached_phar()
[all …]
H A Dfunc_interceptors.c60 entry = estrndup(filename, filename_len); in PHAR_FUNC()
127 entry = phar_fix_filepath(estrndup(ZSTR_VAL(filename), ZSTR_LEN(filename)), &entry_len, 1); in phar_get_name_for_relative_paths()
505 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_file_stat()
507 entry = estrndup(filename, filename_length); in phar_file_stat()
516 entry = estrndup(filename, filename_length); in phar_file_stat()
559 entry = estrndup(filename, filename_length); in phar_file_stat()
766 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PharFileFunction()
832 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC()
H A Dphar_object.c353 *ru = estrndup(u, u_len+1); in phar_postprocess_ru_web()
597 fname = estrndup(fname, fname_len); in PHP_METHOD()
634 entry = estrndup("", 0); in PHP_METHOD()
659 entry = estrndup("", 0); in PHP_METHOD()
1149 arch = estrndup(fname, fname_len); in PHP_METHOD()
1338 fname = estrndup(phar->fname, phar->fname_len); in PHP_METHOD()
1568 str_key = estrndup(Z_STRVAL(key), str_key_len); in phar_build()
2072 basename = estrndup(oldname, oldname_len); in phar_rename_archive()
4132 char *tmp = estrndup(entry->filename, 50); in phar_extract_file()
4163 tmp = estrndup(entry->filename, 50); in phar_extract_file()
[all …]
H A Dstream.c194 internal_file = estrndup(ZSTR_VAL(resource->path) + 1, ZSTR_LEN(resource->path) - 1); in phar_wrapper_open_url()
272 entry->filename = estrndup("", 0); in phar_wrapper_open_url()
338 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url()
708 internal_file = estrndup(ZSTR_VAL(resource->path) + 1, ZSTR_LEN(resource->path) - 1); in phar_wrapper_unlink()
865 entry->filename = estrndup(ZSTR_VAL(resource_to->path)+1, ZSTR_LEN(resource_to->path)-1); in phar_wrapper_rename()
915 entry->filename = estrndup(ZSTR_VAL(new_str_key), ZSTR_LEN(new_str_key)); in phar_wrapper_rename()
H A Dtar.c505 entry.link = estrndup(hdr->linkname, linkname_len); in phar_parse_tarfile()
507 entry.link = estrndup(hdr->linkname, linkname_len); in phar_parse_tarfile()
990 entry.filename = estrndup(".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush()
1040 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_tar_flush()
1089 entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1); in phar_tar_flush()
1112 entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1); in phar_tar_flush()
1172 newentry.filename = estrndup(".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush()
/php-src/ext/intl/msgformat/
H A Dmsgformat_attr.c94 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
H A Dmsgformat.c79 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
/php-src/main/streams/
H A Dglob_wrapper.c131 pglob->path = estrndup(gpath, pglob->path_len); in php_glob_stream_path_split()
266 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()
/php-src/ext/mbstring/
H A Dmb_gpc.c262 val = estrndup(ZSTR_VAL(converted_val), ZSTR_LEN(converted_val)); in _php_mb_encoding_handler_ex()
271 val = estrndup(val_list[n], len_list[n]); in _php_mb_encoding_handler_ex()
/php-src/ext/intl/grapheme/
H A Dgrapheme_string.c161 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION()
163 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
277 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION()
279 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
/php-src/ext/standard/
H A Dlink.c104 dirname = estrndup(link, link_len); in PHP_FUNCTION()
H A Dmail.c276 to_r = estrndup(to, to_len); in PHP_FUNCTION()
298 subject_r = estrndup(subject, subject_len); in PHP_FUNCTION()
/php-src/ext/pdo/
H A Dpdo.c218 parsed[j].optval = estrndup(data_source + valstart, semi - valstart - n_semicolumns); in php_pdo_parse_data_source()

Completed in 91 milliseconds

1234