Lines Matching refs:children
308 id = (char*)attr->children->content; in soap_check_zval_ref()
325 id = (char*)attr->children->content; in soap_check_zval_ref()
542 parse_namespace(type_attr->children->content, &cptype, &ns); in master_to_zval_int()
576 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); in master_to_zval()
612 if (doc && doc->children) { in to_xml_user()
613 ret = xmlDocCopyNode(doc->children, parent->doc, 1); in to_xml_user()
662 if (data && data->children) { in to_zval_string()
663 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_string()
665 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_string()
672 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
677 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
679 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_string()
680 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_string()
694 if (data && data->children) { in to_zval_stringr()
695 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringr()
696 whiteSpace_replace(data->children->content); in to_zval_stringr()
698 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringr()
705 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
710 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
712 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringr()
713 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringr()
727 if (data && data->children) { in to_zval_stringc()
728 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringc()
729 whiteSpace_collapse(data->children->content); in to_zval_stringc()
731 …xmlBufferPtr in = xmlBufferCreateStatic(data->children->content, xmlStrlen(data->children->conten… in to_zval_stringc()
738 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
743 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
745 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_stringc()
746 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_stringc()
762 if (data && data->children) { in to_zval_base64()
763 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_base64()
764 whiteSpace_collapse(data->children->content); in to_zval_base64()
765 str = php_base64_decode(data->children->content, strlen((char*)data->children->content)); in to_zval_base64()
770 } else if (data->children->type == XML_CDATA_SECTION_NODE && data->children->next == NULL) { in to_zval_base64()
771 str = php_base64_decode(data->children->content, strlen((char*)data->children->content)); in to_zval_base64()
793 if (data && data->children) { in to_zval_hexbin()
794 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_hexbin()
795 whiteSpace_collapse(data->children->content); in to_zval_hexbin()
796 } else if (data->children->type != XML_CDATA_SECTION_NODE || data->children->next != NULL) { in to_zval_hexbin()
800 str = zend_string_alloc(strlen((char*)data->children->content) / 2, 0); in to_zval_hexbin()
802 c = data->children->content[j++]; in to_zval_hexbin()
812 c = data->children->content[j++]; in to_zval_hexbin()
985 if (data && data->children) { in to_zval_double()
986 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_double()
990 whiteSpace_collapse(data->children->content); in to_zval_double()
991 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_double()
999 if (strncasecmp((char*)data->children->content, "NaN", sizeof("NaN")-1) == 0) { in to_zval_double()
1001 } else if (strncasecmp((char*)data->children->content, "INF", sizeof("INF")-1) == 0) { in to_zval_double()
1003 } else if (strncasecmp((char*)data->children->content, "-INF", sizeof("-INF")-1) == 0) { in to_zval_double()
1023 if (data && data->children) { in to_zval_long()
1024 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_long()
1028 whiteSpace_collapse(data->children->content); in to_zval_long()
1031 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_long()
1103 if (data && data->children) { in to_zval_bool()
1104 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_bool()
1105 whiteSpace_collapse(data->children->content); in to_zval_bool()
1106 if (stricmp((char*)data->children->content, "true") == 0 || in to_zval_bool()
1107 stricmp((char*)data->children->content, "t") == 0 || in to_zval_bool()
1108 strcmp((char*)data->children->content, "1") == 0) { in to_zval_bool()
1110 } else if (stricmp((char*)data->children->content, "false") == 0 || in to_zval_bool()
1111 stricmp((char*)data->children->content, "f") == 0 || in to_zval_bool()
1112 strcmp((char*)data->children->content, "0") == 0) { in to_zval_bool()
1115 ZVAL_STRING(ret, (char*)data->children->content); in to_zval_bool()
1282 xmlNodePtr node = get_node(data->children, model->u.element->name); in model_to_zval_object()
1290 if (r_node && r_node->children && r_node->children->content) { in model_to_zval_object()
1291 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)r_node->children->content) !… in model_to_zval_object()
1292 …'%s' is not allowed)", model->u.element->name, model->u.element->fixed, r_node->children->content); in model_to_zval_object()
1315 if (node && node->children && node->children->content) { in model_to_zval_object()
1316 …if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != … in model_to_zval_object()
1317 …e '%s' is not allowed)", model->u.element->name, model->u.element->fixed, node->children->content); in model_to_zval_object()
1363 model_to_zval_any(ret, data->children); in model_to_zval_object()
1489 model_to_zval_any(ret, data->children); in to_zval_object_ex()
1504 if (val && val->children && val->children->content) { in to_zval_object_ex()
1505 str_val = (char*)val->children->content; in to_zval_object_ex()
1544 trav = data->children; in to_zval_object_ex()
1624 if (property->children && property->children->content && in model_to_xml_object()
1625 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1626 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1646 if (property->children && property->children->content && in model_to_xml_object()
1647 …model->u.element->fixed && strcmp(model->u.element->fixed, (char*)property->children->content) != … in model_to_xml_object()
1648 …s' is not allowed)", model->u.element->name, model->u.element->fixed, property->children->content); in model_to_xml_object()
1902 if (dummy->children && dummy->children->content) { in to_xml_object()
1903 if (attr->fixed && strcmp(attr->fixed, (char*)dummy->children->content) != 0) { in to_xml_object()
1904 … fixed value '%s' (value '%s' is not allowed)", attr->name, attr->fixed, dummy->children->content); in to_xml_object()
1914 xmlSetNsProp(xmlParam, nsp, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
1916 xmlSetProp(xmlParam, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
2450 attr->children && attr->children->content) { in to_zval_array()
2454 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2470 attr->children && in to_zval_array()
2471 attr->children->content) { in to_zval_array()
2475 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2484 attr->children && attr->children->content) { in to_zval_array()
2485 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2486 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2493 attr->children && attr->children->content) { in to_zval_array()
2495 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2496 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2572 attr->children && attr->children->content) { in to_zval_array()
2573 char* tmp = strrchr((char*)attr->children->content,'['); in to_zval_array()
2576 tmp = (char*)attr->children->content; in to_zval_array()
2582 trav = data->children; in to_zval_array()
2591 if (position != NULL && position->children && position->children->content) { in to_zval_array()
2592 char* tmp = strrchr((char*)position->children->content, '['); in to_zval_array()
2594 tmp = (char*)position->children->content; in to_zval_array()
2696 if (data && data->children) { in to_zval_map()
2698 trav = data->children; in to_zval_map()
2700 trav = data->children; in to_zval_map()
2702 xmlKey = get_node(item->children, "key"); in to_zval_map()
2707 xmlValue = get_node(item->children, "value"); in to_zval_map()
2768 type_name = tmpattr->children->content; in guess_zval_convert()
2769 enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content); in guess_zval_convert()
2799 trav = data->children; in guess_zval_convert()
2975 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
2979 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3017 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
3021 smart_str_appends(&list, (char*)dummy->children->content); in to_xml_list()
3124 parent->children = ret; in to_xml_any()
3280 if (href->children->content[0] == '#') { in check_and_resolve_href()
3281 …tr ret = get_node_with_attribute_recursive(data->doc->children, NULL, "id", (char*)&href->children… in check_and_resolve_href()
3283 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3288 soap_error1(E_ERROR, "Encoding: External reference '%s'", href->children->content); in check_and_resolve_href()
3297 if (href->children->content[0] == '#') { in check_and_resolve_href()
3298 id = href->children->content+1; in check_and_resolve_href()
3300 id = href->children->content; in check_and_resolve_href()
3302 …ret = get_node_with_attribute_recursive_ex(data->doc->children, NULL, NULL, "id", (char*)id, SOAP_… in check_and_resolve_href()
3304 soap_error1(E_ERROR, "Encoding: Unresolved reference '%s'", href->children->content); in check_and_resolve_href()
3306 …soap_error1(E_ERROR, "Encoding: Violation of id and ref information items '%s'", href->children->c… in check_and_resolve_href()
3380 xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), prefix); in encode_add_ns()
3399 xmlns = xmlNewNs(node->doc->children, enc_ns, BAD_CAST(prefix.s ? ZSTR_VAL(prefix.s) : "")); in encode_add_ns()