Home
last modified time | relevance | path

Searched refs:estrndup (Results 1 – 25 of 163) sorted by path

1234567

/PHP-5.3/
H A DREADME.input_filter135 Z_STRVAL(new_var) = estrndup(*val, val_len);
/PHP-5.3/Zend/
H A Dzend.c225 Z_STRVAL_P(expr_copy) = estrndup("1", 1); in zend_make_printable_zval()
237 Z_STRVAL_P(expr_copy) = estrndup("Array", Z_STRLEN_P(expr_copy)); in zend_make_printable_zval()
H A Dzend.h605 #define STR_EMPTY_ALLOC() estrndup("", sizeof("")-1)
H A Dzend_API.c2563 fcc->function_handler->internal_function.function_name = estrndup(mname, mlen); in zend_is_callable_check_func()
2743 *callable_name = estrndup(Z_STRVAL_P(callable), Z_STRLEN_P(callable)); in zend_is_callable_ex()
2854 *callable_name = estrndup("Array", sizeof("Array")-1); in zend_is_callable_ex()
2882 *callable_name = estrndup(Z_STRVAL(expr_copy), Z_STRLEN(expr_copy)); in zend_is_callable_ex()
3157 …property_info.name = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(n… in zend_declare_property_ex()
H A Dzend_API.h547 Z_STRVAL_P(z) = (duplicate?estrndup(__s, Z_STRLEN_P(z)):(char*)__s);\
554 Z_STRVAL_P(z) = (duplicate?estrndup(__s, __l):(char*)__s);\
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())
H A Dzend_closures.c102 …invoke->internal_function.function_name = estrndup(ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_… in zend_get_closure_invoke_method()
H A Dzend_compile.c45 property_info->name = estrndup(property_info->name, property_info->name_length); in zend_duplicate_property_info()
47 property_info->doc_comment = estrndup(property_info->doc_comment, property_info->doc_comment_len); in zend_duplicate_property_info()
222 p = estrndup(new_compiled_filename, length); in zend_set_compiled_filename()
1013 …CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), estrndup("this", sizeof("this")-1),… in zend_do_end_variable_parse()
1513 …cur_arg_info->name = estrndup(varname->u.constant.value.str.val, varname->u.constant.value.str.len… in zend_do_receive_arg()
3806 …property.u.constant.value.str.val = estrndup(opline_ptr->op2.u.constant.value.str.val, opline_ptr-… in zend_do_declare_implicit_property()
4031 Z_STRVAL(opline->op1.u.constant) = estrndup("shell_exec", sizeof("shell_exec")-1); in zend_do_shell_exec()
4381 …CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), estrndup("this", sizeof("this")-1),… in zend_do_indirect_references()
H A Dzend_constants.c300 class_name = estrndup(name, class_name_len); in zend_get_constant_ex()
425 lowercase_name = estrndup(c->name, c->name_len-1); in zend_register_constant()
431 lowercase_name = estrndup(c->name, c->name_len-1); in zend_register_constant()
H A Dzend_exceptions.c574 str = estrndup("", 0); in ZEND_METHOD()
H A Dzend_execute.c197 ptr->value.str.val = estrndup(str->value.str.val + T->str_offset.offset, 1); in _get_zval_ptr_var_string_offset()
H A Dzend_execute_API.c529 colon = estrndup(colon, Z_STRLEN_P(p)); in zval_update_constant_ex()
542 actual = estrndup(actual, actual_len); in zval_update_constant_ex()
H A Dzend_hash.c1120 *str_index = estrndup(p->arKey, p->nKeyLength - 1); in zend_hash_get_current_key_ex()
H A Dzend_ini.c289 duplicate = estrndup(new_value, new_value_length); in zend_alter_ini_entry_ex()
H A Dzend_interfaces.c223 *str_key = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in zend_user_it_get_current_key()
444 *buffer = (unsigned char*)estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in zend_user_serialize()
H A Dzend_language_parser.y701 …| T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.cons…
707 …| T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.cons…
775 …| T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.cons…
791 …| T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.cons…
H A Dzend_language_scanner.c730 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); \
735 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); \
1014 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); in lex_scan()
1018 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); in lex_scan()
2921 zendlval->value.str.val = estrndup(yytext+bprefix+1, yyleng-bprefix-2); in lex_scan()
3423 CG(doc_comment) = estrndup(yytext, yyleng); in lex_scan()
3735 CG(heredoc) = estrndup(s, CG(heredoc_len)); in lex_scan()
4032 dirname = estrndup(filename, filename_len); in lex_scan()
4231 zendlval->value.str.val = estrndup(filename, zendlval->value.str.len); in lex_scan()
7230 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); in lex_scan()
[all …]
H A Dzend_language_scanner.l728 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); \
733 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); \
1383 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); in lex_scan()
1391 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); in lex_scan()
1430 zendlval->value.str.val = estrndup(func_name, zendlval->value.str.len); in lex_scan()
1469 zendlval->value.str.val = estrndup(filename, zendlval->value.str.len); in lex_scan()
1483 dirname = estrndup(filename, filename_len); in lex_scan()
1643 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); in lex_scan()
1647 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); in lex_scan()
1767 CG(doc_comment) = estrndup(yytext, yyleng);
[all …]
H A Dzend_multibyte.c975 tmpstr = (char *)estrndup(encoding_list, encoding_list_size); in zend_multibyte_parse_encoding_list()
H A Dzend_object_handlers.c838 call_user_call->function_name = estrndup(method_name, method_len); in zend_get_user_call_function()
973 callstatic_user_call->function_name = estrndup(method_name, method_len); in zend_get_user_callstatic_function()
1268 *class_name = estrndup(ce->name, ce->name_length); in zend_std_object_get_class_name()
H A Dzend_operators.c1038 Z_STRVAL_P(result) = estrndup(Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in bitwise_not_function()
1070 result_str = estrndup(Z_STRVAL_P(longer), Z_STRLEN_P(longer)); in bitwise_or_function()
1110 result_str = estrndup(Z_STRVAL_P(shorter), Z_STRLEN_P(shorter)); in bitwise_and_function()
1152 result_str = estrndup(Z_STRVAL_P(shorter), Z_STRLEN_P(shorter)); in bitwise_xor_function()
1692 Z_STRVAL_P(str) = estrndup("1", sizeof("1")-1); in increment_string()
H A Dzend_vm_def.h3772 str_key = estrndup(prop_name, str_key_len);
H A Dzend_vm_execute.h8984 str_key = estrndup(prop_name, str_key_len); in ZEND_FE_FETCH_SPEC_VAR_HANDLER()
/PHP-5.3/ext/bz2/
H A Dbz2_filter.c141 …out_bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0 TSRM… in php_bz2_decompress_filter()
164 …bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0 TSRMLS_C… in php_bz2_decompress_filter()
257 …out_bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0 TSRM… in php_bz2_compress_filter()
275 …bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0 TSRMLS_C… in php_bz2_compress_filter()
/PHP-5.3/ext/calendar/
H A Dcalendar.c581 *ret = estrndup(old, (p - old) + 1); in heb_number_to_chars()

Completed in 477 milliseconds

1234567