Home
last modified time | relevance | path

Searched refs:_mapping (Results 1 – 14 of 14) sorted by relevance

/external/minijail/tools/
Dbpf.py460 self._mapping = {}
463 self._mapping = {}
465 return self._mapping[id(block)]
468 assert id(block) not in self._mapping
469 self._mapping[id(block)] = KillProcess()
472 assert id(block) not in self._mapping
473 self._mapping[id(block)] = KillThread()
476 assert id(block) not in self._mapping
477 self._mapping[id(block)] = Trap()
480 assert id(block) not in self._mapping
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/preprocessing/
Dcategorical_vocabulary.py49 self._mapping = {unknown_token: 0}
58 return len(self._mapping)
79 if category not in self._mapping:
82 self._mapping[category] = len(self._mapping)
85 return self._mapping[category]
117 self._mapping = {self._unknown_token: 0}
126 self._mapping[category] = idx
/external/libchrome/third_party/jinja2/
Dutils.py315 self._mapping = {}
330 '_mapping': self._mapping,
344 rv._mapping.update(self._mapping)
373 self._mapping.clear()
380 return key in self._mapping
384 return len(self._mapping)
389 self._mapping
400 rv = self._mapping[key]
420 if key in self._mapping:
422 elif len(self._mapping) == self.capacity:
[all …]
/external/python/cpython2/Lib/
D_abcoll.py434 self._mapping = mapping
437 return len(self._mapping)
450 return key in self._mapping
453 for key in self._mapping:
467 v = self._mapping[key]
474 for key in self._mapping:
475 yield (key, self._mapping[key])
482 for key in self._mapping:
483 if value == self._mapping[key]:
488 for key in self._mapping:
[all …]
/external/python/cpython3/Lib/
D_collections_abc.py699 self._mapping = mapping
702 return len(self._mapping)
717 return key in self._mapping
720 yield from self._mapping
736 v = self._mapping[key]
743 for key in self._mapping:
744 yield (key, self._mapping[key])
754 for key in self._mapping:
755 v = self._mapping[key]
761 for key in self._mapping:
[all …]
/external/fonttools/Lib/fontTools/misc/
DclassifyTools.py17 self._mapping = {} # map from things to their class set
30 things, sets, mapping = self._things, self._sets, self._mapping
101 return self._mapping
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_unicode.py14 _mapping = {"unichr" : "chr", "unicode" : "str"} variable
27 new.value = _mapping[node.value]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_unicode.py14 _mapping = {u"unichr" : u"chr", u"unicode" : u"str"} variable
27 new.value = _mapping[node.value]
/external/python/cpython3/Lib/collections/
D__init__.py64 yield from reversed(self._mapping)
69 for key in reversed(self._mapping):
70 yield (key, self._mapping[key])
75 for key in reversed(self._mapping):
76 yield self._mapping[key]
/external/python/cpython2/Doc/c-api/
Dmapping.rst3 .. _mapping:
Dtypeobj.rst1230 .. _mapping-structs:
/external/python/cpython3/Doc/c-api/
Dmapping.rst3 .. _mapping:
Dtypeobj.rst1155 .. _mapping-structs:
/external/guice/extensions/persist/lib/
Ddb4o-6.4.14.8131-java5.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/db4o/ com/ ...