Lines Matching refs:encoders
155 if (sdl->encoders == NULL) { in get_encoder()
156 sdl->encoders = pemalloc(sizeof(HashTable), sdl->is_persistent); in get_encoder()
157 zend_hash_init(sdl->encoders, 0, NULL, delete_encoder, sdl->is_persistent); in get_encoder()
159 zend_hash_update(sdl->encoders, nscat, len + 1, &new_enc, sizeof(encodePtr), NULL); in get_encoder()
174 …} else if (sdl && sdl->encoders && zend_hash_find(sdl->encoders, (char*)nscat, len + 1, (void **)&… in get_encoder_ex()
1227 static void sdl_deserialize_attribute(sdlAttributePtr attr, encodePtr *encoders, char **in) in sdl_deserialize_attribute() argument
1239 attr->encode = encoders[i]; in sdl_deserialize_attribute()
1320 static void sdl_deserialize_type(sdlTypePtr type, sdlTypePtr *types, encodePtr *encoders, char **in) in sdl_deserialize_type() argument
1335 type->encode = encoders[i]; in sdl_deserialize_type()
1378 sdl_deserialize_type(t, types, encoders, in); in sdl_deserialize_type()
1392 sdl_deserialize_attribute(attr, encoders, in); in sdl_deserialize_type()
1451 static void sdl_deserialize_soap_body(sdlSoapBindingFunctionBodyPtr body, encodePtr *encoders, sdlT… in sdl_deserialize_soap_body() argument
1479 tmp->encode = encoders[n]; in sdl_deserialize_soap_body()
1500 tmp2->encode = encoders[n]; in sdl_deserialize_soap_body()
1510 static HashTable* sdl_deserialize_parameters(encodePtr *encoders, sdlTypePtr *types, char **in) in sdl_deserialize_parameters() argument
1525 param->encode = encoders[n]; in sdl_deserialize_parameters()
1541 encodePtr *encoders; in get_sdl_from_cache() local
1612 encoders = safe_emalloc((i+1), sizeof(encodePtr), 0); in get_sdl_from_cache()
1614 encoders[0] = NULL; in get_sdl_from_cache()
1616 encoders[i] = emalloc(sizeof(encode)); in get_sdl_from_cache()
1617 memset(encoders[i], 0, sizeof(encode)); in get_sdl_from_cache()
1623 encoders[++i] = enc++; in get_sdl_from_cache()
1632 sdl_deserialize_type(types[i], types, encoders, &in); in get_sdl_from_cache()
1642 sdl_deserialize_type(types[i], types, encoders, &in); in get_sdl_from_cache()
1652 sdl_deserialize_type(types[i], types, encoders, &in); in get_sdl_from_cache()
1659 sdl->encoders = emalloc(sizeof(HashTable)); in get_sdl_from_cache()
1660 zend_hash_init(sdl->encoders, num_encoders, NULL, delete_encoder, 0); in get_sdl_from_cache()
1662 sdl_deserialize_key(sdl->encoders, encoders[i], &in); in get_sdl_from_cache()
1663 sdl_deserialize_encoder(encoders[i], types, &in); in get_sdl_from_cache()
1716 sdl_deserialize_soap_body(&binding->input, encoders, types, &in); in get_sdl_from_cache()
1717 sdl_deserialize_soap_body(&binding->output, encoders, types, &in); in get_sdl_from_cache()
1723 func->requestParameters = sdl_deserialize_parameters(encoders, types, &in); in get_sdl_from_cache()
1724 func->responseParameters = sdl_deserialize_parameters(encoders, types, &in); in get_sdl_from_cache()
1738 fault->details =sdl_deserialize_parameters(encoders, types, &in); in get_sdl_from_cache()
1779 efree(encoders); in get_sdl_from_cache()
2196 if (sdl->encoders) { in add_sdl_to_cache()
2197 i = zend_hash_num_elements(sdl->encoders); in add_sdl_to_cache()
2205 zend_hash_internal_pointer_reset(sdl->encoders); in add_sdl_to_cache()
2206 while (zend_hash_get_current_data(sdl->encoders, (void**)&tmp) == SUCCESS) { in add_sdl_to_cache()
2209 zend_hash_move_forward(sdl->encoders); in add_sdl_to_cache()
2249 if (sdl->encoders) { in add_sdl_to_cache()
2251 zend_hash_internal_pointer_reset(sdl->encoders); in add_sdl_to_cache()
2252 while (zend_hash_get_current_data(sdl->encoders, (void**)&tmp) == SUCCESS) { in add_sdl_to_cache()
2253 sdl_serialize_key(sdl->encoders, out); in add_sdl_to_cache()
2255 zend_hash_move_forward(sdl->encoders); in add_sdl_to_cache()
3032 if (sdl->encoders) { in make_persistent_sdl()
3036 psdl->encoders = malloc(sizeof(HashTable)); in make_persistent_sdl()
3037 …zend_hash_init(psdl->encoders, zend_hash_num_elements(sdl->encoders), NULL, delete_encoder_persist… in make_persistent_sdl()
3039 zend_hash_internal_pointer_reset(sdl->encoders); in make_persistent_sdl()
3040 while (zend_hash_get_current_data(sdl->encoders, (void **)&tmp) == SUCCESS) { in make_persistent_sdl()
3042 …if (zend_hash_get_current_key_ex(sdl->encoders, &key, &key_len, &index, 0, NULL) == HASH_KEY_IS_ST… in make_persistent_sdl()
3043 zend_hash_add(psdl->encoders, key, key_len, (void*)&penc, sizeof(encodePtr), NULL); in make_persistent_sdl()
3045 zend_hash_next_index_insert(psdl->encoders, (void*)&penc, sizeof(encodePtr), NULL); in make_persistent_sdl()
3048 zend_hash_move_forward(sdl->encoders); in make_persistent_sdl()
3165 if (tmp->encoders) { in delete_psdl()
3166 zend_hash_destroy(tmp->encoders); in delete_psdl()
3167 free(tmp->encoders); in delete_psdl()
3436 if (tmp->encoders) { in delete_sdl_impl()
3437 zend_hash_destroy(tmp->encoders); in delete_sdl_impl()
3438 efree(tmp->encoders); in delete_sdl_impl()