Home
last modified time | relevance | path

Searched refs:self (Results 3276 - 3300 of 6521) sorted by relevance

1...<<131132133134135136137138139140>>...261

/third_party/python/Modules/_ctypes/
H A Dcallbacks.c33 CThunkObject *self = (CThunkObject *)myself; in CThunkObject_dealloc() local
34 PyObject_GC_UnTrack(self); in CThunkObject_dealloc()
35 Py_XDECREF(self->converters); in CThunkObject_dealloc()
36 Py_XDECREF(self->callable); in CThunkObject_dealloc()
37 Py_XDECREF(self->restype); in CThunkObject_dealloc()
38 if (self->pcl_write) in CThunkObject_dealloc()
39 Py_ffi_closure_free(self->pcl_write); in CThunkObject_dealloc()
40 PyObject_GC_Del(self); in CThunkObject_dealloc()
46 CThunkObject *self = (CThunkObject *)myself; in CThunkObject_traverse() local
47 Py_VISIT(self in CThunkObject_traverse()
56 CThunkObject *self = (CThunkObject *)myself; CThunkObject_clear() local
[all...]
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dapi_save_h.py35 def __init__(self):
38 self.name = 'api_save_h.py'
39 self.license = license.bsd_license_template % (
44 def printBody(self, api):
H A Dapi_exec_decl_h.py36 def __init__(self):
39 self.name = 'api_exec_decl_h.py'
40 self.license = license.bsd_license_template % (
45 def printBody(self, api):
/third_party/python/Include/
H A Dbytearrayobject.h24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
25 #define PyByteArray_CheckExact(self) Py_IS_TYPE(self, &PyByteArray_Type)
/third_party/python/Lib/encodings/
H A Dundefined.py18 def encode(self,input,errors='strict'):
21 def decode(self,input,errors='strict'):
25 def encode(self, input, final=False):
29 def decode(self, input, final=False):
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_simpledialog.py12 def test_askinteger(self):
22 self.assertEqual(ismapped, False)
27 self.assertEqual(ismapped, True)
31 self.assertRaises(RuntimeError, askinteger, "Go To Line", "Line number")
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_autocomplete_w.py27 def test_init(self):
28 self.assertEqual(self.acw.widget, self.text)
H A Dtest_calltip_w.py25 def test_init(self):
26 self.assertEqual(self.calltip.anchor_widget, self.text)
H A Dtest_tree.py22 def test_init(self):
25 self.root, bg="white", highlightthickness=0, takefocus=1)
34 def test_wheel_event(self):
40 self.assertTupleEqual(widget.expected, args)
56 self.assertEqual(res, "break")
/third_party/python/Lib/tkinter/
H A Dcolorchooser.py35 def _fixoptions(self):
41 color = self.options["initialcolor"]
44 self.options["initialcolor"] = "#%02x%02x%02x" % color
48 def _fixresult(self, widget, result):
/third_party/python/Modules/
H A D_json.c83 py_encode_basestring_ascii(PyObject* Py_UNUSED(self), PyObject *pystr);
91 scanner_dealloc(PyObject *self);
93 scanner_clear(PyScannerObject *self);
97 encoder_dealloc(PyObject *self);
99 encoder_clear(PyEncoderObject *self);
570 py_scanstring(PyObject* Py_UNUSED(self), PyObject *args)
599 py_encode_basestring_ascii(PyObject* Py_UNUSED(self), PyObject *pystr)
624 py_encode_basestring(PyObject* Py_UNUSED(self), PyObject *pystr)
642 scanner_dealloc(PyObject *self) in scanner_dealloc() argument
644 PyTypeObject *tp = Py_TYPE(self); in scanner_dealloc()
653 scanner_traverse(PyScannerObject *self, visitproc visit, void *arg) scanner_traverse() argument
666 scanner_clear(PyScannerObject *self) scanner_clear() argument
1139 scanner_call(PyScannerObject *self, PyObject *args, PyObject *kwds) scanner_call() argument
1292 encoder_call(PyEncoderObject *self, PyObject *args, PyObject *kwds) encoder_call() argument
1739 encoder_dealloc(PyObject *self) encoder_dealloc() argument
1750 encoder_traverse(PyEncoderObject *self, visitproc visit, void *arg) encoder_traverse() argument
1763 encoder_clear(PyEncoderObject *self) encoder_clear() argument
[all...]
/third_party/littlefs/scripts/
H A Dperfbd.py51 def __str__(self):
52 if self.x == m.inf:
54 elif self.x == -m.inf:
57 return str(self.x)
59 def __int__(self):
60 assert not m.isinf(self.x)
61 return self.x
63 def __float__(self):
64 return float(self.x)
67 def table(self)
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dohci-s3c2410.c57 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info()
124 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data()
175 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
193 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control()
202 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
213 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
222 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
247 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control()
265 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control()
273 dev_dbg(hcd->self in ohci_s3c2410_hub_control()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dohci-s3c2410.c55 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info()
122 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data()
173 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
191 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control()
200 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
211 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
220 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
245 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control()
263 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control()
271 dev_dbg(hcd->self in ohci_s3c2410_hub_control()
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A D_parser.py14 def __init__(self, value: str) -> None:
15 self.value = value
17 def __str__(self) -> str:
18 return self.value
20 def __repr__(self) -> str:
21 return f"<{self.__class__.__name__}('{self}')>"
23 def serialize(self) -> str:
28 def serialize(self) -> str:
29 return str(self)
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_state_observer_manager.cpp207 auto self = weak.lock(); in OnAppStarted()
208 if (self == nullptr) { in OnAppStarted()
209 TAG_LOGE(AAFwkTag::APPMGR, "null self"); in OnAppStarted()
213 self->HandleOnAppStarted(appRecord); in OnAppStarted()
226 auto self = weak.lock(); in OnAppStopped()
227 if (self == nullptr) { in OnAppStopped()
228 TAG_LOGE(AAFwkTag::APPMGR, "null self"); in OnAppStopped()
232 self->HandleOnAppStopped(appRecord); in OnAppStopped()
250 auto self = weak.lock(); in OnAppStateChanged()
251 if (self in OnAppStateChanged()
[all...]
/foundation/ai/ai_engine/services/server/plugin_manager/
H A Dget_config_ini.py62 def optionxform(self, optionstr):
94 def __init__(self):
97 def get_files_in_folder(self, build_folder, plugin_list):
123 def get_config_ini(self, file_path_list, board_name):
153 def copy_config_ini(self, build_folder, out_folder, board_name,
165 ini_file_list = self.get_files_in_folder(build_folder, plugin_list)
166 ini_cfg_obj = self.get_config_ini(ini_file_list, board_name)
/third_party/jerryscript/targets/mbedos5/tools/
H A Dgenerate_pins.py95 def __init__(self, filter_names=None):
96 self.names = filter_names or []
98 def visit(self, node):
102 value = self.visit_typedecl(node)
106 value = value or self.visit(child_node)
110 def visit_typedecl(self, node):
114 if node.declname in self.names:
/third_party/node/src/
H A Dbase_object.cc32 metadata->self = nullptr; in ~BaseObject()
101 metadata->self = this; in pointer_data()
129 BaseObject* self = static_cast<BaseObject*>(data); in DeleteMe() local
130 if (self->has_pointer_data() && self->pointer_data()->strong_ptr_count > 0) { in DeleteMe()
131 return self->Detach(); in DeleteMe()
133 delete self; in DeleteMe()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D1-6.c200 static int get_prio(struct tcase *self) in get_prio() argument
202 switch (self->prio) { in get_prio()
204 return sched_get_priority_min(self->sched_policy); in get_prio()
207 return (sched_get_priority_min(self->sched_policy) + in get_prio()
208 sched_get_priority_max(self->sched_policy)) / 2; in get_prio()
211 return sched_get_priority_max(self->sched_policy) - 1; in get_prio()
215 printf("Wrong self->prio %i\n", self->prio); in get_prio()
/third_party/benchmark/bindings/python/google_benchmark/
H A D__init__.py84 def __init__(self, func):
85 self.func = func
86 self.builder_calls = []
95 def __getattr__(self, builder_name):
104 options = self.make(func_or_options)
/third_party/python/Lib/xml/dom/
H A D__init__.py66 def __init__(self, *args, **kw):
67 if self.__class__ is DOMException:
70 Exception.__init__(self, *args, **kw)
72 def _get_code(self):
73 return self.code
/third_party/python/Lib/test/test_email/
H A Dtorture_test.py35 def _msgobj(self, filename):
47 def test_mondo_message(self):
48 eq = self.assertEqual
49 neq = self.ndiffAssertEqual
50 msg = self._msgobj('crispin-torture.txt')
/foundation/window/window_manager/window_scene/common/src/
H A Dtask_scheduler.cpp49 if (auto self = weak.lock()) { in PostAsyncTask()
50 self->ExecuteExportTask(); in PostAsyncTask()
66 if (auto self = weak.lock()) { in PostVoidSyncTask()
67 self->ExecuteExportTask(); in PostVoidSyncTask()
83 if (auto self = weak.lock()) { in PostTask()
84 self->ExecuteExportTask(); in PostTask()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dsys_miata.c210 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
211 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
218 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
219 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
226 dev = dev->bus->self; in miata_swizzle()
229 } while (dev->bus->self); in miata_swizzle()

Completed in 13 milliseconds

1...<<131132133134135136137138139140>>...261