Searched refs:this_ptr (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_closures.h31 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zval *this_ptr TSRMLS_DC);
H A Dzend_closures.c40 zval this_ptr; member in struct:_zend_closure
205 return &closure->this_ptr;
281 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) {
282 zval_ptr_dtor(&closure->this_ptr);
306 zend_create_closure(&result, &closure->func, closure->func.common.scope, &closure->this_ptr TSRMLS_CC);
322 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) {
324 *obj_ptr = Z_OBJ(closure->this_ptr);
326 *ce_ptr = Z_OBJCE(closure->this_ptr);
357 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) {
358 Z_ADDREF(closure->this_ptr);
[all...]
H A Dzend_API.c1017 ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...) /* {{{ */ argument
1025 /* Just checking this_ptr is not enough, because fcall_common_helper does not set
1030 if (!is_method || !this_ptr || Z_TYPE_P(this_ptr) != IS_OBJECT) {
1044 *object = this_ptr;
1046 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) {
1048 Z_OBJCE_P(this_ptr)->name->val, get_active_function_name(TSRMLS_C), ce->name->val, get_active_function_name(TSRMLS_C));
1058 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...) /* {{{ */ argument
1067 if (!this_ptr) {
1081 *object = this_ptr;
[all...]
H A Dzend_API.h256 ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...);
257 ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC, zval *this_ptr, const char *type_spec, ...);
/PHP_TRUNK/ext/soap/
H A Dphp_http.h25 int make_http_soap_request(zval *this_ptr,
33 int proxy_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC);
34 int basic_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC);
H A Dphp_packet_soap.c25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers TSRMLS_DC) argument
46 add_soap_fault(this_ptr, "Client", "looks like we got no XML document", NULL, NULL TSRMLS_CC);
50 add_soap_fault(this_ptr, "Client", "DTD are not supported by SOAP", NULL, NULL TSRMLS_CC);
69 add_soap_fault(this_ptr, "VersionMismatch", "Wrong Version", NULL, NULL TSRMLS_CC);
77 add_soap_fault(this_ptr, "Client", "looks like we got XML without \"Envelope\" element", NULL, NULL TSRMLS_CC);
85 add_soap_fault(this_ptr, "Client", "A SOAP Envelope element cannot have non Namespace qualified attributes", NULL, NULL TSRMLS_CC);
90 add_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Envelope", NULL, NULL TSRMLS_CC);
94 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL TSRMLS_CC);
126 add_soap_fault(this_ptr, "Client", "Body must be present in a SOAP envelope", NULL, NULL TSRMLS_CC);
134 add_soap_fault(this_ptr, "Clien
[all...]
H A Dphp_packet_soap.h25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers TSRMLS_DC);
H A Dphp_sdl.c318 static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include TSRMLS_DC) argument
396 load_wsdl_ex(this_ptr, (char*)uri, ctx, 1 TSRMLS_CC);
725 static sdlPtr load_wsdl(zval *this_ptr, char *struri TSRMLS_DC) argument
742 load_wsdl_ex(this_ptr, struri,&ctx, 0 TSRMLS_CC);
3154 sdlPtr get_sdl(zval *this_ptr, char *uri, zend_long cache_wsdl TSRMLS_DC) argument
3225 if (NULL != (tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr),
3232 if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_user_agent", sizeof("_user_agent")-1)) != NULL &&
3239 if ((proxy_host = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_proxy_host", sizeof("_proxy_host")-1)) != NULL &&
3241 (proxy_port = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_proxy_port", sizeof("_proxy_port")-1)) != NULL &&
3267 has_proxy_authorization = proxy_authentication(this_ptr,
[all...]
H A Dphp_sdl.h257 sdlPtr get_sdl(zval *this_ptr, char *uri, zend_long cache_wsdl TSRMLS_DC);
H A Dphp_http.c35 int proxy_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC) argument
39 if ((login = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_proxy_login", sizeof("_proxy_login")-1)) != NULL) {
45 if ((password = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_proxy_password", sizeof("_proxy_password")-1)) != NULL) {
61 int basic_authentication(zval* this_ptr, smart_str* soap_headers TSRMLS_DC) argument
65 if ((login = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_login", sizeof("_login")-1)) != NULL &&
66 !zend_hash_str_exists(Z_OBJPROP_P(this_ptr), "_digest", sizeof("_digest")-1)) {
72 if ((password = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_password", sizeof("_password")-1)) != NULL) {
157 static php_stream* http_connect(zval* this_ptr, php_url *phpurl, int use_ssl, php_stream_context *context, int *use_proxy TSRMLS_DC) argument
170 if ((proxy_host = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_proxy_host", sizeof("_proxy_host")-1)) != NULL &&
172 (proxy_port = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_proxy_por
325 make_http_soap_request(zval *this_ptr, char *buf, int buf_size, char *location, char *soapaction, int soap_version, zval *return_value TSRMLS_DC) argument
[all...]
H A Dsoap.c64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC);
812 zval *this_ptr; local
822 this_ptr = getThis();
823 add_property_stringl(this_ptr, "param_name", name, name_length);
824 add_property_zval(this_ptr, "param_data", data);
837 zval *this_ptr; local
851 this_ptr = getThis();
852 add_property_stringl(this_ptr, "namespace", ns, ns_len);
853 add_property_stringl(this_ptr, "name", name, name_len);
855 add_property_zval(this_ptr, "dat
877 zval *code = NULL, *details = NULL, *headerfault = NULL, *this_ptr; local
934 zval *this_ptr; local
974 zval *data, *type, *this_ptr; local
2337 zval *this_ptr = getThis(); local
2562 do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, int one_way, zval *response TSRMLS_DC) argument
2625 do_soap_call(zend_execute_data *execute_data, zval* this_ptr, char* function, size_t function_len, int arg_count, zval* real_args, zval* return_value, char* location, char* soap_action, char* call_uri, HashTable* soap_headers, zval* output_headers TSRMLS_DC) argument
2865 zval *this_ptr; local
3090 zval *this_ptr = getThis(); local
3124 zval *this_ptr = getThis(); local
3178 zval *this_ptr = getThis(); local
3222 zval *this_ptr = getThis(); local
4194 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Duser_filters.c45 if (FAILURE == zend_hash_index_find(Z_OBJPROP_P(this_ptr), 0, (void**)&tmp)) { \
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2158 static int spl_filesystem_file_read_line_ex(zval * this_ptr, spl_filesystem_object *intern, int silent TSRMLS_DC) /* {{{ */ argument
2174 zend_call_method_with_0_params(this_ptr, Z_OBJCE(EX(This)), &intern->u.file.func_getCurr, "getCurrentLine", &retval);
2229 static int spl_filesystem_file_read_line(zval * this_ptr, spl_filesystem_object *intern, int silent TSRMLS_DC) /* {{{ */ argument
2231 int ret = spl_filesystem_file_read_line_ex(this_ptr, intern, silent TSRMLS_CC);
2235 ret = spl_filesystem_file_read_line_ex(this_ptr, intern, silent TSRMLS_CC);
2242 static void spl_filesystem_file_rewind(zval * this_ptr, spl_filesystem_object *intern TSRMLS_DC) /* {{{ */ argument
2255 spl_filesystem_file_read_line(this_ptr, intern, 1 TSRMLS_CC);
/PHP_TRUNK/ext/date/
H A Dphp_date.c630 static zend_object *date_object_clone_date(zval *this_ptr TSRMLS_DC);
631 static zend_object *date_object_clone_timezone(zval *this_ptr TSRMLS_DC);
632 static zend_object *date_object_clone_interval(zval *this_ptr TSRMLS_DC);
633 static zend_object *date_object_clone_period(zval *this_ptr TSRMLS_DC);
2125 static zend_object *date_object_clone_date(zval *this_ptr TSRMLS_DC) /* {{{ */
2127 php_date_obj *old_obj = Z_PHPDATE_P(this_ptr);
2256 static zend_object *date_object_clone_timezone(zval *this_ptr TSRMLS_DC) /* {{{ */
2258 php_timezone_obj *old_obj = Z_PHPTIMEZONE_P(this_ptr);
2347 static zend_object *date_object_clone_interval(zval *this_ptr TSRMLS_DC) /* {{{ */
2349 php_interval_obj *old_obj = Z_PHPINTERVAL_P(this_ptr);
[all...]

Completed in 51 milliseconds