Home
last modified time | relevance | path

Searched refs:zend_strndup (Results 1 – 25 of 26) sorted by relevance

12

/PHP-5.5/Zend/
H A Dzend_constants.c42 c->name = zend_strndup(c->name, c->name_len - 1); in copy_zend_constant()
127 c.name = zend_strndup(ZEND_STRL("TRUE")); in zend_register_standard_constants()
133 c.name = zend_strndup(ZEND_STRL("FALSE")); in zend_register_standard_constants()
139 c.name = zend_strndup(ZEND_STRL("NULL")); in zend_register_standard_constants()
146 c.name = zend_strndup(ZEND_STRL("ZEND_THREAD_SAFE")); in zend_register_standard_constants()
152 c.name = zend_strndup(ZEND_STRL("ZEND_DEBUG_BUILD")); in zend_register_standard_constants()
186 c.name = zend_strndup(name, name_len-1); in zend_register_long_constant()
200 c.name = zend_strndup(name, name_len-1); in zend_register_double_constant()
215 c.name = zend_strndup(name, name_len-1); in zend_register_stringl_constant()
H A Dzend_ini_parser.y132 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(z_constant), Z_STRLEN(z_constant)); in zend_ini_get_constant()
152 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(curval), Z_STRLEN(curval)); in zend_ini_get_var()
H A Dzend_ini_scanner.l135 Z_STRVAL_P(retval) = zend_strndup(str, len); \
185 ini_filename = zend_strndup(fh->filename, strlen(fh->filename)); in init_ini_scanner()
H A Dzend_alloc.h55 ZEND_API char *zend_strndup(const char *s, unsigned int length) ZEND_ATTRIBUTE_MALLOC;
130 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len…
H A Dzend_API.c3484 …property_info.name = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(n… in zend_declare_property_ex()
3586 ZVAL_STRINGL(property, zend_strndup(value, len), len, 0); in zend_declare_property_string()
3602 ZVAL_STRINGL(property, zend_strndup(value, value_len), value_len, 0); in zend_declare_property_stringl()
3684 ZVAL_STRINGL(constant, zend_strndup(value, value_length), value_length, 0); in zend_declare_class_constant_stringl()
H A Dzend_ini_scanner.c137 Z_STRVAL_P(retval) = zend_strndup(str, len); \
187 ini_filename = zend_strndup(fh->filename, strlen(fh->filename)); in init_ini_scanner()
H A Dzend_API.h175 class_container.name = zend_strndup(cl_name, _len); \
H A Dzend_builtin_functions.c709 c.name = IS_INTERNED(name) ? name : zend_strndup(name, name_len); in ZEND_FUNCTION()
H A Dzend_alloc.c2662 ZEND_API char *zend_strndup(const char *s, uint length) in zend_strndup() function
H A Dzend_vm_def.h5179 …c.name = IS_INTERNED(Z_STRVAL_P(name)) ? Z_STRVAL_P(name) : zend_strndup(Z_STRVAL_P(name), Z_STRLE…
H A Dzend_compile.c122 property_info->name = zend_strndup(property_info->name, property_info->name_length); in zend_duplicate_property_info_internal()
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_blacklist.c264 blacklist_path = zend_strndup(buf, blacklist_path_length); in zend_accel_blacklist_loadone()
302 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
H A DZendAccelerator.c1715 new_state.cwd = zend_strndup(cwd, cwd_len);
/PHP-5.5/ext/standard/
H A Dsyslog.c148 BG(syslog_device) = zend_strndup(ident, ident_len); in PHP_FUNCTION()
/PHP-5.5/main/
H A Dphp_ini.c241 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry)); in php_ini_parser_cb()
274 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry)); in php_ini_parser_cb()
602 Z_STRVAL(tmp) = zend_strndup(fh.filename, Z_STRLEN(tmp)); in php_init_config()
610 php_ini_opened_path = zend_strndup(Z_STRVAL(tmp), Z_STRLEN(tmp)); in php_init_config()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_priv.h41 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len…
H A Dmysqlnd_auth.c431 ret = (zend_uchar*) zend_strndup(passwd, passwd_len); in mysqlnd_pam_auth_get_auth_data()
/PHP-5.5/sapi/cli/
H A Dphp_cli.c430 ZVAL_STRINGL(&tmp, zend_strndup(value, sizeof(value)-1), sizeof(value)-1, 0);\
593 ic.name = zend_strndup(ZEND_STRL("STDIN")); in cli_register_file_handles()
600 oc.name = zend_strndup(ZEND_STRL("STDOUT")); in cli_register_file_handles()
607 ec.name = zend_strndup(ZEND_STRL("STDERR")); in cli_register_file_handles()
/PHP-5.5/win32/
H A Dregistry.c92 Z_STRVAL_P(data) = zend_strndup(value, value_len-1); in LoadDirectory()
/PHP-5.5/ext/com_dotnet/
H A Dcom_typeinfo.c188 c.name = zend_strndup(const_name, c.name_len); in php_com_import_typelib()
/PHP-5.5/ext/phar/
H A Dphar_internal.h79 # define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(le…
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c107 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry))
/PHP-5.5/ext/oci8/
H A Doci8.c2060 connection->hash_key = zend_strndup(hashed_details.c, hashed_details.len); in php_oci_do_connect_ex()
2723 session_pool->spool_hash_key = zend_strndup(hash_key, hash_key_len); in php_oci_create_spool()
/PHP-5.5/ext/soap/
H A Dphp_sdl.c149 new_enc->details.ns = zend_strndup(ns, ns_len); in get_encoder()
/PHP-5.5/
H A DNEWS3314 . Fixed bug #55748 (multiple NULL Pointer Dereference with zend_strndup())

Completed in 159 milliseconds

12