Lines Matching refs:function_name
37 zval function_name; member
57 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name);
60 …alize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_para…
61 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zva…
62 …erialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zv…
1031 add_next_index_str(return_value, zend_string_copy(f->common.function_name)); in PHP_METHOD()
1045 zval *function_name, function_copy; in PHP_METHOD() local
1047 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &function_name) == FAILURE) { in PHP_METHOD()
1057 if (Z_TYPE_P(function_name) == IS_ARRAY) { in PHP_METHOD()
1063 service->soap_functions.ft = zend_new_array(zend_hash_num_elements(Z_ARRVAL_P(function_name))); in PHP_METHOD()
1066 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(function_name), tmp_function) { in PHP_METHOD()
1085 ZVAL_STR_COPY(&function_copy, f->common.function_name); in PHP_METHOD()
1091 } else if (Z_TYPE_P(function_name) == IS_STRING) { in PHP_METHOD()
1095 key = zend_string_tolower(Z_STR_P(function_name)); in PHP_METHOD()
1099 …pe_error(1, "must be a valid function name, function \"%s\" not found", Z_STRVAL_P(function_name)); in PHP_METHOD()
1108 ZVAL_STR_COPY(&function_copy, f->common.function_name); in PHP_METHOD()
1111 } else if (Z_TYPE_P(function_name) == IS_LONG) { in PHP_METHOD()
1112 if (Z_LVAL_P(function_name) == SOAP_FUNCTIONS_ALL) { in PHP_METHOD()
1123 …nt_type_error(1, "must be of type array|string|int, %s given", zend_zval_type_name(function_name)); in PHP_METHOD()
1158 zval function_name, *params, *soap_obj, retval; local
1318 …function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &n…
1425 if (zend_hash_find_ptr_lc(function_table, Z_STR(h->function_name)) != NULL ||
1429 …call_status = call_user_function(NULL, soap_obj, &h->function_name, &h->retval, h->num_params, h->…
1431 …call_status = call_user_function(EG(function_table), NULL, &h->function_name, &h->retval, h->num_p…
1434 php_error_docref(NULL, E_WARNING, "Function '%s' call failed", Z_STRVAL(h->function_name));
1455 if (zend_hash_find_ptr_lc(function_table, Z_STR(function_name)) != NULL ||
1459 call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params);
1472 …call_status = call_user_function(EG(function_table), NULL, &function_name, &retval, num_params, pa…
1475 php_error(E_ERROR, "Function '%s' doesn't exist", Z_STRVAL(function_name));
1508 response_name = emalloc(Z_STRLEN(function_name) + sizeof("Response"));
1509 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
1510 memcpy(response_name+Z_STRLEN(function_name),"Response",sizeof("Response"));
1515 php_error_docref(NULL, E_WARNING, "Function '%s' call failed", Z_STRVAL(function_name));
1590 zval_ptr_dtor_str(&h->function_name);
1603 zval_ptr_dtor_str(&function_name);
1663 ZVAL_NULL(&(*p)->function_name);
2918 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */ argument
2938 ZVAL_STRING(function_name, (char *)function->functionName);
2940 ZVAL_STRING(function_name, (char *)func->name);
2972 …alize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_para… argument
3064 ZVAL_STRING(function_name, (char *)function->functionName);
3080 function = find_function(sdl, func, function_name);
3154 h->function = find_function(sdl, hdr_func, &h->function_name);
3165 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name));
3250 static int serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, … argument
3276 method = xmlNewChild(body, ns, BAD_CAST(function_name), NULL);
3313 xmlNodeSetName(param, BAD_CAST(function_name));
3352 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, z… argument
3392 char *hdr_name = Z_STRVAL(headers->function_name);
3428 …if (serialize_response_call2(head, headers->function, Z_STRVAL(headers->function_name), uri, hdr_r…
3618 char *hdr_name = Z_TYPE(h->function_name) == IS_STRING
3619 ? Z_STRVAL(h->function_name) : NULL;
3661 …if (serialize_response_call2(head, h->function, Z_STRVAL(h->function_name), uri, hdr_ret, version,…
3692 …if (serialize_response_call2(body, function, function_name, uri, ret, version, 1, NULL) == SOAP_EN…
3725 …erialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zv… argument
3787 if (function_name) {
3788 method = xmlNewChild(body, ns, BAD_CAST(function_name), NULL);
4028 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name) /* {{{ */ argument
4032 int len = strlen(function_name);
4033 char *str = estrndup(function_name,len);