Home
last modified time | relevance | path

Searched refs:Z_TYPE_P (Results 1 – 25 of 178) sorted by path

12345678

/PHP-5.5/Zend/
H A Dzend.c227 if (Z_TYPE_P(expr)==IS_STRING) { in zend_make_printable_zval()
231 switch (Z_TYPE_P(expr)) { in zend_make_printable_zval()
277 if (Z_TYPE_P(z) != IS_OBJECT) { in zend_make_printable_zval()
305 Z_TYPE_P(expr_copy) = IS_STRING; in zend_make_printable_zval()
341 switch (Z_TYPE_P(expr)) { in zend_print_flat_zval_r()
400 switch (Z_TYPE_P(expr)) { in zend_print_zval_r_ex()
630 Z_TYPE_P(globals) = IS_ARRAY; in php_auto_globals_create_globals()
1157 Z_TYPE_P(z_error_type) = IS_LONG; in zend_error()
1164 Z_TYPE_P(z_error_lineno) = IS_LONG; in zend_error()
1172 Z_TYPE_P(z_context) = IS_NULL; in zend_error()
[all …]
H A Dzend.h760 Z_TYPE_P(z) = Z_TYPE_P(v); \
834 (Z_TYPE_P(zv) != IS_OBJECT || \
H A Dzend_API.c231 return zend_get_type_by_const(Z_TYPE_P(arg)); in zend_zval_type_name()
288 if(Z_TYPE_P(z) != IS_OBJECT) { in parse_arg_object_to_string()
290 Z_TYPE_P(*arg) = IS_NULL; in parse_arg_object_to_string()
1014 Z_TYPE_P(arg) = IS_ARRAY; in _array_init()
1190 Z_TYPE_P(arg) = IS_OBJECT; in _object_and_properties_init()
1544 switch (Z_TYPE_P(key)) { in array_set_zval_key()
3030 if (object_ptr && Z_TYPE_P(object_ptr) != IS_OBJECT) { in zend_is_callable_ex()
3039 switch (Z_TYPE_P(callable)) { in zend_is_callable_ex()
3298 if (Z_TYPE_P(args) != IS_ARRAY) { in zend_fcall_info_args()
3450 switch(Z_TYPE_P(property)) { in zend_declare_property_ex()
[all …]
H A Dzend_API.h549 Z_TYPE_P(__z) = IS_RESOURCE;\
555 Z_TYPE_P(__z) = IS_BOOL; \
559 Z_TYPE_P(z) = IS_NULL; \
565 Z_TYPE_P(__z) = IS_LONG; \
571 Z_TYPE_P(__z) = IS_DOUBLE; \
579 Z_TYPE_P(__z) = IS_STRING; \
587 Z_TYPE_P(__z) = IS_STRING; \
594 Z_TYPE_P(__z) = IS_STRING; \
723 #define HASH_OF(p) (Z_TYPE_P(p)==IS_ARRAY ? Z_ARRVAL_P(p) : ((Z_TYPE_P(p)==IS_OBJECT ? Z_OBJ_HT_P(p…
724 #define ZVAL_IS_NULL(z) (Z_TYPE_P(z)==IS_NULL)
H A Dzend_builtin_functions.c673 switch (Z_TYPE_P(val)) { in ZEND_FUNCTION()
815 if (Z_TYPE_P(arg) == IS_OBJECT) { in ZEND_FUNCTION()
822 } else if (Z_TYPE_P(arg) == IS_STRING) { in ZEND_FUNCTION()
946 …if (Z_TYPE_P(prop_copy) == IS_CONSTANT_ARRAY || (Z_TYPE_P(prop_copy) & IS_CONSTANT_TYPE_MASK) == I… in add_class_vars()
1050 if (Z_TYPE_P(klass) == IS_OBJECT) { in ZEND_FUNCTION()
1123 if (Z_TYPE_P(klass) == IS_OBJECT) { in ZEND_FUNCTION()
1141 if (Z_TYPE_P(klass) == IS_OBJECT in ZEND_FUNCTION()
1187 if (Z_TYPE_P(object) == IS_STRING) { in ZEND_FUNCTION()
1207 if (Z_TYPE_P(object) == IS_OBJECT && in ZEND_FUNCTION()
1450 } else if (Z_TYPE_P(zv) == IS_RESOURCE) { in ZEND_FUNCTION()
[all …]
H A Dzend_closures.c100 } else if (Z_TYPE_P(scope_arg) == IS_NULL) { in ZEND_METHOD()
108 if (Z_TYPE_P(scope_arg) == IS_STRING) { in ZEND_METHOD()
298 if (Z_TYPE_P(obj) != IS_OBJECT) { in zend_closure_get_closure()
H A Dzend_compile.c337 if (Z_TYPE_P(zv) == IS_STRING || Z_TYPE_P(zv) == IS_CONSTANT) { in zend_insert_literal()
2356 Z_TYPE_P(label) = IS_NULL; in zend_resolve_goto_label()
3345 if ((Z_TYPE_P(zv) & IS_CONSTANT_TYPE_MASK) == IS_CONSTANT) { in zend_get_function_declaration()
3349 } else if (Z_TYPE_P(zv) == IS_BOOL) { in zend_get_function_declaration()
3357 } else if (Z_TYPE_P(zv) == IS_NULL) { in zend_get_function_declaration()
3360 } else if (Z_TYPE_P(zv) == IS_STRING) { in zend_get_function_declaration()
3371 …} else if (Z_TYPE_P(zv) == IS_ARRAY || (Z_TYPE_P(zv) & IS_CONSTANT_TYPE_MASK) == IS_CONSTANT_ARRAY… in zend_get_function_declaration()
5327 Z_TYPE_P(property) = IS_NULL; in zend_do_declare_property()
5810 Z_TYPE_P(element) |= IS_CONSTANT_INDEX; in zend_do_add_static_array_element()
H A Dzend_exceptions.c44 …if (Z_TYPE_P(add_previous) != IS_OBJECT || !instanceof_function(Z_OBJCE_P(add_previous), default_e… in zend_exception_set_previous()
50 if (Z_TYPE_P(previous) == IS_NULL) { in zend_exception_set_previous()
225 if(value && Z_TYPE_P(value) != type) { \
618 if (Z_TYPE_P(trace) != IS_ARRAY) { in ZEND_METHOD()
678 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD()
701 if (trace && Z_TYPE_P(trace) != IS_STRING) { in ZEND_METHOD()
895 if (Z_TYPE_P(str) != IS_STRING) { in zend_exception_error()
911 line = (Z_TYPE_P(line) == IS_LONG) ? line : NULL; in zend_exception_error()
938 if (exception == NULL || Z_TYPE_P(exception) != IS_OBJECT) { in zend_throw_exception_object()
H A Dzend_execute.c621 if (Z_TYPE_P(arg) == IS_OBJECT) { in zend_verify_arg_type()
637 if (Z_TYPE_P(arg) != IS_ARRAY && (Z_TYPE_P(arg) != IS_NULL || !cur_arg_info->allow_null)) { in zend_verify_arg_type()
664 if (Z_TYPE_P(object) != IS_OBJECT) { in zend_assign_to_object()
673 if (Z_TYPE_P(object) == IS_NULL || in zend_assign_to_object()
1091 switch (Z_TYPE_P(container)) { in zend_fetch_dimension_address()
1151 if (Z_TYPE_P(dim) != IS_LONG) { in zend_fetch_dimension_address()
1153 switch(Z_TYPE_P(dim)) { in zend_fetch_dimension_address()
1254 switch (Z_TYPE_P(container)) { in zend_fetch_dimension_address_read()
1271 if (Z_TYPE_P(dim) != IS_LONG) { in zend_fetch_dimension_address_read()
1272 switch(Z_TYPE_P(dim)) { in zend_fetch_dimension_address_read()
[all …]
H A Dzend_execute.h98 switch (Z_TYPE_P(op)) { in i_zend_is_true()
133 if(Z_TYPE_P(tmp) != IS_OBJECT) { in i_zend_is_true()
363 #define Z_OBJ_CLASS_NAME_P(zval) ((zval) && Z_TYPE_P(zval) == IS_OBJECT && Z_OBJ_HT_P(zval)->get_cl…
H A Dzend_execute_API.c449 #define IS_CONSTANT_VISITED(p) (Z_TYPE_P(p) & IS_VISITED_CONSTANT)
450 #define Z_REAL_TYPE_P(p) (Z_TYPE_P(p) & ~IS_VISITED_CONSTANT)
451 #define MARK_CONSTANT_VISITED(p) Z_TYPE_P(p) |= IS_VISITED_CONSTANT
459 Z_TYPE_P(value) &= ~IS_CONSTANT_INDEX; in zval_deep_copy()
461 Z_TYPE_P(value) = Z_TYPE_PP(p); in zval_deep_copy()
475 } else if ((Z_TYPE_P(p) & IS_CONSTANT_TYPE_MASK) == IS_CONSTANT) { in zval_update_constant_ex()
521 if ((Z_TYPE_P(p) & IS_CONSTANT_UNQUALIFIED) == 0) { in zval_update_constant_ex()
556 } else if (Z_TYPE_P(p) == IS_CONSTANT_ARRAY) { in zval_update_constant_ex()
565 Z_TYPE_P(p) = IS_ARRAY; in zval_update_constant_ex()
806 if (fci->object_ptr && Z_TYPE_P(fci->object_ptr) == IS_OBJECT && in zend_call_function()
[all …]
H A Dzend_gc.c272 if (Z_TYPE_P(pz) == IS_OBJECT && EG(objects_store).object_buckets) { in zval_scan_black()
307 } else if (Z_TYPE_P(pz) == IS_ARRAY) { in zval_scan_black()
314 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black()
357 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_scan_black()
378 if (Z_TYPE_P(pz) == IS_OBJECT && EG(objects_store).object_buckets) { in zval_mark_grey()
412 } else if (Z_TYPE_P(pz) == IS_ARRAY) { in zval_mark_grey()
421 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_mark_grey()
517 if (Z_TYPE_P(pz) == IS_OBJECT && EG(objects_store).object_buckets) { in zval_scan()
550 } else if (Z_TYPE_P(pz) == IS_ARRAY) { in zval_scan()
637 if (Z_TYPE_P(pz) == IS_OBJECT && EG(objects_store).object_buckets) { in zval_collect_white()
[all …]
H A Dzend_hash.c1182 Z_TYPE_P(key) = IS_NULL; in zend_hash_get_current_key_zval_ex()
1184 Z_TYPE_P(key) = IS_STRING; in zend_hash_get_current_key_zval_ex()
1188 Z_TYPE_P(key) = IS_LONG; in zend_hash_get_current_key_zval_ex()
H A Dzend_ini_parser.y92 Z_TYPE_P(result) = IS_STRING; in zend_ini_do_op()
103 Z_TYPE_P(result) = IS_STRING; in zend_ini_init_string()
117 Z_TYPE_P(result) = IS_STRING; in zend_ini_add_string()
134 Z_TYPE_P(result) = Z_TYPE(z_constant); in zend_ini_get_constant()
H A Dzend_ini_scanner.c139 Z_TYPE_P(retval) = IS_STRING; \
H A Dzend_ini_scanner.l137 Z_TYPE_P(retval) = IS_STRING; \
H A Dzend_interfaces.c275 zend_class_entry *ce_it = iterator && Z_TYPE_P(iterator) == IS_OBJECT ? Z_OBJCE_P(iterator) : NULL; in zend_user_it_get_new_iterator()
412 switch(Z_TYPE_P(retval)) { in zend_user_serialize()
H A Dzend_iterators.c69 Z_TYPE_P(wrapped) = IS_OBJECT; in zend_iterator_wrap()
79 switch (Z_TYPE_P(array_ptr)) { in zend_iterator_unwrap()
H A Dzend_object_handlers.c434 if (UNEXPECTED(Z_TYPE_P(member) != IS_STRING)) { in zend_std_read_property()
486 if (UNEXPECTED(Z_TYPE_P(rv) != IS_OBJECT)) { in zend_std_read_property()
532 if (UNEXPECTED(Z_TYPE_P(member) != IS_STRING)) { in zend_std_write_property()
560 Z_TYPE_PP(variable_ptr) = Z_TYPE_P(value); in zend_std_write_property()
726 if (UNEXPECTED(Z_TYPE_P(member) != IS_STRING)) { in zend_std_get_property_ptr_ptr()
802 if (UNEXPECTED(Z_TYPE_P(member) != IS_STRING)) { in zend_std_unset_property()
1413 if (UNEXPECTED(Z_TYPE_P(member) != IS_STRING)) { in zend_std_has_property()
1545 if (EXPECTED(Z_TYPE_P(retval) == IS_STRING)) { in zend_std_cast_object_tostring()
1551 if (Z_TYPE_P(writeobj) != type) { in zend_std_cast_object_tostring()
1591 Z_TYPE_P(writeobj) = IS_NULL; in zend_std_cast_object_tostring()
[all …]
H A Dzend_objects.c101 Z_TYPE_P(obj) = IS_OBJECT; in zend_objects_destroy_object()
H A Dzend_objects_API.c355 Z_TYPE_P(retval) = IS_OBJECT; in zend_object_create_proxy()
H A Dzend_opcode.c761 if (Z_TYPE_P(opline->op2.zv) != IS_LONG) { in pass_two()
780 if (opline->op1_type != IS_CONST || Z_TYPE_P(opline->op1.zv) != IS_NULL) { in pass_two()
H A Dzend_operators.c186 switch (Z_TYPE_P(op)) { in convert_scalar_to_number()
373 switch (Z_TYPE_P(op)) { in convert_to_long_base()
816 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in add_function()
878 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in sub_function()
925 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in mul_function()
966 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in div_function()
1107 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_or_function()
1147 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1189 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1477 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in compare_function()
[all …]
H A Dzend_operators.h539 Z_TYPE_P(op1) = IS_DOUBLE; in fast_increment_function()
582 Z_TYPE_P(op1) = IS_DOUBLE; in fast_decrement_function()
655 Z_TYPE_P(result) = IS_LONG; in fast_add_function()
744 Z_TYPE_P(result) = IS_LONG; in fast_sub_function()
803 Z_TYPE_P(result) = IS_BOOL; in fast_div_function()
812 Z_TYPE_P(result) = IS_LONG; in fast_div_function()
822 Z_TYPE_P(result) = IS_BOOL; in fast_div_function()
834 Z_TYPE_P(result) = IS_BOOL; in fast_div_function()
844 Z_TYPE_P(result) = IS_BOOL; in fast_div_function()
863 Z_TYPE_P(result) = IS_BOOL; in fast_mod_function()
[all …]
H A Dzend_variables.c32 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) { in _zval_dtor_func()
44 Z_TYPE_P(zvalue) = IS_NULL; in _zval_dtor_func()
78 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) { in _zval_internal_dtor()
108 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) { in _zval_copy_ctor_func()

Completed in 130 milliseconds

12345678