Lines Matching refs:zval

44 	zval **param, *param_ptr;  in zend_get_parameters()
57 param = va_arg(ptr, zval **); in zend_get_parameters()
60 zval *new_tmp; in zend_get_parameters()
67 Z_DELREF_P((zval *) *(p-arg_count)); in zend_get_parameters()
79 ZEND_API int _zend_get_parameters_array(int ht, int param_count, zval **argument_array TSRMLS_DC) /… in _zend_get_parameters_array()
83 zval *param_ptr; in _zend_get_parameters_array()
95 zval *new_tmp; in _zend_get_parameters_array()
102 Z_DELREF_P((zval *) *(p-arg_count)); in _zend_get_parameters_array()
120 zval ***param; in zend_get_parameters_ex()
132 param = va_arg(ptr, zval ***); in zend_get_parameters_ex()
133 *param = (zval **) p-(arg_count--); in zend_get_parameters_ex()
141 ZEND_API int _zend_get_parameters_array_ex(int param_count, zval ***argument_array TSRMLS_DC) /* {{… in _zend_get_parameters_array_ex()
154 zval **value = (zval**)(p-arg_count); in _zend_get_parameters_array_ex()
164 ZEND_API int zend_copy_parameters_array(int param_count, zval *argument_array TSRMLS_DC) /* {{{ */ in zend_copy_parameters_array()
177 zval **param = (zval **) p-(arg_count--); in zend_copy_parameters_array()
221 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */ in zend_zval_type_name()
227 ZEND_API zend_class_entry *zend_get_class_entry(const zval *zobject TSRMLS_DC) /* {{{ */ in zend_get_class_entry()
239 ZEND_API int zend_get_object_classname(const zval *object, char **class_name, zend_uint *class_name… in zend_get_object_classname()
253 static int parse_arg_object_to_string(zval **arg TSRMLS_DC) /* {{{ */ in parse_arg_object_to_string()
256 zval *obj; in parse_arg_object_to_string()
274 zval *z = Z_OBJ_HANDLER_PP(arg, get)(*arg TSRMLS_CC); in parse_arg_object_to_string()
291 static char *zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, char **spec, char **error, i… in zend_parse_arg_impl()
461 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
476 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
511 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
526 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
614 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
625 zval ***p = va_arg(*va, zval ***); in zend_parse_arg_impl()
644 static int zend_parse_arg(int arg_num, zval **arg, va_list *va, char **spec, int quiet TSRMLS_DC) /… in zend_parse_arg()
681 zval **arg; in zend_parse_va_args()
685 zval ****varargs = NULL; in zend_parse_va_args()
693 arg = (zval **) (zend_vm_stack_top(TSRMLS_C) - 1 - (arg_count - max_num_args)); in zend_parse_va_args()
795 varargs = va_arg(*va, zval ****); in zend_parse_va_args()
801 zval **p = (zval **) (zend_vm_stack_top(TSRMLS_C) - 1 - (arg_count - i)); in zend_parse_va_args()
806 *varargs = safe_emalloc(num_varargs, sizeof(zval **), 0); in zend_parse_va_args()
821 arg = (zval **) (zend_vm_stack_top(TSRMLS_C) - 1 - (arg_count-i)); in zend_parse_va_args()
881 ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr, char *type_spec, … in zend_parse_method_parameters()
886 zval **object; in zend_parse_method_parameters()
901 object = va_arg(va, zval **); in zend_parse_method_parameters()
917 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC, zval *this_ptr, cha… in zend_parse_method_parameters_ex()
922 zval **object; in zend_parse_method_parameters_ex()
938 object = va_arg(va, zval **); in zend_parse_method_parameters_ex()
959 ZEND_API int _array_init(zval *arg, uint size ZEND_FILE_LINE_DC) /* {{{ */ in _array_init()
969 static int zend_merge_property(zval **value TSRMLS_DC, int num_args, va_list args, const zend_hash_… in zend_merge_property()
973 zval *obj = va_arg(args, zval *); in zend_merge_property()
975 zval *member; in zend_merge_property()
988 ZEND_API void zend_merge_properties(zval *obj, HashTable *properties, int destroy_ht TSRMLS_DC) /* … in zend_merge_properties()
1016 zval **p; in zend_update_class_constants()
1033 zval **q; in zend_update_class_constants()
1044 …zend_hash_add(CE_STATIC_MEMBERS(class_type), str_index, str_length, (void**)q, sizeof(zval*), NULL… in zend_update_class_constants()
1046 zval *r; in zend_update_class_constants()
1052 …zend_hash_add(CE_STATIC_MEMBERS(class_type), str_index, str_length, (void**)&r, sizeof(zval*), NUL… in zend_update_class_constants()
1069 ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *proper… in _object_and_properties_init()
1071 zval *tmp; in _object_and_properties_init()
1089 …lass_type->default_properties, zval_copy_property_ctor(class_type), (void *) &tmp, sizeof(zval *)); in _object_and_properties_init()
1098 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC TSRMLS_DC) /… in _object_init_ex()
1104 ZEND_API int _object_init(zval *arg ZEND_FILE_LINE_DC TSRMLS_DC) /* {{{ */ in _object_init()
1110 ZEND_API int add_assoc_function(zval *arg, const char *key, void (*function_ptr)(INTERNAL_FUNCTION_… in add_assoc_function()
1117 ZEND_API int add_assoc_long_ex(zval *arg, const char *key, uint key_len, long n) /* {{{ */ in add_assoc_long_ex()
1119 zval *tmp; in add_assoc_long_ex()
1124 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_long_ex()
1128 ZEND_API int add_assoc_null_ex(zval *arg, const char *key, uint key_len) /* {{{ */ in add_assoc_null_ex()
1130 zval *tmp; in add_assoc_null_ex()
1135 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_null_ex()
1139 ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, uint key_len, int b) /* {{{ */ in add_assoc_bool_ex()
1141 zval *tmp; in add_assoc_bool_ex()
1146 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_bool_ex()
1150 ZEND_API int add_assoc_resource_ex(zval *arg, const char *key, uint key_len, int r) /* {{{ */ in add_assoc_resource_ex()
1152 zval *tmp; in add_assoc_resource_ex()
1157 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_resource_ex()
1161 ZEND_API int add_assoc_double_ex(zval *arg, const char *key, uint key_len, double d) /* {{{ */ in add_assoc_double_ex()
1163 zval *tmp; in add_assoc_double_ex()
1168 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_double_ex()
1172 ZEND_API int add_assoc_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate… in add_assoc_string_ex()
1174 zval *tmp; in add_assoc_string_ex()
1179 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_string_ex()
1183 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length,… in add_assoc_stringl_ex()
1185 zval *tmp; in add_assoc_stringl_ex()
1190 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL); in add_assoc_stringl_ex()
1194 ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, uint key_len, zval *value) /* {{{ */ in add_assoc_zval_ex()
1196 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &value, sizeof(zval *), NULL); in add_assoc_zval_ex()
1200 ZEND_API int add_index_long(zval *arg, ulong index, long n) /* {{{ */ in add_index_long()
1202 zval *tmp; in add_index_long()
1207 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_long()
1211 ZEND_API int add_index_null(zval *arg, ulong index) /* {{{ */ in add_index_null()
1213 zval *tmp; in add_index_null()
1218 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_null()
1222 ZEND_API int add_index_bool(zval *arg, ulong index, int b) /* {{{ */ in add_index_bool()
1224 zval *tmp; in add_index_bool()
1229 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_bool()
1233 ZEND_API int add_index_resource(zval *arg, ulong index, int r) /* {{{ */ in add_index_resource()
1235 zval *tmp; in add_index_resource()
1240 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_resource()
1244 ZEND_API int add_index_double(zval *arg, ulong index, double d) /* {{{ */ in add_index_double()
1246 zval *tmp; in add_index_double()
1251 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_double()
1255 ZEND_API int add_index_string(zval *arg, ulong index, const char *str, int duplicate) /* {{{ */ in add_index_string()
1257 zval *tmp; in add_index_string()
1262 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_string()
1266 ZEND_API int add_index_stringl(zval *arg, ulong index, const char *str, uint length, int duplicate)… in add_index_stringl()
1268 zval *tmp; in add_index_stringl()
1273 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), NULL); in add_index_stringl()
1277 ZEND_API int add_index_zval(zval *arg, ulong index, zval *value) /* {{{ */ in add_index_zval()
1279 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &value, sizeof(zval *), NULL); in add_index_zval()
1283 ZEND_API int add_next_index_long(zval *arg, long n) /* {{{ */ in add_next_index_long()
1285 zval *tmp; in add_next_index_long()
1290 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_long()
1294 ZEND_API int add_next_index_null(zval *arg) /* {{{ */ in add_next_index_null()
1296 zval *tmp; in add_next_index_null()
1301 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_null()
1305 ZEND_API int add_next_index_bool(zval *arg, int b) /* {{{ */ in add_next_index_bool()
1307 zval *tmp; in add_next_index_bool()
1312 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_bool()
1316 ZEND_API int add_next_index_resource(zval *arg, int r) /* {{{ */ in add_next_index_resource()
1318 zval *tmp; in add_next_index_resource()
1323 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_resource()
1327 ZEND_API int add_next_index_double(zval *arg, double d) /* {{{ */ in add_next_index_double()
1329 zval *tmp; in add_next_index_double()
1334 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_double()
1338 ZEND_API int add_next_index_string(zval *arg, const char *str, int duplicate) /* {{{ */ in add_next_index_string()
1340 zval *tmp; in add_next_index_string()
1345 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_string()
1349 ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate) /* {{{ … in add_next_index_stringl()
1351 zval *tmp; in add_next_index_stringl()
1356 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL); in add_next_index_stringl()
1360 ZEND_API int add_next_index_zval(zval *arg, zval *value) /* {{{ */ in add_next_index_zval()
1362 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &value, sizeof(zval *), NULL); in add_next_index_zval()
1366 ZEND_API int add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str, voi… in add_get_assoc_string_ex()
1368 zval *tmp; in add_get_assoc_string_ex()
1373 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), dest); in add_get_assoc_string_ex()
1377 ZEND_API int add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, ui… in add_get_assoc_stringl_ex()
1379 zval *tmp; in add_get_assoc_stringl_ex()
1384 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), dest); in add_get_assoc_stringl_ex()
1388 ZEND_API int add_get_index_long(zval *arg, ulong index, long l, void **dest) /* {{{ */ in add_get_index_long()
1390 zval *tmp; in add_get_index_long()
1395 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), dest); in add_get_index_long()
1399 ZEND_API int add_get_index_double(zval *arg, ulong index, double d, void **dest) /* {{{ */ in add_get_index_double()
1401 zval *tmp; in add_get_index_double()
1406 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), dest); in add_get_index_double()
1410 ZEND_API int add_get_index_string(zval *arg, ulong index, const char *str, void **dest, int duplica… in add_get_index_string()
1412 zval *tmp; in add_get_index_string()
1417 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), dest); in add_get_index_string()
1421 ZEND_API int add_get_index_stringl(zval *arg, ulong index, const char *str, uint length, void **des… in add_get_index_stringl()
1423 zval *tmp; in add_get_index_stringl()
1428 return zend_hash_index_update(Z_ARRVAL_P(arg), index, (void *) &tmp, sizeof(zval *), dest); in add_get_index_stringl()
1432 ZEND_API int add_property_long_ex(zval *arg, const char *key, uint key_len, long n TSRMLS_DC) /* {{… in add_property_long_ex()
1434 zval *tmp; in add_property_long_ex()
1435 zval *z_key; in add_property_long_ex()
1450 ZEND_API int add_property_bool_ex(zval *arg, const char *key, uint key_len, int b TSRMLS_DC) /* {{{… in add_property_bool_ex()
1452 zval *tmp; in add_property_bool_ex()
1453 zval *z_key; in add_property_bool_ex()
1468 ZEND_API int add_property_null_ex(zval *arg, const char *key, uint key_len TSRMLS_DC) /* {{{ */ in add_property_null_ex()
1470 zval *tmp; in add_property_null_ex()
1471 zval *z_key; in add_property_null_ex()
1486 ZEND_API int add_property_resource_ex(zval *arg, const char *key, uint key_len, long n TSRMLS_DC) /… in add_property_resource_ex()
1488 zval *tmp; in add_property_resource_ex()
1489 zval *z_key; in add_property_resource_ex()
1504 ZEND_API int add_property_double_ex(zval *arg, const char *key, uint key_len, double d TSRMLS_DC) /… in add_property_double_ex()
1506 zval *tmp; in add_property_double_ex()
1507 zval *z_key; in add_property_double_ex()
1522 ZEND_API int add_property_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplic… in add_property_string_ex()
1524 zval *tmp; in add_property_string_ex()
1525 zval *z_key; in add_property_string_ex()
1540 ZEND_API int add_property_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint leng… in add_property_stringl_ex()
1542 zval *tmp; in add_property_stringl_ex()
1543 zval *z_key; in add_property_stringl_ex()
1558 ZEND_API int add_property_zval_ex(zval *arg, const char *key, uint key_len, zval *value TSRMLS_DC) … in add_property_zval_ex()
1560 zval *z_key; in add_property_zval_ex()
2284 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref… in zend_set_hash_symbol()
2296 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL); in zend_set_hash_symbol()
2429 static int zend_is_callable_check_func(int check_flags, zval *callable, zend_fcall_info_cache *fcc,… in zend_is_callable_check_func()
2691 ZEND_API zend_bool zend_is_callable_ex(zval *callable, zval *object_ptr, uint check_flags, char **c… in zend_is_callable_ex()
2767 zval **method = NULL; in zend_is_callable_ex()
2768 zval **obj = NULL; in zend_is_callable_ex()
2878 zval expr_copy; in zend_is_callable_ex()
2892 ZEND_API zend_bool zend_is_callable(zval *callable, uint check_flags, char **callable_name TSRMLS_D… in zend_is_callable()
2898 ZEND_API zend_bool zend_make_callable(zval *callable, char **callable_name TSRMLS_DC) /* {{{ */ in zend_make_callable()
2925 ZEND_API int zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_info *fci, zend_fcal… in zend_fcall_info_init()
2957 ZEND_API void zend_fcall_info_args_save(zend_fcall_info *fci, int *param_count, zval ****params) /*… in zend_fcall_info_args_save()
2966 ZEND_API void zend_fcall_info_args_restore(zend_fcall_info *fci, int param_count, zval ***params) /… in zend_fcall_info_args_restore()
2974 ZEND_API int zend_fcall_info_args(zend_fcall_info *fci, zval *args TSRMLS_DC) /* {{{ */ in zend_fcall_info_args()
2977 zval **arg, ***params; in zend_fcall_info_args()
2990 fci->params = params = (zval ***) erealloc(fci->params, fci->param_count * sizeof(zval **)); in zend_fcall_info_args()
3002 ZEND_API int zend_fcall_info_argp(zend_fcall_info *fci TSRMLS_DC, int argc, zval ***argv) /* {{{ */ in zend_fcall_info_argp()
3014 fci->params = (zval ***) erealloc(fci->params, fci->param_count * sizeof(zval **)); in zend_fcall_info_argp()
3028 zval **arg; in zend_fcall_info_argv()
3038 fci->params = (zval ***) erealloc(fci->params, fci->param_count * sizeof(zval **)); in zend_fcall_info_argv()
3041 arg = va_arg(*argv, zval **); in zend_fcall_info_argv()
3063 …ll_info_call(zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval **retval_ptr_ptr, zval *args T… in zend_fcall_info_call()
3065 zval *retval, ***org_params = NULL; in zend_fcall_info_call()
3101 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval in zend_declare_property_ex()
3132 …zend_hash_update(target_symbol_table, priv_name, priv_name_length+1, &property, sizeof(zval *), NU… in zend_declare_property_ex()
3142 …zend_hash_update(target_symbol_table, prot_name, prot_name_length+1, &property, sizeof(zval *), NU… in zend_declare_property_ex()
3156 zend_hash_update(target_symbol_table, name, name_length+1, &property, sizeof(zval *), NULL); in zend_declare_property_ex()
3175 ZEND_API int zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *propert… in zend_declare_property()
3183 zval *property; in zend_declare_property_null()
3197 zval *property; in zend_declare_property_bool()
3212 zval *property; in zend_declare_property_long()
3227 zval *property; in zend_declare_property_double()
3242 zval *property; in zend_declare_property_string()
3259 zval *property; in zend_declare_property_stringl()
3273 …lass_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value TSRMLS_DC) /… in zend_declare_class_constant()
3275 return zend_hash_update(&ce->constants_table, name, name_length+1, &value, sizeof(zval *), NULL); in zend_declare_class_constant()
3281 zval *constant; in zend_declare_class_constant_null()
3296 zval *constant; in zend_declare_class_constant_long()
3311 zval *constant; in zend_declare_class_constant_bool()
3326 zval *constant; in zend_declare_class_constant_double()
3341 zval *constant; in zend_declare_class_constant_stringl()
3361 …I void zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zv… in zend_update_property()
3363 zval *property; in zend_update_property()
3385 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, char *name, int name… in zend_update_property_null()
3387 zval *tmp; in zend_update_property_null()
3397 ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name… in zend_update_property_bool()
3399 zval *tmp; in zend_update_property_bool()
3409 ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name… in zend_update_property_long()
3411 zval *tmp; in zend_update_property_long()
3421 ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int na… in zend_update_property_double()
3423 zval *tmp; in zend_update_property_double()
3433 ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int na… in zend_update_property_string()
3435 zval *tmp; in zend_update_property_string()
3445 ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int n… in zend_update_property_stringl()
3447 zval *tmp; in zend_update_property_stringl()
3457 ZEND_API int zend_update_static_property(zend_class_entry *scope, char *name, int name_length, zval in zend_update_static_property()
3459 zval **property; in zend_update_static_property()
3479 zval *garbage = *property; in zend_update_static_property()
3496 zval *tmp; in zend_update_static_property_null()
3508 zval *tmp; in zend_update_static_property_bool()
3520 zval *tmp; in zend_update_static_property_long()
3532 zval *tmp; in zend_update_static_property_double()
3544 zval *tmp; in zend_update_static_property_string()
3556 zval *tmp; in zend_update_static_property_stringl()
3566 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, char *name, int name_lengt… in zend_read_property()
3568 zval *property, *value; in zend_read_property()
3591 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, char *name, int name_length, zend… in zend_read_static_property()
3593 zval **property; in zend_read_static_property()