Lines Matching refs:encoders
156 if (sdl->encoders == NULL) { in get_encoder()
157 sdl->encoders = pemalloc(sizeof(HashTable), sdl->is_persistent); in get_encoder()
158 zend_hash_init(sdl->encoders, 0, NULL, delete_encoder, sdl->is_persistent); in get_encoder()
160 zend_hash_str_update_ptr(sdl->encoders, nscat, len, new_enc); in get_encoder()
174 …} else if (sdl && sdl->encoders && (enc = zend_hash_str_find_ptr(sdl->encoders, (char*)nscat, len)… in get_encoder_ex()
1223 static void sdl_deserialize_attribute(sdlAttributePtr attr, encodePtr *encoders, char **in) in sdl_deserialize_attribute() argument
1235 attr->encode = encoders[i]; in sdl_deserialize_attribute()
1316 static void sdl_deserialize_type(sdlTypePtr type, sdlTypePtr *types, encodePtr *encoders, char **in) in sdl_deserialize_type() argument
1331 type->encode = encoders[i]; in sdl_deserialize_type()
1374 sdl_deserialize_type(t, types, encoders, in); in sdl_deserialize_type()
1388 sdl_deserialize_attribute(attr, encoders, in); in sdl_deserialize_type()
1447 static void sdl_deserialize_soap_body(sdlSoapBindingFunctionBodyPtr body, encodePtr *encoders, sdlT… in sdl_deserialize_soap_body() argument
1475 tmp->encode = encoders[n]; in sdl_deserialize_soap_body()
1496 tmp2->encode = encoders[n]; in sdl_deserialize_soap_body()
1506 static HashTable* sdl_deserialize_parameters(encodePtr *encoders, sdlTypePtr *types, char **in) in sdl_deserialize_parameters() argument
1521 param->encode = encoders[n]; in sdl_deserialize_parameters()
1537 encodePtr *encoders; in get_sdl_from_cache() local
1608 encoders = safe_emalloc((i+1), sizeof(encodePtr), 0); in get_sdl_from_cache()
1610 encoders[0] = NULL; in get_sdl_from_cache()
1612 encoders[i] = emalloc(sizeof(encode)); in get_sdl_from_cache()
1613 memset(encoders[i], 0, sizeof(encode)); in get_sdl_from_cache()
1619 encoders[++i] = enc++; in get_sdl_from_cache()
1628 sdl_deserialize_type(types[i], types, encoders, &in); in get_sdl_from_cache()
1638 sdl_deserialize_type(types[i], types, encoders, &in); in get_sdl_from_cache()
1648 sdl_deserialize_type(types[i], types, encoders, &in); in get_sdl_from_cache()
1655 sdl->encoders = emalloc(sizeof(HashTable)); in get_sdl_from_cache()
1656 zend_hash_init(sdl->encoders, num_encoders, NULL, delete_encoder, 0); in get_sdl_from_cache()
1658 sdl_deserialize_key(sdl->encoders, encoders[i], &in); in get_sdl_from_cache()
1659 sdl_deserialize_encoder(encoders[i], types, &in); in get_sdl_from_cache()
1712 sdl_deserialize_soap_body(&binding->input, encoders, types, &in); in get_sdl_from_cache()
1713 sdl_deserialize_soap_body(&binding->output, encoders, types, &in); in get_sdl_from_cache()
1719 func->requestParameters = sdl_deserialize_parameters(encoders, types, &in); in get_sdl_from_cache()
1720 func->responseParameters = sdl_deserialize_parameters(encoders, types, &in); in get_sdl_from_cache()
1734 fault->details =sdl_deserialize_parameters(encoders, types, &in); in get_sdl_from_cache()
1775 efree(encoders); in get_sdl_from_cache()
2184 if (sdl->encoders) { in add_sdl_to_cache()
2185 i = zend_hash_num_elements(sdl->encoders); in add_sdl_to_cache()
2194 ZEND_HASH_FOREACH_PTR(sdl->encoders, tmp) { in add_sdl_to_cache()
2240 if (sdl->encoders) { in add_sdl_to_cache()
2244 ZEND_HASH_FOREACH_STR_KEY_PTR(sdl->encoders, key, tmp) { in add_sdl_to_cache()
2999 if (sdl->encoders) { in make_persistent_sdl()
3003 psdl->encoders = malloc(sizeof(HashTable)); in make_persistent_sdl()
3004 …zend_hash_init(psdl->encoders, zend_hash_num_elements(sdl->encoders), NULL, delete_encoder_persist… in make_persistent_sdl()
3006 ZEND_HASH_FOREACH_STR_KEY_PTR(sdl->encoders, key, tmp) { in make_persistent_sdl()
3010 zend_hash_str_add_ptr(psdl->encoders, ZSTR_VAL(key), ZSTR_LEN(key), penc); in make_persistent_sdl()
3012 zend_hash_next_index_insert_ptr(psdl->encoders, penc); in make_persistent_sdl()
3125 if (tmp->encoders) { in delete_psdl_int()
3126 zend_hash_destroy(tmp->encoders); in delete_psdl_int()
3127 free(tmp->encoders); in delete_psdl_int()
3400 if (tmp->encoders) { in delete_sdl_impl()
3401 zend_hash_destroy(tmp->encoders); in delete_sdl_impl()
3402 efree(tmp->encoders); in delete_sdl_impl()