Home
last modified time | relevance | path

Searched refs:swap_item (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_dynamic.py6 from test.support import swap_item, swap_attr
35 with swap_item(globals(), "len", lambda x: 7):
117 with swap_item(globals(), "__builtins__", {"len": lambda x: 7}):
126 with swap_item(globals(), "__builtins__", {"len": lambda x: 7}):
Dtest_operator.py509 with support.swap_item(sys.modules, 'operator', self.module):
511 with support.swap_item(sys.modules, 'operator', self.module2):
Dtest_support.py293 with support.swap_item(D, "item", 5):
/external/python/cpython3/Lib/test/test_import/
D__init__.py23 make_legacy_pyc, rmtree, run_unittest, swap_attr, swap_item, temp_umask,
651 with swap_item(globals(), "__import__", lambda *x: 5):
/external/deqp/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.cpp1733 for (size_t swap_item = 1; swap_item < API::MAX_ARRAY_DIMENSIONS; swap_item++) in test_shader_compilation() local
1735 for (size_t max_dimension_index = swap_item + 1; max_dimension_index < API::MAX_ARRAY_DIMENSIONS; in test_shader_compilation()
1738 std::string temp = variable_basenames[swap_item]; in test_shader_compilation()
1741 variable_basenames[swap_item] = variable_basenames[max_dimension_index]; in test_shader_compilation()
1756 temp = variable_basenames[swap_item]; in test_shader_compilation()
1757 variable_basenames[swap_item] = variable_basenames[max_dimension_index]; in test_shader_compilation()
/external/python/cpython3/Lib/test/support/
D__init__.py2124 def swap_item(obj, item, new_val): function