Lines Matching refs:this_ptr

64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_na…
821 zval *this_ptr; in PHP_METHOD() local
831 this_ptr = getThis(); in PHP_METHOD()
832 add_property_stringl(this_ptr, "param_name", name, name_length); in PHP_METHOD()
833 add_property_zval(this_ptr, "param_data", data); in PHP_METHOD()
846 zval *this_ptr; in PHP_METHOD() local
860 this_ptr = getThis(); in PHP_METHOD()
861 add_property_stringl(this_ptr, "namespace", ns, ns_len); in PHP_METHOD()
862 add_property_stringl(this_ptr, "name", name, name_len); in PHP_METHOD()
864 add_property_zval(this_ptr, "data", data); in PHP_METHOD()
866 add_property_bool(this_ptr, "mustUnderstand", must_understand); in PHP_METHOD()
872 add_property_long(this_ptr, "actor", Z_LVAL_P(actor)); in PHP_METHOD()
874 add_property_stringl(this_ptr, "actor", Z_STRVAL_P(actor), Z_STRLEN_P(actor)); in PHP_METHOD()
886 zval *code = NULL, *details = NULL, *headerfault = NULL, *this_ptr; in PHP_METHOD() local
927 this_ptr = getThis(); in PHP_METHOD()
928 set_soap_fault(this_ptr, fault_code_ns, fault_code, fault_string, fault_actor, details, name); in PHP_METHOD()
930 add_property_zval(this_ptr, "headerfault", headerfault); in PHP_METHOD()
943 zval *this_ptr; in PHP_METHOD() local
951 this_ptr = getThis(); in PHP_METHOD()
952 …faultcode = zend_read_property(soap_fault_class_entry, this_ptr, "faultcode", sizeof("faultcode"… in PHP_METHOD()
953 …faultstring = zend_read_property(soap_fault_class_entry, this_ptr, "faultstring", sizeof("faultstr… in PHP_METHOD()
954 file = zend_read_property(soap_fault_class_entry, this_ptr, "file", sizeof("file")-1, 1, &rv3); in PHP_METHOD()
955 line = zend_read_property(soap_fault_class_entry, this_ptr, "line", sizeof("line")-1, 1, &rv4); in PHP_METHOD()
994 zval *data, *type, *this_ptr; in PHP_METHOD() local
1002 this_ptr = getThis(); in PHP_METHOD()
1004 add_property_long(this_ptr, "enc_type", UNKNOWN_TYPE); in PHP_METHOD()
1007 add_property_long(this_ptr, "enc_type", Z_LVAL_P(type)); in PHP_METHOD()
1015 add_property_zval(this_ptr, "enc_value", data); in PHP_METHOD()
1019 add_property_stringl(this_ptr, "enc_stype", stype, stype_len); in PHP_METHOD()
1022 add_property_stringl(this_ptr, "enc_ns", ns, ns_len); in PHP_METHOD()
1025 add_property_stringl(this_ptr, "enc_name", name, name_len); in PHP_METHOD()
1028 add_property_stringl(this_ptr, "enc_namens", namens, namens_len); in PHP_METHOD()
1496 static void _soap_server_exception(soapServicePtr service, sdlFunctionPtr function, zval *this_ptr)… in _soap_server_exception() argument
1507 add_soap_fault_ex(&exception_object, this_ptr, "Server", ZSTR_VAL(msg), NULL, NULL); in _soap_server_exception()
1510 add_soap_fault_ex(&exception_object, this_ptr, "Server", "Internal Error", NULL, NULL); in _soap_server_exception()
2332 zval *this_ptr = getThis(); local
2354 add_property_str(this_ptr, "uri", zend_string_copy(Z_STR_P(tmp)));
2362 add_property_long(this_ptr, "style", Z_LVAL_P(tmp));
2368 add_property_long(this_ptr, "use", Z_LVAL_P(tmp));
2382 add_property_str(this_ptr, "location", zend_string_copy(Z_STR_P(tmp)));
2395 add_property_str(this_ptr, "_login", zend_string_copy(Z_STR_P(tmp)));
2398 add_property_str(this_ptr, "_password", zend_string_copy(Z_STR_P(tmp)));
2403 add_property_null(this_ptr, "_digest");
2408 add_property_str(this_ptr, "_proxy_host", zend_string_copy(Z_STR_P(tmp)));
2414 add_property_long(this_ptr, "_proxy_port", Z_LVAL_P(tmp));
2418 add_property_str(this_ptr, "_proxy_login", zend_string_copy(Z_STR_P(tmp)));
2421 add_property_str(this_ptr, "_proxy_password", zend_string_copy(Z_STR_P(tmp)));
2439 add_property_long(this_ptr, "trace", 1);
2445 add_property_bool(this_ptr, "_exceptions", 0);
2455 add_property_long(this_ptr, "compression", Z_LVAL_P(tmp));
2466 add_property_str(this_ptr, "_encoding", zend_string_copy(Z_STR_P(tmp)));
2471 add_property_zval(this_ptr, "_classmap", tmp);
2482 add_property_long(this_ptr, "_features", Z_LVAL_P(tmp));
2491 add_property_long(this_ptr, "_connection_timeout", Z_LVAL_P(tmp));
2496 add_property_resource(this_ptr, "_stream_context", context->res);
2506 add_property_str(this_ptr, "_user_agent", zend_string_copy(Z_STR_P(tmp)));
2512 add_property_long(this_ptr, "_keep_alive", 0);
2517 add_property_long(this_ptr, "_ssl_method", Z_LVAL_P(tmp));
2523 add_property_long(this_ptr, "_soap_version", soap_version);
2532 sdl = get_sdl(this_ptr, Z_STRVAL_P(wsdl), cache_wsdl);
2535 add_property_resource(this_ptr, "sdl", res);
2546 add_property_resource(this_ptr, "typemap", res);
2553 static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, i… argument
2568 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL);
2573 if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL &&
2575 add_property_stringl(this_ptr, "__last_request", buf, buf_size);
2593 if (call_user_function(NULL, this_ptr, &func, response, 5, params) != SUCCESS) {
2594 add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() failed", NULL, NULL);
2608 …} else if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault…
2609 …add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() returned non string value", NULL, NU…
2612 …} else if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL…
2614 add_property_str(this_ptr, "__last_response", zend_string_copy(Z_STR_P(response)));
2629 …if (ret && (fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault…
2636 zval* this_ptr, argument
2666 if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL &&
2668 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__last_request", sizeof("__last_request")-1);
2669 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__last_response", sizeof("__last_response")-1);
2671 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_soap_version", sizeof("_soap_version")-1)) …
2679 if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1)) != NULL &&
2685 if (FIND_SDL_PROPERTY(this_ptr,tmp) != NULL) {
2688 if (FIND_TYPEMAP_PROPERTY(this_ptr,tmp) != NULL) {
2692 clear_soap_fault(this_ptr);
2698 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_encoding", sizeof("_encoding")-1)) != NULL …
2705 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_classmap", sizeof("_classmap")-1)) != NULL …
2714 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_features", sizeof("_features")-1)) != NULL …
2739 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve…
2740 … ret = do_request(this_ptr, request, location, fnb->soapAction, soap_version, one_way, &response);
2742 …request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_v…
2743 ret = do_request(this_ptr, request, location, NULL, soap_version, one_way, &response);
2751 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, …
2763 add_soap_fault(this_ptr, "Client", ZSTR_VAL(error.s), NULL, NULL);
2769 …if ((uri = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "uri", sizeof("uri")-1)) == NULL || Z_TYPE_P(…
2770 add_soap_fault(this_ptr, "Client", "Error finding \"uri\" property", NULL, NULL);
2772 add_soap_fault(this_ptr, "Client", "Error could not find \"location\" property", NULL, NULL);
2777 …request = serialize_function_call(this_ptr, NULL, function, call_uri, real_args, arg_count, soap_v…
2788 ret = do_request(this_ptr, request, location, ZSTR_VAL(action.s), soap_version, 0, &response);
2796 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), NULL, function, return_v…
2806 …if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault")-1)) …
2809 add_soap_fault_ex(return_value, this_ptr, "Client", "Unknown Error", NULL, NULL);
2814 …if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault")-1)) …
2822 …((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_exceptions", sizeof("_exceptions")-1)) == NULL…
2882 zval *this_ptr; local
2925 this_ptr = getThis();
2926 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_header…
2959 …do_soap_call(execute_data, this_ptr, function, function_len, arg_count, real_args, return_value, l…
3113 zval *this_ptr = getThis(); local
3126 if (make_http_soap_request(this_ptr, buf, location, action, version, NULL)) {
3129 } else if (make_http_soap_request(this_ptr, buf, location, action, version,
3147 zval *this_ptr = getThis(); local
3154 …if ((cookies = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1)) != NUL…
3161 …if ((cookies = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1)) == NUL…
3166 …cookies = zend_hash_str_update(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1, &tmp_cooki…
3203 zval *this_ptr = getThis(); local
3210 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_headers")-1);
3213 add_property_zval(this_ptr, "__default_headers", headers);
3221 add_property_zval(this_ptr, "__default_headers", &default_headers);
3243 zval *this_ptr = getThis(); local
3249 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1)) != NULL &&…
3256 add_property_stringl(this_ptr, "location", location, location_len);
3258 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1);
4215 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_na… argument
4265 if ((zstyle = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "style", sizeof("style")-1)) != NULL &&
4288 if ((zuse = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "use", sizeof("use")-1)) != NULL &&