Lines Matching refs:pfunc

2876 	sdlFunctionPtr pfunc = NULL;  in make_persistent_sdl_function()  local
2878 pfunc = malloc(sizeof(sdlFunction)); in make_persistent_sdl_function()
2879 memset(pfunc, 0, sizeof(sdlFunction)); in make_persistent_sdl_function()
2881 *pfunc = *func; in make_persistent_sdl_function()
2883 if (pfunc->functionName) { in make_persistent_sdl_function()
2884 pfunc->functionName = strdup(pfunc->functionName); in make_persistent_sdl_function()
2886 if (pfunc->requestName) { in make_persistent_sdl_function()
2887 pfunc->requestName = strdup(pfunc->requestName); in make_persistent_sdl_function()
2889 if (pfunc->responseName) { in make_persistent_sdl_function()
2890 pfunc->responseName = strdup(pfunc->responseName); in make_persistent_sdl_function()
2893 if (pfunc->binding) { in make_persistent_sdl_function()
2896 …if ((tmp = zend_hash_str_find_ptr(ptr_map, (char*)&pfunc->binding, sizeof(pfunc->binding))) == NUL… in make_persistent_sdl_function()
2899 pfunc->binding = tmp; in make_persistent_sdl_function()
2901 if (pfunc->binding->bindingType == BINDING_SOAP && pfunc->bindingAttributes) { in make_persistent_sdl_function()
2906 *soap_binding = *(sdlSoapBindingFunctionPtr)pfunc->bindingAttributes; in make_persistent_sdl_function()
2912 pfunc->bindingAttributes = soap_binding; in make_persistent_sdl_function()
2915 if (pfunc->requestParameters) { in make_persistent_sdl_function()
2916 pfunc->requestParameters = make_persistent_sdl_parameters(pfunc->requestParameters, ptr_map); in make_persistent_sdl_function()
2918 if (pfunc->responseParameters) { in make_persistent_sdl_function()
2919 pfunc->responseParameters = make_persistent_sdl_parameters(pfunc->responseParameters, ptr_map); in make_persistent_sdl_function()
2921 if (pfunc->faults) { in make_persistent_sdl_function()
2922 pfunc->faults = make_persistent_sdl_function_faults(pfunc, pfunc->faults, ptr_map); in make_persistent_sdl_function()
2926 return pfunc; in make_persistent_sdl_function()
3071 sdlFunctionPtr pfunc; in make_persistent_sdl() local
3074 pfunc = make_persistent_sdl_function(tmp, &ptr_map); in make_persistent_sdl()
3077 zend_hash_str_add_ptr(&psdl->functions, ZSTR_VAL(key), ZSTR_LEN(key), pfunc); in make_persistent_sdl()
3079 zend_hash_next_index_insert_ptr(&psdl->functions, pfunc); in make_persistent_sdl()
3081 zend_hash_str_add_ptr(&ptr_map, (char*)&tmp, sizeof(tmp), pfunc); in make_persistent_sdl()