Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/external/tcpdump/
Dprint-snmp.c406 asn1_parse(register const u_char *p, u_int len, struct be *elem) in asn1_parse() argument
411 elem->asnlen = 0; in asn1_parse()
412 elem->type = BE_ANY; in asn1_parse()
435 elem->form = form; in asn1_parse()
436 elem->class = class; in asn1_parse()
437 elem->id = id; in asn1_parse()
464 elem->id = id = (id << 7) | *p; in asn1_parse()
474 elem->asnlen = *p; in asn1_parse()
476 if (elem->asnlen & ASN_BIT8) { in asn1_parse()
477 u_int32_t noct = elem->asnlen % ASN_BIT8; in asn1_parse()
[all …]
/external/mesa3d/src/mesa/main/
Dsimple_list.h50 #define remove_from_list(elem) \ argument
52 (elem)->next->prev = (elem)->prev; \
53 (elem)->prev->next = (elem)->next; \
62 #define insert_at_head(list, elem) \ argument
64 (elem)->prev = list; \
65 (elem)->next = (list)->next; \
66 (list)->next->prev = elem; \
67 (list)->next = elem; \
76 #define insert_at_tail(list, elem) \ argument
78 (elem)->next = list; \
[all …]
/external/mdnsresponder/mDNSShared/
DGenLinkedList.c46 void AddToTail( GenLinkedList *pList, void *elem) in AddToTail() argument
50 ASSIGNLINK( pList->Tail, elem, pList->LinkOffset); in AddToTail()
52 pList->Head = elem; in AddToTail()
53 ASSIGNLINK( elem, NULL, pList->LinkOffset); in AddToTail()
55 pList->Tail = elem; in AddToTail()
59 void AddToHead( GenLinkedList *pList, void *elem) in AddToHead() argument
62 ASSIGNLINK( elem, pList->Head, pList->LinkOffset); in AddToHead()
64 pList->Tail = elem; in AddToHead()
66 pList->Head = elem; in AddToHead()
70 int RemoveFromList( GenLinkedList *pList, void *elem) in RemoveFromList() argument
[all …]
DGenLinkedList.h36 void AddToHead( GenLinkedList *pList, void *elem);
37 void AddToTail( GenLinkedList *pList, void *elem);
39 int RemoveFromList( GenLinkedList *pList, void *elem);
58 void DLLAddToHead( GenDoubleLinkedList *pList, void *elem);
60 void DLLRemoveFromList( GenDoubleLinkedList *pList, void *elem);
80 void *GetOffsetLink( GenLinkedOffsetList *pList, void *elem);
82 void OffsetAddToHead( GenLinkedOffsetList *pList, void *elem);
83 void OffsetAddToTail( GenLinkedOffsetList *pList, void *elem);
85 int OffsetRemoveFromList( GenLinkedOffsetList *pList, void *elem);
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
Djquery-1.3.2.js61 var elem = document.getElementById( match[3] );
65 if ( elem && elem.id != match[3] )
69 var ret = jQuery( elem || [] );
160 index: function( elem ) { argument
164 elem && elem.jquery ? elem[0] : elem
228 var elem = this;
230 while ( elem.firstChild )
231 elem = elem.firstChild;
233 return elem;
253 return this.domManip(arguments, true, function(elem){ argument
[all …]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dp2ptransport.cc80 const buzz::XmlElement* elem, in ParseCandidates() argument
85 for (const buzz::XmlElement* candidate_elem = elem->FirstElement(); in ParseCandidates()
100 bool P2PTransportParser::ParseCandidate(const buzz::XmlElement* elem, in ParseCandidate() argument
103 if (!elem->HasAttr(buzz::QN_NAME) || in ParseCandidate()
104 !elem->HasAttr(QN_ADDRESS) || in ParseCandidate()
105 !elem->HasAttr(QN_PORT) || in ParseCandidate()
106 !elem->HasAttr(QN_USERNAME) || in ParseCandidate()
107 !elem->HasAttr(QN_PREFERENCE) || in ParseCandidate()
108 !elem->HasAttr(QN_PROTOCOL) || in ParseCandidate()
109 !elem->HasAttr(QN_GENERATION)) { in ParseCandidate()
[all …]
Drawtransport.cc55 const buzz::XmlElement* elem, in ParseCandidates() argument
58 ASSERT(elem->FirstChild() == NULL); in ParseCandidates()
59 for (const buzz::XmlElement* cand_elem = elem->FirstElement(); in ParseCandidates()
87 buzz::XmlElement* elem = new buzz::XmlElement(QN_GINGLE_RAW_CHANNEL); in WriteCandidates() local
88 elem->SetAttr(buzz::QN_NAME, type()); in WriteCandidates()
89 elem->SetAttr(QN_ADDRESS, addr.IPAsString()); in WriteCandidates()
90 elem->SetAttr(QN_PORT, addr.PortAsString()); in WriteCandidates()
91 candidate_elems->push_back(elem); in WriteCandidates()
96 bool RawTransport::ParseRawAddress(const buzz::XmlElement* elem, in ParseRawAddress() argument
100 if (!elem->HasAttr(buzz::QN_NAME) || in ParseRawAddress()
[all …]
Dparsing.cc55 std::string GetXmlAttr(const buzz::XmlElement* elem, in GetXmlAttr() argument
58 std::string val = elem->Attr(name); in GetXmlAttr()
62 std::string GetXmlAttr(const buzz::XmlElement* elem, in GetXmlAttr() argument
65 return GetXmlAttr(elem, name, std::string(def)); in GetXmlAttr()
68 bool GetXmlAttr(const buzz::XmlElement* elem, in GetXmlAttr() argument
70 std::string val = elem->Attr(name); in GetXmlAttr()
76 int GetXmlAttr(const buzz::XmlElement* elem, in GetXmlAttr() argument
78 std::string val = elem->Attr(name); in GetXmlAttr()
82 void AddXmlAttr(buzz::XmlElement* elem, in AddXmlAttr() argument
86 elem->AddAttr(name, buf); in AddXmlAttr()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorExsltFunction.java95 StylesheetHandler handler, ElemTemplateElement elem) in appendAndPush() argument
99 super.appendAndPush(handler, elem); in appendAndPush()
101 elem.setDOMBackPointer(handler.getOriginatingNode()); in appendAndPush()
102 handler.getStylesheet().setTemplate((ElemTemplate) elem); in appendAndPush()
122 public void validate(ElemTemplateElement elem, StylesheetHandler handler) in validate() argument
126 while (elem != null) in validate()
129 if (elem instanceof ElemExsltFuncResult in validate()
130 && elem.getNextSiblingElem() != null in validate()
131 && !(elem.getNextSiblingElem() instanceof ElemFallback)) in validate()
137 if((elem instanceof ElemApplyImport in validate()
[all …]
DProcessorLRE.java236 ElemTemplateElement elem = null; in startElement() local
244 elem = new ElemExtensionCall(); in startElement()
248 elem = (ElemTemplateElement) classObject.newInstance(); in startElement()
254 elem = (ElemTemplateElement) classObject.newInstance(); in startElement()
258 elem = (ElemTemplateElement) classObject.newInstance(); in startElement()
261 elem.setDOMBackPointer(handler.getOriginatingNode()); in startElement()
262 elem.setLocaterInfo(handler.getLocator()); in startElement()
263 elem.setPrefixes(handler.getNamespaceSupport(), excludeXSLDecl); in startElement()
265 if (elem instanceof ElemLiteralResult) in startElement()
267 ((ElemLiteralResult) elem).setNamespace(uri); in startElement()
[all …]
DProcessorTemplateElem.java59 ElemTemplateElement elem = null; in startElement() local
63 elem = (ElemTemplateElement) classObject.newInstance(); in startElement()
65 elem.setDOMBackPointer(handler.getOriginatingNode()); in startElement()
66 elem.setLocaterInfo(handler.getLocator()); in startElement()
67 elem.setPrefixes(handler.getNamespaceSupport()); in startElement()
78 setPropertiesFromAttributes(handler, rawName, attributes, elem); in startElement()
79 appendAndPush(handler, elem); in startElement()
99 StylesheetHandler handler, ElemTemplateElement elem) in appendAndPush() argument
106 parent.appendChild(elem); in appendAndPush()
107 handler.pushElemTemplateElement(elem); in appendAndPush()
/external/libxslt/libxslt/
Dvariables.c510 xsltCopyStackElem(xsltStackElemPtr elem) { in xsltCopyStackElem() argument
520 cur->context = elem->context; in xsltCopyStackElem()
521 cur->name = elem->name; in xsltCopyStackElem()
522 cur->nameURI = elem->nameURI; in xsltCopyStackElem()
523 cur->select = elem->select; in xsltCopyStackElem()
524 cur->tree = elem->tree; in xsltCopyStackElem()
525 cur->comp = elem->comp; in xsltCopyStackElem()
536 xsltFreeStackElem(xsltStackElemPtr elem) { in xsltFreeStackElem() argument
537 if (elem == NULL) in xsltFreeStackElem()
539 if (elem->value != NULL) in xsltFreeStackElem()
[all …]
/external/strace/
Dstrace-graph254 for $elem (@$seq) {
255 if ($$elem[0] eq 'EXEC') {
256 my $argv = $$elem[2];
257 print "$$elem[0] $$elem[1] @$argv\n";
258 } elsif ($$elem[0] eq 'FORK') {
259 print "$$elem[0] $$elem[1]\n";
261 print "$$elem[0]\n";
270 for $elem (@$seq) {
271 if ($$elem[0] eq 'EXEC') {
272 return $elem;
[all …]
/external/libxml2/
Dvalid.c813 xmlValidBuildContentModel(xmlValidCtxtPtr ctxt, xmlElementPtr elem) { in xmlValidBuildContentModel() argument
815 if ((ctxt == NULL) || (elem == NULL)) in xmlValidBuildContentModel()
817 if (elem->type != XML_ELEMENT_DECL) in xmlValidBuildContentModel()
819 if (elem->etype != XML_ELEMENT_TYPE_ELEMENT) in xmlValidBuildContentModel()
822 if (elem->contModel != NULL) { in xmlValidBuildContentModel()
823 if (!xmlRegexpIsDeterminist(elem->contModel)) { in xmlValidBuildContentModel()
832 xmlErrValidNode(ctxt, (xmlNodePtr) elem, in xmlValidBuildContentModel()
835 elem->name, NULL, NULL); in xmlValidBuildContentModel()
839 xmlValidBuildAContentModel(elem->content, ctxt, elem->name); in xmlValidBuildContentModel()
841 elem->contModel = xmlAutomataCompile(ctxt->am); in xmlValidBuildContentModel()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DXSLTVisitor.java41 public boolean visitInstruction(ElemTemplateElement elem) in visitInstruction() argument
52 public boolean visitStylesheet(ElemTemplateElement elem) in visitStylesheet() argument
64 public boolean visitTopLevelInstruction(ElemTemplateElement elem) in visitTopLevelInstruction() argument
75 public boolean visitTopLevelVariableOrParamDecl(ElemTemplateElement elem) in visitTopLevelVariableOrParamDecl() argument
87 public boolean visitVariableOrParamDecl(ElemVariable elem) in visitVariableOrParamDecl() argument
98 public boolean visitLiteralResultElement(ElemLiteralResult elem) in visitLiteralResultElement() argument
109 public boolean visitAVT(AVT elem) in visitAVT() argument
120 public boolean visitExtensionElement(ElemExtensionCall elem) in visitExtensionElement() argument
/external/skia/src/gpu/
DGrTHashCache.h43 int slowFindIndex(T* elem) const { return fSorted.find(elem); } in slowFindIndex() argument
113 T* elem = fHash[hashIndex]; in find() local
115 if (NULL == elem || !Key::EQ(*elem, key)) { in find()
121 elem = fSorted[index]; in find()
123 fHash[hashIndex] = elem; in find()
125 return elem; in find()
129 bool GrTHashTable<T, Key, kHashBits>::insert(const Key& key, T* elem) { in insert() argument
137 *fSorted.insert(index) = elem; in insert()
139 fHash[hash2Index(key.getHash())] = elem; in insert()
144 void GrTHashTable<T, Key, kHashBits>::remove(const Key& key, const T* elem) { in remove() argument
[all …]
/external/skia/include/core/
DSkTSearch.h30 const T* elem = (const T*)((const char*)base + mid * elemSize); in SkTSearch() local
32 if (*elem < target) in SkTSearch()
38 const T* elem = (const T*)((const char*)base + hi * elemSize); in SkTSearch() local
39 if (*elem != target) in SkTSearch()
41 if (*elem < target) in SkTSearch()
64 const T* elem = (const T*)((const char*)base + mid * elemSize); in SkTSearch() local
66 if ((*compare)(*elem, target) < 0) in SkTSearch()
72 const T* elem = (const T*)((const char*)base + hi * elemSize); in SkTSearch() local
73 int pred = (*compare)(*elem, target); in SkTSearch()
98 const T* elem = *(const T**)((const char*)base + mid * elemSize); in SkTSearch() local
[all …]
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodesettextcontent10.js93 var elem;
107 elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
113 appendedChild = elem.appendChild(txt);
114 appendedChild = elem.appendChild(comment);
115 appendedChild = elem.appendChild(entRef);
116 appendedChild = elem.appendChild(pi);
117 appendedChild = elem.appendChild(cdata);
118 elem.textContent = "ELEMENT";
120 textContent = elem.textContent;
Dnodesettextcontent11.js92 var elem;
108 elem = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:p");
114 appendedChild = elem.appendChild(txt);
115 appendedChild = elem.appendChild(comment);
116 appendedChild = elem.appendChild(entRef);
117 appendedChild = elem.appendChild(pi);
118 appendedChild = elem.appendChild(cdata);
119 appendedChild = docFrag.appendChild(elem);
120 elem.textContent = "DOCUMENTFRAGMENT";
Dnodesetuserdata04.js97 var elem;
107 elem = doc.createElementNS("http://www.w3.org/1999/xhtml","p");
110 elem.setUserData("Key1", txt, null);
112 elem.setUserData("Key1", txt, nullHandler.handle);
115 elem.setUserData("Key2", txt, null);
117 elem.setUserData("Key2", txt, nullHandler.handle);
119 returned1 = elem.getUserData("Key1");
120 returned2 = elem.getUserData("Key2");
Dhandleerror01.js121 var elem;
141 elem = elemList.item(0);
142 oldChild = elem.firstChild;
145 retval = elem.replaceChild(newChild,oldChild);
147 retval = elem.appendChild(newChild);
154 elem = elemList.item(0);
155 child = elem.lastChild;
166 child = elem.firstChild;
175 child = elem.firstChild;
Dnodecomparedocumentposition33.js92 var elem;
106 elem = doc.createElementNS("http://www.w3.org/1999/xhtml","br");
108 replacedAttr = elem.setAttributeNodeNS(attr);
109 position4 = elem.compareDocumentPosition(attr);
111 position5 = attr.compareDocumentPosition(elem);
113 position1 = doc.compareDocumentPosition(elem);
115 position2 = elem.compareDocumentPosition(doc);
119 position3 = doc.compareDocumentPosition(elem);
Dnodegettextcontent15.js94 var elem;
108 elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
114 appendedChild = elem.appendChild(txt);
115 appendedChild = elem.appendChild(comment);
116 appendedChild = elem.appendChild(entRef);
117 appendedChild = elem.appendChild(pi);
118 appendedChild = elem.appendChild(cdata);
119 textContent = elem.textContent;
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dmediasessionclient.cc651 bool ParseJingleAudioCodec(const buzz::XmlElement* elem, AudioCodec* codec) { in ParseJingleAudioCodec() argument
652 int id = GetXmlAttr(elem, QN_ID, -1); in ParseJingleAudioCodec()
656 std::string name = GetXmlAttr(elem, QN_NAME, buzz::STR_EMPTY); in ParseJingleAudioCodec()
657 int clockrate = GetXmlAttr(elem, QN_CLOCKRATE, 0); in ParseJingleAudioCodec()
658 int channels = GetXmlAttr(elem, QN_CHANNELS, 1); in ParseJingleAudioCodec()
661 ParsePayloadTypeParameters(elem, &paramap); in ParseJingleAudioCodec()
668 bool ParseJingleVideoCodec(const buzz::XmlElement* elem, VideoCodec* codec) { in ParseJingleVideoCodec() argument
669 int id = GetXmlAttr(elem, QN_ID, -1); in ParseJingleVideoCodec()
673 std::string name = GetXmlAttr(elem, QN_NAME, buzz::STR_EMPTY); in ParseJingleVideoCodec()
676 ParsePayloadTypeParameters(elem, &paramap); in ParseJingleVideoCodec()
[all …]
/external/skia/src/xml/
DSkXMLWriter.cpp54 void SkXMLWriter::doEnd(Elem* elem) in doEnd() argument
56 delete elem; in doEnd()
65 Elem** elem = fElems.push(); in doStart() local
66 *elem = new Elem; in doStart()
67 (*elem)->fName.set(name, length); in doStart()
68 (*elem)->fHasChildren = 0; in doStart()
74 Elem* elem; in getEnd() local
75 fElems.pop(&elem); in getEnd()
76 return elem; in getEnd()
155 void SkXMLWriter::startElementLen(const char elem[], size_t length) in startElementLen() argument
[all …]

12345678910>>...23