Lines Matching refs:function_name
38 zval function_name; member
58 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name, size_t function_name_leng…
61 …function_call(sdlPtr sdl, xmlDocPtr request, const char* actor, zval *function_name, uint32_t *num…
62 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, const char *function_name, const …
63 …ze_function_call(zval *this_ptr, sdlFunctionPtr function, const char *function_name, const char *u…
1143 add_next_index_str(return_value, zend_string_copy(f->common.function_name)); in PHP_METHOD()
1155 zval *function_name, function_copy; in PHP_METHOD() local
1157 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &function_name) == FAILURE) { in PHP_METHOD()
1165 if (Z_TYPE_P(function_name) == IS_ARRAY) { in PHP_METHOD()
1171 service->soap_functions.ft = zend_new_array(zend_hash_num_elements(Z_ARRVAL_P(function_name))); in PHP_METHOD()
1174 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(function_name), tmp_function) { in PHP_METHOD()
1191 ZVAL_STR_COPY(&function_copy, f->common.function_name); in PHP_METHOD()
1197 } else if (Z_TYPE_P(function_name) == IS_STRING) { in PHP_METHOD()
1201 key = zend_string_tolower(Z_STR_P(function_name)); in PHP_METHOD()
1205 …pe_error(1, "must be a valid function name, function \"%s\" not found", Z_STRVAL_P(function_name)); in PHP_METHOD()
1213 ZVAL_STR_COPY(&function_copy, f->common.function_name); in PHP_METHOD()
1216 } else if (Z_TYPE_P(function_name) == IS_LONG) { in PHP_METHOD()
1217 if (Z_LVAL_P(function_name) == SOAP_FUNCTIONS_ALL) { in PHP_METHOD()
1233 …t_type_error(1, "must be of type array|string|int, %s given", zend_zval_value_name(function_name)); in PHP_METHOD()
1266 zval function_name, *params, *soap_obj, retval; in PHP_METHOD() local
1427 …function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &n… in PHP_METHOD()
1532 if (zend_hash_find_ptr_lc(function_table, Z_STR(h->function_name)) != NULL || in PHP_METHOD()
1536 …call_status = call_user_function(NULL, soap_obj, &h->function_name, &h->retval, h->num_params, h->… in PHP_METHOD()
1538 …call_status = call_user_function(EG(function_table), NULL, &h->function_name, &h->retval, h->num_p… in PHP_METHOD()
1541 php_error_docref(NULL, E_WARNING, "Function '%s' call failed", Z_STRVAL(h->function_name)); in PHP_METHOD()
1562 if (zend_hash_find_ptr_lc(function_table, Z_STR(function_name)) != NULL || in PHP_METHOD()
1566 call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params); in PHP_METHOD()
1574 …call_status = call_user_function(EG(function_table), NULL, &function_name, &retval, num_params, pa… in PHP_METHOD()
1577 php_error(E_ERROR, "Function '%s' doesn't exist", Z_STRVAL(function_name)); in PHP_METHOD()
1607 response_name = emalloc(Z_STRLEN(function_name) + sizeof("Response")); in PHP_METHOD()
1608 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name)); in PHP_METHOD()
1609 memcpy(response_name+Z_STRLEN(function_name),"Response",sizeof("Response")); in PHP_METHOD()
1617 php_error_docref(NULL, E_WARNING, "Function '%s' call failed", Z_STRVAL(function_name)); in PHP_METHOD()
1694 zval_ptr_dtor_str(&h->function_name); in PHP_METHOD()
1707 zval_ptr_dtor_str(&function_name); in PHP_METHOD()
1765 ZVAL_NULL(&(*p)->function_name); in PHP_METHOD()
3070 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */ in find_function() argument
3091 ZVAL_STRING(function_name, (char *)function->functionName); in find_function()
3093 ZVAL_STRINGL(function_name, (char *)func->name, xml_func_name_length); in find_function()
3125 …function_call(sdlPtr sdl, xmlDocPtr request, const char* actor, zval *function_name, uint32_t *num… in deserialize_function_call() argument
3217 ZVAL_STRING(function_name, (char *)function->functionName); in deserialize_function_call()
3233 function = find_function(sdl, func, function_name); in deserialize_function_call()
3307 h->function = find_function(sdl, hdr_func, &h->function_name); in deserialize_function_call()
3318 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name)); in deserialize_function_call()
3403 …_response_call2(xmlNodePtr body, sdlFunctionPtr function, const char *function_name, const char *u… in serialize_response_call2() argument
3429 method = xmlNewChild(body, ns, BAD_CAST(function_name), NULL); in serialize_response_call2()
3466 xmlNodeSetName(param, BAD_CAST(function_name)); in serialize_response_call2()
3505 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, const char *function_name, const … in serialize_response_call() argument
3545 char *hdr_name = Z_STRVAL(headers->function_name); in serialize_response_call()
3581 …if (serialize_response_call2(head, headers->function, Z_STRVAL(headers->function_name), uri, hdr_r… in serialize_response_call()
3771 char *hdr_name = Z_TYPE(h->function_name) == IS_STRING in serialize_response_call()
3772 ? Z_STRVAL(h->function_name) : NULL; in serialize_response_call()
3814 …if (serialize_response_call2(head, h->function, Z_STRVAL(h->function_name), uri, hdr_ret, version,… in serialize_response_call()
3845 …if (serialize_response_call2(body, function, function_name, uri, ret, version, 1, NULL) == SOAP_EN… in serialize_response_call()
3878 …ze_function_call(zval *this_ptr, sdlFunctionPtr function, const char *function_name, const char *u… in serialize_function_call() argument
3941 if (function_name) { in serialize_function_call()
3942 method = xmlNewChild(body, ns, BAD_CAST(function_name), NULL); in serialize_function_call()
4182 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name, size_t function_name_leng… in get_function() argument
4187 …if ((tmp = zend_hash_str_find_ptr_lc(&sdl->functions, function_name, function_name_length)) != NUL… in get_function()
4189 …} else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr_lc(sdl->requests, function_name,… in get_function()