Lines Matching refs:SOAP_GLOBAL

294 	if (SOAP_GLOBAL(ref_map)) {  in soap_check_zval_ref()
298 if ((node_ptr = zend_hash_index_find_ptr(SOAP_GLOBAL(ref_map), (zend_ulong)data)) != NULL) { in soap_check_zval_ref()
306 if (SOAP_GLOBAL(soap_version) == SOAP_1_1) { in soap_check_zval_ref()
321 SOAP_GLOBAL(cur_uniq_ref)++; in soap_check_zval_ref()
323 smart_str_append_long(&prefix, SOAP_GLOBAL(cur_uniq_ref)); in soap_check_zval_ref()
338 SOAP_GLOBAL(cur_uniq_ref)++; in soap_check_zval_ref()
340 smart_str_append_long(&prefix, SOAP_GLOBAL(cur_uniq_ref)); in soap_check_zval_ref()
350 zend_hash_index_update_ptr(SOAP_GLOBAL(ref_map), (zend_ulong)data, node); in soap_check_zval_ref()
360 if (SOAP_GLOBAL(ref_map)) { in soap_check_xml_ref()
361 if ((data_ptr = zend_hash_index_find(SOAP_GLOBAL(ref_map), (zend_ulong)node)) != NULL) { in soap_check_xml_ref()
376 if (SOAP_GLOBAL(ref_map)) { in soap_add_xml_ref()
377 zend_hash_index_update(SOAP_GLOBAL(ref_map), (zend_ulong)node, data); in soap_add_xml_ref()
403 enc = get_encoder(SOAP_GLOBAL(sdl), Z_STRVAL_P(zns), Z_STRVAL_P(zstype)); in master_to_xml_int()
406 enc = get_encoder_ex(SOAP_GLOBAL(sdl), Z_STRVAL_P(zstype), Z_STRLEN_P(zstype)); in master_to_xml_int()
408 if (enc == NULL && SOAP_GLOBAL(typemap)) { in master_to_xml_int()
417 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()
453 if (check_class_map && SOAP_GLOBAL(class_map) && data && in master_to_xml_int()
460 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(SOAP_GLOBAL(class_map), type_name, tmp) { in master_to_xml_int()
469 if (SOAP_GLOBAL(sdl)) { in master_to_xml_int()
470 enc = get_encoder(SOAP_GLOBAL(sdl), SOAP_GLOBAL(sdl)->target_ns, ZSTR_VAL(type_name)); in master_to_xml_int()
472 enc = find_encoder_by_type_name(SOAP_GLOBAL(sdl), ZSTR_VAL(type_name)); in master_to_xml_int()
489 if (SOAP_GLOBAL(typemap) && encode->details.type_str) { in master_to_xml_int()
499 if ((new_enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s)) != NULL) { in master_to_xml_int()
521 if (SOAP_GLOBAL(typemap)) { in master_to_zval_int()
532 if ((new_enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s)) != NULL) { in master_to_zval_int()
555 if ((new_enc = zend_hash_find_ptr(SOAP_GLOBAL(typemap), nscat.s)) != NULL) { in master_to_zval_int()
579 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); in master_to_zval()
667 if (SOAP_GLOBAL(encoding) != NULL) { in to_zval_string()
670 int n = xmlCharEncOutFunc(SOAP_GLOBAL(encoding), out, in); in to_zval_string()
700 if (SOAP_GLOBAL(encoding) != NULL) { in to_zval_stringr()
703 int n = xmlCharEncOutFunc(SOAP_GLOBAL(encoding), out, in); in to_zval_stringr()
733 if (SOAP_GLOBAL(encoding) != NULL) { in to_zval_stringc()
736 int n = xmlCharEncOutFunc(SOAP_GLOBAL(encoding), out, in); in to_zval_stringc()
889 if (SOAP_GLOBAL(encoding) != NULL) { in to_xml_string()
892 int n = xmlCharEncInFunc(SOAP_GLOBAL(encoding), out, in); in to_xml_string()
1375 (SOAP_GLOBAL(features) & SOAP_SINGLE_ELEMENT_ARRAYS) && in model_to_zval_object()
1424 } else if (SOAP_GLOBAL(class_map) && type->type_str) { in to_zval_object_ex()
1428 classname = zend_hash_find_deref(SOAP_GLOBAL(class_map), type->clark_notation); in to_zval_object_ex()
1431 …classname = zend_hash_str_find_deref(SOAP_GLOBAL(class_map), type->type_str, strlen(type->type_str… in to_zval_object_ex()
1439 sdl = SOAP_GLOBAL(sdl); in to_zval_object_ex()
2226 soap_version = SOAP_GLOBAL(soap_version); in to_xml_array()
2234 if (SOAP_GLOBAL(features) & SOAP_USE_XSI_ARRAY_TYPE) { in to_xml_array()
2326 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, value); in to_xml_array()
2365 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, ext->val); in to_xml_array()
2475 if (SOAP_GLOBAL(features) & SOAP_USE_XSI_ARRAY_TYPE) { in to_xml_array()
2519 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type); in to_zval_array()
2533 enc = get_encoder(SOAP_GLOBAL(sdl), (char*)nsptr->href, type); in to_zval_array()
2566 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, type); in to_zval_array()
2581 enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, ext->val); in to_zval_array()
2823 enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content); in guess_zval_convert()
2865 if (SOAP_GLOBAL(sdl) && type_name && enc->details.sdl_type) { in guess_zval_convert()
3130 if (SOAP_GLOBAL(sdl) && SOAP_GLOBAL(sdl)->elements && data->name) { in to_zval_any()
3141 if ((sdl_type = zend_hash_find_ptr(SOAP_GLOBAL(sdl)->elements, nscat.s)) != NULL && in to_zval_any()
3442 if ((prefix = zend_hash_str_find_ptr(&SOAP_GLOBAL(defEncNs), (char*)ns, strlen(ns))) != NULL) { in encode_add_ns()
3446 int num = ++SOAP_GLOBAL(cur_uniq_ns); in encode_add_ns()
3457 num = ++SOAP_GLOBAL(cur_uniq_ns); in encode_add_ns()
3492 SOAP_GLOBAL(cur_uniq_ns) = 0; in encode_reset_ns()
3493 SOAP_GLOBAL(cur_uniq_ref) = 0; in encode_reset_ns()
3494 if (SOAP_GLOBAL(ref_map)) { in encode_reset_ns()
3495 zend_hash_destroy(SOAP_GLOBAL(ref_map)); in encode_reset_ns()
3497 SOAP_GLOBAL(ref_map) = emalloc(sizeof(HashTable)); in encode_reset_ns()
3499 zend_hash_init(SOAP_GLOBAL(ref_map), 0, NULL, NULL, 0); in encode_reset_ns()
3504 SOAP_GLOBAL(cur_uniq_ns) = 0; in encode_finish()
3505 SOAP_GLOBAL(cur_uniq_ref) = 0; in encode_finish()
3506 if (SOAP_GLOBAL(ref_map)) { in encode_finish()
3507 zend_hash_destroy(SOAP_GLOBAL(ref_map)); in encode_finish()
3508 efree(SOAP_GLOBAL(ref_map)); in encode_finish()
3509 SOAP_GLOBAL(ref_map) = NULL; in encode_finish()
3517 if ((enc = zend_hash_index_find_ptr(&SOAP_GLOBAL(defEncIndex), encode)) == NULL) { in get_conversion()
3634 enc = get_encoder_ex(SOAP_GLOBAL(sdl), ZSTR_VAL(array_type.s), ZSTR_LEN(array_type.s)); in get_array_type()
3651 if (SOAP_GLOBAL(soap_version) == SOAP_1_2 && in get_type_str()
3654 } else if (SOAP_GLOBAL(soap_version) == SOAP_1_1 && in get_type_str()