Home
last modified time | relevance | path

Searched refs:obj (Results 26 – 50 of 502) sorted by last modified time

12345678910>>...21

/PHP-7.4/ext/dom/
H A Dphp_dom.c264 if (obj && obj->ptr != NULL) { in dom_object_get_node()
275 if (obj && obj->_private != NULL) { in php_dom_object_get_data()
319 if (!obj->prop_handler || !zend_hash_exists(obj->prop_handler, member_str)) { in dom_get_property_ptr_ptr()
336 if (obj->prop_handler != NULL) { in dom_read_property()
343 int ret = hnd->read_func(obj, rv); in dom_read_property()
365 if (obj->prop_handler != NULL) { in dom_write_property()
369 hnd->write_func(obj, value); in dom_write_property()
388 if (obj->prop_handler != NULL) { in dom_property_exists()
1192 if (!obj) { in php_dom_create_object()
1203 switch (obj->type) { in php_dom_create_object()
[all …]
H A Ddocument.c461 if (obj->document) { in dom_document_strict_error_checking_read()
473 if (obj->document) { in dom_document_strict_error_checking_write()
488 if (obj->document) { in dom_document_format_output_read()
499 if (obj->document) { in dom_document_format_output_write()
513 if (obj->document) { in dom_document_validate_on_parse_read()
524 if (obj->document) { in dom_document_validate_on_parse_write()
538 if (obj->document) { in dom_document_resolve_externals_read()
549 if (obj->document) { in dom_document_resolve_externals_write()
563 if (obj->document) { in dom_document_preserve_whitespace_read()
574 if (obj->document) { in dom_document_preserve_whitespace_write()
[all …]
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c146 zval obj; member
263 *gc_data = &intern->obj; in reflection_get_gc()
307 if (obj && Z_TYPE_P(obj) == IS_OBJECT) { in _class_string()
459 if (obj && Z_TYPE_P(obj) == IS_OBJECT) { in _class_string()
460 HashTable *properties = Z_OBJ_HT_P(obj)->get_properties(obj); in _class_string()
2002 Z_ISUNDEF(intern->obj) ? NULL : &intern->obj, in ZEND_METHOD()
3041 zval *obj; in ZEND_METHOD() local
3062 Z_ADDREF_P(obj); in ZEND_METHOD()
4203 zend_object *obj; in ZEND_METHOD() local
4208 obj = Z_OBJ(intern->obj); in ZEND_METHOD()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c1057 zend_object **obj = EG(objects_store).object_buckets + i; in PHPDBG_COMMAND() local
1058 if (i < EG(objects_store).top && *obj && IS_OBJ_VALID(*obj) && (*obj)->ce == zend_ce_generator) { in PHPDBG_COMMAND()
1059 zend_generator *gen = (zend_generator *) *obj; in PHPDBG_COMMAND()
1074 zend_object *obj = EG(objects_store).object_buckets[i]; in PHPDBG_COMMAND() local
1075 if (obj && IS_OBJ_VALID(obj) && obj->ce == zend_ce_generator) { in PHPDBG_COMMAND()
1076 zend_generator *gen = (zend_generator *) obj, *current = zend_generator_get_current(gen); in PHPDBG_COMMAND()
/PHP-7.4/ext/spl/
H A Dspl_array.c96 zend_object *obj = Z_OBJ(intern->array); in spl_array_get_hash_table_ptr() local
97 if (!obj->properties) { in spl_array_get_hash_table_ptr()
98 rebuild_object_properties(obj); in spl_array_get_hash_table_ptr()
99 } else if (GC_REFCOUNT(obj->properties) > 1) { in spl_array_get_hash_table_ptr()
101 GC_DELREF(obj->properties); in spl_array_get_hash_table_ptr()
103 obj->properties = zend_array_dup(obj->properties); in spl_array_get_hash_table_ptr()
105 return &obj->properties; in spl_array_get_hash_table_ptr()
830 spl_array_object *intern = Z_SPLARRAY_P(obj); in spl_array_get_debug_info()
847 base = Z_OBJ_HT_P(obj) == &spl_handler_ArrayIterator in spl_array_get_debug_info()
860 spl_array_object *intern = Z_SPLARRAY_P(obj); in spl_array_get_gc()
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_references.phpt104 unset($obj);
106 $obj->id = null;
107 $obj->label = null;
115 var_dump($obj->id);
122 $obj->id = null;
123 $obj->label = null;
124 $id = &$obj->id;
133 var_dump($obj->id);
139 $obj->id = null;
140 $obj->label = null;
[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 …]
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_no_constructor.phpt32 var_dump($obj = new mysqli_fetch_object_test(1, 2));
36 var_dump($obj = mysqli_fetch_object($res, 'mysqli_fetch_object_test', array(1, 2)));
42 var_dump($obj->mysqli_fetch_object_test(1, 2));
H A Dmysqli_fetch_object_no_object.phpt16 $obj = mysqli_fetch_object($res);
17 var_dump(gettype($obj));
H A Dmysqli_class_mysqli_warning.phpt31 $obj = new stdClass();
32 $warning = new mysqli_warning($obj);
H A Dmysqli_class_mysqli_stmt_interface.phpt132 $obj = new stdClass();
133 if (!is_object($stmt = new mysqli_stmt($link, $obj)))
H A Dmysqli_connect.phpt22 $obj = new stdClass();
23 if (!is_null($tmp = @mysqli_connect($obj)))
H A Dmysqli_connect_oo.phpt16 $obj = new stdClass();
/PHP-7.4/ext/tidy/
H A Dtidy.c56 PHPTidyObj *obj; \
77 PHPTidyObj *obj; \
774 PHPTidyObj *obj; in tidy_doc_cast_handler() local
812 PHPTidyObj *obj; in tidy_node_cast_handler() local
832 tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); in tidy_node_cast_handler()
891 tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); in tidy_add_default_properties()
899 ADD_PROPERTY_BOOL(obj->std.properties, proprietary, tidyNodeIsProp(obj->ptdoc->doc, obj->node)); in tidy_add_default_properties()
1254 PHPTidyObj *obj; in PHP_FUNCTION() local
1283 if (obj->ptdoc->errbuf && obj->ptdoc->errbuf->bp) { in PHP_FUNCTION()
1316 PHPTidyObj *obj; in PHP_FUNCTION() local
[all …]
/PHP-7.4/win32/build/
H A Dconfutils.js1549 var src, obj, sym, flags;
1621 obj = sub_build + build_dir + "\\" + filename.replace(re, ".obj");
1625 objs_line += " " + obj
1628 objs_line = obj;
1631 resp += " " + obj.replace('$(BUILD_DIR)', bd);
1632 tv += " " + obj;
1727 obj = filename.replace(re, ".obj");
1729 …gs + ") $(CFLAGS) $(" + bd_flags_name + ") /c " + dir + "\\" + src + " /Fo" + sub_build + d + obj);
/PHP-7.4/Zend/tests/
H A Dclosure_061.phpt97 foreach ($bindings as list($obj, $scope)) {
98 $objStr = $obj ? "new " . get_class($obj) : "null";
102 $ret = $c->bindTo($obj, $scope);
/PHP-7.4/ext/snmp/
H A Dsnmp.c1917 php_snmp_object *obj; in php_snmp_read_property() local
1921 obj = Z_SNMP_P(object); in php_snmp_read_property()
1935 ret = hnd->read_func(obj, rv); in php_snmp_read_property()
1958 php_snmp_object *obj; in php_snmp_write_property() local
1970 obj = Z_SNMP_P(object); in php_snmp_write_property()
1975 hnd->write_func(obj, value); in php_snmp_write_property()
2043 php_snmp_object *obj; in php_snmp_get_properties() local
2049 obj = Z_SNMP_P(object); in php_snmp_get_properties()
2053 if (!hnd->read_func || hnd->read_func(obj, &rv) != SUCCESS) { in php_snmp_get_properties()
2059 return obj->zo.properties; in php_snmp_get_properties()
/PHP-7.4/ext/zend_test/
H A Dtest.c139 zend_object *obj = zend_objects_new(class_type); in zend_test_class_new() local
140 object_properties_init(obj, class_type); in zend_test_class_new()
141 obj->handlers = &zend_test_class_handlers; in zend_test_class_new()
142 return obj; in zend_test_class_new()
/PHP-7.4/ext/ffi/
H A Dffi.c2034 static int zend_ffi_cdata_get_closure(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_pt… in zend_ffi_cdata_get_closure() argument
2036 zend_ffi_cdata *cdata = (zend_ffi_cdata*)Z_OBJ_P(obj); in zend_ffi_cdata_get_closure()
2768 static zend_function *zend_ffi_get_func(zend_object **obj, zend_string *name, const zval *key) /* {… in zend_ffi_get_func() argument
2770 zend_ffi *ffi = (zend_ffi*)*obj; in zend_ffi_get_func()
/PHP-7.4/ext/fileinfo/
H A Dfileinfo.c57 static inline finfo_object *php_finfo_fetch_object(zend_object *obj) { in php_finfo_fetch_object() argument
58 return (finfo_object *)((char*)(obj) - XtOffsetOf(finfo_object, zo)); in php_finfo_fetch_object()
65 finfo_object *obj; \
66 obj = Z_FINFO_P(_object); \
67 obj->ptr = _ptr; \
72 finfo_object *obj = Z_FINFO_P(object); \
73 finfo = obj->ptr; \
/PHP-7.4/ext/com_dotnet/
H A Dcom_typeinfo.c305 ITypeInfo *php_com_locate_typeinfo(char *typelibname, php_com_dotnet_object *obj, char *dispname, i… in php_com_locate_typeinfo() argument
312 if (obj) { in php_com_locate_typeinfo()
314 if (V_VT(&obj->v) == VT_DISPATCH) { in php_com_locate_typeinfo()
330 if (obj->typeinfo) { in php_com_locate_typeinfo()
331 ITypeInfo_AddRef(obj->typeinfo); in php_com_locate_typeinfo()
332 return obj->typeinfo; in php_com_locate_typeinfo()
334 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &typeinfo); in php_com_locate_typeinfo()
339 } else if (dispname && obj->typeinfo) { in php_com_locate_typeinfo()
342 ITypeInfo_GetContainingTypeLib(obj->typeinfo, &typelib, &idx); in php_com_locate_typeinfo()
344 if (V_VT(&obj->v) == VT_DISPATCH) { in php_com_locate_typeinfo()
[all …]
/PHP-7.4/ext/gmp/
H A Dgmp.c256 #define GET_GMP_OBJECT_FROM_OBJ(obj) \ argument
257 php_gmp_object_from_zend_object(obj)
374 static void gmp_free_object_storage(zend_object *obj) /* {{{ */ in gmp_free_object_storage() argument
376 gmp_object *intern = GET_GMP_OBJECT_FROM_OBJ(obj); in gmp_free_object_storage()
441 static HashTable *gmp_get_debug_info(zval *obj, int *is_temp) /* {{{ */ in gmp_get_debug_info() argument
443 HashTable *ht, *props = zend_std_get_properties(obj); in gmp_get_debug_info()
444 mpz_ptr gmpnum = GET_GMP_FROM_ZVAL(obj); in gmp_get_debug_info()
457 static zend_object *gmp_clone_obj(zval *obj) /* {{{ */ in gmp_clone_obj() argument
459 gmp_object *old_object = GET_GMP_OBJECT_FROM_ZVAL(obj); in gmp_clone_obj()
460 gmp_object *new_object = GET_GMP_OBJECT_FROM_OBJ(gmp_create_object(Z_OBJCE_P(obj))); in gmp_clone_obj()
/PHP-7.4/ext/soap/
H A Dsoap.c51 static void clear_soap_fault(zval *obj);
1312 zval *obj; in PHP_METHOD() local
1324 Z_ADDREF_P(obj); in PHP_METHOD()
1325 ZVAL_OBJ(&service->soap_object, Z_OBJ_P(obj)); in PHP_METHOD()
3218 static void clear_soap_fault(zval *obj) /* {{{ */ argument
3220 if (obj != NULL && Z_TYPE_P(obj) == IS_OBJECT) {
3230 add_property_zval(obj, "__soap_fault", fault);
3241 add_property_zval(obj, "__soap_fault", &fault);
3248 if (Z_TYPE_P(obj) != IS_OBJECT) {
3249 object_init_ex(obj, soap_fault_class_entry);
[all …]
/PHP-7.4/ext/mysqli/
H A Dphp_mysqli_structs.h133 static inline mysqli_object *php_mysqli_fetch_object(zend_object *obj) { in php_mysqli_fetch_object() argument
134 return (mysqli_object *)((char*)(obj) - XtOffsetOf(mysqli_object, zo)); in php_mysqli_fetch_object()
151 int (*r_func)(mysqli_object *obj, zval *retval, zend_bool quiet);
152 int (*w_func)(mysqli_object *obj, zval *value);

Completed in 186 milliseconds

12345678910>>...21