Home
last modified time | relevance | path

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

12

/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/bazelbuild-rules_android/rules/android_packaged_resources/
Dattrs.bzl19 _attrs = "attrs",
22 ATTRS = _attrs.replace(
23 _attrs.add(
56 shrink_resources = _attrs.tristate.create(
57 default = _attrs.tristate.auto,
62 _attrs.COMPILATION,
63 _attrs.DATA_CONTEXT,
Drule.bzl21 _attrs = "attrs",
81 attrs[attr_name] = _attrs.tristate.normalize(attrs[attr_name])
/external/bazelbuild-rules_android/rules/android_library/
Dattrs.bzl19 _attrs = "attrs",
22 ATTRS = _attrs.add(
44 _attrs.tristate.create(default = _attrs.tristate.no),
71 _attrs.COMPILATION,
72 _attrs.DATA_CONTEXT,
Drule.bzl21 _attrs = "attrs",
115 attrs["exports_manifest"] = _attrs.tristate.normalize(
Dimpl.bzl18 load("@rules_android//rules:attrs.bzl", _attrs = "attrs")
126 if ctx.attr.exports_manifest == _attrs.tristate.auto:
129 exports_manifest = ctx.attr.exports_manifest == _attrs.tristate.yes
/external/fonttools/Lib/fontTools/
DafmLib.py126 _attrs = None variable in AFM
146 self._attrs = {}
205 self._attrs[word] = l, b, r, t
212 self._attrs[word] = rest
214 self._attrs[word] = value
253 attrs = self._attrs
346 if attr in self._attrs:
347 return self._attrs[attr]
356 self._attrs[attr] = value
367 del self._attrs[attr]
/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/cpython3/Lib/xml/dom/
Dminidom.py426 del elem._attrs[self.nodeName]
483 self._attrs = attrs
488 return len(self._attrs)
492 return self[list(self._attrs.keys())[index]]
498 for node in self._attrs.values():
504 for node in self._attrs.values():
510 return key in self._attrs
515 return self._attrs.keys()
521 return self._attrs.values()
524 return self._attrs.get(name, value)
[all …]
Dexpatbuilder.py764 _attrs = node._attrs
772 _attrs[qname] = a
777 _attrs[aname] = a
/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
/external/bazelbuild-rules_android/rules/aar_import/
Dattrs.bzl19 _attrs = "attrs",
22 ATTRS = _attrs.add(
63 _attrs.DATA_CONTEXT,
/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/libiio/src/bindings/python/
Diio.py426 self._attrs = { name : ChannelAttr(_channel, name) for name in \
485 attrs = property(lambda self: self._attrs, None, None,
588 self._attrs = { name : DeviceAttr(_device, name) for name in \
672 attrs = property(lambda self: self._attrs, None, None,
686 return int(self._attrs['frequency'].value)
689 self._attrs['frequency'].value = str(value)
740 self._attrs = {}
745 self._attrs[str1.value.decode('ascii')] = str2.value.decode('ascii')
806 attrs = property(lambda self: self._attrs, None, None, \
/external/llvm-project/clang/test/CodeGen/
Dpacked-union.c3 typedef struct _attrs { struct
/external/clang/test/CodeGen/
Dpacked-union.c3 typedef struct _attrs { struct
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dcomposite.py48 self._attrs = attrs
/external/libxml2/python/
Ddrv_libxml2.py194 attributesNSImpl._attrs = attrs = {}
225 attributesImpl._attrs = attrs = {}
/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/python/cpython3/Lib/test/
Dtest_sax.py1057 self._attrs = attrs
1060 self._attrs = attrs
1070 self.verify_empty_attrs(gather._attrs)
1080 self.verify_attrs_wattr(gather._attrs)
1090 self.verify_empty_nsattrs(gather._attrs)
1100 attrs = gather._attrs
/external/python/setuptools/setuptools/
Dsandbox.py263 self._attrs = [
269 for name in self._attrs:
/external/tensorflow/tensorflow/python/eager/
Dfunction.py661 self._attrs = attrs
737 self._attrs, self._func_graph, backwards_graph)
884 self._attrs = attrs
962 self._attrs, self._func_graph, backwards_graph)
981 self._attrs, forward_wrapper.graph, wrapped_backwards_graph)
1568 self._attrs = _parse_func_attrs(attrs or {})
1580 func_graph, self._attrs, self._garbage_collector)
2130 self._func_graph, self._attrs, self._garbage_collector,
2158 self._func_graph, self._attrs, self._garbage_collector,
2200 for name, value in self._attrs.items():
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py87 for attr in self._attrs:
97 _attrs = ['filename', 'path', 'name', 'layerName', variable in SourceDescriptor
173 _attrs = ['name', 'conditionSets', 'subs'] # what do we need here variable in RuleDescriptor
232 _attrs = ['path', variable in InstanceDescriptor
341 _attrs = ['tag', 'name', 'maximum', 'minimum', 'default', 'map'] variable in AxisDescriptor

12