Lines Matching refs:children
320 id = (char*)attr->children->content; in soap_check_zval_ref()
337 id = (char*)attr->children->content; in soap_check_zval_ref()
570 parse_namespace(type_attr->children->content, &cptype, &ns); in master_to_zval_int()
604 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); in master_to_zval()
640 if (doc && doc->children) { in to_xml_user()
641 ret = xmlDocCopyNode(doc->children, parent->doc, 1); in to_xml_user()
694 if (data && data->children) { in to_zval_string()
695 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_string()
697 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_string()
704 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_string()
709 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_string()
711 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_string()
712 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_string()
727 if (data && data->children) { in to_zval_stringr()
728 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringr()
729 whiteSpace_replace(data->children->content); in to_zval_stringr()
731 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringr()
738 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_stringr()
743 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_stringr()
745 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringr()
746 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_stringr()
761 if (data && data->children) { in to_zval_stringc()
762 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringc()
763 whiteSpace_collapse(data->children->content); in to_zval_stringc()
765 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringc()
772 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_stringc()
777 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_stringc()
779 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringc()
780 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_stringc()
798 if (data && data->children) { in to_zval_base64()
799 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_base64()
800 whiteSpace_collapse(data->children->content); in to_zval_base64()
801 …str = (char*)php_base64_decode(data->children->content, strlen((char*)data->children->content), &s… in to_zval_base64()
806 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_base64()
807 …str = (char*)php_base64_decode(data->children->content, strlen((char*)data->children->content), &s… in to_zval_base64()
830 if (data && data->children) { in to_zval_hexbin()
831 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_hexbin()
832 whiteSpace_collapse(data->children->content); in to_zval_hexbin()
833 } else if (data->children->type != XML_CDATA_SECTION_NODE || data->children->next != NULL) { in to_zval_hexbin()
837 str_len = strlen((char*)data->children->content) / 2; in to_zval_hexbin()
840 c = data->children->content[j++]; in to_zval_hexbin()
850 c = data->children->content[j++]; in to_zval_hexbin()
1035 if (data && data->children) { in to_zval_double()
1036 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_double()
1040 whiteSpace_collapse(data->children->content); in to_zval_double()
1041 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_double()
1051 if (strncasecmp((char*)data->children->content, "NaN", sizeof("NaN")-1) == 0) { in to_zval_double()
1053 } else if (strncasecmp((char*)data->children->content, "INF", sizeof("INF")-1) == 0) { in to_zval_double()
1055 } else if (strncasecmp((char*)data->children->content, "-INF", sizeof("-INF")-1) == 0) { in to_zval_double()
1076 if (data && data->children) { in to_zval_long()
1077 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_long()
1081 whiteSpace_collapse(data->children->content); in to_zval_long()
1084 …tch ((Z_TYPE_P(ret) = is_numeric_string((char*)data->children->content, strlen((char*)data->childr… in to_zval_long()
1167 if (data && data->children) { in to_zval_bool()
1168 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_bool()
1169 whiteSpace_collapse(data->children->content); in to_zval_bool()
1170 if (stricmp((char*)data->children->content, "true") == 0 || in to_zval_bool()
1171 stricmp((char*)data->children->content, "t") == 0 || in to_zval_bool()
1172 strcmp((char*)data->children->content, "1") == 0) { in to_zval_bool()
1174 } else if (stricmp((char*)data->children->content, "false") == 0 || in to_zval_bool()
1175 stricmp((char*)data->children->content, "f") == 0 || in to_zval_bool()
1176 strcmp((char*)data->children->content, "0") == 0) { in to_zval_bool()
1179 ZVAL_STRING(ret, (char*)data->children->content, 1); in to_zval_bool()
1382 xmlNodePtr node = get_node(data->children, model->u.element->name); in model_to_zval_object()
1389 if (r_node && r_node->children && r_node->children->content) { in model_to_zval_object()
1390 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)r_node->children->content) !… in model_to_zval_object()
1391 …'%s' is not allowed)", model->u.element->name, model->u.element->fixed, r_node->children->content); in model_to_zval_object()
1414 if (node && node->children && node->children->content) { in model_to_zval_object()
1415 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != … in model_to_zval_object()
1416 …e '%s' is not allowed)", model->u.element->name, model->u.element->fixed, node->children->content); in model_to_zval_object()
1466 model_to_zval_any(ret, data->children TSRMLS_CC); in model_to_zval_object()
1596 model_to_zval_any(ret, data->children TSRMLS_CC); in to_zval_object_ex()
1614 if (val && val->children && val->children->content) { in to_zval_object_ex()
1615 str_val = (char*)val->children->content; in to_zval_object_ex()
1648 trav = data->children; in to_zval_object_ex()
1730 if (property->children && property->children->content && in model_to_xml_object()
1731 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1732 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1753 if (property->children && property->children->content && in model_to_xml_object()
1754 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1755 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
2020 if (dummy->children && dummy->children->content) { in to_xml_object()
2021 if ((*attr)->fixed && strcmp((*attr)->fixed, (char*)dummy->children->content) != 0) { in to_xml_object()
2022 … value '%s' (value '%s' is not allowed)", (*attr)->name, (*attr)->fixed, dummy->children->content); in to_xml_object()
2032 xmlSetNsProp(xmlParam, nsp, BAD_CAST((*attr)->name), dummy->children->content); in to_xml_object()
2034 xmlSetProp(xmlParam, BAD_CAST((*attr)->name), dummy->children->content); in to_xml_object()
2584 attr->children && attr->children->content) { in to_zval_array()
2588 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2604 attr->children && in to_zval_array()
2605 attr->children->content) { in to_zval_array()
2609 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2618 attr->children && attr->children->content) { in to_zval_array()
2619 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2620 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2627 attr->children && attr->children->content) { in to_zval_array()
2629 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2630 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2712 attr->children && attr->children->content) { in to_zval_array()
2713 char* tmp = strrchr((char*)attr->children->content,'['); in to_zval_array()
2716 tmp = (char*)attr->children->content; in to_zval_array()
2722 trav = data->children; in to_zval_array()
2730 if (position != NULL && position->children && position->children->content) { in to_zval_array()
2731 char* tmp = strrchr((char*)position->children->content, '['); in to_zval_array()
2733 tmp = (char*)position->children->content; in to_zval_array()
2843 if (data && data->children) { in to_zval_map()
2845 trav = data->children; in to_zval_map()
2847 trav = data->children; in to_zval_map()
2849 xmlKey = get_node(item->children, "key"); in to_zval_map()
2854 xmlValue = get_node(item->children, "value"); in to_zval_map()
2914 type_name = tmpattr->children->content; in guess_zval_convert()
2915 enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content); in guess_zval_convert()
2945 trav = data->children; in guess_zval_convert()
3121 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3125 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3160 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3164 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3272 parent->children = ret; in to_xml_any()
3428 if (href->children->content[0] == '#') { in check_and_resolve_href()
3429 …tr ret = get_node_with_attribute_recursive(data->doc->children, NULL, "id", (char*)&href->children… in check_and_resolve_href()
3431 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3436 soap_error1(E_ERROR, "Encoding: External reference '%s'", href->children->content); in check_and_resolve_href()
3445 if (href->children->content[0] == '#') { in check_and_resolve_href()
3446 id = href->children->content+1; in check_and_resolve_href()
3448 id = href->children->content; in check_and_resolve_href()
3450 …ret = get_node_with_attribute_recursive_ex(data->doc->children, NULL, NULL, "id", (char*)id, SOAP_… in check_and_resolve_href()
3452 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3454 …soap_error1(E_ERROR, "Encoding: Violation of id and ref information items '%s'", href->children->c… in check_and_resolve_href()
3529 xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), prefix); in encode_add_ns()
3547 xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), BAD_CAST(prefix.c)); in encode_add_ns()