/third_party/googletest/googlemock/test/ |
H A D | gmock_output_test.py | 157 def testOutput(self): 167 self.assertEqual(golden, output) 171 self.assertEqual(['GMockOutputTest.CatchesLeakedMocks',
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_test_cert_macros.py | 19 def __call__(self, parser, namespace, values, option_string): 23 if self.dest in ('string', 'binary') and not os.path.exists(filename): 26 namespace.values.append((self.dest, macro_name, filename))
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | object-pattern.js | 166 var obj = {self: '123'}; property 168 const {self, prot} = obj; 169 assert (self === '123');
|
/third_party/node/lib/ |
H A D | wasi.js | 36 function setupInstance(self, instance) { 40 self[kInstance] = instance; 41 self[kSetMemory](instance.exports.memory);
|
/third_party/node/test/parallel/ |
H A D | test-inspector-open.js | 84 function close(self, err) { 85 self.end(); 86 self.on('close', () => callback(err));
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/ |
H A D | common.h | 47 pthread_t self; in thread_func() local 53 self = pthread_self(); in thread_func() 54 rc = pthread_getschedparam(self, &policy, &sp); in thread_func()
|
/third_party/node/deps/v8/include/ |
H A D | v8-cppgc.h | 206 static cppgc::TraceDescriptor GetTraceDescriptor(const void* self) { in GetTraceDescriptor() 210 static void Trace(Visitor* visitor, const void* self) { in Trace() 212 *static_cast<const v8::TracedReference<T>*>(self)); in Trace()
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-cppgc.h | 228 static cppgc::TraceDescriptor GetTraceDescriptor(const void* self) { in GetTraceDescriptor() 232 static void Trace(Visitor* visitor, const void* self) { in Trace() 234 *static_cast<const v8::TracedReference<T>*>(self)); in Trace()
|
/third_party/vk-gl-cts/external/openglcts/scripts/ |
H A D | build_caselists.py | 39 def __init__ (self, name, api): 40 self.name = name 41 self.api = api
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | osfiber_asm.h | 87 static inline void run(OSFiber* self); 132 void OSFiber::run(OSFiber* self) { in run() argument 133 self->target(); in run()
|
H A D | osfiber_ucontext.h | 86 OSFiber* self; in createFiber() member 98 u.self->target(); in createFiber() 123 args.self = out.get(); in createFiber()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | statement.h | 143 if (auto* self = As<CompoundStatement>()) { in FindFirstParent() 144 if (pred(self)) { in FindFirstParent() 145 return self; in FindFirstParent()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | jsDeclarationsFunctions.js | 32 f.self = f; 100 f.self = f;
154 export { f as self };
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | DescriptorPool.php | 52 if (!isset(self::$pool)) { 53 self::$pool = new DescriptorPool(); 55 return self::$pool;
|
/third_party/python/Lib/zoneinfo/ |
H A D | _common.py | 138 def __init__(self, *args): 139 for attr, val in zip(self.__slots__, args, strict=True): 140 setattr(self, attr, val)
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-pci.c | 97 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_msix_sync_irqs() 109 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_cleanup_msix() 137 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_setup_msi() 164 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_setup_msix() 208 pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_try_enable_msi() 239 hcd->driver->description, hcd->self.busnum); in xhci_try_enable_msi() 594 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup() 804 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend() 844 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume() 912 slot_id, port->rhub->hcd->self in xhci_pci_poweroff_late() [all...] |
/third_party/python/PC/clinic/ |
H A D | winreg.c.h | 6 "Close($self, /)\n" 17 winreg_HKEYType_Close_impl(PyHKEYObject *self); 20 winreg_HKEYType_Close(PyHKEYObject *self, PyObject *Py_UNUSED(ignored)) in winreg_HKEYType_Close() argument 22 return winreg_HKEYType_Close_impl(self); in winreg_HKEYType_Close() 26 "Detach($self, /)\n" 43 winreg_HKEYType_Detach_impl(PyHKEYObject *self); 46 winreg_HKEYType_Detach(PyHKEYObject *self, PyObject *Py_UNUSED(ignored)) in winreg_HKEYType_Detach() argument 48 return winreg_HKEYType_Detach_impl(self); in winreg_HKEYType_Detach() 52 "__enter__($self, /)\n" 60 winreg_HKEYType___enter___impl(PyHKEYObject *self); 63 winreg_HKEYType___enter__(PyHKEYObject *self, PyObject *Py_UNUSED(ignored)) winreg_HKEYType___enter__() argument 87 winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) winreg_HKEYType___exit__() argument [all...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | setup-bus.c | 508 struct pci_dev *bridge = bus->self; in pci_setup_cardbus() 667 struct pci_dev *bridge = bus->self; in __pci_setup_bridge() 739 struct pci_dev *bridge = bus->self; in pci_bridge_check_ranges() 855 if (bus->self && bus->self->io_window_1k) in window_alignment() 929 if (bus->self && (b_res->start || b_res->end)) in pbus_size_io() 930 pci_info(bus->self, "disabling bridge window %pR to %pR (unused)\n", in pbus_size_io() 939 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io() 940 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io() 942 pci_info(bus->self, "bridg in pbus_size_io() [all...] |
/third_party/python/Objects/ |
H A D | object.c | 198 PyObject_CallFinalizer(PyObject *self) in PyObject_CallFinalizer() argument 200 PyTypeObject *tp = Py_TYPE(self); in PyObject_CallFinalizer() 205 if (_PyType_IS_GC(tp) && _PyGC_FINALIZED(self)) in PyObject_CallFinalizer() 208 tp->tp_finalize(self); in PyObject_CallFinalizer() 210 _PyGC_SET_FINALIZED(self); in PyObject_CallFinalizer() 215 PyObject_CallFinalizerFromDealloc(PyObject *self) in PyObject_CallFinalizerFromDealloc() argument 217 if (Py_REFCNT(self) != 0) { in PyObject_CallFinalizerFromDealloc() 218 _PyObject_ASSERT_FAILED_MSG(self, in PyObject_CallFinalizerFromDealloc() 224 Py_SET_REFCNT(self, 1); in PyObject_CallFinalizerFromDealloc() 226 PyObject_CallFinalizer(self); in PyObject_CallFinalizerFromDealloc() 1130 _PyObject_NextNotImplemented(PyObject *self) _PyObject_NextNotImplemented() argument 2102 _Py_GetObjects(PyObject *self, PyObject *args) _Py_GetObjects() argument [all...] |
/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/ |
H A D | lnn_ip_network_impl.c | 555 static LnnPhysicalSubnet *CreateIpSubnetManager(const struct LnnProtocolManager *self, const char *ifName) in CreateIpSubnetManager() argument 565 subnet->protocol = self; in CreateIpSubnetManager() 670 int32_t LnnInitIpProtocol(struct LnnProtocolManager *self) in LnnInitIpProtocol() argument 672 (void)self; in LnnInitIpProtocol() 688 int32_t LnnEnableIpProtocol(struct LnnProtocolManager *self, LnnNetIfMgr *netifMgr) in LnnEnableIpProtocol() argument 690 (void)self; in LnnEnableIpProtocol() 695 LnnPhysicalSubnet *manager = CreateIpSubnetManager(self, netifMgr->ifName); in LnnEnableIpProtocol() 720 void LnnDeinitIpNetwork(struct LnnProtocolManager *self) in LnnDeinitIpNetwork() argument 722 (void)self; in LnnDeinitIpNetwork()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
H A D | kselftest_harness.h | 37 * self->data = mytype_new(); 38 * ASSERT_NE(NULL, self->data); 41 * mytype_free(self->data); 44 * EXPECT_EQ(1, is_my_data_good(self->data)); 210 * the *self* is being passed to a helper directly. 227 * Defines the data provided to TEST_F()-defined tests as *self*. It should be 252 * datatype defined with FIXTURE_DATA() will be exposed as *self* for the 263 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \ 278 * datatype defined with FIXTURE_DATA() will be exposed as *self* for the 286 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self) [all...] |
/applications/standard/calendardata/calendarmanager/napi/src/ |
H A D | napi_queue.cpp | 39 status = napi_get_cb_info(env, info, &argc, argv, &self, nullptr); in GetCbInfo() 42 CHECK_ARGS_RETURN_VOID(this, self != nullptr, " no JavaScript this argument!"); in GetCbInfo() 44 napi_create_reference(env, self, 1, &selfRef); in GetCbInfo() 46 status = napi_unwrap(env, self, &native); in GetCbInfo() 47 CHECK_STATUS_RETURN_VOID(this, " self unwrap failed!"); in GetCbInfo()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/common/ |
H A D | napi_async_work.cpp | 45 status = napi_get_cb_info(env, info, &argc, argv, &self, nullptr); in GetCbInfo() 48 NAPI_CHECK_ARGS_RETURN_VOID(this, self != nullptr, "no JavaScript this argument!", NAPI_ERR_INPUT_INVALID); in GetCbInfo() 49 napi_create_reference(env, self, 1, &selfRef); in GetCbInfo() 50 status = napi_unwrap(env, self, &native); in GetCbInfo() 51 NAPI_CHECK_STATUS_RETURN_VOID(this, "self unwrap failed!", NAPI_ERROR_INVALID_PARAM); in GetCbInfo()
|
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | napi_async_work.cpp | 42 status = napi_get_cb_info(env, info, &argc, argv, &self, nullptr); in GetCbInfo() 45 NAPI_CHECK_ARGS_RETURN_VOID(this, self != nullptr, "no JavaScript this argument!", DRM_INVALID_PARAM); in GetCbInfo() 46 napi_create_reference(env, self, 1, &selfRef); in GetCbInfo() 47 status = napi_unwrap(env, self, &native); in GetCbInfo() 48 NAPI_CHECK_STATUS_RETURN_VOID(this, "self unwrap failed!", DRM_INVALID_PARAM); in GetCbInfo()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_async_work.cpp | 45 status = napi_get_cb_info(env, info, &argc, argv, &self, nullptr); in GetCbInfo() 49 CHECK_ARGS_RETURN_VOID(this, self != nullptr, "no JavaScript this argument!", in GetCbInfo() 51 napi_create_reference(env, self, 1, &selfRef); in GetCbInfo() 52 status = napi_unwrap(env, self, &native); in GetCbInfo() 53 CHECK_STATUS_RETURN_VOID(this, "self unwrap failed!", NapiAVSessionManager::errcode_[AVSESSION_ERROR]); in GetCbInfo()
|