Lines Matching refs:SOAP_GLOBAL

289 	if (SOAP_GLOBAL(ref_map)) {  in soap_check_zval_ref()
293 if ((node_ptr = zend_hash_index_find_ptr(SOAP_GLOBAL(ref_map), (zend_ulong)data)) != NULL) { in soap_check_zval_ref()
301 if (SOAP_GLOBAL(soap_version) == SOAP_1_1) { in soap_check_zval_ref()
316 SOAP_GLOBAL(cur_uniq_ref)++; in soap_check_zval_ref()
318 smart_str_append_long(&prefix, SOAP_GLOBAL(cur_uniq_ref)); in soap_check_zval_ref()
333 SOAP_GLOBAL(cur_uniq_ref)++; in soap_check_zval_ref()
335 smart_str_append_long(&prefix, SOAP_GLOBAL(cur_uniq_ref)); in soap_check_zval_ref()
345 zend_hash_index_update_ptr(SOAP_GLOBAL(ref_map), (zend_ulong)data, node); in soap_check_zval_ref()
355 if (SOAP_GLOBAL(ref_map)) { in soap_check_xml_ref()
356 if ((data_ptr = zend_hash_index_find(SOAP_GLOBAL(ref_map), (zend_ulong)node)) != NULL) { in soap_check_xml_ref()
371 if (SOAP_GLOBAL(ref_map)) { in soap_add_xml_ref()
372 zend_hash_index_update(SOAP_GLOBAL(ref_map), (zend_ulong)node, data); in soap_add_xml_ref()
402 enc = get_encoder(SOAP_GLOBAL(sdl), Z_STRVAL_P(zns), Z_STRVAL_P(zstype)); in master_to_xml_int()
405 enc = get_encoder_ex(SOAP_GLOBAL(sdl), Z_STRVAL_P(zstype), Z_STRLEN_P(zstype)); in master_to_xml_int()
407 if (enc == NULL && SOAP_GLOBAL(typemap)) { in master_to_xml_int()
416 enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s); in master_to_xml_int()
430 if (style == SOAP_ENCODED || (SOAP_GLOBAL(sdl) && encode != enc)) { in master_to_xml_int()
452 if (check_class_map && SOAP_GLOBAL(class_map) && data && in master_to_xml_int()
459 ZEND_HASH_FOREACH_STR_KEY_VAL(SOAP_GLOBAL(class_map), type_name, tmp) { in master_to_xml_int()
468 if (SOAP_GLOBAL(sdl)) { in master_to_xml_int()
469 enc = get_encoder(SOAP_GLOBAL(sdl), SOAP_GLOBAL(sdl)->target_ns, ZSTR_VAL(type_name)); in master_to_xml_int()
471 enc = find_encoder_by_type_name(SOAP_GLOBAL(sdl), ZSTR_VAL(type_name)); in master_to_xml_int()
488 if (SOAP_GLOBAL(typemap) && encode->details.type_str) { in master_to_xml_int()
498 if ((new_enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s)) != NULL) { in master_to_xml_int()
520 if (SOAP_GLOBAL(typemap)) { in master_to_zval_int()
531 if ((new_enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s)) != NULL) { in master_to_zval_int()
554 if ((new_enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s)) != NULL) { in master_to_zval_int()
578 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); in master_to_zval()
666 if (SOAP_GLOBAL(encoding) != NULL) { in to_zval_string()
669 int n = xmlCharEncOutFunc(SOAP_GLOBAL(encoding), out, in); in to_zval_string()
699 if (SOAP_GLOBAL(encoding) != NULL) { in to_zval_stringr()
702 int n = xmlCharEncOutFunc(SOAP_GLOBAL(encoding), out, in); in to_zval_stringr()
732 if (SOAP_GLOBAL(encoding) != NULL) { in to_zval_stringc()
735 int n = xmlCharEncOutFunc(SOAP_GLOBAL(encoding), out, in); in to_zval_stringc()
853 if (SOAP_GLOBAL(encoding) != NULL) { in to_xml_string()
856 int n = xmlCharEncInFunc(SOAP_GLOBAL(encoding), out, in); in to_xml_string()
1368 (SOAP_GLOBAL(features) & SOAP_SINGLE_ELEMENT_ARRAYS) && in model_to_zval_object()
1417 } else if (SOAP_GLOBAL(class_map) && type->type_str) { in to_zval_object_ex()
1421 …if ((classname = zend_hash_str_find_deref(SOAP_GLOBAL(class_map), type->type_str, strlen(type->typ… in to_zval_object_ex()
1427 sdl = SOAP_GLOBAL(sdl); in to_zval_object_ex()
2214 soap_version = SOAP_GLOBAL(soap_version); in to_xml_array()
2222 if (SOAP_GLOBAL(features) & SOAP_USE_XSI_ARRAY_TYPE) { in to_xml_array()
2314 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, value); in to_xml_array()
2353 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, ext->val); in to_xml_array()
2456 if (SOAP_GLOBAL(features) & SOAP_USE_XSI_ARRAY_TYPE) { in to_xml_array()
2499 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type); in to_zval_array()
2513 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type); in to_zval_array()
2547 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, type); in to_zval_array()
2562 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, ext->val); in to_zval_array()
2804 enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content); in guess_zval_convert()
2846 if (SOAP_GLOBAL(sdl) && type_name && enc->details.sdl_type) { in guess_zval_convert()
3095 if (SOAP_GLOBAL(sdl) && SOAP_GLOBAL(sdl)->elements && data->name) { in to_zval_any()
3106 if ((sdl_type = zend_hash_find_ptr(SOAP_GLOBAL(sdl)->elements, nscat.s)) != NULL && in to_zval_any()
3410 if ((prefix = zend_hash_str_find_ptr(&SOAP_GLOBAL(defEncNs), (char*)ns, strlen(ns))) != NULL) { in encode_add_ns()
3414 int num = ++SOAP_GLOBAL(cur_uniq_ns); in encode_add_ns()
3425 num = ++SOAP_GLOBAL(cur_uniq_ns); in encode_add_ns()
3452 SOAP_GLOBAL(cur_uniq_ns) = 0; in encode_reset_ns()
3453 SOAP_GLOBAL(cur_uniq_ref) = 0; in encode_reset_ns()
3454 if (SOAP_GLOBAL(ref_map)) { in encode_reset_ns()
3455 zend_hash_destroy(SOAP_GLOBAL(ref_map)); in encode_reset_ns()
3457 SOAP_GLOBAL(ref_map) = emalloc(sizeof(HashTable)); in encode_reset_ns()
3459 zend_hash_init(SOAP_GLOBAL(ref_map), 0, NULL, NULL, 0); in encode_reset_ns()
3464 SOAP_GLOBAL(cur_uniq_ns) = 0; in encode_finish()
3465 SOAP_GLOBAL(cur_uniq_ref) = 0; in encode_finish()
3466 if (SOAP_GLOBAL(ref_map)) { in encode_finish()
3467 zend_hash_destroy(SOAP_GLOBAL(ref_map)); in encode_finish()
3468 efree(SOAP_GLOBAL(ref_map)); in encode_finish()
3469 SOAP_GLOBAL(ref_map) = NULL; in encode_finish()
3477 if ((enc = zend_hash_index_find_ptr(&SOAP_GLOBAL(defEncIndex), encode)) == NULL) { in get_conversion()
3596 enc = get_encoder_ex(SOAP_GLOBAL(sdl), ZSTR_VAL(array_type.s), ZSTR_LEN(array_type.s)); in get_array_type()
3613 if (SOAP_GLOBAL(soap_version) == SOAP_1_2 && in get_type_str()
3616 } else if (SOAP_GLOBAL(soap_version) == SOAP_1_1 && in get_type_str()