Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-5.3/ext/dom/
H A Ddom_properties.h25 int dom_attr_name_read(dom_object *obj, zval **retval TSRMLS_DC);
26 int dom_attr_specified_read(dom_object *obj, zval **retval TSRMLS_DC);
27 int dom_attr_value_read(dom_object *obj, zval **retval TSRMLS_DC);
28 int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC);
38 int dom_document_doctype_read(dom_object *obj, zval **retval TSRMLS_DC);
53 int dom_document_config_read(dom_object *obj, zval **retval TSRMLS_DC);
78 int dom_domerror_type_read(dom_object *obj, zval **retval TSRMLS_DC);
91 int dom_domlocator_uri_read(dom_object *obj, zval **retval TSRMLS_DC);
131 int dom_node_prefix_read(dom_object *obj, zval **retval TSRMLS_DC);
132 int dom_node_prefix_write(dom_object *obj, zval *newval TSRMLS_DC);
[all …]
H A Dentity.c47 int dom_entity_public_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_entity_public_id_read() argument
51 nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_public_id_read()
75 int dom_entity_system_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_entity_system_id_read() argument
79 nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_system_id_read()
103 int dom_entity_notation_name_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_entity_notation_name_read() argument
108 nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_notation_name_read()
134 int dom_entity_actual_encoding_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_entity_actual_encoding_read() argument
153 int dom_entity_encoding_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_entity_encoding_read() argument
160 int dom_entity_encoding_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_entity_encoding_write() argument
172 int dom_entity_version_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_entity_version_read() argument
[all …]
H A Ddocumenttype.c46 int dom_documenttype_name_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_documenttype_name_read() argument
50 dtdptr = (xmlDtdPtr) dom_object_get_node(obj); in dom_documenttype_name_read()
70 int dom_documenttype_entities_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_documenttype_entities_read() argument
76 doctypep = (xmlDtdPtr) dom_object_get_node(obj); in dom_documenttype_entities_read()
101 int dom_documenttype_notations_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_documenttype_notations_read() argument
107 doctypep = (xmlDtdPtr) dom_object_get_node(obj); in dom_documenttype_notations_read()
132 int dom_documenttype_public_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_documenttype_public_id_read() argument
136 dtdptr = (xmlDtdPtr) dom_object_get_node(obj); in dom_documenttype_public_id_read()
160 int dom_documenttype_system_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_documenttype_system_id_read() argument
164 dtdptr = (xmlDtdPtr) dom_object_get_node(obj); in dom_documenttype_system_id_read()
[all …]
/PHP-5.3/ext/standard/tests/serialize/
H A Dserialization_objects_013.phpt35 $obj->a = &$obj->b;
42 $obj->a = &$obj->c;
50 $obj->b = &$obj->a;
57 $obj->b = &$obj->c;
65 $obj->c = &$obj->a;
72 $obj->c = &$obj->b;
77 $obj->a = &$obj->c;
78 $obj->b = &$obj->c;
84 $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 …]
H A Dbug27469.phpt6 $obj = unserialize($str);
7 var_dump($obj);
8 echo serialize($obj)."\n";
9 var_dump($obj);
10 echo serialize($obj)."\n";
11 var_dump($obj);
/PHP-5.3/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()
52 obj->code_page = codepage; 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()
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.c285 f.scope = obj->ce; in com_method_get()
292 if (obj->typeinfo) { in com_method_get()
413 f.scope = obj->ce; \ in com_constructor_get()
442 return obj->ce; in com_class_entry_get()
450 *class_name = estrndup(obj->ce->name, obj->ce->name_length); in com_class_name_get()
614 if (obj->typeinfo) { in php_com_object_free_storage()
635 efree(obj); in php_com_object_free_storage()
668 obj = emalloc(sizeof(*obj)); in php_com_object_new()
669 memset(obj, 0, sizeof(*obj)); in php_com_object_new()
673 obj->ce = ce; in php_com_object_new()
[all …]
H A Dcom_com.c37 php_com_dotnet_object *obj; in PHP_FUNCTION() local
57 obj = CDNO_FETCH(object); in PHP_FUNCTION()
294 IDispatch *obj = NULL; in PHP_FUNCTION() local
321 } else if (obj) { in PHP_FUNCTION()
328 if (obj) { in PHP_FUNCTION()
329 IDispatch_Release(obj); in PHP_FUNCTION()
332 IUnknown_Release(obj); in PHP_FUNCTION()
436 if (obj->typeinfo) { in php_com_get_id_of_name()
443 obj->typeinfo = NULL; in php_com_get_id_of_name()
684 php_com_dotnet_object *obj; in PHP_FUNCTION() local
[all …]
H A Dcom_variant.c444 res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION()
459 if (V_VT(&obj->v) != VT_DISPATCH && obj->typeinfo) { in PHP_FUNCTION()
495 obj->modified = 1; in PHP_FUNCTION()
527 vleft = &obj->v; in variant_binary_operation()
529 vright = &obj->v; in variant_binary_operation()
534 vleft = &obj->v; in variant_binary_operation()
733 vleft = &obj->v; in variant_unary_operation()
831 vleft = &obj->v; in PHP_FUNCTION()
870 vleft = &obj->v; in PHP_FUNCTION()
877 vleft = &obj->v; in PHP_FUNCTION()
[all …]
/PHP-5.3/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));
H A Dbug53362.phpt6 class obj extends SplFixedArray{
12 $obj = new obj;
14 $obj[]=2;
15 $obj[]=2;
16 $obj[]=2;
H A Darray_004.phpt11 $obj = new ArrayObject($arr);
13 foreach($obj as $ak=>$av) {
14 foreach($obj as $bk=>$bv) {
25 $obj = new ArrayObject(&$arr);
27 foreach($obj as $ak=>$av) {
28 foreach($obj as $bk=>$bv) {
41 foreach($obj as $ak=>$av) {
42 foreach($obj as $bk=>$bv) {
55 foreach($obj as $ak=>$av) {
56 foreach($obj as $bk=>$bv) {
[all …]
/PHP-5.3/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
46 intl_error_reset( INTL_DATA_ERROR_P(obj) TSRMLS_CC ); \
58 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
60 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
67 #define INTL_CTOR_CHECK_STATUS(obj, msg) \ argument
[all …]
/PHP-5.3/Zend/
H A Dzend_objects_API.c55 if (obj->dtor && obj->object) { in zend_objects_store_call_destructors()
57 obj->dtor(obj->object, i TSRMLS_CC); in zend_objects_store_call_destructors()
58 obj = &objects->object_buckets[i].bucket.obj; in zend_objects_store_call_destructors()
92 obj->free_storage(obj->object TSRMLS_CC); in zend_objects_store_free_object_storage()
117 obj = &EG(objects_store).object_buckets[handle].bucket.obj; in zend_objects_store_put()
190 obj = &EG(objects_store).object_buckets[handle].bucket.obj; in zend_objects_store_del_ref_by_handle_ex()
206 obj->dtor(obj->object, handle TSRMLS_CC); in zend_objects_store_del_ref_by_handle_ex()
220 obj->free_storage(obj->object TSRMLS_CC); in zend_objects_store_del_ref_by_handle_ex()
252 obj = &EG(objects_store).object_buckets[handle].bucket.obj; in zend_objects_store_clone_obj()
258 obj->clone(obj->object, &new_object TSRMLS_CC); in zend_objects_store_clone_obj()
[all …]
H A Dzend_gc.c195 struct _store_object *obj; in gc_zobj_possible_root() local
204 obj = &EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj; in gc_zobj_possible_root()
206 GC_SET_PURPLE(obj->buffered); in gc_zobj_possible_root()
227 obj = &EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj; in gc_zobj_possible_root()
278 struct _store_object *obj = &EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(pz)].bucket.obj; in zval_scan_black() local
280 obj->refcount++; in zval_scan_black()
282 GC_SET_BLACK(obj->buffered); in zval_scan_black()
317 GC_SET_BLACK(obj->buffered); in zobj_scan_black()
351 obj->refcount--; in zval_mark_grey()
460 if (obj->refcount > 0) { in zval_scan()
[all …]
/PHP-5.3/tests/classes/
H A Darray_access_001.phpt27 $obj = new Object;
29 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]);
78 unset($obj[2]);
[all …]
H A Darray_access_002.phpt27 $obj = new Object;
29 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]);
78 unset($obj[2]);
[all …]
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_fetch_object_oo.phpt39 $obj = mysqli_fetch_object($res);
40 if (($obj->ID !== "1") || ($obj->label !== "a") || (get_class($obj) != 'stdClass')) {
42 var_dump($obj);
56 …if (($obj->ID !== "2") || ($obj->label !== "b") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
58 var_dump($obj);
72 …if (($obj->ID !== "3") || ($obj->label !== "c") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
74 var_dump($obj);
78 …if (($obj->ID !== "4") || ($obj->label !== "d") || ($obj->a !== 'a') || ($obj->b !== NULL) || (get…
80 var_dump($obj);
84 …if (($obj->ID !== "5") || ($obj->label !== "e") || ($obj->a !== 'a') || ($obj->b !== 'b') || (get_…
[all …]
H A Dmysqli_fetch_object.phpt27 $obj = mysqli_fetch_object($res);
28 if (($obj->ID !== "1") || ($obj->label !== "a") || (get_class($obj) != 'stdClass')) {
30 var_dump($obj);
44 …if (($obj->ID !== "2") || ($obj->label !== "b") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
46 var_dump($obj);
62 …if (($obj->ID !== "3") || ($obj->label !== "c") || ($obj->a !== NULL) || ($obj->b !== NULL) || (ge…
64 var_dump($obj);
68 …if (($obj->ID !== "4") || ($obj->label !== "d") || ($obj->a !== 'a') || ($obj->b !== NULL) || (get…
70 var_dump($obj);
74 …if (($obj->ID !== "5") || ($obj->label !== "e") || ($obj->a !== 'a') || ($obj->b !== 'b') || (get_…
[all …]
/PHP-5.3/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 …]
/PHP-5.3/tests/lang/
H A DforeachLoopObjects.003.phpt15 $obj = new C;
20 var_dump($obj);
23 $obj = new C;
27 var_dump($obj);
31 $obj = new C;
35 var_dump($obj);
38 $obj = new C;
49 var_dump($obj);
52 $obj = new C;
66 $obj = new C;
[all …]

Completed in 57 milliseconds

12345678910>>...15