Lines Matching refs:parent

43 static xmlNodePtr to_xml_long(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
44 static xmlNodePtr to_xml_double(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
45 static xmlNodePtr to_xml_bool(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
48 static xmlNodePtr to_xml_string(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
49 static xmlNodePtr to_xml_base64(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
50 static xmlNodePtr to_xml_hexbin(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
53 static xmlNodePtr to_xml_null(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
56 static xmlNodePtr guess_array_map(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
57 static xmlNodePtr to_xml_map(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
59 static xmlNodePtr to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent);
60 static xmlNodePtr to_xml_list1(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent);
63 …Ptr to_xml_datetime_ex(encodeTypePtr type, zval *data, char *format, int style, xmlNodePtr parent);
64 static xmlNodePtr to_xml_datetime(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
65 static xmlNodePtr to_xml_time(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
66 static xmlNodePtr to_xml_date(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
67 static xmlNodePtr to_xml_gyearmonth(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
68 static xmlNodePtr to_xml_gyear(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
69 static xmlNodePtr to_xml_gmonthday(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
70 static xmlNodePtr to_xml_gday(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
71 static xmlNodePtr to_xml_gmonth(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
72 static xmlNodePtr to_xml_duration(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
77 static xmlNodePtr to_xml_object(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
78 static xmlNodePtr to_xml_array(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
81 static xmlNodePtr to_xml_any(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
85 static xmlNodePtr guess_xml_convert(encodeTypePtr type, zval *data, int style, xmlNodePtr parent);
394 static xmlNodePtr master_to_xml_int(encodePtr encode, zval *data, int style, xmlNodePtr parent, int… in master_to_xml_int() argument
443 node = master_to_xml(enc, NULL, style, parent); in master_to_xml_int()
445 node = master_to_xml(enc, *zdata, style, parent); in master_to_xml_int()
522 node = encode->to_xml(&encode->details, data, style, parent); in master_to_xml_int()
531 xmlNodePtr master_to_xml(encodePtr encode, zval *data, int style, xmlNodePtr parent) in master_to_xml() argument
533 return master_to_xml_int(encode, data, style, parent, 1); in master_to_xml()
623 xmlNodePtr to_xml_user(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_user() argument
638 ret = xmlDocCopyNode(doc->children, parent->doc, 1); in to_xml_user()
648 xmlAddChild(parent, ret); in to_xml_user()
873 static xmlNodePtr to_xml_string(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_string() argument
881 xmlAddChild(parent, ret); in to_xml_string()
962 static xmlNodePtr to_xml_base64(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_base64() argument
969 xmlAddChild(parent, ret); in to_xml_base64()
995 static xmlNodePtr to_xml_hexbin(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_hexbin() argument
1004 xmlAddChild(parent, ret); in to_xml_hexbin()
1108 static xmlNodePtr to_xml_long(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_long() argument
1113 xmlAddChild(parent, ret); in to_xml_long()
1139 static xmlNodePtr to_xml_double(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_double() argument
1147 xmlAddChild(parent, ret); in to_xml_double()
1197 static xmlNodePtr to_xml_bool(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_bool() argument
1202 xmlAddChild(parent, ret); in to_xml_bool()
1226 static xmlNodePtr to_xml_null(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_null() argument
1231 xmlAddChild(parent, ret); in to_xml_null()
1905 static xmlNodePtr to_xml_object(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_object() argument
1915 xmlAddChild(parent, xmlParam); in to_xml_object()
1944 xmlParam = master_to_xml(enc, tmp, style, parent); in to_xml_object()
1946 xmlParam = master_to_xml(enc, data, style, parent); in to_xml_object()
1949 xmlAddChild(parent, xmlParam); in to_xml_object()
1953 xmlAddChild(parent, xmlParam); in to_xml_object()
1963 xmlParam = master_to_xml(sdlType->encode, data, style, parent); in to_xml_object()
1969 xmlParam = master_to_xml(sdlType->encode, tmp, style, parent); in to_xml_object()
1971 xmlParam = master_to_xml(sdlType->encode, data, style, parent); in to_xml_object()
1974 xmlAddChild(parent, xmlParam); in to_xml_object()
1979 xmlAddChild(parent, xmlParam); in to_xml_object()
2060 xmlAddChild(parent, xmlParam); in to_xml_object()
2107 static xmlNodePtr guess_array_map(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in guess_array_map() argument
2122 return master_to_xml(enc, data, style, parent); in guess_array_map()
2298 static xmlNodePtr to_xml_array(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_array() argument
2315 xmlAddChild(parent, xmlParam); in to_xml_array()
2610 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2631 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2801 static xmlNodePtr to_xml_map(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_map() argument
2807 xmlAddChild(parent, xmlParam); in to_xml_map()
2900 static xmlNodePtr guess_xml_convert(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in guess_xml_convert() argument
2910 ret = master_to_xml_int(enc, data, style, parent, 0); in guess_xml_convert()
3005 …ePtr to_xml_datetime_ex(encodeTypePtr type, zval *data, char *format, int style, xmlNodePtr parent) in to_xml_datetime_ex() argument
3018 xmlAddChild(parent, xmlParam); in to_xml_datetime_ex()
3069 static xmlNodePtr to_xml_duration(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_duration() argument
3072 return to_xml_string(type, data, style, parent); in to_xml_duration()
3075 static xmlNodePtr to_xml_datetime(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_datetime() argument
3077 return to_xml_datetime_ex(type, data, "%Y-%m-%dT%H:%M:%S", style, parent); in to_xml_datetime()
3080 static xmlNodePtr to_xml_time(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_time() argument
3083 return to_xml_datetime_ex(type, data, "%H:%M:%S", style, parent); in to_xml_time()
3086 static xmlNodePtr to_xml_date(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_date() argument
3088 return to_xml_datetime_ex(type, data, "%Y-%m-%d", style, parent); in to_xml_date()
3091 static xmlNodePtr to_xml_gyearmonth(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_gyearmonth() argument
3093 return to_xml_datetime_ex(type, data, "%Y-%m", style, parent); in to_xml_gyearmonth()
3096 static xmlNodePtr to_xml_gyear(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_gyear() argument
3098 return to_xml_datetime_ex(type, data, "%Y", style, parent); in to_xml_gyear()
3101 static xmlNodePtr to_xml_gmonthday(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_gmonthday() argument
3103 return to_xml_datetime_ex(type, data, "--%m-%d", style, parent); in to_xml_gmonthday()
3106 static xmlNodePtr to_xml_gday(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_gday() argument
3108 return to_xml_datetime_ex(type, data, "---%d", style, parent); in to_xml_gday()
3111 static xmlNodePtr to_xml_gmonth(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_gmonth() argument
3113 return to_xml_datetime_ex(type, data, "--%m--", style, parent); in to_xml_gmonth()
3121 static xmlNodePtr to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) { in to_xml_list() argument
3135 xmlAddChild(parent, ret); in to_xml_list()
3206 static xmlNodePtr to_xml_list1(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) { in to_xml_list1() argument
3208 return to_xml_list(enc,data,style, parent); in to_xml_list1()
3216 static xmlNodePtr to_xml_union(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) { in to_xml_union() argument
3218 return to_xml_list(enc,data,style, parent); in to_xml_union()
3254 static xmlNodePtr to_xml_any(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) in to_xml_any() argument
3269 ret = master_to_xml(enc, *el, style, parent); in to_xml_any()
3290 ret->parent = parent; in to_xml_any()
3291 ret->doc = parent->doc; in to_xml_any()
3292 ret->prev = parent->last; in to_xml_any()
3294 if (parent->last) { in to_xml_any()
3295 parent->last->next = ret; in to_xml_any()
3297 parent->children = ret; in to_xml_any()
3299 parent->last = ret; in to_xml_any()
3368 xmlNodePtr sdl_guess_convert_xml(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) in sdl_guess_convert_xml() argument
3376 ret = guess_xml_convert(enc, data, style, parent); in sdl_guess_convert_xml()
3408 ret = master_to_xml(type->encode, data, style, parent); in sdl_guess_convert_xml()
3410 ret = guess_xml_convert(enc, data, style, parent); in sdl_guess_convert_xml()
3414 ret = to_xml_list(enc, data, style, parent); in sdl_guess_convert_xml()
3417 ret = to_xml_union(enc, data, style, parent); in sdl_guess_convert_xml()
3425 return to_xml_array(enc, data, style, parent); in sdl_guess_convert_xml()
3427 return to_xml_object(enc, data, style, parent); in sdl_guess_convert_xml()
3532 node = node->parent; in xmlSearchNsPrefixByHref()