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 … xmlDocPtr request, const char* actor, const char *soap_action, 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
1430 …unction_call(service->sdl, doc_request, service->actor, soap_action, &function_name, &num_params, … in PHP_METHOD()
1535 if (zend_hash_find_ptr_lc(function_table, Z_STR(h->function_name)) != NULL || in PHP_METHOD()
1539 …call_status = call_user_function(NULL, soap_obj, &h->function_name, &h->retval, h->num_params, h->… in PHP_METHOD()
1541 …call_status = call_user_function(EG(function_table), NULL, &h->function_name, &h->retval, h->num_p… in PHP_METHOD()
1544 php_error_docref(NULL, E_WARNING, "Function '%s' call failed", Z_STRVAL(h->function_name)); in PHP_METHOD()
1565 if (zend_hash_find_ptr_lc(function_table, Z_STR(function_name)) != NULL || in PHP_METHOD()
1569 call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params); in PHP_METHOD()
1577 …call_status = call_user_function(EG(function_table), NULL, &function_name, &retval, num_params, pa… in PHP_METHOD()
1580 php_error(E_ERROR, "Function '%s' doesn't exist", Z_STRVAL(function_name)); in PHP_METHOD()
1610 response_name = emalloc(Z_STRLEN(function_name) + sizeof("Response")); in PHP_METHOD()
1611 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name)); in PHP_METHOD()
1612 memcpy(response_name+Z_STRLEN(function_name),"Response",sizeof("Response")); in PHP_METHOD()
1620 php_error_docref(NULL, E_WARNING, "Function '%s' call failed", Z_STRVAL(function_name)); in PHP_METHOD()
1697 zval_ptr_dtor_str(&h->function_name); in PHP_METHOD()
1710 zval_ptr_dtor_str(&function_name); in PHP_METHOD()
1768 ZVAL_NULL(&(*p)->function_name); in PHP_METHOD()
3075 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */ in find_function() argument
3096 ZVAL_STRING(function_name, (char *)function->functionName); in find_function()
3098 ZVAL_STRINGL(function_name, (char *)func->name, xml_func_name_length); in find_function()
3105 …onPtr find_function_using_soap_action(const sdl *sdl, const char *soap_action, zval* function_name) in find_function_using_soap_action() argument
3128 ZVAL_STRING(function_name, function->functionName); in find_function_using_soap_action()
3161 … xmlDocPtr request, const char* actor, const char *soap_action, zval *function_name, uint32_t *num… in deserialize_function_call() argument
3251 function = find_function_using_soap_action(sdl, soap_action, function_name); in deserialize_function_call()
3257 ZVAL_STRING(function_name, (char *)function->functionName); in deserialize_function_call()
3275 function = find_function(sdl, func, function_name); in deserialize_function_call()
3350 h->function = find_function(sdl, hdr_func, &h->function_name); in deserialize_function_call()
3361 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name)); in deserialize_function_call()
3446 …_response_call2(xmlNodePtr body, sdlFunctionPtr function, const char *function_name, const char *u… in serialize_response_call2() argument
3472 method = xmlNewChild(body, ns, BAD_CAST(function_name), NULL); in serialize_response_call2()
3509 xmlNodeSetName(param, BAD_CAST(function_name)); in serialize_response_call2()
3548 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, const char *function_name, const … in serialize_response_call() argument
3588 char *hdr_name = Z_STRVAL(headers->function_name); in serialize_response_call()
3624 …if (serialize_response_call2(head, headers->function, Z_STRVAL(headers->function_name), uri, hdr_r… in serialize_response_call()
3814 char *hdr_name = Z_TYPE(h->function_name) == IS_STRING in serialize_response_call()
3815 ? Z_STRVAL(h->function_name) : NULL; in serialize_response_call()
3857 …if (serialize_response_call2(head, h->function, Z_STRVAL(h->function_name), uri, hdr_ret, version,… in serialize_response_call()
3888 …if (serialize_response_call2(body, function, function_name, uri, ret, version, 1, NULL) == SOAP_EN… in serialize_response_call()
3921 …ze_function_call(zval *this_ptr, sdlFunctionPtr function, const char *function_name, const char *u… in serialize_function_call() argument
3984 if (function_name) { in serialize_function_call()
3985 method = xmlNewChild(body, ns, BAD_CAST(function_name), NULL); in serialize_function_call()
4225 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name, size_t function_name_leng… in get_function() argument
4230 …if ((tmp = zend_hash_str_find_ptr_lc(&sdl->functions, function_name, function_name_length)) != NUL… in get_function()
4232 …} else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr_lc(sdl->requests, function_name,… in get_function()