Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 613) sorted by last modified time

12345678910>>...25

/php-src/ext/sqlite3/tests/
H A Dsqlite3_trampoline_create_aggregate_no_leak.phpt60 $obj = $rc->newInstanceWithoutConstructor();
63 var_dump($obj->createAggregate('S', $step, $finalize, 1));
H A Dsqlite3_trampoline_createcollation_no_leak.phpt34 $obj = $rc->newInstanceWithoutConstructor();
37 var_dump($obj->createCollation('NAT', $callback));
H A Dsqlite3_trampoline_createfunction_no_leak.phpt35 $obj = $rc->newInstanceWithoutConstructor();
38 var_dump($obj->createfunction('strtoupper', $callback));
H A Dsqlite3_trampoline_setauthorizer_no_leak.phpt26 $obj = $rc->newInstanceWithoutConstructor();
29 var_dump($obj->setAuthorizer($callback));
/php-src/ext/curl/
H A Dcurl_private.h138 static inline php_curl *curl_from_obj(zend_object *obj) { in curl_from_obj() argument
139 return (php_curl *)((char *)(obj) - XtOffsetOf(php_curl, std)); in curl_from_obj()
144 static inline php_curlsh *curl_share_from_obj(zend_object *obj) { in curl_share_from_obj() argument
145 return (php_curlsh *)((char *)(obj) - XtOffsetOf(php_curlsh, std)); in curl_share_from_obj()
153 zend_result curl_cast_object(zend_object *obj, zval *result, int type);
H A Dinterface.c523 zend_result curl_cast_object(zend_object *obj, zval *result, int type) in curl_cast_object() argument
528 ZVAL_LONG(result, obj->handle); in curl_cast_object()
532 return zend_std_cast_object_tostring(obj, result, type); in curl_cast_object()
H A Dmulti.c53 static inline php_curlm *curl_multi_from_obj(zend_object *obj) { in curl_multi_from_obj() argument
54 return (php_curlm *)((char *)(obj) - XtOffsetOf(php_curlm, std)); in curl_multi_from_obj()
/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);
80 zend_result dom_element_id_read(dom_object *obj, zval *retval);
81 zend_result dom_element_id_write(dom_object *obj, zval *newval);
123 zend_result dom_node_prefix_read(dom_object *obj, zval *retval);
125 zend_result dom_node_prefix_write(dom_object *obj, zval *newval);
153 #define DOM_PROP_NODE(type, name, obj) \ argument
[all …]
H A Dentityreference.c83 zend_result dom_entity_reference_child_read(dom_object *obj, zval *retval) in dom_entity_reference_child_read() argument
85 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_entity_reference_child_read()
93 php_dom_create_object((xmlNodePtr) entity, retval, obj); in dom_entity_reference_child_read()
97 zend_result dom_entity_reference_text_content_read(dom_object *obj, zval *retval) in dom_entity_reference_text_content_read() argument
99 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_entity_reference_text_content_read()
102 return dom_node_text_content_read(obj, retval); in dom_entity_reference_text_content_read()
105 zend_result dom_entity_reference_child_nodes_read(dom_object *obj, zval *retval) in dom_entity_reference_child_nodes_read() argument
107 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_entity_reference_child_nodes_read()
110 return dom_node_child_nodes_read(obj, retval); in dom_entity_reference_child_nodes_read()
H A Dphp_dom.h73 static inline dom_xpath_object *php_xpath_obj_from_obj(zend_object *obj) { in php_xpath_obj_from_obj() argument
74 return (dom_xpath_object*)((char*)(obj) in php_xpath_obj_from_obj()
117 static inline dom_object_namespace_node *php_dom_namespace_node_obj_from_obj(zend_object *obj) { in php_dom_namespace_node_obj_from_obj() argument
118 return (dom_object_namespace_node*)((char*)(obj) - XtOffsetOf(dom_object_namespace_node, dom.std)); in php_dom_namespace_node_obj_from_obj()
125 dom_object *dom_object_get_data(xmlNodePtr obj);
174 …antiate_object_helper(zval *return_value, zend_class_entry *ce, xmlNodePtr obj, dom_object *parent…
210 int php_dom_get_namednodemap_length(dom_object *obj);
H A Dphp_dom.c298 if (obj && obj->ptr != NULL) { in dom_object_get_node()
309 if (obj && obj->_private != NULL) { in php_dom_object_get_data()
343 if (!obj->prop_handler || !zend_hash_exists(obj->prop_handler, name)) { in dom_get_property_ptr_ptr()
357 if (obj->prop_handler != NULL) { in dom_read_property()
362 int ret = hnd->read_func(obj, rv); in dom_read_property()
381 if (obj->prop_handler != NULL) { in dom_write_property()
399 hnd->write_func(obj, &tmp); in dom_write_property()
415 if (obj->prop_handler != NULL) { in dom_property_exists()
1548 switch (obj->type) { in php_dom_create_object()
1642 if (obj->doc != NULL) { in php_dom_instantiate_object_helper()
[all …]
H A Dnode.c81 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_node_name_read()
142 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_node_value_read()
180 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_node_value_write()
222 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_node_type_read()
238 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_parent_get()
281 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_child_nodes_read()
298 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_first_child_read()
323 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_last_child_read()
348 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_previous_sibling_read()
369 DOM_PROP_NODE(xmlNodePtr, nodep, obj); in dom_node_next_sibling_read()
[all …]
H A Dnodelist.c63 zend_long php_dom_get_nodelist_length(dom_object *obj) in php_dom_get_nodelist_length() argument
65 dom_nnodemap_object *objmap = (dom_nnodemap_object *) obj->ptr; in php_dom_get_nodelist_length()
122 zend_result dom_nodelist_length_read(dom_object *obj, zval *retval) in dom_nodelist_length_read() argument
124 ZVAL_LONG(retval, php_dom_get_nodelist_length(obj)); in dom_nodelist_length_read()
H A Dnodelist.h35 zend_long php_dom_get_nodelist_length(dom_object *obj);
H A Ddocument.c49 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_document_doctype_read()
82 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_document_document_element_read()
102 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_document_encoding_read()
117 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_document_encoding_write()
234 if (obj->document) { in dom_document_strict_error_checking_write()
256 if (obj->document) { in dom_document_format_output_write()
277 if (obj->document) { in dom_document_validate_on_parse_write()
298 if (obj->document) { in dom_document_resolve_externals_write()
319 if (obj->document) { in dom_document_preserve_whitespace_write()
340 if (obj->document) { in dom_document_recover_write()
[all …]
H A Dentity.c40 zend_result dom_entity_public_id_read(dom_object *obj, zval *retval) in dom_entity_public_id_read() argument
42 DOM_PROP_NODE(xmlEntityPtr, nodep, obj); in dom_entity_public_id_read()
60 zend_result dom_entity_system_id_read(dom_object *obj, zval *retval) in dom_entity_system_id_read() argument
62 DOM_PROP_NODE(xmlEntityPtr, nodep, obj); in dom_entity_system_id_read()
80 zend_result dom_entity_notation_name_read(dom_object *obj, zval *retval) in dom_entity_notation_name_read() argument
82 DOM_PROP_NODE(xmlEntityPtr, nodep, obj); in dom_entity_notation_name_read()
105 zend_result dom_entity_actual_encoding_read(dom_object *obj, zval *retval) in dom_entity_actual_encoding_read() argument
118 zend_result dom_entity_encoding_read(dom_object *obj, zval *retval) in dom_entity_encoding_read() argument
131 zend_result dom_entity_version_read(dom_object *obj, zval *retval) in dom_entity_version_read() argument
/php-src/ext/odbc/
H A Dphp_odbc.c69 static inline odbc_result *odbc_result_from_obj(zend_object *obj);
94 static inline odbc_link *odbc_link_from_obj(zend_object *obj) in odbc_link_from_obj() argument
96 return (odbc_link *)((char *)(obj) - XtOffsetOf(odbc_link, std)); in odbc_link_from_obj()
189 static void odbc_connection_free_obj(zend_object *obj) in odbc_connection_free_obj() argument
191 odbc_link *link = odbc_link_from_obj(obj); in odbc_connection_free_obj()
200 static inline odbc_result *odbc_result_from_obj(zend_object *obj) in odbc_result_from_obj() argument
202 return (odbc_result *)((char *)(obj) - XtOffsetOf(odbc_result, std)); in odbc_result_from_obj()
259 static void odbc_result_free_obj(zend_object *obj) in odbc_result_free_obj() argument
261 odbc_result *result = odbc_result_from_obj(obj); in odbc_result_free_obj()
/php-src/ext/libxml/
H A Dlibxml.c321 php_libxml_node_object *obj = ptr->_private; in php_libxml_node_free_list() local
322 if (!obj->document || obj->document->class_type < PHP_LIBXML_CLASS_MODERN) { in php_libxml_node_free_list()
/php-src/ext/reflection/
H A Dphp_reflection.c168 zval obj; member
318 if (obj && Z_TYPE_P(obj) == IS_OBJECT) { in _class_string()
473 if (obj && Z_TYPE_P(obj) == IS_OBJECT) { in _class_string()
2184 Z_ISUNDEF(intern->obj) ? NULL : &intern->obj, in ZEND_METHOD()
3374 zval *obj = NULL; in ZEND_METHOD() local
3386 if (!obj) { in ZEND_METHOD()
4600 zend_object *obj; in ZEND_METHOD() local
4605 obj = Z_OBJ(intern->obj); in ZEND_METHOD()
4961 zval obj; in ZEND_METHOD() local
6796 if (obj) { in attribute_ctor_cleanup()
[all …]
/php-src/Zend/
H A Dzend_API.h545 ZEND_API void zend_merge_properties(zval *obj, HashTable *properties);
556 ZEND_API void add_assoc_object_ex(zval *arg, const char *key, size_t key_len, zend_object *obj);
587 static zend_always_inline void add_assoc_object(zval *arg, const char *key, zend_object *obj) { in add_assoc_object() argument
588 add_assoc_object_ex(arg, key, strlen(key), obj); in add_assoc_object()
606 ZEND_API void add_index_object(zval *arg, zend_ulong index, zend_object *obj);
623 ZEND_API zend_result add_next_index_object(zval *arg, zend_object *obj);
642 ZEND_API void add_property_object_ex(zval *arg, const char *key, size_t key_len, zend_object *obj);
673 static zend_always_inline void add_property_object(zval *arg, const char *key, zend_object *obj) { in add_property_object() argument
674 add_property_object_ex(arg, key, strlen(key), obj); in add_property_object()
H A Dzend_builtin_functions.c554 zval *obj = NULL; in ZEND_FUNCTION() local
560 if (!obj) { in ZEND_FUNCTION()
575 RETURN_STR_COPY(Z_OBJCE_P(obj)->name); in ZEND_FUNCTION()
624 zval *obj; in is_a_impl() local
632 Z_PARAM_ZVAL(obj) in is_a_impl()
650 instance_ce = Z_OBJCE_P(obj); in is_a_impl()
829 zend_object *obj; in ZEND_FUNCTION() local
833 Z_PARAM_OBJ(obj) in ZEND_FUNCTION()
836 properties = obj->handlers->get_properties(obj); in ZEND_FUNCTION()
843 (obj->ce->default_properties_count || in ZEND_FUNCTION()
[all …]
H A Dzend_API.c729 zval obj; in zend_parse_arg_number_or_str_slow() local
754 zval obj; in zend_parse_arg_str_weak() local
1824 ZVAL_OBJ(arg, obj); in _object_and_properties_init()
1940 ZVAL_OBJ(&tmp, obj); in add_assoc_object_ex()
2045 ZVAL_OBJ(&tmp, obj); in add_index_object()
2144 ZVAL_OBJ(&tmp, obj); in add_next_index_object()
2289 ZVAL_OBJ(&tmp, obj); in add_property_object_ex()
4025 zval *obj = NULL; in zend_get_callable_name_ex() local
4116 if (!obj || !method) { in zend_is_callable_at_frame()
4121 ZVAL_DEREF(obj); in zend_is_callable_at_frame()
[all …]
/php-src/ext/openssl/
H A Dopenssl.c250 obj->pkey = pkey; in php_openssl_pkey_object_init()
251 obj->is_private = is_private; in php_openssl_pkey_object_init()
658 ASN1_OBJECT * obj; in php_openssl_add_assoc_name_entry() local
673 nid = OBJ_obj2nid(obj); in php_openssl_add_assoc_name_entry()
3614 key = obj->pkey; in php_openssl_pkey_from_zval()
5053 if (obj) { in PHP_FUNCTION()
5058 ASN1_OBJECT_free(obj); in PHP_FUNCTION()
5157 ASN1_OBJECT *obj; in PHP_FUNCTION() local
5177 obj = OBJ_nid2obj(nid); in PHP_FUNCTION()
5178 if (obj != NULL) { in PHP_FUNCTION()
[all …]
/php-src/ext/pgsql/
H A Dpgsql.c198 static void pgsql_link_free_obj(zend_object *obj) in pgsql_link_free_obj() argument
200 pgsql_link_handle *link = pgsql_link_from_obj(obj); in pgsql_link_free_obj()
235 static void pgsql_result_free_obj(zend_object *obj) in pgsql_result_free_obj() argument
237 pgsql_result_handle *pg_result = pgsql_result_from_obj(obj); in pgsql_result_free_obj()
246 static inline pgLofp *pgsql_lob_from_obj(zend_object *obj) { in pgsql_lob_from_obj() argument
247 return (pgLofp *)((char *)(obj) - XtOffsetOf(pgLofp, std)); in pgsql_lob_from_obj()
266 static void pgsql_lob_free_obj(zend_object *obj) in pgsql_lob_free_obj() argument
268 pgLofp *lofp = pgsql_lob_from_obj(obj); in pgsql_lob_free_obj()
298 static void php_pgsql_set_default_link(zend_object *obj) in php_pgsql_set_default_link() argument
300 GC_ADDREF(obj); in php_pgsql_set_default_link()
[all …]
/php-src/ext/gmp/
H A Dgmp.c102 #define GET_GMP_OBJECT_FROM_OBJ(obj) \ argument
103 php_gmp_object_from_zend_object(obj)
242 static void gmp_free_object_storage(zend_object *obj) /* {{{ */ in gmp_free_object_storage() argument
244 gmp_object *intern = GET_GMP_OBJECT_FROM_OBJ(obj); in gmp_free_object_storage()
308 static HashTable *gmp_get_debug_info(zend_object *obj, int *is_temp) /* {{{ */ in gmp_get_debug_info() argument
310 HashTable *ht, *props = zend_std_get_properties(obj); in gmp_get_debug_info()
311 mpz_ptr gmpnum = GET_GMP_OBJECT_FROM_OBJ(obj)->num; in gmp_get_debug_info()
324 static zend_object *gmp_clone_obj(zend_object *obj) /* {{{ */ in gmp_clone_obj() argument
326 gmp_object *old_object = GET_GMP_OBJECT_FROM_OBJ(obj); in gmp_clone_obj()
327 gmp_object *new_object = GET_GMP_OBJECT_FROM_OBJ(gmp_create_object(obj->ce)); in gmp_clone_obj()

Completed in 209 milliseconds

12345678910>>...25