/external/python/cpython3/Lib/test/ |
D | test_operator.py | 319 f = operator.attrgetter('name') 324 f = operator.attrgetter('rank') 326 self.assertRaises(TypeError, operator.attrgetter, 2) 327 self.assertRaises(TypeError, operator.attrgetter) 334 self.assertEqual(operator.attrgetter('x','z','y')(record), ('X', 'Z', 'Y')) 335 self.assertRaises(TypeError, operator.attrgetter, ('x', (), 'y')) 340 self.assertRaises(SyntaxError, operator.attrgetter('foo'), C()) 347 f = operator.attrgetter('child.name') 350 f = operator.attrgetter('name', 'child.name') 352 f = operator.attrgetter('name', 'child.name', 'child.child.name') [all …]
|
D | _test_multiprocessing.py | 4876 Queue = property(operator.attrgetter('manager.Queue')) 4877 JoinableQueue = property(operator.attrgetter('manager.JoinableQueue')) 4878 Lock = property(operator.attrgetter('manager.Lock')) 4879 RLock = property(operator.attrgetter('manager.RLock')) 4880 Semaphore = property(operator.attrgetter('manager.Semaphore')) 4881 BoundedSemaphore = property(operator.attrgetter('manager.BoundedSemaphore')) 4882 Condition = property(operator.attrgetter('manager.Condition')) 4883 Event = property(operator.attrgetter('manager.Event')) 4884 Barrier = property(operator.attrgetter('manager.Barrier')) 4885 Value = property(operator.attrgetter('manager.Value')) [all …]
|
/external/icu/tools/ |
D | ziputil.py | 24 from operator import attrgetter 40 info_a.sort(key=attrgetter('filename')) 41 info_b.sort(key=attrgetter('filename'))
|
/external/python/cpython2/Lib/test/ |
D | test_operator.py | 372 f = operator.attrgetter('name') 377 f = operator.attrgetter('rank') 379 f = operator.attrgetter(2) 381 self.assertRaises(TypeError, operator.attrgetter) 388 self.assertEqual(operator.attrgetter('x','z','y')(record), ('X', 'Z', 'Y')) 389 self.assertRaises(TypeError, operator.attrgetter('x', (), 'y'), record) 394 self.assertRaises(SyntaxError, operator.attrgetter('foo'), C()) 401 f = operator.attrgetter('child.name') 404 f = operator.attrgetter('name', 'child.name') 406 f = operator.attrgetter('name', 'child.name', 'child.child.name') [all …]
|
/external/toolchain-utils/automation/server/ |
D | machine_manager.py | 5 from operator import attrgetter 37 uses = attrgetter('uses')
|
/external/scapy/scapy/modules/ |
D | six.py | 575 get_method_function = operator.attrgetter(_meth_func) 576 get_method_self = operator.attrgetter(_meth_self) 577 get_function_closure = operator.attrgetter(_func_closure) 578 get_function_code = operator.attrgetter(_func_code) 579 get_function_defaults = operator.attrgetter(_func_defaults) 580 get_function_globals = operator.attrgetter(_func_globals)
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | six.py | 565 get_method_function = operator.attrgetter(_meth_func) 566 get_method_self = operator.attrgetter(_meth_self) 567 get_function_closure = operator.attrgetter(_func_closure) 568 get_function_code = operator.attrgetter(_func_code) 569 get_function_defaults = operator.attrgetter(_func_defaults) 570 get_function_globals = operator.attrgetter(_func_globals)
|
/external/python/setuptools/setuptools/_vendor/ |
D | six.py | 565 get_method_function = operator.attrgetter(_meth_func) 566 get_method_self = operator.attrgetter(_meth_self) 567 get_function_closure = operator.attrgetter(_func_closure) 568 get_function_code = operator.attrgetter(_func_code) 569 get_function_defaults = operator.attrgetter(_func_defaults) 570 get_function_globals = operator.attrgetter(_func_globals)
|
/external/python/six/ |
D | six.py | 571 get_method_function = operator.attrgetter(_meth_func) 572 get_method_self = operator.attrgetter(_meth_self) 573 get_function_closure = operator.attrgetter(_func_closure) 574 get_function_code = operator.attrgetter(_func_code) 575 get_function_defaults = operator.attrgetter(_func_defaults) 576 get_function_globals = operator.attrgetter(_func_globals)
|
/external/python/cpython3/Doc/howto/ |
D | sorting.rst | 92 :func:`~operator.attrgetter`, and a :func:`~operator.methodcaller` function. 96 >>> from operator import itemgetter, attrgetter 101 >>> sorted(student_objects, key=attrgetter('age')) 110 >>> sorted(student_objects, key=attrgetter('grade', 'age')) 123 >>> sorted(student_objects, key=attrgetter('age'), reverse=True) 144 >>> s = sorted(student_objects, key=attrgetter('age')) # sort on secondary key 145 >>> sorted(s, key=attrgetter('grade'), reverse=True) # now sort on primary key, descending
|
/external/autotest/client/site_tests/platform_UdevVars/ |
D | platform_UdevVars.py | 13 from operator import attrgetter 33 devices = filter(attrgetter('device_node'), devices)
|
/external/python/cpython2/Doc/howto/ |
D | sorting.rst | 92 module has :func:`operator.itemgetter`, :func:`operator.attrgetter`, and 97 >>> from operator import itemgetter, attrgetter 102 >>> sorted(student_objects, key=attrgetter('age')) 111 >>> sorted(student_objects, key=attrgetter('grade', 'age')) 134 >>> sorted(student_objects, key=attrgetter('age'), reverse=True) 155 >>> s = sorted(student_objects, key=attrgetter('age')) # sort on secondary key 156 >>> sorted(s, key=attrgetter('grade'), reverse=True) # now sort on primary key, descending
|
/external/python/apitools/apitools/gen/ |
D | extended_descriptor.py | 280 enum_type.values, key=operator.attrgetter('number')) 390 enum_type.values, key=operator.attrgetter('number')) 476 enum_types = sorted(enum_types, key=operator.attrgetter('name')) 482 message_list = sorted(message_list, key=operator.attrgetter('name'))
|
/external/python/cpython3/Doc/library/ |
D | operator.rst | 255 .. function:: attrgetter(attr) 256 attrgetter(*attrs) 262 * After ``f = attrgetter('name')``, the call ``f(b)`` returns ``b.name``. 264 * After ``f = attrgetter('name', 'date')``, the call ``f(b)`` returns 267 * After ``f = attrgetter('name.first', 'name.last')``, the call ``f(b)`` 272 def attrgetter(*items):
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 493 .. function:: attrgetter(attr) 494 attrgetter(*attrs) 500 * After ``f = attrgetter('name')``, the call ``f(b)`` returns ``b.name``. 502 * After ``f = attrgetter('name', 'date')``, the call ``f(b)`` returns 505 * After ``f = attrgetter('name.first', 'name.last')``, the call ``f(b)`` 510 def attrgetter(*items):
|
/external/u-boot/tools/binman/ |
D | image.py | 11 from operator import attrgetter
|
/external/python/cpython3/Lib/ |
D | operator.py | 226 class attrgetter: class 249 getters = tuple(map(attrgetter, self._attrs))
|
D | pathlib.py | 11 from operator import attrgetter 767 drive = property(attrgetter('_drv'), 770 root = property(attrgetter('_root'),
|
/external/python/cpython2/Lib/ |
D | cgi.py | 37 from operator import attrgetter 551 return map(attrgetter('value'), value) 573 return map(attrgetter('value'), value)
|
D | inspect.py | 41 from operator import attrgetter 714 classes.sort(key=attrgetter('__module__', '__name__'))
|
/external/python/setuptools/setuptools/command/ |
D | test.py | 223 paths = map(operator.attrgetter('location'), installed_dists)
|
/external/grpc-grpc/tools/mkowners/ |
D | mkowners.py | 95 key=operator.attrgetter('dir'))
|
/external/libchrome/third_party/jinja2/ |
D | filters.py | 75 def attrgetter(item): function 84 return attrgetter
|
/external/antlr/runtime/Python3/ |
D | ez_setup.py | 461 directories.sort(key=operator.attrgetter('name'), reverse=True)
|
/external/autotest/frontend/tko/ |
D | rpc_interface.py | 158 iter_keyfunc = operator.attrgetter('iteration')
|