• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/gsoap/source_build_platform/gsoap/

Lines Matching refs:att

239     { struct soap_dom_attribute *att;
240 for (att = node->atts; att; att = att->next)
241 { if (att->name && att->data && !strncmp(att->name, "xmlns:", 6))
242 { if (!(soap_enter_ns_prefix(soap, att->name + 6, att->data)))
245 else if (att->name && att->nstr)
246 { if ((prefix = strchr(att->name, ':')))
247 { colon = prefix - att->name + 1;
250 strncpy(soap->tag, att->name, colon - 1);
252 if (!(soap_enter_ns_prefix(soap, soap->tag, att->nstr)))
327 { struct soap_dom_attribute *att;
329 for (att = node->atts; att; att = att->next)
330 { if (att->name)
331 { if (att->nstr && !(soap->mode & SOAP_DOM_ASIS))
333 if ((att->nstr == node->nstr || (node->nstr && !strcmp(att->nstr, node->nstr))) && prefix)
334 { if (out_attribute(soap, prefix, att->name, att->data, att->wide, 0))
337 else if ((q = soap_lookup_ns_prefix(soap, att->nstr)))
338 { if (out_attribute(soap, q->id, att->name, att->data, att->wide, 0))
345 { if (ns->ns == att->nstr || !strcmp(ns->ns, att->nstr))
346 { if (out_attribute(soap, strncmp(att->name, "xml", 3) ? ns->id : NULL, att->name, att->data, att->wide, 0))
354 if (!strncmp(att->name, "xml", 3))
355 { if (out_attribute(soap, NULL, att->name, att->data, att->wide, 0))
360 if (soap_attribute(soap, soap->msgbuf, att->nstr))
362 if (!(soap_enter_ns_prefix(soap, soap->msgbuf + 6, att->nstr)))
365 strcat(soap->msgbuf, att->name);
366 if (soap_attribute(soap, soap->msgbuf + 6, att->wide ? soap_wchar2s(soap, att->wide) : att->data))
372 else if (soap_attribute(soap, att->name, att->wide ? soap_wchar2s(soap, att->wide) : att->data))
427 { const struct soap_dom_attribute *att;
428 for (att = node; att; att = att->next)
429 { if (att->name && att->data && !strncmp(att->name, "xmlns:", 6))
430 { if (!(soap_enter_ns_prefix(soap, att->name + 6, att->data)))
433 else if (att->name && att->nstr)
435 if ((prefix = strchr(att->name, ':')))
436 { size_t colon = prefix - att->name + 1;
439 strncpy(soap->tag, att->name, colon - 1);
441 if (!(soap_enter_ns_prefix(soap, soap->tag, att->nstr)))
513 register struct soap_dom_attribute **att;
544 att = &node->atts;
548 *att = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute));
549 if (!*att)
553 (*att)->next = NULL;
554 (*att)->nstr = soap_current_namespace(soap, tp->name);
556 (*att)->name = soap_strdup(soap, tp->name);
560 (*att)->name = soap_strdup(soap, s+1);
562 (*att)->name = soap_strdup(soap, tp->name);
565 (*att)->data = soap_strdup(soap, tp->value);
567 (*att)->data = NULL;
568 (*att)->wide = NULL;
569 (*att)->soap = soap;
570 att = &(*att)->next;
619 struct soap_dom_attribute *att = node;
622 { if (!att)
623 { att = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute));
625 tmp->next = att;
627 node = att;
628 tmp = att;
631 if (!att)
635 att->next = NULL;
636 att->nstr = soap_current_namespace(soap, tp->name);
638 att->name = soap_strdup(soap, tp->name);
642 att->name = soap_strdup(soap, s+1);
644 att->name = soap_strdup(soap, tp->name);
647 att->data = soap_strdup(soap, tp->value);
649 att->data = NULL;
650 att->wide = NULL;
651 att->soap = soap;
652 att = NULL;
682 soap_dom_next_attribute(struct soap_dom_attribute *att)
683 { return att->next;
825 soap_dom_element &soap_dom_element::add(struct soap_dom_attribute *att)
828 { a->next = att;
832 atts = att;
838 soap_dom_element &soap_dom_element::add(struct soap_dom_attribute &att)
839 { return add(&att);
1057 { att = NULL;
1064 soap_dom_attribute_iterator::soap_dom_attribute_iterator(struct soap_dom_attribute *att)
1065 { this->att = att;
1078 { return this->att == iter.att;
1084 { return this->att != iter.att;
1090 { return *this->att;
1096 { while (att)
1097 { att = soap_dom_next_attribute(att);
1098 if (!att)
1100 if (name && att->name)
1101 { if (!soap_tag_cmp(att->name, name))
1102 { if (nstr && att->nstr)
1103 { if (!soap_tag_cmp(att->nstr, nstr))