Home
last modified time | relevance | path

Searched refs:_replace (Results 1 – 21 of 21) sorted by relevance

/third_party/grpc/src/python/grpcio/grpc/experimental/
D__init__.py104 return handler._replace(unary_unary=wrapper(handler.unary_unary))
106 return handler._replace(unary_stream=wrapper(handler.unary_stream))
109 return handler._replace(stream_unary=wrapper(handler.stream_unary))
111 return handler._replace(
/third_party/mesa3d/src/mapi/new/
DgenCommon.py86 functions[i] = functions[i]._replace(slot=static_data.offsets[name])
88 functions[i] = functions[i]._replace(slot=static_data.offsets[name + "ARB"])
90 functions[i] = functions[i]._replace(slot=static_data.offsets[name + "EXT"])
92 functions[i] = functions[i]._replace(slot=next_slot)
/third_party/python/Tools/c-analyzer/c_parser/parser/
D_info.py90 self._replace(text, start)
108 self._replace(remainder, start, fixnested=True)
111 self._replace('', start, fixnested=True)
162 def _replace(self, text, start=None, *, fixnested=False): member in SourceInfo
/third_party/grpc/tools/mkowners/
Dmkowners.py115 owners = owners._replace(parent=best_parent.dir)
117 owners = owners._replace(parent=None)
/third_party/python/Lib/
Dselectors.py265 key = key._replace(data=data)
399 key = key._replace(events=events, data=data)
Dtokenize.py50 self._replace(type=annotated_type))
/third_party/python/Lib/collections/
D__init__.py430 def _replace(self, /, **kwds): function
436 _replace.__doc__ = (f'Return a new {typename} object replacing specified '
455 _replace,
471 '_replace': _replace,
/third_party/boost/boost/variant2/
Dvariant.hpp829 template<class I, class... A> void _replace( I, A&&... a ) in _replace() function
900 template<class I, class... A> void _replace( I, A&&... a ) in _replace() function
962 template<class I, class... A> void _replace( I, A&&... a ) in _replace() function
1052 template<class I, class... A> void _replace( I, A&&... a ) in _replace() function
1291 this_->_replace( i, r._get_impl( i ) ); in operator ()()
1445 this_->_replace( i, std::move( r._get_impl( i ) ) ); in operator ()()
1703 this_->_replace( J{}, r._get_impl( i ) ); in operator ()()
1727 this_->_replace( J{}, std::move( r._get_impl( i ) ) ); in operator ()()
/third_party/mindspore/mindspore/compression/quant/
Dqat.py387 self.quant_config = self.quant_config._replace(
490 self.quant_config = self.quant_config._replace(
/third_party/python/Doc/library/
Durllib.parse.rst72 >>> o._replace(fragment="").geturl()
145 and attributes that are particularly useful. One such method is :meth:`_replace`.
146 The :meth:`_replace` method will return a new ParseResult object replacing specified
157 >>> u._replace(scheme='http')
Dcollections.rst961 .. method:: somenamedtuple._replace(**kwargs)
967 >>> p._replace(x=33)
971 ... inventory[partnum] = record._replace(price=newprices[partnum], timestamp=time.now())
/third_party/python/Tools/c-analyzer/c_parser/
Dinfo.py183 return self._replace(filename=filename)
251 return self._replace(filename=filename)
326 return self._replace(file=fixed)
/third_party/python/Lib/test/
Dtest_collections.py480 self.assertEqual(p._replace(x=1), (1, 22)) # test _replace method
484 p._replace(x=1, error=2)
537 self.assertEqual(Dot(1)._replace(d=999), (999,))
554 b2 = b._replace(**dict([(names[1], 999),(names[-5], 42)]))
585 newt = t._replace(itemgetter=10, property=20, self=30, cls=40, tuple=50)
636 newt = t._replace(**dict(zip(T._fields, newvalues)))
Dtest_platform.py241 new = res._replace(
/third_party/python/Lib/importlib/metadata/
D__init__.py103 section._replace(value=Pair.parse(section.value))
/third_party/jerryscript/tools/pylint/
Dpylintrc371 exclude-protected=_asdict,_fields,_replace,_source,_make
/third_party/python/Misc/NEWS.d/
D3.10.0a4.rst625 Restore compatibility for ``uname_result`` around deepcopy and _replace.
D3.7.0a1.rst1623 speed-ups for instance creation using __new__, _make, and _replace. (The
/third_party/python/Doc/whatsnew/
D2.6.rst1871 >>> v2 = var._replace(name='amplitude')
/third_party/gstreamer/gstreamer/
DChangeLog61649 object: make _replace like the miniobject version
85274 caps: add some more debugging in _replace
86031 Add the object pointers in the debug info for _replace.
132772 gst/: Make gst_caps_replace() work like other _replace() functions.
132800 Make gst_caps_replace() work like other _replace() functions.
/third_party/gstreamer/gstplugins_bad/
DChangeLog150730 Use _replace instead of _append to fix growing buffers.