Lines Matching refs:pfunc
2868 sdlFunctionPtr pfunc = NULL; in make_persistent_sdl_function() local
2870 pfunc = malloc(sizeof(sdlFunction)); in make_persistent_sdl_function()
2871 memset(pfunc, 0, sizeof(sdlFunction)); in make_persistent_sdl_function()
2873 *pfunc = *func; in make_persistent_sdl_function()
2875 if (pfunc->functionName) { in make_persistent_sdl_function()
2876 pfunc->functionName = strdup(pfunc->functionName); in make_persistent_sdl_function()
2878 if (pfunc->requestName) { in make_persistent_sdl_function()
2879 pfunc->requestName = strdup(pfunc->requestName); in make_persistent_sdl_function()
2881 if (pfunc->responseName) { in make_persistent_sdl_function()
2882 pfunc->responseName = strdup(pfunc->responseName); in make_persistent_sdl_function()
2885 if (pfunc->binding) { in make_persistent_sdl_function()
2888 …if ((tmp = zend_hash_str_find_ptr(ptr_map, (char*)&pfunc->binding, sizeof(pfunc->binding))) == NUL… in make_persistent_sdl_function()
2891 pfunc->binding = tmp; in make_persistent_sdl_function()
2893 if (pfunc->binding->bindingType == BINDING_SOAP && pfunc->bindingAttributes) { in make_persistent_sdl_function()
2898 *soap_binding = *(sdlSoapBindingFunctionPtr)pfunc->bindingAttributes; in make_persistent_sdl_function()
2904 pfunc->bindingAttributes = soap_binding; in make_persistent_sdl_function()
2907 if (pfunc->requestParameters) { in make_persistent_sdl_function()
2908 pfunc->requestParameters = make_persistent_sdl_parameters(pfunc->requestParameters, ptr_map); in make_persistent_sdl_function()
2910 if (pfunc->responseParameters) { in make_persistent_sdl_function()
2911 pfunc->responseParameters = make_persistent_sdl_parameters(pfunc->responseParameters, ptr_map); in make_persistent_sdl_function()
2913 if (pfunc->faults) { in make_persistent_sdl_function()
2914 pfunc->faults = make_persistent_sdl_function_faults(pfunc, pfunc->faults, ptr_map); in make_persistent_sdl_function()
2918 return pfunc; in make_persistent_sdl_function()
3063 sdlFunctionPtr pfunc; in make_persistent_sdl() local
3066 pfunc = make_persistent_sdl_function(tmp, &ptr_map); in make_persistent_sdl()
3069 zend_hash_str_add_ptr(&psdl->functions, ZSTR_VAL(key), ZSTR_LEN(key), pfunc); in make_persistent_sdl()
3071 zend_hash_next_index_insert_ptr(&psdl->functions, pfunc); in make_persistent_sdl()
3073 zend_hash_str_add_ptr(&ptr_map, (char*)&tmp, sizeof(tmp), pfunc); in make_persistent_sdl()