Home
last modified time | relevance | path

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

/external/crosvm/gpu_display/src/
Ddwl.rs64 pub fn dwl_context_destroy(self_: *mut *mut dwl_context); in dwl_context_destroy()
68 self_: *mut dwl_context, in dwl_context_setup()
73 pub fn dwl_context_fd(self_: *mut dwl_context) -> ::std::os::raw::c_int; in dwl_context_fd()
76 pub fn dwl_context_dispatch(self_: *mut dwl_context); in dwl_context_dispatch()
80 self_: *mut dwl_context, in dwl_context_dmabuf_new()
91 pub fn dwl_dmabuf_destroy(self_: *mut *mut dwl_dmabuf); in dwl_dmabuf_destroy()
95 self_: *mut dwl_context, in dwl_context_surface_new()
106 pub fn dwl_surface_destroy(self_: *mut *mut dwl_surface); in dwl_surface_destroy()
109 pub fn dwl_surface_commit(self_: *mut dwl_surface); in dwl_surface_commit()
112 pub fn dwl_surface_buffer_in_use(self_: *mut dwl_surface, buffer_index: usize) -> bool; in dwl_surface_buffer_in_use()
[all …]
/external/rust/crates/memchr/src/
Diter.rs12 ($self_:expr, $search_result:expr) => {
15 $self_.haystack = $self_.haystack.split_at(index + 1).1;
16 let found_position = $self_.position + index;
17 $self_.position = found_position + 1;
24 ($self_:expr, $search_result:expr) => {
27 $self_.haystack = $self_.haystack.split_at(index).0;
28 $self_.position + index
/external/crosvm/crosvm_plugin/src/
Dlib.rs675 pub unsafe extern fn $ctor(self_: *mut crosvm, $($x: $y,)* obj_ptr: *mut *mut $t) -> c_int {
676 let self_ = &mut (*self_); localVariable
677 match $t::create(self_, $($x,)*) {
686 pub unsafe extern fn $dtor(self_: *mut crosvm, obj_ptr: *mut *mut $t) -> c_int {
687 let self_ = &mut (*self_); localVariable
689 match self_.destroy(obj.id) {
1386 pub unsafe extern "C" fn crosvm_new_connection(self_: *mut crosvm, out: *mut *mut crosvm) -> c_int { in crosvm_new_connection()
1388 let self_ = &mut (*self_); in crosvm_new_connection() localVariable
1389 match self_.try_clone() { in crosvm_new_connection()
1399 pub unsafe extern "C" fn crosvm_destroy_connection(self_: *mut *mut crosvm) -> c_int { in crosvm_destroy_connection()
[all …]
/external/webrtc/modules/audio_processing/utility/
Ddelay_estimator_unittest.cc55 DelayEstimator* self_; member in webrtc::__anonb0dfe00f0111::DelayEstimatorTest
71 self_(NULL), in DelayEstimatorTest()
98 self_ = reinterpret_cast<DelayEstimator*>(handle_); in SetUp()
108 self_ = NULL; in TearDown()
124 EXPECT_EQ(0, self_->near_spectrum_initialized); in Init()
400 EXPECT_EQ(0, self_->near_spectrum_initialized); in TEST_F()
403 EXPECT_EQ(1, self_->near_spectrum_initialized); in TEST_F()
416 EXPECT_EQ(0, self_->near_spectrum_initialized); in TEST_F()
419 EXPECT_EQ(1, self_->near_spectrum_initialized); in TEST_F()
/external/rust/crates/getrandom/src/
Djs.rs60 if let Ok(self_) = Global::get_self() { in getrandom_init()
66 let crypto: BrowserCrypto = match (self_.crypto(), self_.ms_crypto()) { in getrandom_init()
/external/rust/crates/hashbrown/src/raw/
Dmod.rs589 let mut self_ = guard(self, |self_| self_.clear_no_drop()); in clear() localVariable
591 self_.drop_elements(); in clear()
713 let mut guard = guard(&mut self.table, move |self_| { in rehash_in_place()
715 for i in 0..self_.buckets() { in rehash_in_place()
716 if *self_.ctrl(i) == DELETED { in rehash_in_place()
717 self_.set_ctrl(i, EMPTY); in rehash_in_place()
718 self_.bucket::<T>(i).drop(); in rehash_in_place()
719 self_.items -= 1; in rehash_in_place()
723 self_.growth_left = bucket_mask_to_capacity(self_.bucket_mask) - self_.items; in rehash_in_place()
1411 Ok(guard(new_table, move |self_| { in prepare_resize()
[all …]
/external/python/cpython2/Lib/test/
Dtest_richcmp.py195 def __lt__(self_, other): return 0 argument
196 def __gt__(self_, other): return 0 argument
197 def __eq__(self_, other): return 0 argument
198 def __le__(self_, other): self.fail("This shouldn't happen") argument
199 def __ge__(self_, other): self.fail("This shouldn't happen") argument
200 def __ne__(self_, other): self.fail("This shouldn't happen") argument
201 def __cmp__(self_, other): raise RuntimeError, "expected" argument
Dtest_descr.py1165 def __del__(self_): argument
1166 self.assertEqual(self_.a, 1)
1167 self.assertEqual(self_.b, 2)
1840 def some_number(self_, key): argument
2219 def setter(self_, value): argument
3081 def __cmp__(self_, other): argument
3948 def __setstate__(self_, lst): argument
3950 self_.__foo = self_.foo = lst[0]
Dtest_exceptions.py161 def __init__(self_): argument
/external/libchrome/base/task_scheduler/
Dscheduler_worker.cc74 self_ = this; in Start()
81 self_ = nullptr; in Start()
285 DCHECK_EQ(self_, this); in RunWorker()
356 self_ = nullptr; in RunWorker()
Dscheduler_worker.h215 scoped_refptr<SchedulerWorker> self_; variable
/external/python/cpython3/Lib/test/
Dtest_richcmp.py195 def __lt__(self_, other): return 0 argument
196 def __gt__(self_, other): return 0 argument
197 def __eq__(self_, other): return 0 argument
198 def __le__(self_, other): self.fail("This shouldn't happen") argument
199 def __ge__(self_, other): self.fail("This shouldn't happen") argument
200 def __ne__(self_, other): self.fail("This shouldn't happen") argument
Dtest_yield_from.py947 def close(self_): argument
Dtest_descr.py1283 def __del__(self_): argument
1284 self.assertEqual(self_.a, 1)
1285 self.assertEqual(self_.b, 2)
2015 def some_number(self_, key): argument
2290 def setter(self_, value): argument
3143 def __cmp__(self_, other): argument
3771 def __setstate__(self_, lst): argument
3773 self_.__foo = self_.foo = lst[0]
Dtest_exceptions.py266 def __init__(self_): argument
/external/python/pybind11/include/pybind11/
Diostream.h217 .def("__exit__", [](detail::OstreamRedirect &self_, args) { self_.exit(); }); in PYBIND11_NAMESPACE_END()
/external/libchrome/mojo/core/
Dchannel_posix.cc104 : Channel(delegate), self_(this), io_task_runner_(io_task_runner) { in ChannelPosix()
358 self_ = nullptr; in ShutDownOnIOThread()
418 if (self_) in WillDestroyCurrentMessageLoop()
702 scoped_refptr<Channel> self_; member in mojo::core::__anon048160970111::ChannelPosix
/external/python/cpython2/Modules/
D_elementtree.c1080 element_getitem(PyObject* self_, Py_ssize_t index) in element_getitem() argument
1082 ElementObject* self = (ElementObject*) self_; in element_getitem()
1314 element_setitem(PyObject* self_, Py_ssize_t index_, PyObject* item) in element_setitem() argument
1316 ElementObject* self = (ElementObject*) self_; in element_setitem()
1345 element_subscr(PyObject* self_, PyObject* item) argument
1347 ElementObject* self = (ElementObject*) self_;
1362 return element_getitem(self_, i);
1402 element_ass_subscr(PyObject* self_, PyObject* item, PyObject* value) argument
1404 ElementObject* self = (ElementObject*) self_;
1419 return element_setitem(self_, i, value);
[all …]
D_sre.c2748 _compile(PyObject* self_, PyObject* args) in _compile() argument
/external/python/cpython2/Include/
Dpystate.h192 typedef struct _frame *(*PyThreadFrameGetter)(PyThreadState *self_);
/external/python/cpython3/Modules/
D_elementtree.c1458 element_getitem(PyObject* self_, Py_ssize_t index) in element_getitem() argument
1460 ElementObject* self = (ElementObject*) self_; in element_getitem()
1691 element_setitem(PyObject* self_, Py_ssize_t index, PyObject* item) in element_setitem() argument
1693 ElementObject* self = (ElementObject*) self_; in element_setitem()
1725 element_subscr(PyObject* self_, PyObject* item) in element_subscr() argument
1727 ElementObject* self = (ElementObject*) self_; in element_subscr()
1737 return element_getitem(self_, i); in element_subscr()
1778 element_ass_subscr(PyObject* self_, PyObject* item, PyObject* value) in element_ass_subscr() argument
1780 ElementObject* self = (ElementObject*) self_; in element_ass_subscr()
1790 return element_setitem(self_, i, value); in element_ass_subscr()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg1143 def specialStateTransition(self_, s, input):
1144 # convince pylint that my self_ magic is ok ;)
1149 self = self_.recognizer
1161 nvae = NoViableAltException(self_.getDescription(), <dfa.decisionNumber>, _s, input)
1162 self_.error(nvae)
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg1136 def specialStateTransition(self_, s, input):
1137 # convince pylint that my self_ magic is ok ;)
1142 self = self_.recognizer
1154 nvae = NoViableAltException(self_.getDescription(), <dfa.decisionNumber>, _s, input)
1155 self_.error(nvae)
/external/libabigail/tests/data/test-abidiff/
Dtest-PR18791-v1.so.abi1914 …<var-decl name='self_' type-id='type-id-161' visibility='default' filepath='/home/packages/libsig/…
Dtest-PR18791-v0.so.abi1843 …<var-decl name='self_' type-id='type-id-171' visibility='default' filepath='/home/packages/libsig/…