Lines Matching refs:children
315 id = (char*)attr->children->content; in soap_check_zval_ref()
332 id = (char*)attr->children->content; in soap_check_zval_ref()
546 parse_namespace(type_attr->children->content, &cptype, &ns); in master_to_zval_int()
579 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); in master_to_zval()
615 if (doc && doc->children) { in to_xml_user()
616 ret = xmlDocCopyNode(doc->children, parent->doc, 1); in to_xml_user()
665 if (data && data->children) { in to_zval_string()
666 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_string()
668 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_string()
675 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
680 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
682 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_string()
683 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
697 if (data && data->children) { in to_zval_stringr()
698 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringr()
699 whiteSpace_replace(data->children->content); in to_zval_stringr()
701 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringr()
708 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
713 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
715 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringr()
716 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
730 if (data && data->children) { in to_zval_stringc()
731 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringc()
732 whiteSpace_collapse(data->children->content); in to_zval_stringc()
734 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringc()
741 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
746 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
748 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringc()
749 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
765 if (data && data->children) { in to_zval_base64()
766 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_base64()
767 whiteSpace_collapse(data->children->content); in to_zval_base64()
768 str = php_base64_decode(data->children->content, strlen((char*)data->children->content)); in to_zval_base64()
773 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_base64()
774 str = php_base64_decode(data->children->content, strlen((char*)data->children->content)); in to_zval_base64()
796 if (data && data->children) { in to_zval_hexbin()
797 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_hexbin()
798 whiteSpace_collapse(data->children->content); in to_zval_hexbin()
799 } else if (data->children->type != XML_CDATA_SECTION_NODE || data->children->next != NULL) { in to_zval_hexbin()
803 str = zend_string_alloc(strlen((char*)data->children->content) / 2, 0); in to_zval_hexbin()
805 c = data->children->content[j++]; in to_zval_hexbin()
815 c = data->children->content[j++]; in to_zval_hexbin()
1023 if (data && data->children) { in to_zval_double()
1024 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_double()
1028 whiteSpace_collapse(data->children->content); in to_zval_double()
1029 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_double()
1037 if (strncasecmp((char*)data->children->content, "NaN", sizeof("NaN")-1) == 0) { in to_zval_double()
1039 } else if (strncasecmp((char*)data->children->content, "INF", sizeof("INF")-1) == 0) { in to_zval_double()
1041 } else if (strncasecmp((char*)data->children->content, "-INF", sizeof("-INF")-1) == 0) { in to_zval_double()
1061 if (data && data->children) { in to_zval_long()
1062 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_long()
1066 whiteSpace_collapse(data->children->content); in to_zval_long()
1069 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_long()
1141 if (data && data->children) { in to_zval_bool()
1142 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_bool()
1143 whiteSpace_collapse(data->children->content); in to_zval_bool()
1144 if (stricmp((char*)data->children->content, "true") == 0 || in to_zval_bool()
1145 stricmp((char*)data->children->content, "t") == 0 || in to_zval_bool()
1146 strcmp((char*)data->children->content, "1") == 0) { in to_zval_bool()
1148 } else if (stricmp((char*)data->children->content, "false") == 0 || in to_zval_bool()
1149 stricmp((char*)data->children->content, "f") == 0 || in to_zval_bool()
1150 strcmp((char*)data->children->content, "0") == 0) { in to_zval_bool()
1153 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_bool()
1320 xmlNodePtr node = get_node(data->children, model->u.element->name); in model_to_zval_object()
1328 if (r_node && r_node->children && r_node->children->content) { in model_to_zval_object()
1329 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)r_node->children->content) !… in model_to_zval_object()
1330 …'%s' is not allowed)", model->u.element->name, model->u.element->fixed, r_node->children->content); in model_to_zval_object()
1353 if (node && node->children && node->children->content) { in model_to_zval_object()
1354 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != … in model_to_zval_object()
1355 …e '%s' is not allowed)", model->u.element->name, model->u.element->fixed, node->children->content); in model_to_zval_object()
1401 model_to_zval_any(ret, data->children); in model_to_zval_object()
1540 model_to_zval_any(ret, data->children); in to_zval_object_ex()
1555 if (val && val->children && val->children->content) { in to_zval_object_ex()
1556 str_val = (char*)val->children->content; in to_zval_object_ex()
1597 trav = data->children; in to_zval_object_ex()
1679 if (property->children && property->children->content && in model_to_xml_object()
1680 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1681 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1701 if (property->children && property->children->content && in model_to_xml_object()
1702 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1703 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1959 if (dummy->children && dummy->children->content) { in to_xml_object()
1960 if (attr->fixed && strcmp(attr->fixed, (char*)dummy->children->content) != 0) { in to_xml_object()
1961 … fixed value '%s' (value '%s' is not allowed)", attr->name, attr->fixed, dummy->children->content); in to_xml_object()
1971 xmlSetNsProp(xmlParam, nsp, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
1973 xmlSetProp(xmlParam, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
2524 attr->children && attr->children->content) { in to_zval_array()
2529 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2544 attr->children && in to_zval_array()
2545 attr->children->content) { in to_zval_array()
2550 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2558 attr->children && attr->children->content) { in to_zval_array()
2559 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2560 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2567 attr->children && attr->children->content) { in to_zval_array()
2569 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2570 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2646 attr->children && attr->children->content) { in to_zval_array()
2647 char* tmp = strrchr((char*)attr->children->content,'['); in to_zval_array()
2650 tmp = (char*)attr->children->content; in to_zval_array()
2656 trav = data->children; in to_zval_array()
2665 if (position != NULL && position->children && position->children->content) { in to_zval_array()
2666 char* tmp = strrchr((char*)position->children->content, '['); in to_zval_array()
2668 tmp = (char*)position->children->content; in to_zval_array()
2779 if (data && data->children) { in to_zval_map()
2781 trav = data->children; in to_zval_map()
2783 trav = data->children; in to_zval_map()
2785 xmlKey = get_node(item->children, "key"); in to_zval_map()
2790 xmlValue = get_node(item->children, "value"); in to_zval_map()
2851 type_name = tmpattr->children->content; in guess_zval_convert()
2852 enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content); in guess_zval_convert()
2882 trav = data->children; in guess_zval_convert()
3070 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3074 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3112 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3116 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3216 parent->children = ret; in to_xml_any()
3372 if (href->children->content[0] == '#') { in check_and_resolve_href()
3373 …tr ret = get_node_with_attribute_recursive(data->doc->children, NULL, "id", (char*)&href->children… in check_and_resolve_href()
3375 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3380 soap_error1(E_ERROR, "Encoding: External reference '%s'", href->children->content); in check_and_resolve_href()
3389 if (href->children->content[0] == '#') { in check_and_resolve_href()
3390 id = href->children->content+1; in check_and_resolve_href()
3392 id = href->children->content; in check_and_resolve_href()
3394 …ret = get_node_with_attribute_recursive_ex(data->doc->children, NULL, NULL, "id", (char*)id, SOAP_… in check_and_resolve_href()
3396 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3398 …soap_error1(E_ERROR, "Encoding: Violation of id and ref information items '%s'", href->children->c… in check_and_resolve_href()
3472 xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), prefix); in encode_add_ns()
3493 xmlns = xmlNewNs(node->doc->children, enc_ns, BAD_CAST(prefix.s ? ZSTR_VAL(prefix.s) : "")); in encode_add_ns()
3496 … xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), BAD_CAST(prefix.s ? ZSTR_VAL(prefix.s) : "")); in encode_add_ns()