Lines Matching refs:name
73 if (el->name) { in xml_element_to_XMLRPC_REQUEST_worker()
76 if (!strcmp(el->name, ELEM_FAULT)) { in xml_element_to_XMLRPC_REQUEST_worker()
94 …else if (!strcmp(el->name, ELEM_DATA) /* should be ELEM_ARRAY, but there is an extra level. weird … in xml_element_to_XMLRPC_REQUEST_worker()
95 || (!strcmp(el->name, ELEM_PARAMS) && in xml_element_to_XMLRPC_REQUEST_worker()
107 else if (!strcmp(el->name, ELEM_STRUCT)) { in xml_element_to_XMLRPC_REQUEST_worker()
118 else if (!strcmp(el->name, ELEM_STRING) || in xml_element_to_XMLRPC_REQUEST_worker()
119 (!strcmp(el->name, ELEM_VALUE) && Q_Size(&el->children) == 0)) { in xml_element_to_XMLRPC_REQUEST_worker()
122 else if (!strcmp(el->name, ELEM_NAME)) { in xml_element_to_XMLRPC_REQUEST_worker()
125 else if (!strcmp(el->name, ELEM_INT) || !strcmp(el->name, ELEM_I4)) { in xml_element_to_XMLRPC_REQUEST_worker()
128 else if (!strcmp(el->name, ELEM_BOOLEAN)) { in xml_element_to_XMLRPC_REQUEST_worker()
131 else if (!strcmp(el->name, ELEM_DOUBLE)) { in xml_element_to_XMLRPC_REQUEST_worker()
134 else if (!strcmp(el->name, ELEM_DATETIME)) { in xml_element_to_XMLRPC_REQUEST_worker()
137 else if (!strcmp(el->name, ELEM_BASE64)) { in xml_element_to_XMLRPC_REQUEST_worker()
146 if (!strcmp(el->name, ELEM_METHODCALL)) { in xml_element_to_XMLRPC_REQUEST_worker()
151 else if (!strcmp(el->name, ELEM_METHODRESPONSE)) { in xml_element_to_XMLRPC_REQUEST_worker()
156 else if (!strcmp(el->name, ELEM_METHODNAME)) { in xml_element_to_XMLRPC_REQUEST_worker()
207 elem_val->name = estrdup(bIsFault ? ELEM_FAULT : ELEM_PARAMS); in XMLRPC_to_xml_element_worker()
213 elem_val->name = estrdup(ELEM_STRING); in XMLRPC_to_xml_element_worker()
217 elem_val->name = estrdup(ELEM_INT); in XMLRPC_to_xml_element_worker()
222 elem_val->name = estrdup(ELEM_BOOLEAN); in XMLRPC_to_xml_element_worker()
228 elem_val->name = estrdup(ELEM_DOUBLE); in XMLRPC_to_xml_element_worker()
234 elem_val->name = estrdup(ELEM_DATETIME); in XMLRPC_to_xml_element_worker()
240 elem_val->name = estrdup(ELEM_BASE64); in XMLRPC_to_xml_element_worker()
256 elem_val->name = estrdup(ELEM_PARAMS); in XMLRPC_to_xml_element_worker()
268 data->name = estrdup(ELEM_DATA); in XMLRPC_to_xml_element_worker()
270 elem_val->name = estrdup(ELEM_ARRAY); in XMLRPC_to_xml_element_worker()
278 elem_val->name = estrdup(ELEM_STRUCT); in XMLRPC_to_xml_element_worker()
304 value->name = estrdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
312 param->name = estrdup(ELEM_PARAM); in XMLRPC_to_xml_element_worker()
322 xml_element* name = xml_elem_new(); in XMLRPC_to_xml_element_worker() local
325 member->name = estrdup(ELEM_MEMBER); in XMLRPC_to_xml_element_worker()
326 name->name = estrdup(ELEM_NAME); in XMLRPC_to_xml_element_worker()
327 value->name = estrdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
329 simplestring_add(&name->text, XMLRPC_GetValueID(node)); in XMLRPC_to_xml_element_worker()
331 Q_PushTail(&member->children, name); in XMLRPC_to_xml_element_worker()
340 value->name = estrdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
353 value->name = estrdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
384 wrapper->name = estrdup(pStr); in XMLRPC_REQUEST_to_xml_element()
392 method->name = estrdup(ELEM_METHODNAME); in XMLRPC_REQUEST_to_xml_element()
404 params->name = estrdup(ELEM_PARAMS); in XMLRPC_REQUEST_to_xml_element()