Home
last modified time | relevance | path

Searched refs:zobj (Results 26 – 34 of 34) sorted by relevance

12

/php-src/Zend/
H A Dzend_API.h2375 zend_object *zobj = Z_OBJ_P(arg); in zend_parse_arg_array_ht() local
2377 && zobj->properties in zend_parse_arg_array_ht()
2378 && UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_parse_arg_array_ht()
2379 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_parse_arg_array_ht()
2380 GC_DELREF(zobj->properties); in zend_parse_arg_array_ht()
2382 zobj->properties = zend_array_dup(zobj->properties); in zend_parse_arg_array_ht()
2384 *dest = zobj->handlers->get_properties(zobj); in zend_parse_arg_array_ht()
H A Dzend_API.c728 zend_object *zobj = Z_OBJ_P(arg); in zend_parse_arg_number_or_str_slow() local
730 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_number_or_str_slow()
731 OBJ_RELEASE(zobj); in zend_parse_arg_number_or_str_slow()
753 zend_object *zobj = Z_OBJ_P(arg); in zend_parse_arg_str_weak() local
755 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
756 OBJ_RELEASE(zobj); in zend_parse_arg_str_weak()
1387 zend_object *zobj = Z_OBJ_P(obj); in zend_merge_properties() local
1388 zend_object_write_property_t write_property = zobj->handlers->write_property; in zend_merge_properties()
1399 write_property(zobj, key, value, NULL); in zend_merge_properties()
H A Dzend_operators.c2815 zend_object *zobj = Z_OBJ_P(op); in zend_object_is_true() local
2817 if (zobj->handlers->cast_object(zobj, &tmp, _IS_BOOL) == SUCCESS) { in zend_object_is_true()
2820 …zend_error(E_RECOVERABLE_ERROR, "Object of class %s could not be converted to bool", ZSTR_VAL(zobj in zend_object_is_true()
H A Dzend_ast.c993 zend_object *zobj = Z_OBJ(op1); in zend_ast_evaluate_inner() local
994 if (!(zobj->ce->ce_flags & ZEND_ACC_ENUM)) { in zend_ast_evaluate_inner()
1002 zval *property_result = zend_read_property_ex(scope, zobj, name, 0, result); in zend_ast_evaluate_inner()
/php-src/ext/gmp/
H A Dgmp.c480 zend_object *zobj; in gmp_unserialize() local
485 zobj = Z_OBJ_P(object); in gmp_unserialize()
509 zend_std_get_properties(zobj), Z_ARRVAL_P(zv), in gmp_unserialize()
/php-src/ext/spl/
H A Dspl_iterators.c929 zval *zobj; in spl_recursive_it_get_method() local
935 zobj = &object->iterators[level].zobject; in spl_recursive_it_get_method()
939 if ((function_handler = zend_hash_find_ptr(&Z_OBJCE_P(zobj)->function_table, method)) == NULL) { in spl_recursive_it_get_method()
940 *zobject = Z_OBJ_P(zobj); in spl_recursive_it_get_method()
943 *zobject = Z_OBJ_P(zobj); in spl_recursive_it_get_method()
/php-src/ext/ffi/
H A Dffi.c1745 static zend_string *zend_ffi_cdata_get_class_name(const zend_object *zobj) /* {{{ */ in zend_ffi_cdata_get_class_name() argument
1747 zend_ffi_cdata *cdata = (zend_ffi_cdata*)zobj; in zend_ffi_cdata_get_class_name()
1749 return zend_ffi_get_class_name(zobj->ce->name, ZEND_FFI_TYPE(cdata->type)); in zend_ffi_cdata_get_class_name()
2247 static zend_string *zend_ffi_ctype_get_class_name(const zend_object *zobj) /* {{{ */ in zend_ffi_ctype_get_class_name() argument
2249 zend_ffi_ctype *ctype = (zend_ffi_ctype*)zobj; in zend_ffi_ctype_get_class_name()
2251 return zend_ffi_get_class_name(zobj->ce->name, ZEND_FFI_TYPE(ctype->type)); in zend_ffi_ctype_get_class_name()
/php-src/ext/soap/
H A Dphp_encoding.c1467 zend_object *zobj = Z_OBJ_P(ret); in to_zval_object_ex() local
1468 zobj->ce = ce; in to_zval_object_ex()
/php-src/ext/date/
H A Dphp_date.c2336 static void add_common_properties(HashTable *myht, zend_object *zobj) in add_common_properties() argument
2342 common = zend_std_get_properties(zobj); in add_common_properties()

Completed in 101 milliseconds

12