Home
last modified time | relevance | path

Searched refs:dispatch_table (Results 1 – 25 of 26) sorted by relevance

12

/external/libepoxy/src/
Ddispatch_common.h110 struct dispatch_table *dispatch_table = get_dispatch_table(); \
112 dispatch_table->name = (void *)name##_resolver(); \
113 dispatch_table->name passthrough; \
120 struct dispatch_table *dispatch_table = get_dispatch_table(); \
122 dispatch_table->name = (void *)name##_resolver(); \
123 return dispatch_table->name passthrough; \
/external/vulkan-validation-layers/tests/layers/
Ddevice_profile_api.cpp45 VkLayerInstanceDispatchTable dispatch_table; member
64 instance_data->dispatch_table.GetPhysicalDeviceProperties(physicalDevice, &props); in GetOriginalPhysicalDeviceLimitsEXT()
79 …instance_data->dispatch_table.GetPhysicalDeviceFormatProperties(physicalDevice, format, properties… in GetOriginalPhysicalDeviceFormatPropertiesEXT()
108 …layer_init_instance_dispatch_table(*pInstance, &instance_data->dispatch_table, fp_get_instance_pro… in CreateInstance()
109 instance_data->dispatch_table.GetPhysicalDeviceProcAddr = in CreateInstance()
113 … instance_data->dispatch_table.EnumeratePhysicalDevices(*pInstance, &physical_device_count, NULL); in CreateInstance()
116 …result = instance_data->dispatch_table.EnumeratePhysicalDevices(*pInstance, &physical_device_count… in CreateInstance()
120 …instance_data->dispatch_table.GetPhysicalDeviceProperties(physical_devices[i], &phy_dev_data->phy_… in CreateInstance()
141 …instance_data->dispatch_table.GetPhysicalDeviceFormatProperties(physicalDevice, format, pPropertie… in GetPhysicalDeviceFormatProperties()
185 auto &table = instance_data->dispatch_table; in GetPhysicalDeviceProcAddr()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py81 self._saved_pickle_registry = copyreg.dispatch_table.copy()
104 copyreg.dispatch_table.clear()
105 copyreg.dispatch_table.update(self._saved_pickle_registry)
/external/python/cpython3/Lib/test/libregrtest/
Drefleak.py40 ps = copyreg.dispatch_table.copy()
154 copyreg.dispatch_table.clear()
155 copyreg.dispatch_table.update(ps)
/external/python/cpython2/Lib/
Dcopy_reg.py12 dispatch_table = {} variable
20 dispatch_table[ob_type] = pickle_function
Dcopy.py53 from copy_reg import dispatch_table
82 reductor = dispatch_table.get(cls)
176 reductor = dispatch_table.get(cls)
Dpickle.py30 from copy_reg import dispatch_table
290 reduce = dispatch_table.get(t)
/external/python/cpython3/Lib/
Dcopy.py53 from copyreg import dispatch_table
86 reductor = dispatch_table.get(cls)
155 reductor = dispatch_table.get(cls)
Dcopyreg.py10 dispatch_table = {} variable
15 dispatch_table[ob_type] = pickle_function
Dpickle.py27 from copyreg import dispatch_table
565 reduce = getattr(self, 'dispatch_table', dispatch_table).get(t)
/external/python/cpython3/Lib/multiprocessing/
Dreduction.py36 _copyreg_dispatch_table = copyreg.dispatch_table
40 self.dispatch_table = self._copyreg_dispatch_table.copy()
41 self.dispatch_table.update(self._extra_reducers)
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_rpc.py20 rpc.CodePickler.dispatch_table)
/external/python/cpython3/Lib/test/
Dtest_pickle.py195 return pickle.dispatch_table.copy()
203 return collections.ChainMap({}, pickle.dispatch_table)
258 return pickle.dispatch_table.copy()
263 return collections.ChainMap({}, pickle.dispatch_table)
Dpickletester.py3593 p.dispatch_table
3601 dispatch_table = dt variable in AbstractDispatchTableTests.test_class_dispatch_table.MyPickler
3606 self.assertEqual(p.dispatch_table, dt)
3619 p.dispatch_table = dt
3620 self.assertEqual(p.dispatch_table, dt)
3626 def _test_dispatch_table(self, dumps, dispatch_table): argument
3643 dispatch_table[complex] = reduce_1
3656 dispatch_table[BBB] = reduce_1
3666 dispatch_table[AAA] = reduce_2
3667 del dispatch_table[BBB]
[all …]
/external/python/cpython3/Doc/library/
Dpickle.rst348 .. attribute:: dispatch_table
359 :attr:`dispatch_table` attribute, and it will instead use the
362 one can set the :attr:`dispatch_table` attribute to a dict-like
364 :attr:`dispatch_table` attribute then this will be used as the
374 method has priority over any reducer in the :attr:`dispatch_table`. It
377 :attr:`dispatch_table`-registered reducers to pickle ``obj``.
770 available as :data:`copyreg.dispatch_table`. Therefore, one may
771 choose to use a modified copy of :data:`copyreg.dispatch_table` as a
778 p.dispatch_table = copyreg.dispatch_table.copy()
779 p.dispatch_table[SomeClass] = reduce_SomeClass
[all …]
Dcopyreg.rst41 :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler
/external/python/cpython2/Modules/
DcPickle.c117 static PyObject *dispatch_table; variable
351 PyObject *dispatch_table; member
2771 __reduce__ = PyDict_GetItem(dispatch_table, (PyObject *)type); in save()
3082 self->dispatch_table = NULL; in newPicklerobject()
3139 self->dispatch_table = PyObject_GetAttr(m, dispatch_table_str); in newPicklerobject()
3141 if (self->dispatch_table == NULL) in newPicklerobject()
3145 self->dispatch_table = dispatch_table; in newPicklerobject()
3146 Py_INCREF(dispatch_table); in newPicklerobject()
3194 Py_XDECREF(self->dispatch_table); in Pickler_dealloc()
3209 Py_VISIT(self->dispatch_table); in Pickler_traverse()
[all …]
/external/libepoxy/prebuilt-intermediates/src/
Degl_generated_dispatch.c19 struct dispatch_table { struct
169 static inline struct dispatch_table * argument
5166 static struct dispatch_table resolver_table = {
5316 uint32_t egl_tls_size = sizeof(struct dispatch_table);
5318 static inline struct dispatch_table *
5327 struct dispatch_table *dispatch_table = get_dispatch_table(); in egl_init_dispatch_table() local
5328 memcpy(dispatch_table, &resolver_table, sizeof(resolver_table)); in egl_init_dispatch_table()
Dgl_generated_dispatch.c34 struct dispatch_table { struct
3309 static inline struct dispatch_table * argument
117791 static struct dispatch_table resolver_table = {
121066 uint32_t gl_tls_size = sizeof(struct dispatch_table);
121068 static inline struct dispatch_table *
121077 struct dispatch_table *dispatch_table = get_dispatch_table(); in gl_init_dispatch_table() local
121078 memcpy(dispatch_table, &resolver_table, sizeof(resolver_table)); in gl_init_dispatch_table()
/external/python/cpython3/Modules/
D_pickle.c147 PyObject *dispatch_table; member
203 Py_CLEAR(st->dispatch_table); in _Pickle_ClearState()
233 st->dispatch_table = PyObject_GetAttrString(copyreg, "dispatch_table"); in _Pickle_InitState()
234 if (!st->dispatch_table) in _Pickle_InitState()
236 if (!PyDict_CheckExact(st->dispatch_table)) { in _Pickle_InitState()
239 Py_TYPE(st->dispatch_table)->tp_name); in _Pickle_InitState()
625 PyObject *dispatch_table; /* private dispatch_table, can be NULL */ member
1114 self->dispatch_table = NULL; in _Pickler_New()
4383 if (self->dispatch_table == NULL) { in save()
4385 reduce_func = PyDict_GetItemWithError(st->dispatch_table, in save()
[all …]
/external/python/cpython3/Lib/idlelib/
Drpc.py67 dispatch_table = {types.CodeType: pickle_code, **copyreg.dispatch_table} variable in CodePickler
/external/python/cpython2/Lib/test/
Dregrtest.py1428 ps = copy_reg.dispatch_table.copy()
1515 copy_reg.dispatch_table.clear()
1516 copy_reg.dispatch_table.update(ps)
/external/llvm-project/flang/test/Fir/
Dfir-ops.fir438 // CHECK-LABEL: fir.dispatch_table @dispatch_tbl {
441 fir.dispatch_table @dispatch_tbl {
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIROps.td2826 def fir_DispatchTableOp : fir_Op<"dispatch_table",
2839 fir.dispatch_table @_QDTMquuzTfoo {
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1719 :attr:`~pickle.Pickler.dispatch_table` attribute allowing per-pickler

12