Home
last modified time | relevance | path

Searched refs:bind (Results 1126 - 1150 of 2711) sorted by relevance

1...<<41424344454647484950>>...109

/third_party/python/Lib/test/
H A Dtest_inspect.py2918 ba = inspect.signature(_foo).bind(a=200, b=11)
2925 ba = inspect.signature(_foo).bind(a=11)
2928 ba = inspect.signature(_foo).bind(11, 12)
2931 ba = inspect.signature(_foo).bind(11, b=12)
2934 ba = inspect.signature(_foo).bind(b=12)
2938 ba = inspect.signature(_foo).bind(12)
3860 ba = sig.bind(*args, **kwargs)
4025 ba = sig.bind(10, 20, b=30, c=40, args=50, kwargs=60)
4027 # pass it to the 'bind'
4062 ba = sig.bind(
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.cpp167 GetDispatcher()->PostTask(std::bind(&BleAdapter::EnableTask, this)); in Enable()
241 GetDispatcher()->PostTask(std::bind(&BleAdapter::DisableTask, this)); in Disable()
291 GetDispatcher()->PostTask(std::bind(&BleAdapter::PostEnableTask, this)); in PostEnable()
300 GetDispatcher()->PostTask(std::bind(&BleAdapter::PostEnableTask, this)); in PostEnable()
1276 std::bind(&BleAdapter::LeConnectionCompleteTask, adapter, status, connectionHandle, address, role)); in LeConnectionComplete()
1329 std::bind(&BleAdapter::LeDisconnectionCompleteTask, adapter, status, connectionHandle, reason)); in LeDisconnectionComplete()
1448 std::bind(&BleAdapter::OnReadRemoteRssiEventTask, adapter, status, address, rssi)); in OnReadRemoteRssiEvent()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.cpp146 std::bind(&KVDBServiceImpl::DumpKvServiceInfo, this, std::placeholders::_1, std::placeholders::_2); in RegisterHandler()
261 std::bind(&KVDBServiceImpl::DoSyncInOrder, this, metaData, syncInfo, std::placeholders::_1, ACTION_SYNC), in Sync()
262 std::bind(&KVDBServiceImpl::DoComplete, this, metaData, syncInfo, RefCount(), std::placeholders::_1)); in Sync()
525 std::bind(&KVDBServiceImpl::DoSyncInOrder, this, metaData, syncInfo, std::placeholders::_1, ACTION_SUBSCRIBE), in AddSubscribeInfo()
526 std::bind(&KVDBServiceImpl::DoComplete, this, metaData, syncInfo, RefCount(), std::placeholders::_1)); in AddSubscribeInfo()
535 std::bind( in RmvSubscribeInfo()
537 std::bind(&KVDBServiceImpl::DoComplete, this, metaData, syncInfo, RefCount(), std::placeholders::_1)); in RmvSubscribeInfo()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_backup_test.cpp804 auto notifier = bind(&ConflictNbCallback::NotifyCallBack, &callback, placeholders::_1, &conflictData); in HWTEST_F()
1300 auto notifier = bind(&KvStoreNbCorruptInfo::CorruptCallBack, &corruptInfo, in HWTEST_F()
1308 auto notifierNew = bind(&KvStoreNbCorruptInfo::CorruptNewCallBack, &corruptInfoNew, in HWTEST_F()
1359 auto notifier = bind(&KvStoreNbCorruptInfo::CorruptCallBackOfImport, &corruptInfo, in HWTEST_F()
1382 auto notifierNew = bind(&KvStoreNbCorruptInfo::CorruptCallBackOfExport, &corruptInfo, in HWTEST_F()
1418 auto notifier = bind(&KvStoreNbCorruptInfo::CorruptCallBack, &corruptInfo, in HWTEST_F()
1432 auto notifierNew = bind(&KvStoreNbCorruptInfo::CorruptCallBackOfImport, &corruptInfoNew, in HWTEST_F()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_device.c3461 /* With update after bind we can't attach bo's to the command buffer in radv_CreateDevice()
4772 radv_sparse_buffer_bind_memory(struct radv_device *device, const VkSparseBufferMemoryBindInfo *bind) in radv_sparse_buffer_bind_memory() argument
4774 RADV_FROM_HANDLE(radv_buffer, buffer, bind->buffer); in radv_sparse_buffer_bind_memory()
4777 for (uint32_t i = 0; i < bind->bindCount; ++i) { in radv_sparse_buffer_bind_memory()
4780 if (bind->pBinds[i].memory != VK_NULL_HANDLE) in radv_sparse_buffer_bind_memory()
4781 mem = radv_device_memory_from_handle(bind->pBinds[i].memory); in radv_sparse_buffer_bind_memory()
4784 bind->pBinds[i].resourceOffset, bind->pBinds[i].size, in radv_sparse_buffer_bind_memory()
4785 mem ? mem->bo : NULL, bind->pBinds[i].memoryOffset); in radv_sparse_buffer_bind_memory()
4795 const VkSparseImageOpaqueMemoryBindInfo *bind) in radv_sparse_image_opaque_bind_memory()
4794 radv_sparse_image_opaque_bind_memory(struct radv_device *device, const VkSparseImageOpaqueMemoryBindInfo *bind) radv_sparse_image_opaque_bind_memory() argument
4817 radv_sparse_image_bind_memory(struct radv_device *device, const VkSparseImageMemoryBindInfo *bind) radv_sparse_image_bind_memory() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_device.cpp54 pimpl->sniffDelayTimer_ = std::make_unique<PowerTimer>(std::bind( in PowerDevice()
57 pimpl->dispatcher_.PostTask(std::bind(&bluetooth::PowerDevice::DelayTimeoutCallback, weakDevice)); in PowerDevice()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_engine_sample.cpp99 handler->PostTask(std::bind(&DrawingEngineSample::Init, this)); in Run()
154 .callback_ = std::bind(&DrawingEngineSample::Sync, this, ::std::placeholders::_1, ::std::placeholders::_2), in Sync()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_proxy_listen.cpp292 if (bind(proxySockFd_, (sockaddr *)&proxyAddr, sizeof(proxyAddr)) == -1) { in InitListenForIpv4()
293 NETNATIVE_LOGE("bind errno %{public}d: %{public}s", errno, strerror(errno)); in InitListenForIpv4()
321 if (bind(proxySockFd6_, (sockaddr *)&proxyAddr6, sizeof(proxyAddr6)) == -1) { in InitListenForIpv6()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_space_management_test.cpp43 auto g_kvNbDelegateCallback = bind(&DistributedDBToolsUnitTest::KvStoreNbDelegateCallback, placeholders::_1,
49 auto g_kvDelegateCallback = bind(&DistributedDBToolsUnitTest::KvStoreDelegateCallback, placeholders::_1,
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_server.cpp183 std::bind(&ObexPrivateServer::RemoveSession, &obexServer_, std::placeholders::_1), in OnTransportConnected()
184 std::bind(&ObexPrivateServer::SetBusy, &obexServer_, std::placeholders::_1, std::placeholders::_2)); in OnTransportConnected()
H A Dobex_session.cpp112 dispatcher_.PostTask(std::bind(setBusyFun_, std::ref(*this), true)); in SendGetResponse()
148 dispatcher_.PostTask(std::bind(&ObexServerSession::ProcessSendSrmResponse, this)); in ProcessSendSrmResponse()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
H A Dcoap_app.c143 if (bind(fd, (struct sockaddr *)&localAddr, sizeof(struct sockaddr_in)) == -1) { in CoapCreateUdpClientEx()
144 DFINDER_LOGE(TAG, "bind local addr failed, errno = %d", errno); in CoapCreateUdpClientEx()
343 if (bind(fd, (struct sockaddr *)&localAddr, len) == -1) { in CoapCreateUdpServer()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_socket.c106 LOGI(TAG, "bind to target interface %s", localInterface); in ConnectTcpServerWithTargetDev()
108 LOGE(TAG, "can't bind to target interface %s", localInterface); in ConnectTcpServerWithTargetDev()
110 LOGI(TAG, "bind to target interface %s successfully", localInterface); in ConnectTcpServerWithTargetDev()
151 LOGE(TAG, "can't bind to target interface %s", localInterface); in ConnectUdpServerWithTargetDev()
153 LOGI(TAG, "bind to target interface %s successfully", localInterface); in ConnectUdpServerWithTargetDev()
208 if (bind(serverSocket->sockfd, (struct sockaddr *)&localAddr, len) != 0) { in CreateTcpServer()
209 LOGE(TAG, "Failed to bind socket error :%d", GetErrno()); in CreateTcpServer()
215 LOGE(TAG, "Failed to bind socket to device"); in CreateTcpServer()
269 if (bind(serverSocket->sockfd, (struct sockaddr *)&localAddr, len) != 0) { in CreateUdpServer()
270 LOGE(TAG, "Failed to bind socke in CreateUdpServer()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/boot/tools/
H A Drelocs.c391 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc() local
393 if ((bind == STB_WEAK) && (sym->st_value == 0)) { in do_reloc()
/kernel/linux/linux-5.10/drivers/base/
H A Dcomponent.c6 * and bind them when instructed. At the moment, we're specific to the DRM
256 ret = master->ops->bind(master->dev); in try_to_bring_up_master()
260 dev_info(master->dev, "master bind failed: %d\n", ret); in try_to_bring_up_master()
464 * &component_master_ops.bind from @ops. Must be unregistered by calling
596 ret = component->ops->bind(component->dev, master->dev, data); in component_bind()
616 dev_err(master->dev, "failed to bind %s (ops %ps): %d\n", in component_bind()
624 * component_bind_all - bind all components of an aggregate driver
629 * &component_ops.bind functions. Should be called from
630 * &component_master_ops.bind.
705 * aggregate driver is ready to bind th
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dmcs7830.c571 .bind = mcs7830_bind,
581 .bind = mcs7830_bind,
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c313 * write: true for action to write the bind or false for read action
480 * scheme_id: id of the scheme to bind to
481 * bind: true to bind the port or false to unbind it
487 bool bind) in keygen_bind_port_to_schemes()
501 pr_err("Cannot bind port to an invalid scheme\n"); in keygen_bind_port_to_schemes()
514 keygen_write_sp(keygen_regs, schemes_vector, bind); in keygen_bind_port_to_schemes()
485 keygen_bind_port_to_schemes(struct fman_keygen *keygen, u8 scheme_id, bool bind) keygen_bind_port_to_schemes() argument
/kernel/linux/linux-5.10/net/nfc/
H A Drawsock.c270 .bind = sock_no_bind,
288 .bind = sock_no_bind,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv40.c66 .bind = nv40_gr_object_bind,
144 .bind = nv40_gr_chan_bind,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dchannv50.c264 object->hash = chan->func->bind(chan, object->oproxy.object, in nv50_disp_chan_child_new()
280 if (chan->func->bind) in nv50_disp_chan_child_get()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
H A Dvirtgpu_ioctl.c241 params.bind = rc->bind; in virtio_gpu_resource_create_ioctl()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c286 * write: true for action to write the bind or false for read action
453 * scheme_id: id of the scheme to bind to
454 * bind: true to bind the port or false to unbind it
460 bool bind) in keygen_bind_port_to_schemes()
474 pr_err("Cannot bind port to an invalid scheme\n"); in keygen_bind_port_to_schemes()
487 keygen_write_sp(keygen_regs, schemes_vector, bind); in keygen_bind_port_to_schemes()
458 keygen_bind_port_to_schemes(struct fman_keygen *keygen, u8 scheme_id, bool bind) keygen_bind_port_to_schemes() argument
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dmcs7830.c574 .bind = mcs7830_bind,
584 .bind = mcs7830_bind,
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl_adaptor.c473 .bind = mtk_disp_ovl_adaptor_comp_bind,
498 .bind = mtk_disp_ovl_adaptor_master_bind,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Duchan.c293 if (chan->func->bind) in nvkm_uchan_init()
294 chan->func->bind(chan); in nvkm_uchan_init()

Completed in 41 milliseconds

1...<<41424344454647484950>>...109