Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 586) sorted by relevance

12345678910>>...24

/PHP-8.2/ext/dom/
H A Ddom_properties.h22 int dom_attr_name_read(dom_object *obj, zval *retval);
23 int dom_attr_specified_read(dom_object *obj, zval *retval);
24 int dom_attr_value_read(dom_object *obj, zval *retval);
25 int dom_attr_value_write(dom_object *obj, zval *newval);
35 int dom_document_doctype_read(dom_object *obj, zval *retval);
50 int dom_document_config_read(dom_object *obj, zval *retval);
82 int dom_entity_version_read(dom_object *obj, zval *retval);
98 int dom_node_node_name_read(dom_object *obj, zval *retval);
113 int dom_node_prefix_read(dom_object *obj, zval *retval);
114 int dom_node_prefix_write(dom_object *obj, zval *newval);
[all …]
/PHP-8.2/ext/pcre/tests/
H A Dbug73612.phpt5 $obj = new stdClass;
6 $obj->obj = $obj;
7 preg_match('/./', 'x', $obj);
9 $obj = new stdClass;
10 $obj->obj = $obj;
13 $obj = new stdClass;
14 $obj->obj = $obj;
17 $obj = new stdClass;
18 $obj->obj = $obj;
21 $obj = new stdClass;
[all …]
/PHP-8.2/Zend/
H A Dzend_atomic.h67 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired)) in BEGIN_EXTERN_C() argument
76 return InterlockedOr8(&obj->value, false); in zend_atomic_bool_load_ex()
85 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) __c11_atomic_init(&(obj)->value, (desired))
101 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired))
121 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired))
140 obj->value = desired;
148 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired))
151 obj->value = desired;
155 return obj->value;
159 bool prev = obj->value;
[all …]
H A Dzend_atomic.c26 ZEND_API void zend_atomic_bool_init(zend_atomic_bool *obj, bool desired) { in zend_atomic_bool_init() argument
27 ZEND_ATOMIC_BOOL_INIT(obj, desired); in zend_atomic_bool_init()
30 ZEND_API bool zend_atomic_bool_exchange(zend_atomic_bool *obj, bool desired) { in zend_atomic_bool_exchange() argument
31 return zend_atomic_bool_exchange_ex(obj, desired); in zend_atomic_bool_exchange()
34 ZEND_API void zend_atomic_bool_store(zend_atomic_bool *obj, bool desired) { in zend_atomic_bool_store() argument
35 zend_atomic_bool_store_ex(obj, desired); in zend_atomic_bool_store()
40 ZEND_API bool zend_atomic_bool_load(zend_atomic_bool *obj) { in zend_atomic_bool_load() argument
41 return zend_atomic_bool_load_ex(obj); in zend_atomic_bool_load()
44 ZEND_API bool zend_atomic_bool_load(const zend_atomic_bool *obj) { in zend_atomic_bool_load() argument
45 return zend_atomic_bool_load_ex(obj); in zend_atomic_bool_load()
H A Dzend_objects_API.c52 if (IS_OBJ_VALID(obj)) { in zend_objects_store_call_destructors()
58 GC_ADDREF(obj); in zend_objects_store_call_destructors()
59 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
60 GC_DELREF(obj); in zend_objects_store_call_destructors()
79 if (IS_OBJ_VALID(obj)) { in zend_objects_store_mark_destructed()
103 obj = *obj_ptr; in zend_objects_store_free_object_storage()
108 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
109 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
117 obj = *obj_ptr; in zend_objects_store_free_object_storage()
121 GC_ADDREF(obj); in zend_objects_store_free_object_storage()
[all …]
H A Dzend_objects_API.h43 #define OBJ_RELEASE(obj) zend_object_release(obj) argument
67 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_object_store_ctor_failed()
74 if (GC_DELREF(obj) == 0) { in END_EXTERN_C()
75 zend_objects_store_del(obj); in END_EXTERN_C()
76 } else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) { in END_EXTERN_C()
77 gc_possible_root((zend_refcounted*)obj); in END_EXTERN_C()
92 void *obj = emalloc(obj_size + zend_object_properties_size(ce)); in zend_object_alloc() local
93 memset(obj, 0, obj_size - sizeof(zend_object)); in zend_object_alloc()
94 return obj; in zend_object_alloc()
99 zend_property_info **table = obj->ce->properties_info_table; in zend_get_property_info_for_slot()
[all …]
/PHP-8.2/ext/standard/tests/serialize/
H A Dserialization_objects_013.phpt23 $obj->a = &$obj->b;
30 $obj->a = &$obj->c;
37 $obj->b = &$obj->a;
45 $obj->b = &$obj->c;
52 $obj->c = &$obj->a;
59 $obj->c = &$obj->b;
65 $obj->a = &$obj->c;
66 $obj->b = &$obj->c;
72 $obj->a = &$obj->b;
73 $obj->c = &$obj->b;
[all …]
H A Dserialization_objects_015.phpt24 $obj->a = &$obj;
32 $obj->a = $obj;
40 $obj->a = &$obj;
41 $obj->b = &$obj;
48 $obj->a = $obj;
49 $obj->b = $obj;
56 $obj->a = &$obj;
57 $obj->b = &$obj;
64 $obj->a = $obj;
65 $obj->b = $obj;
[all …]
H A Dserialization_objects_014.phpt24 $obj->b = 1;
25 $obj->c = 1;
26 check($obj);
31 $obj->a = 1;
33 $obj->c = 1;
34 check($obj);
39 $obj->a = 1;
40 $obj->b = 1;
42 check($obj);
49 $obj->c = 1;
[all …]
/PHP-8.2/ext/com_dotnet/
H A Dcom_misc.c50 obj = emalloc(sizeof(*obj)); in php_com_wrap_dispatch()
51 memset(obj, 0, sizeof(*obj)); in php_com_wrap_dispatch()
56 VariantInit(&obj->v); in php_com_wrap_dispatch()
61 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in php_com_wrap_dispatch()
65 ZVAL_OBJ(z, &obj->zo); in php_com_wrap_dispatch()
73 obj = emalloc(sizeof(*obj)); in php_com_wrap_variant()
74 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
79 VariantInit(&obj->v); in php_com_wrap_variant()
81 obj->modified = 0; in php_com_wrap_variant()
83 if ((V_VT(&obj->v) == VT_DISPATCH) && (V_DISPATCH(&obj->v) != NULL)) { in php_com_wrap_variant()
[all …]
H A Dcom_handlers.c30 php_com_dotnet_object *obj; in com_property_read() local
310 f.scope = obj->ce; in com_method_get()
317 if (obj->typeinfo) { in com_method_get()
568 if (obj->typeinfo) { in php_com_object_free_storage()
570 obj->typeinfo = NULL; in php_com_object_free_storage()
579 VariantClear(&obj->v); in php_com_object_free_storage()
622 obj = emalloc(sizeof(*obj)); in php_com_object_new()
623 memset(obj, 0, sizeof(*obj)); in php_com_object_new()
625 VariantInit(&obj->v); in php_com_object_new()
627 obj->ce = ce; in php_com_object_new()
[all …]
/PHP-8.2/Zend/tests/grammar/
H A Dsemi_reserved_003.phpt87 $obj = new Obj;
107 echo $obj->and, PHP_EOL;
114 echo $obj->new, PHP_EOL;
115 echo $obj->or, PHP_EOL;
116 echo $obj->xor, PHP_EOL;
117 echo $obj->try, PHP_EOL;
118 echo $obj->use, PHP_EOL;
140 echo $obj->fn, PHP_EOL;
141 echo $obj->if, PHP_EOL;
148 echo $obj->do, PHP_EOL;
[all …]
H A Dsemi_reserved_001.phpt107 $obj->and();
114 $obj->new();
115 $obj->or();
116 $obj->xor();
117 $obj->try();
118 $obj->use();
119 $obj->var();
141 $obj->fn();
142 $obj->if();
149 $obj->do();
[all …]
/PHP-8.2/ext/spl/tests/
H A Darray_010.phpt27 var_dump($obj[0]);
28 var_dump($obj[1]);
29 var_dump($obj[2]);
32 var_dump($obj[6]);
37 var_dump($obj[1]);
46 var_dump($obj[6]);
48 var_dump($obj[0]);
49 var_dump($obj[2]);
52 var_dump($obj[6]);
57 unset($obj[2]);
[all …]
/PHP-8.2/ext/intl/
H A Dintl_data.h33 #define INTL_METHOD_INIT_VARS(oclass, obj) \ argument
35 oclass##_object* obj = NULL; \
38 #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) argument
39 #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) argument
40 #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) argument
42 #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ argument
43 obj = Z_##oclass##_P( object ); \
44 intl_error_reset( INTL_DATA_ERROR_P(obj) ); \
66 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
68 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
[all …]
/PHP-8.2/ext/standard/tests/array/
H A Dbug76713.phpt6 function test($obj) {
10 $obj = new Stdclass();
14 test($obj);
15 test($obj);
16 test($obj);
18 var_dump($obj->prop);
27 $obj = new C;
31 test($obj);
32 test($obj);
33 test($obj);
[all …]
/PHP-8.2/Zend/tests/
H A Dbug68191.phpt6 $obj = new stdClass;
8 $obj->prop1 = 'abc';
9 $obj->prop2 =& $obj->prop1;
10 $obj->prop2 .= 'xyz';
11 var_dump($obj->prop1);
13 $obj->prop3 = 1;
14 $obj->prop4 =& $obj->prop3;
15 ++$obj->prop4;
16 var_dump($obj->prop3);
H A Dincdec_ref_property.phpt6 $obj = new stdClass;
7 $obj->prop = 1;
8 $ref =& $obj->prop;
9 var_dump(++$obj->prop);
10 var_dump($obj->prop);
11 var_dump($obj->prop++);
12 var_dump($obj->prop);
13 var_dump(--$obj->prop);
14 var_dump($obj->prop);
15 var_dump($obj->prop--);
[all …]
H A Ddynamic_prop_deprecation.phpt8 $obj = new Test;
10 $obj->prop = 1; // Ok
12 $obj->prop2 += 1; // Ok
14 $obj->prop3++; // Ok
16 $obj->prop4[] = 1; // Ok
21 $obj = new stdClass;
22 $obj->prop = 1;
29 $obj = new Test2;
30 $obj->prop = 1;
32 $obj = new Test3;
[all …]
/PHP-8.2/tests/classes/
H A Darray_access_001.phpt29 var_dump($obj->a);
48 var_dump($obj[0]);
49 var_dump($obj[1]);
50 var_dump($obj[2]);
53 var_dump($obj[6]);
58 var_dump($obj[1]);
67 var_dump($obj[6]);
69 var_dump($obj[0]);
70 var_dump($obj[2]);
78 unset($obj[2]);
[all …]
H A Darray_access_002.phpt29 var_dump($obj->a);
48 var_dump($obj[0]);
49 var_dump($obj[1]);
50 var_dump($obj[2]);
53 var_dump($obj[6]);
58 var_dump($obj[1]);
67 var_dump($obj[6]);
69 var_dump($obj[0]);
70 var_dump($obj[2]);
78 unset($obj[2]);
[all …]
/PHP-8.2/ext/reflection/tests/
H A DReflectionClass_isCloneable_001.phpt14 $obj = new ReflectionClass($foo);
15 var_dump($obj->isCloneable());
16 $obj = new ReflectionObject($foo);
17 var_dump($obj->isCloneable());
27 var_dump($obj->isCloneable());
29 var_dump($obj->isCloneable());
35 var_dump($obj->isCloneable());
37 var_dump($obj->isCloneable());
42 var_dump($obj->isCloneable());
44 var_dump($obj->isCloneable());
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dfetch_obj_001.phpt25 foo($obj->a);
26 var_dump($obj);
27 foo2($obj->b);
28 var_dump($obj);
30 foo3($obj->a, $obj->b);
31 var_dump($obj);
33 $a = &$obj->a;
35 var_dump($obj);
39 foo($obj->a);
41 foo2($obj->b);
[all …]
/PHP-8.2/Zend/tests/weakrefs/
H A Dweakmap_weakness.phpt12 $obj = new stdClass;
13 $map[$obj] = 2;
16 unset($obj);
28 unset($obj);
34 $map[$obj] = 3;
36 var_dump($obj);
41 $obj->obj = $obj;
42 $map[$obj] = 4;
43 unset($obj);
51 $map[$obj] = $obj;
[all …]
H A Dweakmap_basic_map_behavior.phpt9 $obj = new stdClass;
10 $obj->value = 1;
14 $map[$obj] = $obj2;
19 var_dump($map[$obj]);
21 $map[$obj] = 42;
25 var_dump($map[$obj]);
27 $map[$obj] = false;
33 $map[$obj] = null;
39 unset($map[$obj]);
53 $map[$obj] = [];
[all …]

Completed in 44 milliseconds

12345678910>>...24