Home
last modified time | relevance | path

Searched refs:_attrs (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/xml/sax/
Dxmlreader.py282 self._attrs = attrs
285 return len(self._attrs)
291 return self._attrs[name]
294 return self._attrs[name]
297 if not name in self._attrs:
302 if not name in self._attrs:
307 return self._attrs.keys()
310 return self._attrs.keys()
313 return len(self._attrs)
316 return self._attrs[name]
[all …]
/external/python/cpython3/Lib/xml/sax/
Dxmlreader.py284 self._attrs = attrs
287 return len(self._attrs)
293 return self._attrs[name]
296 return self._attrs[name]
299 if name not in self._attrs:
304 if name not in self._attrs:
309 return list(self._attrs.keys())
312 return list(self._attrs.keys())
315 return len(self._attrs)
318 return self._attrs[name]
[all …]
/external/fonttools/Lib/fontTools/
DafmLib.py86 _attrs = None variable in AFM
101 self._attrs = {}
159 self._attrs[word] = l, b, r, t
166 self._attrs[word] = rest
168 self._attrs[word] = value
206 attrs = self._attrs
283 if attr in self._attrs:
284 return self._attrs[attr]
293 self._attrs[attr] = value
304 del self._attrs[attr]
/external/python/cpython3/Lib/xml/dom/
Dminidom.py425 del elem._attrs[self.nodeName]
482 self._attrs = attrs
487 return len(self._attrs)
491 return self[list(self._attrs.keys())[index]]
497 for node in self._attrs.values():
503 for node in self._attrs.values():
509 return key in self._attrs
514 return self._attrs.keys()
520 return self._attrs.values()
523 return self._attrs.get(name, value)
[all …]
Dexpatbuilder.py764 _attrs = node._attrs
772 _attrs[qname] = a
777 _attrs[aname] = a
Dpulldom.py57 attrs._attrs[(xmlns_uri, aname)] = value
/external/python/cpython2/Demo/xml/
Delem_count.py15 self._attrs = 0
21 self._attrs += len(attrs)
29 print "There were", self._attrs, "attributes."
/external/python/cpython2/Lib/xml/dom/
Dminidom.py409 del elem._attrs[self.nodeName]
466 self._attrs = attrs
471 return len(self._attrs)
475 return self[self._attrs.keys()[index]]
481 for node in self._attrs.values():
487 for node in self._attrs.values():
493 return key in self._attrs
498 return self._attrs.keys()
504 return self._attrs.values()
507 return self._attrs.get(name, value)
[all …]
Dexpatbuilder.py773 _attrs = node._attrs
781 _attrs[qname] = a
786 _attrs[aname] = a
Dpulldom.py63 attrs._attrs[(xmlns_uri, aname)] = value
/external/python/cpython3/Lib/
Doperator.py240 self._attrs = (attr,)
248 self._attrs = (attr,) + attrs
249 getters = tuple(map(attrgetter, self._attrs))
260 ', '.join(map(repr, self._attrs)))
263 return self.__class__, self._attrs
/external/clang/test/CodeGen/
Dpacked-union.c3 typedef struct _attrs { struct
/external/python/cpython2/Lib/test/
Dtest_sax.py744 self._attrs = attrs
747 self._attrs = attrs
757 self.verify_empty_attrs(gather._attrs)
767 self.verify_attrs_wattr(gather._attrs)
777 self.verify_empty_nsattrs(gather._attrs)
787 attrs = gather._attrs
/external/libxml2/python/
Ddrv_libxml2.py194 attributesNSImpl._attrs = attrs = {}
225 attributesImpl._attrs = attrs = {}
/external/python/cpython3/Lib/test/
Dtest_sax.py1015 self._attrs = attrs
1018 self._attrs = attrs
1028 self.verify_empty_attrs(gather._attrs)
1038 self.verify_attrs_wattr(gather._attrs)
1048 self.verify_empty_nsattrs(gather._attrs)
1058 attrs = gather._attrs
/external/python/setuptools/setuptools/
Dsandbox.py263 self._attrs = [
269 for name in self._attrs:
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py87 for attr in self._attrs:
97 _attrs = ['filename', 'path', 'name', 'layerName', variable in SourceDescriptor
154 _attrs = ['name', 'conditionSets', 'subs'] # what do we need here variable in RuleDescriptor
211 _attrs = ['path', variable in InstanceDescriptor
295 _attrs = ['tag', 'name', 'maximum', 'minimum', 'default', 'map'] variable in AxisDescriptor
/external/tensorflow/tensorflow/python/eager/
Dfunction.py472 self._attrs = _parse_func_attrs(attrs or {})
476 self._func_graph.inputs, self._func_graph.outputs, self._attrs)
784 backward_function_attr.update(self._attrs)
804 forward_function_attr.update(self._attrs)
/external/fonttools/Lib/fontTools/ttLib/tables/
D_f_v_a_r.py144 def fromXML(self, name, _attrs, content, ttFont): argument
/external/python/cpython3/Misc/
DHISTORY8138 - Issue #14168: Check for presence of Element._attrs in minidom before