Lines Matching refs:this_ptr

63 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_na…
797 zval *this_ptr; in PHP_METHOD() local
807 this_ptr = getThis(); in PHP_METHOD()
808 add_property_stringl(this_ptr, "param_name", name, name_length); in PHP_METHOD()
809 add_property_zval(this_ptr, "param_data", data); in PHP_METHOD()
822 zval *this_ptr; in PHP_METHOD() local
836 this_ptr = getThis(); in PHP_METHOD()
837 add_property_stringl(this_ptr, "namespace", ns, ns_len); in PHP_METHOD()
838 add_property_stringl(this_ptr, "name", name, name_len); in PHP_METHOD()
840 add_property_zval(this_ptr, "data", data); in PHP_METHOD()
842 add_property_bool(this_ptr, "mustUnderstand", must_understand); in PHP_METHOD()
848 add_property_long(this_ptr, "actor", Z_LVAL_P(actor)); in PHP_METHOD()
850 add_property_stringl(this_ptr, "actor", Z_STRVAL_P(actor), Z_STRLEN_P(actor)); in PHP_METHOD()
863 zval *code = NULL, *details = NULL, *headerfault = NULL, *this_ptr; in PHP_METHOD() local
900 this_ptr = getThis(); in PHP_METHOD()
901 set_soap_fault(this_ptr, fault_code_ns, fault_code, fault_string, fault_actor, details, name); in PHP_METHOD()
903 add_property_zval(this_ptr, "headerfault", headerfault); in PHP_METHOD()
915 zval *this_ptr; in PHP_METHOD() local
923 this_ptr = getThis(); in PHP_METHOD()
924 …faultcode = zend_read_property(soap_fault_class_entry, this_ptr, "faultcode", sizeof("faultcode"… in PHP_METHOD()
925 …faultstring = zend_read_property(soap_fault_class_entry, this_ptr, "faultstring", sizeof("faultstr… in PHP_METHOD()
926 file = zend_read_property(soap_fault_class_entry, this_ptr, "file", sizeof("file")-1, 1, &rv3); in PHP_METHOD()
927 line = zend_read_property(soap_fault_class_entry, this_ptr, "line", sizeof("line")-1, 1, &rv4); in PHP_METHOD()
964 zval *data, *type, *this_ptr; in PHP_METHOD() local
972 this_ptr = getThis(); in PHP_METHOD()
974 add_property_long(this_ptr, "enc_type", UNKNOWN_TYPE); in PHP_METHOD()
977 add_property_long(this_ptr, "enc_type", Z_LVAL_P(type)); in PHP_METHOD()
985 add_property_zval(this_ptr, "enc_value", data); in PHP_METHOD()
989 add_property_stringl(this_ptr, "enc_stype", stype, stype_len); in PHP_METHOD()
992 add_property_stringl(this_ptr, "enc_ns", ns, ns_len); in PHP_METHOD()
995 add_property_stringl(this_ptr, "enc_name", name, name_len); in PHP_METHOD()
998 add_property_stringl(this_ptr, "enc_namens", namens, namens_len); in PHP_METHOD()
1461 static void _soap_server_exception(soapServicePtr service, sdlFunctionPtr function, zval *this_ptr)… in _soap_server_exception() argument
1472 add_soap_fault_ex(&exception_object, this_ptr, "Server", ZSTR_VAL(msg), NULL, NULL); in _soap_server_exception()
1475 add_soap_fault_ex(&exception_object, this_ptr, "Server", "Internal Error", NULL, NULL); in _soap_server_exception()
2272 zval *this_ptr = getThis(); local
2294 add_property_str(this_ptr, "uri", zend_string_copy(Z_STR_P(tmp)));
2302 add_property_long(this_ptr, "style", Z_LVAL_P(tmp));
2308 add_property_long(this_ptr, "use", Z_LVAL_P(tmp));
2322 add_property_str(this_ptr, "location", zend_string_copy(Z_STR_P(tmp)));
2335 add_property_str(this_ptr, "_login", zend_string_copy(Z_STR_P(tmp)));
2338 add_property_str(this_ptr, "_password", zend_string_copy(Z_STR_P(tmp)));
2343 add_property_null(this_ptr, "_digest");
2348 add_property_str(this_ptr, "_proxy_host", zend_string_copy(Z_STR_P(tmp)));
2354 add_property_long(this_ptr, "_proxy_port", Z_LVAL_P(tmp));
2358 add_property_str(this_ptr, "_proxy_login", zend_string_copy(Z_STR_P(tmp)));
2361 add_property_str(this_ptr, "_proxy_password", zend_string_copy(Z_STR_P(tmp)));
2379 add_property_long(this_ptr, "trace", 1);
2385 add_property_bool(this_ptr, "_exceptions", 0);
2395 add_property_long(this_ptr, "compression", Z_LVAL_P(tmp));
2406 add_property_str(this_ptr, "_encoding", zend_string_copy(Z_STR_P(tmp)));
2411 add_property_zval(this_ptr, "_classmap", tmp);
2422 add_property_long(this_ptr, "_features", Z_LVAL_P(tmp));
2431 add_property_long(this_ptr, "_connection_timeout", Z_LVAL_P(tmp));
2436 add_property_resource(this_ptr, "_stream_context", context->res);
2446 add_property_str(this_ptr, "_user_agent", zend_string_copy(Z_STR_P(tmp)));
2452 add_property_long(this_ptr, "_keep_alive", 0);
2457 add_property_long(this_ptr, "_ssl_method", Z_LVAL_P(tmp));
2463 add_property_long(this_ptr, "_soap_version", soap_version);
2472 sdl = get_sdl(this_ptr, Z_STRVAL_P(wsdl), cache_wsdl);
2475 add_property_resource(this_ptr, "sdl", res);
2486 add_property_resource(this_ptr, "typemap", res);
2493 static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, i… argument
2508 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL);
2513 if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL &&
2515 add_property_stringl(this_ptr, "__last_request", buf, buf_size);
2533 if (call_user_function(NULL, this_ptr, &func, response, 5, params) != SUCCESS) {
2534 add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() failed", NULL, NULL);
2548 …} else if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault…
2549 …add_soap_fault(this_ptr, "Client", "SoapClient::__doRequest() returned non string value", NULL, NU…
2552 …} else if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL…
2554 add_property_str(this_ptr, "__last_response", zend_string_copy(Z_STR_P(response)));
2567 …if (ret && (fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault…
2575 zval* this_ptr, argument
2605 if ((trace = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "trace", sizeof("trace")-1)) != NULL &&
2607 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__last_request", sizeof("__last_request")-1);
2608 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__last_response", sizeof("__last_response")-1);
2610 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_soap_version", sizeof("_soap_version")-1)) …
2618 if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1)) != NULL &&
2624 if (FIND_SDL_PROPERTY(this_ptr,tmp) != NULL) {
2627 if (FIND_TYPEMAP_PROPERTY(this_ptr,tmp) != NULL) {
2631 clear_soap_fault(this_ptr);
2637 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_encoding", sizeof("_encoding")-1)) != NULL …
2644 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_classmap", sizeof("_classmap")-1)) != NULL …
2653 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_features", sizeof("_features")-1)) != NULL …
2678 …request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_ve…
2679 … ret = do_request(this_ptr, request, location, fnb->soapAction, soap_version, one_way, &response);
2681 …request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_v…
2682 ret = do_request(this_ptr, request, location, NULL, soap_version, one_way, &response);
2690 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, …
2702 add_soap_fault(this_ptr, "Client", ZSTR_VAL(error.s), NULL, NULL);
2708 …if ((uri = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "uri", sizeof("uri")-1)) == NULL || Z_TYPE_P(…
2709 add_soap_fault(this_ptr, "Client", "Error finding \"uri\" property", NULL, NULL);
2711 add_soap_fault(this_ptr, "Client", "Error could not find \"location\" property", NULL, NULL);
2716 …request = serialize_function_call(this_ptr, NULL, function, call_uri, real_args, arg_count, soap_v…
2727 ret = do_request(this_ptr, request, location, ZSTR_VAL(action.s), soap_version, 0, &response);
2735 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), NULL, function, return_v…
2745 …if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault")-1)) …
2748 add_soap_fault_ex(return_value, this_ptr, "Client", "Unknown Error", NULL, NULL);
2753 …if ((fault = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__soap_fault", sizeof("__soap_fault")-1)) …
2761 …((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_exceptions", sizeof("_exceptions")-1)) == NULL…
2822 zval *this_ptr; local
2864 this_ptr = getThis();
2865 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_header…
2899 …do_soap_call(execute_data, this_ptr, function, function_len, arg_count, real_args, return_value, l…
3053 zval *this_ptr = getThis(); local
3066 if (make_http_soap_request(this_ptr, buf, location, action, version, NULL)) {
3069 } else if (make_http_soap_request(this_ptr, buf, location, action, version,
3087 zval *this_ptr = getThis(); local
3094 …if ((cookies = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1)) != NUL…
3101 …if ((cookies = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1)) == NUL…
3106 …cookies = zend_hash_str_update(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1, &tmp_cooki…
3143 zval *this_ptr = getThis(); local
3150 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_headers")-1);
3153 add_property_zval(this_ptr, "__default_headers", headers);
3161 add_property_zval(this_ptr, "__default_headers", &default_headers);
3181 zval *this_ptr = getThis(); local
3187 …if ((tmp = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1)) != NULL &&…
3194 add_property_stringl(this_ptr, "location", location, location_len);
3196 zend_hash_str_del(Z_OBJPROP_P(this_ptr), "location", sizeof("location")-1);
4163 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_na… argument
4213 if ((zstyle = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "style", sizeof("style")-1)) != NULL &&
4236 if ((zuse = zend_hash_str_find(Z_OBJPROP_P(this_ptr), "use", sizeof("use")-1)) != NULL &&