Home
last modified time | relevance | path

Searched refs:estrndup (Results 26 – 50 of 157) sorted by relevance

1234567

/PHP-5.4/ext/dba/
H A Ddba_db4.c174 new = estrndup(gval.data, gval.size);
260 nkey = estrndup(gkey.data, gkey.size);
/PHP-5.4/ext/intl/msgformat/
H A Dmsgformat.c77 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
/PHP-5.4/ext/spl/
H A Dspl_directory.c250 intern->_path = estrndup(path, --intern->_path_len); in spl_filesystem_dir_open()
252 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_dir_open()
351 intern->_path = estrndup(source->_path, source->_path_len); in spl_filesystem_object_clone()
394 intern->file_name = use_copy ? estrndup(path, len) : path; in spl_filesystem_info_set_filename()
417 intern->_path = estrndup(path, intern->_path_len); in spl_filesystem_info_set_filename()
504 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type()
529 intern->_path = estrndup(intern->_path, intern->_path_len); in spl_filesystem_object_create_type()
1409 char *dpath = estrndup(path, path_len); in SPL_METHOD()
1800 *str_key = estrndup(object->file_name, object->file_name_len); in spl_filesystem_tree_it_current_key()
2171 char *buf = estrndup(intern->u.file.current_line, buf_len); in spl_filesystem_file_read_csv()
[all …]
H A Dphp_spl.c280 file_handle.opened_path = estrndup(class_file, class_file_len); in spl_autoload()
330 copy = pos1 = estrndup(SPL_DEFAULT_FILE_EXTENSIONS, sizeof(SPL_DEFAULT_FILE_EXTENSIONS)-1); in PHP_FUNCTION()
332 copy = pos1 = estrndup(file_exts, file_exts_len); in PHP_FUNCTION()
383 SPL_G(autoload_extensions) = estrndup(file_exts, file_exts_len); in PHP_FUNCTION()
/PHP-5.4/Zend/
H A Dzend_alloc.h78 #define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) macro
130 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len…
140 #define safe_estrndup(ptr, len) ((ptr)?(estrndup((ptr), (len))):STR_EMPTY_ALLOC())
/PHP-5.4/ext/ereg/
H A Dereg.c336 string = estrndup(findin, findin_len); in php_ereg()
566 pattern = estrndup(Z_STRVAL_PP(arg_pattern), Z_STRLEN_PP(arg_pattern)); in php_do_ereg_replace()
579 replace = estrndup(Z_STRVAL_PP(arg_replace), Z_STRLEN_PP(arg_replace)); in php_do_ereg_replace()
591 string = estrndup(arg_string, arg_string_len); in php_do_ereg_replace()
/PHP-5.4/ext/intl/grapheme/
H A Dgrapheme_string.c217 needle_dup = (unsigned char *)estrndup((char *)needle, needle_len); in PHP_FUNCTION()
219 haystack_dup = (unsigned char *)estrndup((char *)haystack, haystack_len); in PHP_FUNCTION()
362 needle_dup = (unsigned char *)estrndup((char *)needle, needle_len); in PHP_FUNCTION()
364 haystack_dup = (unsigned char *)estrndup((char *)haystack, haystack_len); in PHP_FUNCTION()
/PHP-5.4/ext/standard/
H A Dstring.c827 return estrndup(c, len); in php_trim()
907 newtext = estrndup(text, textlen); in PHP_FUNCTION()
1372 arg = estrndup(arg, arglen); in PHP_FUNCTION()
1406 str = estrndup(str, arglen); in PHP_FUNCTION()
1536 ret = estrndup(str, str_len);
1563 ret = estrndup(path, path_len);
4390 buf = estrndup(str, str_len);
4517 res = estrndup(arg, arglen);
4641 buf = estrndup(rbuf, len);
5513 buf = estrndup(s, (p-s));
[all …]
H A Dmail.c126 to_r = estrndup(to, to_len); in PHP_FUNCTION()
148 subject_r = estrndup(subject, subject_len); in PHP_FUNCTION()
H A Dlink.c97 dirname = estrndup(link, link_len); in PHP_FUNCTION()
/PHP-5.4/ext/session/
H A Dmod_user.c139 *val = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in PS_READ_FUNC()
/PHP-5.4/ext/phar/
H A Dphar_object.c393 *ru = estrndup(u, u_len+1); in phar_postprocess_ru_web()
597 fname = estrndup(fname, fname_len);
632 entry = estrndup("", 0);
657 entry = estrndup("", 0);
1199 arch = estrndup(fname, fname_len);
1389 fname = estrndup(phar->fname, phar->fname_len);
2173 basename = estrndup(oldname, oldname_len);
4223 char *tmp = estrndup(entry->filename, 50);
4254 tmp = estrndup(entry->filename, 50);
4421 char *tmp = estrndup(pathto, 50);
[all …]
H A Dphar.c542 unixfname = estrndup(fname, fname_len);
611 const unsigned char *p, *p_buff = estrndup(*buffer, zip_metadata_len);
1439 mydata->alias = alias ? estrndup(alias, alias_len) : estrndup(mydata->fname, fname_len);
1739 char *filename = estrndup(fname, (ext - fname) + ext_len);
2180 return estrndup("/", 1);
2188 return estrndup("/", 1);
2274 filename = estrndup(filename, filename_len);
2300 *arch = estrndup(filename, *arch_len);
2304 *entry = estrndup(ext_str+ext_len, *entry_len);
2311 *entry = estrndup("/", 1);
[all …]
H A Dtar.c952 entry.filename = estrndup(".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush()
1007 tmp = estrndup(user_stub, len); in phar_tar_flush()
1041 entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1); in phar_tar_flush()
1064 entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1); in phar_tar_flush()
1131 newentry.filename = estrndup(".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush()
/PHP-5.4/ext/filter/
H A Dfilter.c451 Z_STRVAL(raw_var) = estrndup(*val, val_len); in php_sapi_filter()
464 Z_STRVAL(new_var) = estrndup(*val, val_len); in php_sapi_filter()
468 Z_STRVAL(new_var) = estrndup(*val, val_len); in php_sapi_filter()
484 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var)); in php_sapi_filter()
/PHP-5.4/sapi/isapi/
H A Dphp5isapi.c288 status_buf = estrndup(sline + 9, MAX_STATUS_LENGTH); in sapi_isapi_send_headers()
290 status_buf = estrndup(sline + 9, sline_len - 9); in sapi_isapi_send_headers()
364 return estrndup(variable_buf, variable_len); in sapi_isapi_read_cookies()
575 recorded_values[p-server_variables] = estrndup(static_variable_buf, variable_len); in sapi_isapi_register_server_variables2()
/PHP-5.4/ext/intl/dateformat/
H A Ddateformat.c178 dfo->timezone_id = estrndup( timezone_str, timezone_str_len); in datefmt_ctor()
/PHP-5.4/main/
H A Dphp_ini.c231 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
234 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
646 p = estrndup(ini_file, l); in php_init_config()
H A Drfc1867.c505 res = estrndup(*line, pos - *line); in php_ap_getword()
718 char *content_type_lcase = estrndup(content_type_dup, content_type_len);
1112 array_index = estrndup(start_arr + 1, array_len - 2);
1124 abuf = estrndup(param, strlen(param)-array_len);
/PHP-5.4/ext/wddx/
H A Dwddx.c857 key = estrndup(p1, p2 - p1); in php_wddx_push_element()
1054 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
1067 Z_STRVAL_P(ent->data) = estrndup(s, len + 1); in php_wddx_process_data()
1079 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
1109 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
/PHP-5.4/ext/pcre/
H A Dphp_pcre.c345 pattern = estrndup(p, pp-p); in pcre_get_compiled_regex_cache()
459 regex = tmp = estrndup(regex, regex_len); in pcre_get_compiled_regex_cache()
878 *result = estrndup(Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr)); in preg_do_repl_func()
886 *result = estrndup(&subject[offsets[0]], result_len); in preg_do_repl_func()
972 *result = estrndup(Z_STRVAL(retval), Z_STRLEN(retval)); in preg_do_eval()
1260 subject_value = estrndup(Z_STRVAL_PP(subject), Z_STRLEN_PP(subject)); in php_replace_in_subject()
/PHP-5.4/ext/intl/locale/
H A Dlocale_methods.c298 mod_loc_name = estrndup ( loc_name , singletonPos-1); in get_icu_value_internal()
1007 result = estrndup(mod_loc_name + singletonPos+2 , (len -( singletonPos +2) ) ); in get_private_subtags()
1445 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_PP(ele_value), Z_STRLEN_PP(ele_value)); in lookup_loc_range()
1565 result = estrndup(fallback_loc, fallback_loc_len); in PHP_FUNCTION()
/PHP-5.4/sapi/roxen/
H A Droxen.c519 zvalue->value.str.val = estrndup(buf, zvalue->value.str.len); \
553 zvalue->value.str.val = estrndup(val->u.string->str, zvalue->value.str.len); in php_roxen_hash_environment()
/PHP-5.4/ext/dba/libinifile/
H A Dinifile.c119 key.group = estrndup(group_name+1, name - (group_name + 1)); in inifile_key_split()
161 return estrndup(val, l); in etrim()
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_priv.h47 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len…

Completed in 126 milliseconds

1234567