Searched refs:swap_item (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_dynamic.py | 6 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}):
|
D | test_operator.py | 509 with support.swap_item(sys.modules, 'operator', self.module): 511 with support.swap_item(sys.modules, 'operator', self.module2):
|
D | test_support.py | 293 with support.swap_item(D, "item", 5):
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 23 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/ |
D | es31cArrayOfArraysTests.cpp | 1733 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__.py | 2124 def swap_item(obj, item, new_val): function
|