Lines Matching refs:this_ptr
63 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, const char *funct…
568 zval *this_ptr; in PHP_METHOD() local
579 this_ptr = ZEND_THIS; in PHP_METHOD()
580 ZVAL_STR_COPY(Z_PARAM_NAME_P(this_ptr), name); in PHP_METHOD()
581 ZVAL_COPY(Z_PARAM_DATA_P(this_ptr), data); in PHP_METHOD()
594 zval *this_ptr; in PHP_METHOD() local
614 this_ptr = ZEND_THIS; in PHP_METHOD()
615 ZVAL_STR_COPY(Z_HEADER_NAMESPACE_P(this_ptr), ns); in PHP_METHOD()
616 ZVAL_STR_COPY(Z_HEADER_NAME_P(this_ptr), name); in PHP_METHOD()
618 ZVAL_COPY(Z_HEADER_DATA_P(this_ptr), data); in PHP_METHOD()
620 ZVAL_BOOL(Z_HEADER_MUST_UNDERSTAND_P(this_ptr), must_understand); in PHP_METHOD()
624 ZVAL_STR_COPY(Z_HEADER_ACTOR_P(this_ptr), actor_str); in PHP_METHOD()
631 ZVAL_LONG(Z_HEADER_ACTOR_P(this_ptr), actor_long); in PHP_METHOD()
664 zval *details = NULL, *headerfault = NULL, *this_ptr; in PHP_METHOD() local
703 this_ptr = ZEND_THIS; in PHP_METHOD()
704 set_soap_fault(this_ptr, fault_code_ns, fault_code, fault_string, fault_actor, details, name); in PHP_METHOD()
706 ZVAL_COPY(Z_FAULT_HEADERFAULT_P(this_ptr), headerfault); in PHP_METHOD()
716 zval *this_ptr; in PHP_METHOD() local
724 this_ptr = ZEND_THIS; in PHP_METHOD()
725 …faultcode = zend_read_property(soap_fault_class_entry, Z_OBJ_P(this_ptr), "faultcode", sizeof("fau… in PHP_METHOD()
726 …faultstring = zend_read_property(soap_fault_class_entry, Z_OBJ_P(this_ptr), "faultstring", sizeof(… in PHP_METHOD()
727 …file = zend_read_property_ex(soap_fault_class_entry, Z_OBJ_P(this_ptr), ZSTR_KNOWN(ZEND_STR_FILE),… in PHP_METHOD()
728 …line = zend_read_property_ex(soap_fault_class_entry, Z_OBJ_P(this_ptr), ZSTR_KNOWN(ZEND_STR_LINE),… in PHP_METHOD()
755 zval *data, *this_ptr; in PHP_METHOD() local
764 this_ptr = ZEND_THIS; in PHP_METHOD()
766 ZVAL_LONG(Z_VAR_ENC_TYPE_P(this_ptr), UNKNOWN_TYPE); in PHP_METHOD()
769 ZVAL_LONG(Z_VAR_ENC_TYPE_P(this_ptr), type); in PHP_METHOD()
777 ZVAL_COPY(Z_VAR_ENC_VALUE_P(this_ptr), data); in PHP_METHOD()
781 ZVAL_STR_COPY(Z_VAR_ENC_STYPE_P(this_ptr), stype); in PHP_METHOD()
784 ZVAL_STR_COPY(Z_VAR_ENC_NS_P(this_ptr), ns); in PHP_METHOD()
787 ZVAL_STR_COPY(Z_VAR_ENC_NAME_P(this_ptr), name); in PHP_METHOD()
790 ZVAL_STR_COPY(Z_VAR_ENC_NAMENS_P(this_ptr), namens); in PHP_METHOD()
1238 static void _soap_server_exception(soapServicePtr service, sdlFunctionPtr function, zval *this_ptr)… in _soap_server_exception() argument
1249 add_soap_fault_ex(&exception_object, this_ptr, "Server", ZSTR_VAL(msg), NULL, NULL); in _soap_server_exception()
1252 add_soap_fault_ex(&exception_object, this_ptr, "Server", "Internal Error", NULL, NULL); in _soap_server_exception()
1988 zval *this_ptr = ZEND_THIS; in PHP_METHOD() local
2006 ZVAL_STR_COPY(Z_CLIENT_URI_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2014 ZVAL_LONG(Z_CLIENT_STYLE_P(this_ptr), Z_LVAL_P(tmp)); in PHP_METHOD()
2020 ZVAL_LONG(Z_CLIENT_USE_P(this_ptr), Z_LVAL_P(tmp)); in PHP_METHOD()
2034 ZVAL_STR_COPY(Z_CLIENT_LOCATION_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2047 ZVAL_STR_COPY(Z_CLIENT_LOGIN_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2050 ZVAL_STR_COPY(Z_CLIENT_PASSWORD_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2055 ZVAL_TRUE(Z_CLIENT_USE_DIGEST_P(this_ptr)); in PHP_METHOD()
2060 ZVAL_STR_COPY(Z_CLIENT_PROXY_HOST_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2066 ZVAL_LONG(Z_CLIENT_PROXY_PORT_P(this_ptr), Z_LVAL_P(tmp)); in PHP_METHOD()
2070 ZVAL_STR_COPY(Z_CLIENT_PROXY_LOGIN_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2073 ZVAL_STR_COPY(Z_CLIENT_PROXY_PASSWORD_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2091 ZVAL_TRUE(Z_CLIENT_TRACE_P(this_ptr)); in PHP_METHOD()
2097 ZVAL_FALSE(Z_CLIENT_EXCEPTIONS_P(this_ptr)); in PHP_METHOD()
2107 ZVAL_LONG(Z_CLIENT_COMPRESSION_P(this_ptr), Z_LVAL_P(tmp)); in PHP_METHOD()
2118 ZVAL_STR_COPY(Z_CLIENT_ENCODING_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2126 ZVAL_COPY(Z_CLIENT_CLASSMAP_P(this_ptr), tmp); in PHP_METHOD()
2137 ZVAL_LONG(Z_CLIENT_FEATURES_P(this_ptr), Z_LVAL_P(tmp)); in PHP_METHOD()
2143 ZVAL_LONG(Z_CLIENT_CONNECTION_TIMEOUT_P(this_ptr), lval); in PHP_METHOD()
2148 ZVAL_RES(Z_CLIENT_STREAM_CONTEXT_P(this_ptr), context->res); in PHP_METHOD()
2158 ZVAL_STR_COPY(Z_CLIENT_USER_AGENT_P(this_ptr), Z_STR_P(tmp)); in PHP_METHOD()
2164 ZVAL_FALSE(Z_CLIENT_KEEP_ALIVE_P(this_ptr)); in PHP_METHOD()
2169 ZVAL_LONG(Z_CLIENT_SSL_METHOD_P(this_ptr), Z_LVAL_P(tmp)); in PHP_METHOD()
2178 ZVAL_LONG(Z_CLIENT_SOAP_VERSION_P(this_ptr), soap_version); in PHP_METHOD()
2186 sdl = get_sdl(this_ptr, ZSTR_VAL(wsdl), cache_wsdl); in PHP_METHOD()
2188 zval *sdl_zval = Z_CLIENT_SDL_P(this_ptr); in PHP_METHOD()
2203 ZVAL_ARR(Z_CLIENT_TYPEMAP_P(this_ptr), typemap); in PHP_METHOD()
2210 static bool do_request(zval *this_ptr, xmlDoc *request, const char *location, const char *action, i… in do_request() argument
2223 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL); in do_request()
2228 zval *trace = Z_CLIENT_TRACE_P(this_ptr); in do_request()
2230 zval_ptr_dtor(Z_CLIENT_LAST_REQUEST_P(this_ptr)); in do_request()
2231 ZVAL_STRINGL(Z_CLIENT_LAST_REQUEST_P(this_ptr), buf, buf_size); in do_request()
2245 if (call_user_function(NULL, this_ptr, &func, response, 5, params) != SUCCESS) { in do_request()
2246 add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() failed", NULL, NULL); in do_request()
2251 } else if (Z_TYPE_P(Z_CLIENT_SOAP_FAULT_P(this_ptr)) != IS_OBJECT) { in do_request()
2252 …add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() returned non string value", NULL, NU… in do_request()
2256 zval_ptr_dtor(Z_CLIENT_LAST_RESPONSE_P(this_ptr)); in do_request()
2257 ZVAL_STR_COPY(Z_CLIENT_LAST_RESPONSE_P(this_ptr), Z_STR_P(response)); in do_request()
2270 if (ret && Z_TYPE_P(Z_CLIENT_SOAP_FAULT_P(this_ptr)) == IS_OBJECT) { in do_request()
2278 zval* this_ptr, in do_soap_call() argument
2306 if (Z_TYPE_P(Z_CLIENT_TRACE_P(this_ptr)) == IS_TRUE) { in do_soap_call()
2307 convert_to_null(Z_CLIENT_LAST_REQUEST_P(this_ptr)); in do_soap_call()
2308 convert_to_null(Z_CLIENT_LAST_RESPONSE_P(this_ptr)); in do_soap_call()
2311 zval *tmp = Z_CLIENT_SOAP_VERSION_P(this_ptr); in do_soap_call()
2319 tmp = Z_CLIENT_LOCATION_P(this_ptr); in do_soap_call()
2325 tmp = Z_CLIENT_SDL_P(this_ptr); in do_soap_call()
2333 tmp = Z_CLIENT_TYPEMAP_P(this_ptr); in do_soap_call()
2338 clear_soap_fault(this_ptr); in do_soap_call()
2344 tmp = Z_CLIENT_ENCODING_P(this_ptr); in do_soap_call()
2351 tmp = Z_CLIENT_CLASSMAP_P(this_ptr); in do_soap_call()
2360 tmp = Z_CLIENT_FEATURES_P(this_ptr); in do_soap_call()
2389 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve… in do_soap_call()
2390 …ret = do_request(this_ptr, request, location_c_str, fnb->soapAction, soap_version, one_way, &respo… in do_soap_call()
2392 …request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_v… in do_soap_call()
2393 ret = do_request(this_ptr, request, location_c_str, NULL, soap_version, one_way, &response); in do_soap_call()
2401 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, … in do_soap_call()
2413 add_soap_fault(this_ptr, "Client", ZSTR_VAL(error.s), NULL, NULL); in do_soap_call()
2417 zval *uri = Z_CLIENT_URI_P(this_ptr); in do_soap_call()
2419 add_soap_fault(this_ptr, "Client", "Error finding \"uri\" property", NULL, NULL); in do_soap_call()
2421 add_soap_fault(this_ptr, "Client", "Error could not find \"location\" property", NULL, NULL); in do_soap_call()
2426 …request = serialize_function_call(this_ptr, NULL, ZSTR_VAL(function), ZSTR_VAL(call_uri), real_arg… in do_soap_call()
2437 …ret = do_request(this_ptr, request, ZSTR_VAL(location), ZSTR_VAL(action.s), soap_version, 0, &resp… in do_soap_call()
2445 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), NULL, NULL, return_value… in do_soap_call()
2453 zval *fault = Z_CLIENT_SOAP_FAULT_P(this_ptr); in do_soap_call()
2458 add_soap_fault_ex(return_value, this_ptr, "Client", "Unknown Error", NULL, NULL); in do_soap_call()
2470 Z_TYPE_P(Z_CLIENT_EXCEPTIONS_P(this_ptr)) != IS_FALSE) { in do_soap_call()
2515 zval *this_ptr, in soap_client_call_common() argument
2528 this_ptr = ZEND_THIS; in soap_client_call_common()
2529 zval *tmp = Z_CLIENT_DEFAULT_HEADERS_P(this_ptr); in soap_client_call_common()
2564 …do_soap_call(execute_data, this_ptr, function, arg_count, real_args, return_value, location, soap_… in soap_client_call_common()
2779 zval *this_ptr = ZEND_THIS; in PHP_METHOD() local
2792 if (make_http_soap_request(this_ptr, buf, location, action, version, NULL)) { in PHP_METHOD()
2795 } else if (make_http_soap_request(this_ptr, buf, location, action, version, in PHP_METHOD()
2844 zval *this_ptr = ZEND_THIS; in PHP_METHOD() local
2851 convert_to_null(Z_CLIENT_DEFAULT_HEADERS_P(this_ptr)); in PHP_METHOD()
2856 zval_ptr_dtor(Z_CLIENT_DEFAULT_HEADERS_P(this_ptr)); in PHP_METHOD()
2857 ZVAL_COPY(Z_CLIENT_DEFAULT_HEADERS_P(this_ptr), headers); in PHP_METHOD()
2865 zval_ptr_dtor(Z_CLIENT_DEFAULT_HEADERS_P(this_ptr)); in PHP_METHOD()
2866 ZVAL_COPY_VALUE(Z_CLIENT_DEFAULT_HEADERS_P(this_ptr), &default_headers); in PHP_METHOD()
2883 zval *this_ptr = ZEND_THIS; in PHP_METHOD() local
2889 RETVAL_COPY_VALUE(Z_CLIENT_LOCATION_P(this_ptr)); in PHP_METHOD()
2892 ZVAL_STR_COPY(Z_CLIENT_LOCATION_P(this_ptr), location); in PHP_METHOD()
2894 ZVAL_NULL(Z_CLIENT_LOCATION_P(this_ptr)); in PHP_METHOD()
3921 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, const char *funct… in serialize_function_call() argument
3974 zstyle = Z_CLIENT_STYLE_P(this_ptr); in serialize_function_call()
3997 zuse = Z_CLIENT_USE_P(this_ptr); in serialize_function_call()