Lines Matching refs:name
76 if (el->name) { in xml_element_to_XMLRPC_REQUEST_worker()
79 if (!strcmp(el->name, ELEM_FAULT)) { in xml_element_to_XMLRPC_REQUEST_worker()
97 …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()
98 || (!strcmp(el->name, ELEM_PARAMS) && in xml_element_to_XMLRPC_REQUEST_worker()
110 else if (!strcmp(el->name, ELEM_STRUCT)) { in xml_element_to_XMLRPC_REQUEST_worker()
121 else if (!strcmp(el->name, ELEM_STRING) || in xml_element_to_XMLRPC_REQUEST_worker()
122 (!strcmp(el->name, ELEM_VALUE) && Q_Size(&el->children) == 0)) { in xml_element_to_XMLRPC_REQUEST_worker()
125 else if (!strcmp(el->name, ELEM_NAME)) { in xml_element_to_XMLRPC_REQUEST_worker()
128 else if (!strcmp(el->name, ELEM_INT) || !strcmp(el->name, ELEM_I4)) { in xml_element_to_XMLRPC_REQUEST_worker()
131 else if (!strcmp(el->name, ELEM_BOOLEAN)) { in xml_element_to_XMLRPC_REQUEST_worker()
134 else if (!strcmp(el->name, ELEM_DOUBLE)) { in xml_element_to_XMLRPC_REQUEST_worker()
137 else if (!strcmp(el->name, ELEM_DATETIME)) { in xml_element_to_XMLRPC_REQUEST_worker()
140 else if (!strcmp(el->name, ELEM_BASE64)) { in xml_element_to_XMLRPC_REQUEST_worker()
149 if (!strcmp(el->name, ELEM_METHODCALL)) { in xml_element_to_XMLRPC_REQUEST_worker()
154 else if (!strcmp(el->name, ELEM_METHODRESPONSE)) { in xml_element_to_XMLRPC_REQUEST_worker()
159 else if (!strcmp(el->name, ELEM_METHODNAME)) { in xml_element_to_XMLRPC_REQUEST_worker()
210 elem_val->name = strdup(bIsFault ? ELEM_FAULT : ELEM_PARAMS); in XMLRPC_to_xml_element_worker()
216 elem_val->name = strdup(ELEM_STRING); in XMLRPC_to_xml_element_worker()
220 elem_val->name = strdup(ELEM_INT); in XMLRPC_to_xml_element_worker()
225 elem_val->name = strdup(ELEM_BOOLEAN); in XMLRPC_to_xml_element_worker()
232 elem_val->name = strdup(ELEM_DOUBLE); in XMLRPC_to_xml_element_worker()
238 elem_val->name = strdup(ELEM_DATETIME); in XMLRPC_to_xml_element_worker()
244 elem_val->name = strdup(ELEM_BASE64); in XMLRPC_to_xml_element_worker()
260 elem_val->name = strdup(ELEM_PARAMS); in XMLRPC_to_xml_element_worker()
272 data->name = strdup(ELEM_DATA); in XMLRPC_to_xml_element_worker()
274 elem_val->name = strdup(ELEM_ARRAY); in XMLRPC_to_xml_element_worker()
282 elem_val->name = strdup(ELEM_STRUCT); in XMLRPC_to_xml_element_worker()
308 value->name = strdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
316 param->name = strdup(ELEM_PARAM); in XMLRPC_to_xml_element_worker()
326 xml_element* name = xml_elem_new(); in XMLRPC_to_xml_element_worker() local
329 member->name = strdup(ELEM_MEMBER); in XMLRPC_to_xml_element_worker()
330 name->name = strdup(ELEM_NAME); in XMLRPC_to_xml_element_worker()
331 value->name = strdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
333 simplestring_add(&name->text, XMLRPC_GetValueID(node)); in XMLRPC_to_xml_element_worker()
335 Q_PushTail(&member->children, name); in XMLRPC_to_xml_element_worker()
344 value->name = strdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
357 value->name = strdup(ELEM_VALUE); in XMLRPC_to_xml_element_worker()
388 wrapper->name = strdup(pStr); in XMLRPC_REQUEST_to_xml_element()
396 method->name = strdup(ELEM_METHODNAME); in XMLRPC_REQUEST_to_xml_element()
408 params->name = strdup(ELEM_PARAMS); in XMLRPC_REQUEST_to_xml_element()