| /external/tensorflow/tensorflow/python/training/tracking/ |
| data_structures.py | 582 ordered = list(zip(*sorted(self.items(), key=lambda it: it[0]))) 831 lambda obj: isinstance(obj, _DictWrapper), 835 object_factory=lambda proto: _DictWrapper({}), 851 lambda obj: isinstance(obj, _ListWrapper), 853 object_factory=lambda proto: _ListWrapper([]),
|
| /external/v8/tools/ |
| ll_prof.py | 134 self.self_ticks_map = collections.defaultdict(lambda: 0) 140 self.callee_ticks = collections.defaultdict(lambda: 0) 150 ticks_map.sort(key=lambda t: t[0]) 809 used_code.sort(key=lambda x: x.self_ticks, reverse=True) 819 mmap_infos.sort(key=lambda m: m.ticks, reverse=True) [all...] |
| /external/python/cpython3/Lib/test/test_asyncio/ |
| test_base_events.py | 195 h = asyncio.Handle(lambda: False, (), self.loop, None) 202 h = asyncio.Handle(lambda: False, (), self.loop, None) 335 h1 = asyncio.TimerHandle(time.monotonic() + 5.0, lambda: True, (), 337 h2 = asyncio.TimerHandle(time.monotonic() + 10.0, lambda: True, (), 390 handle = loop.call_soon(lambda: True) 570 fut.add_done_callback(lambda fut: self.loop.stop()) 580 fut.add_done_callback(lambda fut: self.loop.stop()) 597 fut.add_done_callback(lambda *args: self.loop.stop()) 741 factory = lambda loop, coro: MyTask(coro, loop=loop) [all...] |
| /development/scripts/ |
| native_heapdump_viewer.py | 237 frames = list(map(lambda x: int(x, 16), parts[7:])) 381 children = sorted(node.children.values(), key=lambda x: x.size, reverse=True) 400 children = sorted(node.children.values(), key=lambda x: x.size, reverse=True)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
| socket.py | 223 family = property(lambda self: self._sock.family, doc="the socket family")
224 type = property(lambda self: self._sock.type, doc="the socket type")
225 proto = property(lambda self: self._sock.proto, doc="the socket protocol")
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| socket.py | 219 family = property(lambda self: self._sock.family, doc="the socket family")
220 type = property(lambda self: self._sock.type, doc="the socket type")
221 proto = property(lambda self: self._sock.proto, doc="the socket protocol")
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_heapq.py | 178 for f in (None, lambda x: x[0] * 547 % 2000):
186 for f in (None, lambda x: x[0] * 547 % 2000):
316 return chain(imap(lambda x:x, R(Ig(G(seqn)))))
|
| test_signal.py | 216 handler = lambda x, y: None
263 self.alrm = signal.signal(signal.SIGALRM, lambda x,y:None)
285 oldhandler = signal.signal(self.signum, lambda x,y: None)
|
| test_zlib.py | 155 compress = lambda s: zlib.compress(s, 1)
464 compress = lambda s: c.compress(s) + c.flush()
470 decompress = lambda s: d.decompress(s) + d.flush()
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
| test_result.py | 274 result._exc_info_to_string = lambda *_: ''
280 result._exc_info_to_string = lambda *_: ''
286 result._exc_info_to_string = lambda *_: ''
|
| /external/autotest/client/common_lib/cros/network/ |
| iw_runner.py | [all...] |
| xmlrpc_security_types.py | 152 quote = lambda x: '"%s"' % x 169 quote = lambda x: '\\"%s\\"' % x 616 quote = lambda x: '"' + x + '"'
|
| /external/autotest/client/cros/audio/ |
| audio_helper.py | 445 functions = [lambda: record_callback(record_file_name)] 448 functions.append(lambda: playback_callback(channel)) 452 functions.append(lambda: mix_callback(mix_file_name)) [all...] |
| /external/autotest/client/cros/nfc/ |
| console.py | 184 lambda adapter: self.register_adapter(str(adapter))) 187 lambda adapter: self.unregister_adapter(str(adapter))) 213 (lambda name, value:
|
| /external/deqp/scripts/ |
| make_release.py | 310 return (lambda f: matchIncludeExclude(includePatterns, excludePatterns, f), 311 lambda s, d: CopyFile(s, d)) 320 return SingleFileTarget(srcFile, dstFile, lambda s, d: CopyFile(s, d))
|
| /external/fonttools/Tests/feaLib/ |
| builder_test.py | 472 'baseClass' : lambda s : s.parseBaseClass() 546 return lambda self: self.check_feature_file(name) 555 return lambda self: self.check_fea2fea_file(name)
|
| /external/grpc-grpc/tools/run_tests/python_utils/ |
| jobset.py | 77 signal.signal(signal.SIGCHLD, lambda unused_signum, unused_frame: None) 278 try_start = lambda: subprocess.Popen(args=cmdline, 470 st = eintr_be_gone(lambda: job.state())
|
| /external/libchrome/third_party/jinja2/ |
| lexer.py | 142 sorted(operators, key=lambda x: -len(x)))) 319 eos = property(lambda x: not x, doc="Are we at the end of the stream?") 422 c = lambda x: re.compile(x, re.M | re.S)
|
| /external/pdfium/third_party/pymock/ |
| mock.py | 192 kwonly, kwonlydef, ann, formatvalue=lambda value: "") 196 formatvalue=lambda value: "") 211 src = "lambda _mock_self, %s: None" % signature 263 # mock. It still does signature checking by calling a lambda with the same 276 src = "lambda %s: None" % signature 644 key=lambda entry: entry[0].count('.')): 772 value = lambda *args, **kw: original(self, *args, **kw) [all...] |
| /external/python/cpython2/Lib/ |
| socket.py | 223 family = property(lambda self: self._sock.family, doc="the socket family") 224 type = property(lambda self: self._sock.type, doc="the socket type") 225 proto = property(lambda self: self._sock.proto, doc="the socket protocol")
|
| /external/python/cpython2/Lib/test/ |
| test_heapq.py | 187 for f in (None, lambda x: x[0] * 547 % 2000): 195 for f in (None, lambda x: x[0] * 547 % 2000): 325 return chain(imap(lambda x:x, R(Ig(G(seqn)))))
|
| test_signal.py | 221 handler = lambda x, y: None 283 self.alrm = signal.signal(signal.SIGALRM, lambda x,y:None) 305 oldhandler = signal.signal(self.signum, lambda x,y: None)
|
| test_threading.py | 261 t = threading.Thread(target=lambda: None) 375 t = threading.Thread(target=lambda: None) 453 t = threading.Thread(target=lambda: None) [all...] |
| /external/python/cpython2/Lib/unittest/test/ |
| test_result.py | 274 result._exc_info_to_string = lambda *_: '' 280 result._exc_info_to_string = lambda *_: '' 286 result._exc_info_to_string = lambda *_: ''
|
| /external/python/cpython3/Lib/test/ |
| test_difflib.py | 33 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ', 37 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ', 41 sm = difflib.SequenceMatcher(isjunk=lambda x: x in [' ', 'b'],
|