Lines Matching refs:this_ptr

63 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_na…
523 zval *this_ptr; in PHP_METHOD() local
534 this_ptr = ZEND_THIS; in PHP_METHOD()
535 add_property_stringl(this_ptr, "param_name", name, name_length); in PHP_METHOD()
536 add_property_zval(this_ptr, "param_data", data); in PHP_METHOD()
551 zval *this_ptr; in PHP_METHOD() local
571 this_ptr = ZEND_THIS; in PHP_METHOD()
572 add_property_stringl(this_ptr, "namespace", ns, ns_len); in PHP_METHOD()
573 add_property_stringl(this_ptr, "name", name, name_len); in PHP_METHOD()
575 add_property_zval(this_ptr, "data", data); in PHP_METHOD()
577 add_property_bool(this_ptr, "mustUnderstand", must_understand); in PHP_METHOD()
581 add_property_stringl(this_ptr, "actor", ZSTR_VAL(actor_str), ZSTR_LEN(actor_str)); in PHP_METHOD()
588 add_property_long(this_ptr, "actor", actor_long); in PHP_METHOD()
602 zval *details = NULL, *headerfault = NULL, *this_ptr; in PHP_METHOD() local
638 this_ptr = ZEND_THIS; in PHP_METHOD()
639 set_soap_fault(this_ptr, fault_code_ns, fault_code, fault_string, fault_actor, details, name); in PHP_METHOD()
641 add_property_zval(this_ptr, "headerfault", headerfault); in PHP_METHOD()
651 zval *this_ptr; in PHP_METHOD() local
659 this_ptr = ZEND_THIS; in PHP_METHOD()
660 …faultcode = zend_read_property(soap_fault_class_entry, Z_OBJ_P(this_ptr), "faultcode", sizeof("fau… in PHP_METHOD()
661 …faultstring = zend_read_property(soap_fault_class_entry, Z_OBJ_P(this_ptr), "faultstring", sizeof(… in PHP_METHOD()
662 …file = zend_read_property(soap_fault_class_entry, Z_OBJ_P(this_ptr), "file", sizeof("file")-1, 1, … in PHP_METHOD()
663 …line = zend_read_property(soap_fault_class_entry, Z_OBJ_P(this_ptr), "line", sizeof("line")-1, 1, … in PHP_METHOD()
690 zval *data, *this_ptr; in PHP_METHOD() local
700 this_ptr = ZEND_THIS; in PHP_METHOD()
702 add_property_long(this_ptr, "enc_type", UNKNOWN_TYPE); in PHP_METHOD()
705 add_property_long(this_ptr, "enc_type", type); in PHP_METHOD()
713 add_property_zval(this_ptr, "enc_value", data); in PHP_METHOD()
717 add_property_stringl(this_ptr, "enc_stype", stype, stype_len); in PHP_METHOD()
720 add_property_stringl(this_ptr, "enc_ns", ns, ns_len); in PHP_METHOD()
723 add_property_stringl(this_ptr, "enc_name", name, name_len); in PHP_METHOD()
726 add_property_stringl(this_ptr, "enc_namens", namens, namens_len); in PHP_METHOD()
1179 static void _soap_server_exception(soapServicePtr service, sdlFunctionPtr function, zval *this_ptr)… in _soap_server_exception() argument
1190 add_soap_fault_ex(&exception_object, this_ptr, "Server", ZSTR_VAL(msg), NULL, NULL); in _soap_server_exception()
1193 add_soap_fault_ex(&exception_object, this_ptr, "Server", "Internal Error", NULL, NULL); in _soap_server_exception()
1974 zval *this_ptr = ZEND_THIS; local
1992 add_property_str(this_ptr, "uri", zend_string_copy(Z_STR_P(tmp)));
2000 add_property_long(this_ptr, "style", Z_LVAL_P(tmp));
2006 add_property_long(this_ptr, "use", Z_LVAL_P(tmp));
2020 add_property_str(this_ptr, "location", zend_string_copy(Z_STR_P(tmp)));
2033 add_property_str(this_ptr, "_login", zend_string_copy(Z_STR_P(tmp)));
2036 add_property_str(this_ptr, "_password", zend_string_copy(Z_STR_P(tmp)));
2041 add_property_null(this_ptr, "_digest");
2046 add_property_str(this_ptr, "_proxy_host", zend_string_copy(Z_STR_P(tmp)));
2052 add_property_long(this_ptr, "_proxy_port", Z_LVAL_P(tmp));
2056 add_property_str(this_ptr, "_proxy_login", zend_string_copy(Z_STR_P(tmp)));
2059 add_property_str(this_ptr, "_proxy_password", zend_string_copy(Z_STR_P(tmp)));
2077 add_property_long(this_ptr, "trace", 1);
2083 add_property_bool(this_ptr, "_exceptions", 0);
2093 add_property_long(this_ptr, "compression", Z_LVAL_P(tmp));
2104 add_property_str(this_ptr, "_encoding", zend_string_copy(Z_STR_P(tmp)));
2109 add_property_zval(this_ptr, "_classmap", tmp);
2120 add_property_long(this_ptr, "_features", Z_LVAL_P(tmp));
2129 add_property_long(this_ptr, "_connection_timeout", Z_LVAL_P(tmp));
2134 add_property_resource(this_ptr, "_stream_context", context->res);
2144 add_property_str(this_ptr, "_user_agent", zend_string_copy(Z_STR_P(tmp)));
2150 add_property_long(this_ptr, "_keep_alive", 0);
2155 add_property_long(this_ptr, "_ssl_method", Z_LVAL_P(tmp));
2161 add_property_long(this_ptr, "_soap_version", soap_version);
2170 sdl = get_sdl(this_ptr, ZSTR_VAL(wsdl), cache_wsdl);
2173 add_property_resource(this_ptr, "sdl", res);
2184 add_property_resource(this_ptr, "typemap", res);
2191 static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, z… argument
2206 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL);
2211 if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL &&
2213 add_property_stringl(this_ptr, "__last_request", buf, buf_size);
2227 if (call_user_function(NULL, this_ptr, &func, response, 5, params) != SUCCESS) {
2228 add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() failed", NULL, NULL);
2242 …} else if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault…
2243 …add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() returned non string value", NULL, NU…
2246 …} else if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL…
2248 add_property_str(this_ptr, "__last_response", zend_string_copy(Z_STR_P(response)));
2261 …if (ret && (fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault…
2269 zval* this_ptr, argument
2300 if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL &&
2302 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__last_request", sizeof("__last_request")-1);
2303 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__last_response", sizeof("__last_response")-1);
2305 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_soap_version", sizeof("_soap_version")-1)) …
2313 if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1)) != NULL &&
2319 if (FIND_SDL_PROPERTY(this_ptr,tmp) != NULL) {
2322 if (FIND_TYPEMAP_PROPERTY(this_ptr,tmp) != NULL) {
2326 clear_soap_fault(this_ptr);
2332 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_encoding", sizeof("_encoding")-1)) != NULL …
2339 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_classmap", sizeof("_classmap")-1)) != NULL …
2348 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_features", sizeof("_features")-1)) != NULL …
2374 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve…
2375 … ret = do_request(this_ptr, request, location, fnb->soapAction, soap_version, one_way, &response);
2377 …request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_v…
2378 ret = do_request(this_ptr, request, location, NULL, soap_version, one_way, &response);
2386 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, …
2398 add_soap_fault(this_ptr, "Client", ZSTR_VAL(error.s), NULL, NULL);
2404 …if ((uri = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "uri", sizeof("uri")-1)) == NULL || Z_TYPE_P(…
2405 add_soap_fault(this_ptr, "Client", "Error finding \"uri\" property", NULL, NULL);
2407 add_soap_fault(this_ptr, "Client", "Error could not find \"location\" property", NULL, NULL);
2412 …request = serialize_function_call(this_ptr, NULL, function, call_uri, real_args, arg_count, soap_v…
2423 ret = do_request(this_ptr, request, location, ZSTR_VAL(action.s), soap_version, 0, &response);
2431 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), NULL, function, return_v…
2441 …if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault")-1)) …
2444 add_soap_fault_ex(return_value, this_ptr, "Client", "Unknown Error", NULL, NULL);
2449 …if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault")-1)) …
2457 …((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_exceptions", sizeof("_exceptions")-1)) == NULL…
2516 zval *this_ptr; local
2564 this_ptr = ZEND_THIS;
2565 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_header…
2602 …do_soap_call(execute_data, this_ptr, function, function_len, arg_count, real_args, return_value, l…
2759 zval *this_ptr = ZEND_THIS; local
2772 if (make_http_soap_request(this_ptr, buf, location, action, version, NULL)) {
2775 } else if (make_http_soap_request(this_ptr, buf, location, action, version,
2792 zval *this_ptr = ZEND_THIS; local
2799 …if ((cookies = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1)) != NUL…
2806 …if ((cookies = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1)) == NUL…
2811 …cookies = zend_hash_str_update(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1, &tmp_cooki…
2846 zval *this_ptr = ZEND_THIS; local
2853 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_headers")-1);
2856 add_property_zval(this_ptr, "__default_headers", headers);
2864 add_property_zval(this_ptr, "__default_headers", &default_headers);
2884 zval *this_ptr = ZEND_THIS; local
2890 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1)) != NULL &&…
2897 add_property_stringl(this_ptr, "location", location, location_len);
2899 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1);
3881 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_na… argument
3933 if ((zstyle = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "style", sizeof("style")-1)) != NULL &&
3956 if ((zuse = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "use", sizeof("use")-1)) != NULL &&