Lines Matching refs:children
322 id = (char*)attr->children->content; in soap_check_zval_ref()
339 id = (char*)attr->children->content; in soap_check_zval_ref()
556 parse_namespace(type_attr->children->content, &cptype, &ns); in master_to_zval_int()
590 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); in master_to_zval()
626 if (doc && doc->children) { in to_xml_user()
627 ret = xmlDocCopyNode(doc->children, parent->doc, 1); in to_xml_user()
676 if (data && data->children) { in to_zval_string()
677 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_string()
679 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_string()
686 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
691 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
693 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_string()
694 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
708 if (data && data->children) { in to_zval_stringr()
709 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringr()
710 whiteSpace_replace(data->children->content); in to_zval_stringr()
712 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringr()
719 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
724 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
726 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringr()
727 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
741 if (data && data->children) { in to_zval_stringc()
742 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringc()
743 whiteSpace_collapse(data->children->content); in to_zval_stringc()
745 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringc()
752 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
757 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
759 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringc()
760 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
776 if (data && data->children) { in to_zval_base64()
777 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_base64()
778 whiteSpace_collapse(data->children->content); in to_zval_base64()
779 str = php_base64_decode(data->children->content, strlen((char*)data->children->content)); in to_zval_base64()
784 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_base64()
785 str = php_base64_decode(data->children->content, strlen((char*)data->children->content)); in to_zval_base64()
807 if (data && data->children) { in to_zval_hexbin()
808 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_hexbin()
809 whiteSpace_collapse(data->children->content); in to_zval_hexbin()
810 } else if (data->children->type != XML_CDATA_SECTION_NODE || data->children->next != NULL) { in to_zval_hexbin()
814 str = zend_string_alloc(strlen((char*)data->children->content) / 2, 0); in to_zval_hexbin()
816 c = data->children->content[j++]; in to_zval_hexbin()
826 c = data->children->content[j++]; in to_zval_hexbin()
999 if (data && data->children) { in to_zval_double()
1000 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_double()
1004 whiteSpace_collapse(data->children->content); in to_zval_double()
1005 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_double()
1013 if (strncasecmp((char*)data->children->content, "NaN", sizeof("NaN")-1) == 0) { in to_zval_double()
1015 } else if (strncasecmp((char*)data->children->content, "INF", sizeof("INF")-1) == 0) { in to_zval_double()
1017 } else if (strncasecmp((char*)data->children->content, "-INF", sizeof("-INF")-1) == 0) { in to_zval_double()
1037 if (data && data->children) { in to_zval_long()
1038 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_long()
1042 whiteSpace_collapse(data->children->content); in to_zval_long()
1045 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_long()
1117 if (data && data->children) { in to_zval_bool()
1118 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_bool()
1119 whiteSpace_collapse(data->children->content); in to_zval_bool()
1120 if (stricmp((char*)data->children->content, "true") == 0 || in to_zval_bool()
1121 stricmp((char*)data->children->content, "t") == 0 || in to_zval_bool()
1122 strcmp((char*)data->children->content, "1") == 0) { in to_zval_bool()
1124 } else if (stricmp((char*)data->children->content, "false") == 0 || in to_zval_bool()
1125 stricmp((char*)data->children->content, "f") == 0 || in to_zval_bool()
1126 strcmp((char*)data->children->content, "0") == 0) { in to_zval_bool()
1129 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_bool()
1325 xmlNodePtr node = get_node(data->children, model->u.element->name); in model_to_zval_object()
1333 if (r_node && r_node->children && r_node->children->content) { in model_to_zval_object()
1334 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)r_node->children->content) !… in model_to_zval_object()
1335 …'%s' is not allowed)", model->u.element->name, model->u.element->fixed, r_node->children->content); in model_to_zval_object()
1358 if (node && node->children && node->children->content) { in model_to_zval_object()
1359 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != … in model_to_zval_object()
1360 …e '%s' is not allowed)", model->u.element->name, model->u.element->fixed, node->children->content); in model_to_zval_object()
1406 model_to_zval_any(ret, data->children); in model_to_zval_object()
1532 model_to_zval_any(ret, data->children); in to_zval_object_ex()
1547 if (val && val->children && val->children->content) { in to_zval_object_ex()
1548 str_val = (char*)val->children->content; in to_zval_object_ex()
1581 trav = data->children; in to_zval_object_ex()
1661 if (property->children && property->children->content && in model_to_xml_object()
1662 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1663 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1683 if (property->children && property->children->content && in model_to_xml_object()
1684 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1685 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1939 if (dummy->children && dummy->children->content) { in to_xml_object()
1940 if (attr->fixed && strcmp(attr->fixed, (char*)dummy->children->content) != 0) { in to_xml_object()
1941 … fixed value '%s' (value '%s' is not allowed)", attr->name, attr->fixed, dummy->children->content); in to_xml_object()
1951 xmlSetNsProp(xmlParam, nsp, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
1953 xmlSetProp(xmlParam, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
2497 attr->children && attr->children->content) { in to_zval_array()
2501 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2517 attr->children && in to_zval_array()
2518 attr->children->content) { in to_zval_array()
2522 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2531 attr->children && attr->children->content) { in to_zval_array()
2532 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2533 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2540 attr->children && attr->children->content) { in to_zval_array()
2542 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2543 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2619 attr->children && attr->children->content) { in to_zval_array()
2620 char* tmp = strrchr((char*)attr->children->content,'['); in to_zval_array()
2623 tmp = (char*)attr->children->content; in to_zval_array()
2629 trav = data->children; in to_zval_array()
2638 if (position != NULL && position->children && position->children->content) { in to_zval_array()
2639 char* tmp = strrchr((char*)position->children->content, '['); in to_zval_array()
2641 tmp = (char*)position->children->content; in to_zval_array()
2743 if (data && data->children) { in to_zval_map()
2745 trav = data->children; in to_zval_map()
2747 trav = data->children; in to_zval_map()
2749 xmlKey = get_node(item->children, "key"); in to_zval_map()
2754 xmlValue = get_node(item->children, "value"); in to_zval_map()
2815 type_name = tmpattr->children->content; in guess_zval_convert()
2816 enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content); in guess_zval_convert()
2846 trav = data->children; in guess_zval_convert()
3020 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3024 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3062 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3066 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3167 parent->children = ret; in to_xml_any()
3323 if (href->children->content[0] == '#') { in check_and_resolve_href()
3324 …tr ret = get_node_with_attribute_recursive(data->doc->children, NULL, "id", (char*)&href->children… in check_and_resolve_href()
3326 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3331 soap_error1(E_ERROR, "Encoding: External reference '%s'", href->children->content); in check_and_resolve_href()
3340 if (href->children->content[0] == '#') { in check_and_resolve_href()
3341 id = href->children->content+1; in check_and_resolve_href()
3343 id = href->children->content; in check_and_resolve_href()
3345 …ret = get_node_with_attribute_recursive_ex(data->doc->children, NULL, NULL, "id", (char*)id, SOAP_… in check_and_resolve_href()
3347 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3349 …soap_error1(E_ERROR, "Encoding: Violation of id and ref information items '%s'", href->children->c… in check_and_resolve_href()
3423 xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), prefix); in encode_add_ns()
3440 … xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), BAD_CAST(prefix.s ? ZSTR_VAL(prefix.s) : "")); in encode_add_ns()