Home
last modified time | relevance | path

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

/external/wayland/tests/data/
Dexample-server.h1011 wl_registry_send_global(struct wl_resource *resource_, uint32_t name, const char *interface, uint32… in wl_registry_send_global() argument
1013 wl_resource_post_event(resource_, WL_REGISTRY_GLOBAL, name, interface, version); in wl_registry_send_global()
1023 wl_registry_send_global_remove(struct wl_resource *resource_, uint32_t name) in wl_registry_send_global_remove() argument
1025 wl_resource_post_event(resource_, WL_REGISTRY_GLOBAL_REMOVE, name); in wl_registry_send_global_remove()
1043 wl_callback_send_done(struct wl_resource *resource_, uint32_t callback_data) in wl_callback_send_done() argument
1045 wl_resource_post_event(resource_, WL_CALLBACK_DONE, callback_data); in wl_callback_send_done()
1474 wl_shm_send_format(struct wl_resource *resource_, uint32_t format) in wl_shm_send_format() argument
1476 wl_resource_post_event(resource_, WL_SHM_FORMAT, format); in wl_shm_send_format()
1514 wl_buffer_send_release(struct wl_resource *resource_) in wl_buffer_send_release() argument
1516 wl_resource_post_event(resource_, WL_BUFFER_RELEASE); in wl_buffer_send_release()
[all …]
Dsmall-server-core.h148 intf_A_send_hey(struct wl_resource *resource_) in intf_A_send_hey() argument
150 wl_resource_post_event(resource_, INTF_A_HEY); in intf_A_send_hey()
Dsmall-server.h148 intf_A_send_hey(struct wl_resource *resource_) in intf_A_send_hey() argument
150 wl_resource_post_event(resource_, INTF_A_HEY); in intf_A_send_hey()
/external/webrtc/call/adaptation/
Dresource_adaptation_processor_unittest.cc90 resource_(FakeResource::Create("FakeResource")), in ResourceAdaptationProcessorTest()
99 processor_->AddResource(resource_); in ResourceAdaptationProcessorTest()
123 if (resource_) { in DestroyProcessor()
124 processor_->RemoveResource(resource_); in DestroyProcessor()
142 rtc::scoped_refptr<FakeResource> resource_; member in webrtc::__anon21d89a490111::ResourceAdaptationProcessorTest
154 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
164 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
168 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
182 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
193 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
[all …]
Dvideo_stream_adapter_unittest.cc155 resource_(FakeResource::Create("FakeResource")), in VideoStreamAdapterTest()
163 rtc::scoped_refptr<Resource> resource_; member in webrtc::VideoStreamAdapterTest
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_expression_test.cc44 resource_ = std::make_unique<XlaResource>( in SetUp()
56 std::unique_ptr<XlaResource> resource_; member in tensorflow::__anon8c53984b0111::XlaExpressionTest
67 XlaExpression::Resource(resource_.get()).kind()); in TEST_F()
75 EXPECT_EQ("resource", XlaExpression::Resource(resource_.get()).HumanString()); in TEST_F()
98 XlaExpression::Resource(resource_.get()).GetShape()); in TEST_F()
114 EXPECT_FALSE(XlaExpression::Resource(resource_.get()) in TEST_F()
138 XlaExpression::ConstantResource(constant_, resource_.get()); in TEST_F()
140 EXPECT_TRUE(resource_->SetZeroValue(builder_.get()).ok()); in TEST_F()
141 LOG(ERROR) << "Resource is overwritten: " << resource_->IsOverwritten(); in TEST_F()
Dxla_expression.h91 if (kind_ == Kind::kResource && resource_->IsOverwritten()) { in constant_value()
115 XlaResource* resource() const { return resource_; } in resource()
167 XlaResource* resource_ = nullptr; variable
Dxla_expression.cc47 e.resource_ = resource; in ConstantResource()
72 e.resource_ = resource; in Resource()
/external/tensorflow/tensorflow/core/framework/
Dresource_op_kernel.h60 if (resource_ != nullptr) { in ~ResourceOpKernel()
61 resource_->Unref(); in ~ResourceOpKernel()
74 if (resource_ == nullptr) { in Compute()
102 resource_ = resource; in Compute()
117 T* resource_ TF_GUARDED_BY(mu_) = nullptr;
Dresource_handle.h151 const core::IntrusivePtr<ResourceBase>& resource() const { return resource_; } in resource()
158 return down_cast<T*>(resource_.get()); in GetResource()
163 bool IsRefCounting() const { return resource_.get() != nullptr; } in IsRefCounting()
188 core::IntrusivePtr<ResourceBase> resource_; variable
Dreader_op_kernel.h46 DCHECK(resource_ == nullptr); in SetReaderFactory()
Dresource_mgr.h522 Tensor resource_; variable
927 &resource_, attr));
928 resource_.scalar<ResourceHandle>()() =
934 ctx->set_output(0, resource_);
Dresource_op_kernel_test.cc59 return resource_; in resource()
Dresource_handle.cc135 result.resource_.reset(resource, /*add_ref=*/false); in MakeRefCountingHandle()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dweights.cc116 : resource_(resource), in TRT_TensorOrWeights()
123 resource_(rhs.resource_), in TRT_TensorOrWeights()
132 resource_ = rhs.resource_; in operator =()
144 return resource_; in resource()
Dweights.h277 ResourceHandle resource_; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dmulti_device_iterator_ops.cc494 if (resource_ != nullptr) { in ~MultiDeviceIteratorHandleOp()
495 resource_->Unref(); in ~MultiDeviceIteratorHandleOp()
512 if (resource_ == nullptr) { in Compute()
558 resource_ = resource; in Compute()
583 MultiDeviceIterator* resource_ TF_GUARDED_BY(mu_) = nullptr;
Diterator_ops.cc448 if (resource_ != nullptr) { in ~IteratorHandleOp()
449 resource_->Unref(); in ~IteratorHandleOp()
465 if (resource_ == nullptr) { in Compute()
505 resource_ = resource; in Compute()
Diterator_ops.h173 IteratorResource* resource_ TF_GUARDED_BY(mu_) = nullptr;
/external/tensorflow/tensorflow/core/kernels/
Dqueue_op.cc40 if (resource_ && context->track_allocations()) { in Compute()
41 context->record_persistent_memory_allocation(resource_->MemoryUsed()); in Compute()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc545 resource_(gpr_strdup(options->resource)), in StsTokenFetcherCredentials()
627 MaybeAddToBody("resource", resource_.get(), &body_parts); in FillBody()
646 grpc_core::UniquePtr<char> resource_; member in grpc_core::__anon8a5b554d0211::StsTokenFetcherCredentials
/external/ImageMagick/MagickCore/
DMakefile.am245 MagickCore/resource_.h \
395 MagickCore/resource_.h \
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp62 const ResourceDescription& resource_, in TestConfig()
70 , resource (resource_) in TestConfig()
DvktSynchronizationWin32KeyedMutexTests.cpp94 TestConfig (const ResourceDescription& resource_, in TestConfig()
99 : resource (resource_) in TestConfig()
/external/ImageMagick/
DMakefile.in500 MagickCore/resource_.h MagickCore/resource-private.h \
5294 MagickCore/resource_.h \
5439 MagickCore/resource_.h \