Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-7.2/ext/dom/
H A Ddom_properties.h25 int dom_attr_name_read(dom_object *obj, zval *retval);
26 int dom_attr_specified_read(dom_object *obj, zval *retval);
27 int dom_attr_value_read(dom_object *obj, zval *retval);
28 int dom_attr_value_write(dom_object *obj, zval *newval);
38 int dom_document_doctype_read(dom_object *obj, zval *retval);
53 int dom_document_config_read(dom_object *obj, zval *retval);
78 int dom_domerror_type_read(dom_object *obj, zval *retval);
91 int dom_domlocator_uri_read(dom_object *obj, zval *retval);
131 int dom_node_prefix_read(dom_object *obj, zval *retval);
132 int dom_node_prefix_write(dom_object *obj, zval *newval);
[all …]
H A Dentity.c47 int dom_entity_public_id_read(dom_object *obj, zval *retval) in dom_entity_public_id_read() argument
49 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_public_id_read()
72 int dom_entity_system_id_read(dom_object *obj, zval *retval) in dom_entity_system_id_read() argument
74 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_system_id_read()
97 int dom_entity_notation_name_read(dom_object *obj, zval *retval) in dom_entity_notation_name_read() argument
99 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_notation_name_read()
125 int dom_entity_actual_encoding_read(dom_object *obj, zval *retval) in dom_entity_actual_encoding_read() argument
143 int dom_entity_encoding_read(dom_object *obj, zval *retval) in dom_entity_encoding_read() argument
149 int dom_entity_encoding_write(dom_object *obj, zval *newval) in dom_entity_encoding_write() argument
161 int dom_entity_version_read(dom_object *obj, zval *retval) in dom_entity_version_read() argument
[all …]
/PHP-7.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-7.2/ext/standard/tests/serialize/
H A Dserialization_objects_013.phpt36 $obj->a = &$obj->b;
43 $obj->a = &$obj->c;
50 $obj->b = &$obj->a;
58 $obj->b = &$obj->c;
65 $obj->c = &$obj->a;
72 $obj->c = &$obj->b;
78 $obj->a = &$obj->c;
79 $obj->b = &$obj->c;
85 $obj->a = &$obj->b;
86 $obj->c = &$obj->b;
[all …]
H A Dserialization_objects_015.phpt26 $obj->a = &$obj;
34 $obj->a = $obj;
42 $obj->a = &$obj;
43 $obj->b = &$obj;
50 $obj->a = $obj;
51 $obj->b = $obj;
58 $obj->a = &$obj;
59 $obj->b = &$obj;
66 $obj->a = $obj;
67 $obj->b = $obj;
[all …]
H A Dserialization_objects_014.phpt37 $obj->b = 1;
38 $obj->c = 1;
39 check($obj);
44 $obj->a = 1;
46 $obj->c = 1;
47 check($obj);
52 $obj->a = 1;
53 $obj->b = 1;
55 check($obj);
62 $obj->c = 1;
[all …]
/PHP-7.2/ext/com_dotnet/
H A Dcom_misc.c54 obj = emalloc(sizeof(*obj)); in php_com_wrap_dispatch()
55 memset(obj, 0, sizeof(*obj)); in php_com_wrap_dispatch()
60 VariantInit(&obj->v); in php_com_wrap_dispatch()
65 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in php_com_wrap_dispatch()
69 ZVAL_OBJ(z, &obj->zo); in php_com_wrap_dispatch()
77 obj = emalloc(sizeof(*obj)); in php_com_wrap_variant()
78 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
83 VariantInit(&obj->v); in php_com_wrap_variant()
85 obj->modified = 0; in php_com_wrap_variant()
87 if ((V_VT(&obj->v) == VT_DISPATCH) && (V_DISPATCH(&obj->v) != NULL)) { in php_com_wrap_variant()
[all …]
H A Dcom_handlers.c42 obj = CDNO_FETCH(object); in com_property_read()
70 obj = CDNO_FETCH(object); in com_property_write()
285 f.scope = obj->ce; in com_method_get()
292 if (obj->typeinfo) { in com_method_get()
408 f.scope = obj->ce; \ in com_constructor_get()
604 if (obj->typeinfo) { in php_com_object_free_storage()
656 obj = emalloc(sizeof(*obj)); in php_com_object_new()
657 memset(obj, 0, sizeof(*obj)); in php_com_object_new()
659 VariantInit(&obj->v); in php_com_object_new()
661 obj->ce = ce; in php_com_object_new()
[all …]
H A Dcom_com.c37 php_com_dotnet_object *obj; in PHP_FUNCTION() local
59 obj = CDNO_FETCH(object); in PHP_FUNCTION()
79 obj->code_page = (int)cp; in PHP_FUNCTION()
301 IDispatch *obj = NULL; in PHP_FUNCTION() local
328 } else if (obj) { in PHP_FUNCTION()
335 if (obj) { in PHP_FUNCTION()
336 IDispatch_Release(obj); in PHP_FUNCTION()
339 IUnknown_Release(obj); in PHP_FUNCTION()
443 if (obj->typeinfo) { in php_com_get_id_of_name()
450 obj->typeinfo = NULL; in php_com_get_id_of_name()
[all …]
/PHP-7.2/Zend/tests/grammar/
H A Dsemi_reserved_003.phpt86 $obj = new Obj;
106 echo $obj->and, PHP_EOL;
113 echo $obj->new, PHP_EOL;
114 echo $obj->or, PHP_EOL;
115 echo $obj->xor, PHP_EOL;
116 echo $obj->try, PHP_EOL;
117 echo $obj->use, PHP_EOL;
118 echo $obj->var, PHP_EOL;
139 echo $obj->if, PHP_EOL;
146 echo $obj->do, PHP_EOL;
[all …]
H A Dsemi_reserved_001.phpt105 $obj->and();
112 $obj->new();
113 $obj->or();
114 $obj->xor();
115 $obj->try();
116 $obj->use();
117 $obj->var();
138 $obj->if();
141 $obj->for();
145 $obj->do();
[all …]
/PHP-7.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 …]
H A Ddllist_008.phpt5 $obj = new SplDoublyLinkedList();
6 $obj[] = 1;
7 $obj[] = 2;
8 var_dump(count($obj));
14 $obj = new SplDoublyLinkedList2();
15 $obj[] = 1;
16 $obj[] = 2;
17 var_dump(count($obj));
H A Dheap_010.phpt5 $obj = new SplMaxHeap();
6 $obj->insert(1);
7 $obj->insert(2);
8 var_dump(count($obj));
14 $obj = new SplMaxHeap2();
15 $obj->insert(1);
16 $obj->insert(2);
17 var_dump(count($obj));
/PHP-7.2/ext/intl/
H A Dintl_data.h35 #define INTL_METHOD_INIT_VARS(oclass, obj) \ argument
37 oclass##_object* obj = NULL; \
40 #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) argument
41 #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) argument
42 #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) argument
44 #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ argument
45 obj = Z_##oclass##_P( object ); \
46 intl_error_reset( INTL_DATA_ERROR_P(obj) ); \
68 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
70 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
[all …]
/PHP-7.2/Zend/
H A Dzend_objects_API.c58 GC_REFCOUNT(obj)++; in zend_objects_store_call_destructors()
59 obj->handlers->dtor_obj(obj); in zend_objects_store_call_destructors()
60 GC_REFCOUNT(obj)--; in zend_objects_store_call_destructors()
100 obj = *obj_ptr; in zend_objects_store_free_object_storage()
105 GC_REFCOUNT(obj)++; in zend_objects_store_free_object_storage()
106 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
107 GC_REFCOUNT(obj)--; in zend_objects_store_free_object_storage()
115 obj = *obj_ptr; in zend_objects_store_free_object_storage()
120 GC_REFCOUNT(obj)++; in zend_objects_store_free_object_storage()
121 obj->handlers->free_obj(obj); in zend_objects_store_free_object_storage()
[all …]
/PHP-7.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 Dobject_property_ref_incdec.phpt6 $obj = new stdClass;
7 $obj->cursor = 0;
8 $ref =& $obj->cursor;
10 $obj->cursor++;
11 var_dump($obj->cursor);
13 $obj->cursor--;
14 var_dump($obj->cursor);
/PHP-7.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-7.2/ext/reflection/tests/
H A DReflectionClass_isCloneable_001.phpt13 $obj = new ReflectionClass($foo);
14 var_dump($obj->isCloneable());
16 var_dump($obj->isCloneable());
26 var_dump($obj->isCloneable());
28 var_dump($obj->isCloneable());
34 var_dump($obj->isCloneable());
36 var_dump($obj->isCloneable());
41 var_dump($obj->isCloneable());
43 var_dump($obj->isCloneable());
48 var_dump($obj->isCloneable());
[all …]
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_fetch_object.phpt29 $obj = mysqli_fetch_object($res);
30 if (($obj->ID !== "1") || ($obj->label !== "a") || (get_class($obj) != 'stdClass')) {
32 var_dump($obj);
46 …if (($obj->ID !== "2") || ($obj->label !== "b") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
48 var_dump($obj);
64 …if (($obj->ID !== "3") || ($obj->label !== "c") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
66 var_dump($obj);
74 …if (($obj->ID !== "4") || ($obj->label !== "d") || ($obj->a !== 'a') || ($obj->b !== NULL) || (get…
76 var_dump($obj);
83 …if (($obj->ID !== "5") || ($obj->label !== "e") || ($obj->a !== 'a') || ($obj->b !== 'b') || (get_…
[all …]
H A Dmysqli_fetch_object_oo.phpt49 $obj = mysqli_fetch_object($res);
50 if (($obj->ID !== "1") || ($obj->label !== "a") || (get_class($obj) != 'stdClass')) {
52 var_dump($obj);
66 …if (($obj->ID !== "2") || ($obj->label !== "b") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
68 var_dump($obj);
83 …if (($obj->ID !== "3") || ($obj->label !== "c") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
85 var_dump($obj);
94 …if (($obj->ID !== "4") || ($obj->label !== "d") || ($obj->a !== 'a') || ($obj->b !== NULL) || (get…
96 var_dump($obj);
103 …if (($obj->ID !== "5") || ($obj->label !== "e") || ($obj->a !== 'a') || ($obj->b !== 'b') || (get_…
[all …]
/PHP-7.2/ext/spl/internal/
H A Dsplobjectstorage.inc94 function contains($obj)
96 if (is_object($obj))
115 if (is_object($obj) && !$this->contains($obj))
123 function detach($obj)
125 if (is_object($obj))
146 $this->attach($obj, $inf);
155 function offsetGet($obj)
157 if (is_object($obj))
174 function offsetUnset($obj)
176 $this->detach($obj);
[all …]

Completed in 48 milliseconds

12345678910>>...20