Lines Matching refs:el

309 XMLRPC_VALUE xml_element_to_method_description(xml_element* el, XMLRPC_ERROR err) {  in xml_element_to_method_description()  argument
312 if(el->name) { in xml_element_to_method_description()
319 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_method_description()
343 attr_iter = Q_Next(&el->attrs); in xml_element_to_method_description()
347 if(!strcmp(el->name, "value") || !strcmp(el->name, "typeDescription")) { in xml_element_to_method_description()
349 const char* ptype = !strcmp(el->name, "value") ? type : basetype; in xml_element_to_method_description()
351 if(Q_Size(&el->children) && in xml_element_to_method_description()
356 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description()
360 elem_iter = Q_Next(&el->children); in xml_element_to_method_description()
364 …xReturn = describeValue_worker(ptype, name, (desc ? desc : (xSubList ? NULL : el->text.str)), opti… in xml_element_to_method_description()
369 else if(!strcmp(el->name, "params") || in xml_element_to_method_description()
370 !strcmp(el->name, "returns") || in xml_element_to_method_description()
371 !strcmp(el->name, "signature")) { in xml_element_to_method_description()
372 if(Q_Size(&el->children)) { in xml_element_to_method_description()
373 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description()
374 …xReturn = XMLRPC_CreateVector(!strcmp(el->name, "signature") ? NULL : el->name, xmlrpc_vector_stru… in xml_element_to_method_description()
380 elem_iter = Q_Next(&el->children); in xml_element_to_method_description()
386 else if(!strcmp(el->name, "methodDescription")) { in xml_element_to_method_description()
387 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description()
395 elem_iter = Q_Next(&el->children); in xml_element_to_method_description()
400 else if(!strcmp(el->name, "item")) { in xml_element_to_method_description()
401 xReturn = XMLRPC_CreateValueString(name, el->text.str, el->text.len); in xml_element_to_method_description()
405 else if(Q_Size(&el->children)) { in xml_element_to_method_description()
406 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description()
407 xReturn = XMLRPC_CreateVector(el->name, xmlrpc_vector_mixed); in xml_element_to_method_description()
412 elem_iter = Q_Next(&el->children); in xml_element_to_method_description()
419 else if(el->name && el->text.len) { in xml_element_to_method_description()
420 xReturn = XMLRPC_CreateValueString(el->name, el->text.str, el->text.len); in xml_element_to_method_description()