Home
last modified time | relevance | path

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

12345678910>>...32

/php-src/ext/dom/lexbor/lexbor/html/
H A Dinterface.h20 #define lxb_html_interface_document(obj) ((lxb_html_document_t *) (obj)) argument
21 #define lxb_html_interface_anchor(obj) ((lxb_html_anchor_element_t *) (obj)) argument
22 #define lxb_html_interface_area(obj) ((lxb_html_area_element_t *) (obj)) argument
23 #define lxb_html_interface_audio(obj) ((lxb_html_audio_element_t *) (obj)) argument
24 #define lxb_html_interface_br(obj) ((lxb_html_br_element_t *) (obj)) argument
25 #define lxb_html_interface_base(obj) ((lxb_html_base_element_t *) (obj)) argument
26 #define lxb_html_interface_body(obj) ((lxb_html_body_element_t *) (obj)) argument
35 #define lxb_html_interface_div(obj) ((lxb_html_div_element_t *) (obj)) argument
36 #define lxb_html_interface_element(obj) ((lxb_html_element_t *) (obj)) argument
43 #define lxb_html_interface_hr(obj) ((lxb_html_hr_element_t *) (obj)) argument
[all …]
/php-src/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-src/Zend/
H A Dzend_atomic.h92 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired)) in BEGIN_EXTERN_C() argument
93 #define ZEND_ATOMIC_INT_INIT(obj, desired) ((obj)->value = (desired)) in BEGIN_EXTERN_C() argument
189 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired))
190 #define ZEND_ATOMIC_INT_INIT(obj, desired) ((obj)->value = (desired))
237 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired))
238 #define ZEND_ATOMIC_INT_INIT(obj, desired) ((obj)->value = (desired))
295 obj->value = desired;
309 #define ZEND_ATOMIC_BOOL_INIT(obj, desired) ((obj)->value = (desired))
310 #define ZEND_ATOMIC_INT_INIT(obj, desired) ((obj)->value = (desired))
346 return obj->value;
[all …]
H A Dzend_atomic.c27 ZEND_ATOMIC_BOOL_INIT(obj, desired); in zend_atomic_bool_init()
31 ZEND_ATOMIC_INT_INIT(obj, desired); in zend_atomic_int_init()
35 return zend_atomic_bool_exchange_ex(obj, desired); in zend_atomic_bool_exchange()
39 return zend_atomic_int_exchange_ex(obj, desired); in zend_atomic_int_exchange()
53 zend_atomic_bool_store_ex(obj, desired); in zend_atomic_bool_store()
57 zend_atomic_int_store_ex(obj, desired); in zend_atomic_int_store()
63 return zend_atomic_bool_load_ex(obj); in zend_atomic_bool_load()
65 ZEND_API int zend_atomic_int_load(zend_atomic_int *obj) { in zend_atomic_int_load() argument
66 return zend_atomic_int_load_ex(obj); in zend_atomic_int_load()
70 return zend_atomic_bool_load_ex(obj); in zend_atomic_bool_load()
[all …]
H A Dzend_lazy_objects.c154 return obj; in zend_lazy_object_get_instance()
233 ZEND_ASSERT(!obj || (!zend_object_is_lazy(obj) || zend_lazy_object_initialized(obj))); in zend_object_make_lazy()
252 if (!obj) { in zend_object_make_lazy()
302 obj->handlers->dtor_obj(obj); in zend_object_make_lazy()
320 obj->properties = zend_array_dup(obj->properties); in zend_object_make_lazy()
349 return obj; in zend_object_make_lazy()
367 return obj; in zend_object_make_lazy()
398 return obj; in zend_lazy_object_mark_as_initialized()
468 GC_ADDREF(obj); in zend_lazy_object_init_proxy()
530 zend_object_dtor_property(obj, &obj->properties_table[i]); in zend_lazy_object_init_proxy()
[all …]
H A Dzend_lazy_objects.h61 ZEND_API zend_object *zend_object_make_lazy(zend_object *obj,
64 ZEND_API zend_object *zend_lazy_object_init(zend_object *obj);
69 zval* zend_lazy_object_get_initializer_zv(zend_object *obj);
70 zend_object *zend_lazy_object_get_instance(zend_object *obj);
72 void zend_lazy_object_del_info(zend_object *obj);
77 bool zend_lazy_object_decr_lazy_props(zend_object *obj);
78 void zend_lazy_object_realize(zend_object *obj);
81 static zend_always_inline bool zend_object_is_lazy(zend_object *obj) in zend_object_is_lazy() argument
88 return (OBJ_EXTRA_FLAGS(obj) & IS_OBJ_LAZY_PROXY); in zend_object_is_lazy_proxy()
93 return !(OBJ_EXTRA_FLAGS(obj) & IS_OBJ_LAZY_UNINITIALIZED); in zend_lazy_object_initialized()
[all …]
H A Dzend_objects_API.h45 #define OBJ_RELEASE(obj) zend_object_release(obj) argument
69 GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED); in zend_object_store_ctor_failed()
76 if (GC_DELREF(obj) == 0) { in END_EXTERN_C()
77 zend_objects_store_del(obj); in END_EXTERN_C()
78 } else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) { in END_EXTERN_C()
79 gc_possible_root((zend_refcounted*)obj); in END_EXTERN_C()
95 memset(obj, 0, obj_size - sizeof(zend_object)); in zend_object_alloc()
96 return obj; in zend_object_alloc()
104 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot_self()
111 if (UNEXPECTED(zend_object_is_lazy_proxy(obj))) { in zend_get_property_info_for_slot()
[all …]
/php-src/ext/dom/
H A Ddom_properties.h22 zend_result dom_attr_name_read(dom_object *obj, zval *retval);
23 zend_result dom_attr_specified_read(dom_object *obj, zval *retval);
24 zend_result dom_attr_value_read(dom_object *obj, zval *retval);
25 zend_result dom_attr_value_write(dom_object *obj, zval *newval);
35 zend_result dom_document_doctype_read(dom_object *obj, zval *retval);
84 zend_result dom_element_id_read(dom_object *obj, zval *retval);
85 zend_result dom_element_id_write(dom_object *obj, zval *newval);
134 zend_result dom_node_prefix_read(dom_object *obj, zval *retval);
136 zend_result dom_node_prefix_write(dom_object *obj, zval *newval);
169 #define DOM_PROP_NODE(type, name, obj) \ argument
[all …]
/php-src/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-src/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-src/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()
64 ZVAL_OBJ(z, &obj->zo); in php_com_wrap_dispatch()
72 obj = emalloc(sizeof(*obj)); in php_com_wrap_variant()
73 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
78 VariantInit(&obj->v); in php_com_wrap_variant()
80 obj->modified = 0; in php_com_wrap_variant()
82 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()
318 if (obj->typeinfo) { in com_method_get()
569 if (obj->typeinfo) { in php_com_object_free_storage()
571 obj->typeinfo = NULL; in php_com_object_free_storage()
580 VariantClear(&obj->v); in php_com_object_free_storage()
623 obj = emalloc(sizeof(*obj)); in php_com_object_new()
624 memset(obj, 0, sizeof(*obj)); in php_com_object_new()
626 VariantInit(&obj->v); in php_com_object_new()
628 obj->ce = ce; in php_com_object_new()
[all …]
/php-src/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-src/ext/dom/lexbor/lexbor/dom/
H A Dinterface.h22 #define lxb_dom_interface_cdata_section(obj) ((lxb_dom_cdata_section_t *) (obj)) argument
23 #define lxb_dom_interface_character_data(obj) ((lxb_dom_character_data_t *) (obj)) argument
24 #define lxb_dom_interface_comment(obj) ((lxb_dom_comment_t *) (obj)) argument
25 #define lxb_dom_interface_document(obj) ((lxb_dom_document_t *) (obj)) argument
27 #define lxb_dom_interface_document_type(obj) ((lxb_dom_document_type_t *) (obj)) argument
28 #define lxb_dom_interface_element(obj) ((lxb_dom_element_t *) (obj)) argument
29 #define lxb_dom_interface_attr(obj) ((lxb_dom_attr_t *) (obj)) argument
30 #define lxb_dom_interface_event_target(obj) ((lxb_dom_event_target_t *) (obj)) argument
31 #define lxb_dom_interface_node(obj) ((lxb_dom_node_t *) (obj)) argument
33 #define lxb_dom_interface_shadow_root(obj) ((lxb_dom_shadow_root_t *) (obj)) argument
[all …]
/php-src/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-src/Zend/tests/lazy_objects/
H A Dreset_as_lazy_ignores_additional_props.phpt32 $obj = new B();
33 $obj->a = 1;
34 $obj->b = 2;
37 var_dump($obj);
39 var_dump($obj);
43 $obj = new C();
44 $obj->a = 1;
45 $obj->c = 2;
48 var_dump($obj);
55 $obj->a = 1;
[all …]
H A Dtyped_properties_003.phpt10 function op($obj, $prop) {
11 $obj->$prop += 1;
14 return ++$obj->$prop;
17 return $obj->$prop++;
25 op($obj, 'prop');
26 op($obj, 'prop');
28 pre($obj, 'prop');
29 pre($obj, 'prop');
31 post($obj, 'prop');
32 post($obj, 'prop');
[all …]
H A Dinit_exception_reverts_initializer_changes_dyn_props.phpt26 var_dump($obj);
32 $obj = $reflector->newLazyGhost(function ($obj) {
34 $obj->a = 3;
35 $obj->b = 4;
36 $obj->c = 5;
37 $obj->d = 6;
43 $obj = $reflector->newLazyProxy(function ($obj) {
45 $obj->a = 3;
46 $obj->b = 4;
47 $obj->c = 5;
[all …]
H A DisUninitializedLazyObject.phpt10 function test(string $name, object $obj) {
15 var_dump($reflector->isUninitializedLazyObject($obj));
16 var_dump($obj->a);
22 $obj = $reflector->newLazyGhost(function ($obj) {
24 $obj->a = 1;
27 test('Ghost', $obj);
29 $obj = $reflector->newLazyProxy(function ($obj) {
31 $obj = new C();
32 $obj->a = 1;
33 return $obj;
[all …]
/php-src/ext/opcache/tests/jit/
H A Dmul_010.phpt12 $maq[$obj] = $a + $e;
13 $maq[$obj] = $maq[$obj] = !!$a = $a .
14 $maq[$obj] = $maq[$obj] = $maq[$obj] = $maq[$obj] = $a = $a + $a = &$a +
15 $maq[$obj] = $maq[$obj] = $a + $e;
16 $maq[$obj] = $maq[$obj] = !!$a = $a . $maq[$obj] = $maq[$obj] = $maq[$obj] =
17 $maq[$obj] = $a * $e == $a - $a + $e;
18 $maq[$obj] = $maq[$obj] = +$e;
22 $maq[$obj] = $maq[$obj] = !!$a = $a . $a &= $aZ = $a;
/php-src/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-src/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);

Completed in 56 milliseconds

12345678910>>...32